Movatterモバイル変換


[0]ホーム

URL:


CN107801132A - A smart speaker control method, mobile terminal and smart speaker - Google Patents

A smart speaker control method, mobile terminal and smart speaker
Download PDF

Info

Publication number
CN107801132A
CN107801132ACN201711175509.XACN201711175509ACN107801132ACN 107801132 ACN107801132 ACN 107801132ACN 201711175509 ACN201711175509 ACN 201711175509ACN 107801132 ACN107801132 ACN 107801132A
Authority
CN
China
Prior art keywords
smart speaker
smart
mobile terminal
instruction
mentioned
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711175509.XA
Other languages
Chinese (zh)
Inventor
龙俊卫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711175509.XApriorityCriticalpatent/CN107801132A/en
Publication of CN107801132ApublicationCriticalpatent/CN107801132A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本申请公开了一种智能音箱控制方法、智能音箱及移动终端,其中,该智能音箱控制方法包括:移动终端分别与两个智能音箱进行配对;若接收到输入的第一触发指令,则基于所述第一触发指令,向所述两个智能音箱中的一智能音箱发送发声指令,所述发声指令用于指示相应智能音箱输出音频;在所述一智能音箱输出音频后,基于所述一智能音箱输出的音频分别确定所述两个智能音箱所采用的声道;根据所述两个智能音箱所采用的声道,分别向所述两个智能音箱发送相应的声道设置指令,所述声道设置指令用于触发智能音箱设置所采用的声道。本申请方案可以简化智能音箱的声道设置操作。

The present application discloses a smart speaker control method, a smart speaker and a mobile terminal, wherein the smart speaker control method comprises: the mobile terminal is paired with two smart speakers respectively; if a first trigger instruction is received, based on the first trigger instruction, a voice instruction is sent to one of the two smart speakers, the voice instruction is used to instruct the corresponding smart speaker to output audio; after the one smart speaker outputs audio, the channels used by the two smart speakers are determined based on the audio output by the one smart speaker; according to the channels used by the two smart speakers, corresponding channel setting instructions are sent to the two smart speakers respectively, the channel setting instructions are used to trigger the smart speakers to set the channels used. The solution of the present application can simplify the channel setting operation of the smart speaker.

Description

Translated fromChinese
一种智能音箱控制方法、移动终端及智能音箱A smart speaker control method, mobile terminal and smart speaker

技术领域technical field

本申请属于智能音箱技术领域,尤其涉及一种智能音箱控制方法、移动终端及智能音箱。The application belongs to the technical field of smart speakers, and in particular relates to a method for controlling a smart speaker, a mobile terminal and a smart speaker.

背景技术Background technique

随着科技的发展,智能音箱逐渐走入人们的生活中。现有的智能音箱可以与用户家中的无线网络连接,用户的移动终端在与智能音箱配对后,能够控制智能音箱播放流媒体音乐等,大大丰富了用户的娱乐生活。当两个智能音箱组成了智能音箱对时,为了实现立体声的效果,用户需要人工查验各个智能音箱所处的位置,并根据各个智能音箱所处的位置人工设置各个智能音箱的声道。由于此过程需要用户分别对每一智能音箱都执行一次声道设置操作,操作繁琐且不方便。With the development of science and technology, smart speakers have gradually entered people's lives. Existing smart speakers can be connected to the wireless network in the user's home. After the user's mobile terminal is paired with the smart speaker, it can control the smart speaker to play streaming music, etc., which greatly enriches the user's entertainment life. When two smart speakers form a pair of smart speakers, in order to achieve a stereo effect, the user needs to manually check the location of each smart speaker, and manually set the channel of each smart speaker according to the location of each smart speaker. Since this process requires the user to perform a channel setting operation for each smart speaker, the operation is cumbersome and inconvenient.

发明内容Contents of the invention

有鉴于此,本申请提供了智能音箱控制方法、移动终端及智能音箱,可以简化智能音箱的声道设置操作。In view of this, the present application provides a smart speaker control method, a mobile terminal and a smart speaker, which can simplify the channel setting operation of the smart speaker.

本申请的第一方面提供了一种智能音箱控制方法,上述智能音箱控制方法包括:The first aspect of the present application provides a method for controlling a smart speaker, and the method for controlling a smart speaker includes:

移动终端分别与两个智能音箱进行配对;The mobile terminal is paired with two smart speakers respectively;

若接收到输入的第一触发指令,则基于上述第一触发指令,向上述两个智能音箱中的一智能音箱发送发声指令,上述发声指令用于指示相应智能音箱输出音频;If the input first trigger instruction is received, then based on the above-mentioned first trigger instruction, send a sounding instruction to one of the above-mentioned two smart speakers, and the above-mentioned sounding instruction is used to instruct the corresponding smart speaker to output audio;

在上述一智能音箱输出音频后,基于上述一智能音箱输出的音频分别确定上述两个智能音箱所采用的声道;After the above-mentioned one smart speaker outputs the audio, the audio channels used by the above-mentioned two smart speakers are respectively determined based on the audio output by the above-mentioned one smart speaker;

根据上述两个智能音箱所采用的声道,分别向上述两个智能音箱发送相应的声道设置指令,上述声道设置指令用于触发智能音箱设置所采用的声道。According to the sound channels adopted by the above-mentioned two smart speakers, corresponding channel setting instructions are sent to the above-mentioned two smart speakers respectively, and the above-mentioned sound channel setting instructions are used to trigger the setting of the sound channels adopted by the smart speakers.

本申请的第二方面提供了一种智能音箱控制方法,上述智能音箱控制方法包括:The second aspect of the present application provides a method for controlling a smart speaker. The method for controlling a smart speaker includes:

智能音箱与移动终端进行配对;The smart speaker is paired with the mobile terminal;

若接收到上述移动终端发送的发声指令,则根据上述发声指令输出音频;If the sounding instruction sent by the above-mentioned mobile terminal is received, the audio is output according to the above-mentioned sounding instruction;

在输出音频后,接收上述移动终端发送的声道设置指令;After outputting the audio, receiving the channel setting instruction sent by the above-mentioned mobile terminal;

在上述声道设置指令的指示下设置上述智能音箱所采用的声道。Set the channel used by the above-mentioned smart speaker under the instruction of the above-mentioned channel setting instruction.

本申请的第三方面提供了一种移动终端,上述移动终端包括:A third aspect of the present application provides a mobile terminal, where the mobile terminal includes:

第一配对单元,用于分别与两个智能音箱进行配对;The first pairing unit is used to pair with two smart speakers respectively;

第一发送单元,用于当接收到输入的第一触发指令时,基于上述第一触发指令,向上述两个智能音箱中的一智能音箱发送发声指令,上述发声指令用于指示相应智能音箱输出音频;The first sending unit is configured to send a sound instruction to one of the two smart speakers based on the first trigger instruction when receiving the input first trigger instruction, and the sound instruction is used to instruct the corresponding smart speaker to output audio;

声道确定单元,用于在上述一智能音箱输出音频后,基于上述一智能音箱输出的音频分别确定上述两个智能音箱所采用的声道;The channel determination unit is used to determine the channels used by the above two smart speakers based on the audio output by the above-mentioned smart speaker after the above-mentioned one smart speaker outputs audio;

第二发送单元,用于根据上述两个智能音箱所采用的声道,分别向上述两个智能音箱发送相应的声道设置指令,上述声道设置指令用于触发智能音箱设置所采用的声道。The second sending unit is configured to send corresponding channel setting instructions to the above two smart speakers respectively according to the channels adopted by the above two smart speakers, and the above channel setting instructions are used to trigger the channel setting adopted by the smart speakers .

本申请的第四方面提供了一种智能音箱,上述智能音箱包括:The fourth aspect of the present application provides a smart speaker, and the smart speaker includes:

第二配对单元,用于与移动终端进行配对;The second pairing unit is used for pairing with the mobile terminal;

音频输出单元,用于当接收到上述移动终端发送的发声指令时,根据上述发声指令输出音频;An audio output unit, configured to output audio according to the above-mentioned utterance instruction when receiving the utterance instruction sent by the above-mentioned mobile terminal;

指令接收单元,用于在输出音频后,接收上述移动终端发送的声道设置指令;The command receiving unit is used to receive the channel setting command sent by the mobile terminal after outputting the audio;

声道设置单元,用于在上述声道设置指令的指示下设置上述智能音箱所采用的声道。The sound channel setting unit is configured to set the sound channel adopted by the smart speaker under the instruction of the sound channel setting instruction.

本申请的第五方面提供了一种移动终端,上述移动终端包括第一存储器、第一处理器以及存储在上述第一存储器中并可在上述第一处理器上运行的第一计算机程序,上述第一处理器执行上述第一计算机程序时实现如上第一方面的方法的步骤。A fifth aspect of the present application provides a mobile terminal, the above-mentioned mobile terminal includes a first memory, a first processor, and a first computer program stored in the above-mentioned first memory and operable on the above-mentioned first processor, the above-mentioned When the first processor executes the above-mentioned first computer program, the above-mentioned steps of the method of the first aspect are realized.

本申请的第六方面提供了一种计算机可读存储介质,上述计算机可读存储介质存储有第一计算机程序,上述第一计算机程序被处理器执行时实现如上第一方面的方法的步骤。A sixth aspect of the present application provides a computer-readable storage medium, where the above-mentioned computer-readable storage medium stores a first computer program, and when the above-mentioned first computer program is executed by a processor, the steps of the method in the first aspect above are implemented.

本申请的第七方面提供了一种智能音箱,包括第二存储器、第二处理器以及存储在上述第二存储器中并可在上述第二处理器上运行的第二计算机程序,其特征在于,上述第二处理器执行上述第二计算机程序时实现如上第二方面的方法的步骤。The seventh aspect of the present application provides a smart speaker, including a second memory, a second processor, and a second computer program stored in the second memory and operable on the second processor, characterized in that, When the above-mentioned second processor executes the above-mentioned second computer program, the steps of the method of the above-mentioned second aspect are realized.

本申请的第八方面提供了一种计算机可读存储介质,上述计算机可读存储介质存储有第二计算机程序,上述第二计算机程序被处理器执行时实现如上第二方面的方法的步骤。An eighth aspect of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a second computer program, and when the second computer program is executed by a processor, the steps of the method in the second aspect above are realized.

本申请的第九方面提供了一种计算机程序产品,上述计算机程序产品包括第一计算机程序,上述第一计算机程序被一个或多个处理器执行时实现如上述第一方面的方法的步骤。A ninth aspect of the present application provides a computer program product, where the computer program product includes a first computer program, and when the first computer program is executed by one or more processors, the steps of the method in the first aspect above are implemented.

本申请的第十方面提供了一种计算机程序产品,上述计算机程序产品包括第二计算机程序,上述第二计算机程序被一个或多个处理器执行时实现如上述第二方面的方法的步骤。A tenth aspect of the present application provides a computer program product, where the computer program product includes a second computer program, and when the second computer program is executed by one or more processors, the steps of the method in the second aspect above are realized.

由上可见,在本申请中,首先移动终端分别与两个智能音箱进行配对,当接收到输入的第一触发指令时,基于上述第一触发指令,向上述两个智能音箱中的一智能音箱发送发声指令,上述发声指令用于指示相应智能音箱输出音频,在上述一智能音箱输出音频后,基于上述一智能音箱输出的音频分别确定上述两个智能音箱所采用的声道,根据上述两个智能音箱所采用的声道,分别向上述两个智能音箱发送相应的声道设置指令,上述声道设置指令用于触发智能音箱设置所采用的声道。本申请一方面通过触发智能音箱发声,帮助用户快速确定各个智能音箱所对应的声道,另一方面,不再需要用户对各个智能音箱重复执行设置声道的步骤,因而可以减少用户的操作,简化智能音箱的声道设置的流程。It can be seen from the above that in this application, firstly, the mobile terminal is paired with two smart speakers respectively, and when receiving the first input trigger command, based on the first trigger command, send a message to one of the two smart speakers Sending a sounding command, the above-mentioned sounding command is used to instruct the corresponding smart speaker to output audio, after the above-mentioned one smart speaker outputs the audio, the audio channels used by the above-mentioned two smart speakers are respectively determined based on the audio output by the above-mentioned one smart speaker, according to the above-mentioned two The sound channels used by the smart speakers send corresponding channel setting instructions to the above two smart speakers respectively, and the above sound channel setting instructions are used to trigger the setting of the sound channels used by the smart speakers. On the one hand, this application helps the user to quickly determine the channel corresponding to each smart speaker by triggering the sound of the smart speaker. On the other hand, the user no longer needs to repeatedly perform the steps of setting the channel for each smart speaker, thus reducing user operations. Simplify the process of channel setting for smart speakers.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the accompanying drawings that need to be used in the descriptions of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings in the following description are only for the present application For some embodiments, those of ordinary skill in the art can also obtain other drawings based on these drawings without paying creative efforts.

图1是本申请实施例提供的一种智能音箱控制方法的实现流程示意图;FIG. 1 is a schematic diagram of the implementation flow of a smart speaker control method provided in an embodiment of the present application;

图2是本申请实施例提供的智能音箱控制方法中,移动终端与智能音箱的网络架构图;FIG. 2 is a network architecture diagram of a mobile terminal and a smart speaker in the smart speaker control method provided in the embodiment of the present application;

图3是本申请实施例提供的另一种智能音箱控制方法的实现流程示意图;Fig. 3 is a schematic diagram of the implementation flow of another smart speaker control method provided by the embodiment of the present application;

图4是本申请实施例提供的再一种智能音箱控制方法的实现流程示意图;Fig. 4 is a schematic diagram of the implementation flow of another smart speaker control method provided by the embodiment of the present application;

图5是本申请实施例提供的智能音箱控制方法中,智能音箱与移动终端进行配对的具体实现流程示意图;FIG. 5 is a schematic diagram of a specific implementation process of pairing a smart speaker with a mobile terminal in the smart speaker control method provided in the embodiment of the present application;

图6是本申请实施例提供的移动终端的结构框图;FIG. 6 is a structural block diagram of a mobile terminal provided by an embodiment of the present application;

图7是本申请实施例提供的智能音箱的结构框图;Fig. 7 is a structural block diagram of a smart speaker provided by an embodiment of the present application;

图8是本申请实施例提供的移动终端的结构示意图;FIG. 8 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present application;

图9是本申请实施例提供的智能音箱的结构示意图。Fig. 9 is a schematic structural diagram of a smart speaker provided by an embodiment of the present application.

具体实施方式Detailed ways

以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.

为了说明本申请上述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the above-mentioned technical solutions of the present application, specific examples are used below to illustrate.

实施例一Embodiment one

下面对本申请实施例提供的一种智能音箱控制方法进行描述,请参阅图1,本申请实施例中的智能音箱控制方法包括:The following describes a smart speaker control method provided in the embodiment of the present application, please refer to Figure 1, the smart speaker control method in the embodiment of the present application includes:

在步骤101中,移动终端分别与两个智能音箱进行配对;In step 101, the mobile terminal is paired with two smart speakers respectively;

在本申请实施例中,由于移动终端需要为智能音箱设置声道,显然,在只有一个智能音箱时,对其进行声道的设置是没有意义的。因而此处,移动终端可以分别与两个智能音箱进行配对,将上述两个智能音箱组成智能音箱对,实现对该两个智能音箱的声道的设置。具体地,如图2所示,由路由器构建一局域网的网络环境,移动终端事先连入该局域网,并在需要对智能音箱控制时,分别与处于该局域网的两个智能音箱进行配对。In the embodiment of the present application, since the mobile terminal needs to set a sound channel for the smart speaker, it is obviously meaningless to set the sound channel when there is only one smart speaker. Therefore, here, the mobile terminal can be paired with the two smart speakers respectively, and the above two smart speakers are formed into a smart speaker pair, so as to realize the setting of the sound channels of the two smart speakers. Specifically, as shown in FIG. 2 , a network environment of a local area network is constructed by a router, and the mobile terminal is connected to the local area network in advance, and when it is necessary to control the smart speaker, it is paired with two smart speakers in the local area network.

在步骤102中,若接收到输入的第一触发指令,则基于上述第一触发指令,向上述两个智能音箱中的一智能音箱发送发声指令;In step 102, if the input first trigger instruction is received, based on the first trigger instruction, send a voice instruction to one of the two smart speakers;

在本申请实施例中,为了使得对智能音箱的声道的设置更加符合人耳的听觉,此处移动终端可以首先为用户呈现一发声交互页面,用户可针对上述两个智能音箱中的任一智能音箱输入第一触发指令,移动终端在接收了上述第一触发指令后,基于上述第一触发指令,向上述第一触发指令所指示的智能音箱发送发声指令,其中,上述发声指令用于指示相应智能音箱输出音频,也即是使得相应的智能音箱能够发声。In the embodiment of the present application, in order to make the setting of the sound channel of the smart speaker more in line with the hearing of the human ear, the mobile terminal here can first present a voice interaction page for the user, and the user can target any of the above two smart speakers. The smart speaker inputs a first trigger instruction, and after receiving the first trigger instruction, the mobile terminal sends a sound instruction to the smart speaker indicated by the first trigger instruction based on the first trigger instruction, wherein the sound instruction is used to indicate The corresponding smart speaker outputs audio, that is, the corresponding smart speaker can produce sound.

在步骤103中,在上述一智能音箱输出音频后,基于上述一智能音箱输出的音频分别确定上述两个智能音箱所采用的声道;In step 103, after the above-mentioned one smart speaker outputs the audio, the audio channels used by the above-mentioned two smart speakers are respectively determined based on the audio output by the above-mentioned one smart speaker;

在本申请实施例中,当上述接收到发声指令的智能音箱发声后,可以基于该发声的智能音箱所输出的音频分别确定上述两个智能音箱所采用的声道。具体地,若上述移动终端中包括麦克风阵列,则可以利用该麦克风阵列进行音源定位操作,以获取到上述发声的智能音箱的位置。在得到上述发声的智能音箱的位置后,上述移动终端可以确定该发声的智能音箱与移动终端之间的相对位置,基于上述相对位置确定上述发声的智能音箱所采用的声道;进一步地,由于上述两个智能音箱组成了智能音箱对,那么在设置上述两个智能音箱的声道时,通常是一个设置为左声道,另一个设置为右声道,以组成立体声对。因而,在确定了上述发声的智能音箱所采用的声道后,另一智能音箱所采用的声道也随之确定为上述发声的智能音箱未采用的声道,例如,根据发声的智能音箱与移动终端的相对位置,确定发声的智能音箱所采用的声道应为左声道,那么相应的确定另一未发声的智能音箱所采用的声道为右声道。或者,若用户想要获得更加准确的位置关系,也可以由移动终端间隔预设时间,依次向上述两个智能音箱发送发声指令,使得上述两个智能音箱相继发声,以更加准确的为上述两个智能音箱确定所采用的声道。可选地,也可以在上述一智能音箱输出音频后,由用户手动选择并设定上述发声的智能音箱所采用的声道,移动终端根据用户为上述发声的智能音箱所选择并设定的声道,确定另一未发声的智能音箱所采用的声道,此处不作限定。In the embodiment of the present application, after the above-mentioned smart speaker that receives the sounding instruction makes a sound, the sound channels used by the above-mentioned two smart speakers may be respectively determined based on the audio output by the sound-emitting smart speaker. Specifically, if the above-mentioned mobile terminal includes a microphone array, the microphone array may be used to perform a sound source location operation, so as to obtain the location of the above-mentioned smart speaker that emits sound. After obtaining the position of the above-mentioned intelligent speaker that emits sound, the above-mentioned mobile terminal can determine the relative position between the intelligent speaker that emits sound and the mobile terminal, and determine the channel used by the above-mentioned intelligent speaker that emits sound based on the above-mentioned relative position; further, because The above two smart speakers form a smart speaker pair, so when setting the sound channels of the above two smart speakers, usually one is set as the left channel and the other is set as the right channel to form a stereo pair. Therefore, after the sound channel used by the above-mentioned smart speaker that emits sound is determined, the sound channel used by another smart speaker is also determined to be the channel that is not used by the above-mentioned smart speaker that emits sound. The relative position of the mobile terminal determines that the sound channel used by the sounding smart speaker should be the left channel, then correspondingly determine that the sound channel used by another non-sounding smart speaker is the right channel. Or, if the user wants to obtain a more accurate positional relationship, the mobile terminal can also send sound commands to the above two smart speakers in sequence at preset intervals, so that the above two smart speakers make sounds one after another, so as to provide more accurate information for the above two smart speakers. Each smart speaker determines which channel is used. Optionally, after the above-mentioned smart speaker outputs audio, the user manually selects and sets the sound channel used by the above-mentioned smart speaker, and the mobile terminal selects and sets the sound channel for the above-mentioned smart speaker according to the sound channel selected and set by the user for the above-mentioned smart speaker. Channel, to determine the channel used by another smart speaker that is not making sound, which is not limited here.

在步骤104中,根据上述两个智能音箱所采用的声道,分别向上述两个智能音箱发送相应的声道设置指令。In step 104, according to the channels adopted by the two smart speakers, corresponding channel setting instructions are sent to the two smart speakers respectively.

在本申请实施例中,移动终端可以根据步骤103中确定的上述两个智能音箱所采用的声道,分别向上述两个智能音箱发送相应的声道设置指令,上述声道设置指令用于触发智能音箱设置所采用的声道,也即是使得上述两个智能音箱分别根据相应的声道设置指令设置各自所采用的声道。In the embodiment of the present application, the mobile terminal may send corresponding channel setting instructions to the above two smart speakers according to the channels used by the above two smart speakers determined in step 103, and the above channel setting instructions are used to trigger The sound channels used by the smart speakers are set, that is, the above-mentioned two smart speakers are set to respectively use the sound channels according to the corresponding channel setting instructions.

由上可见,在本申请中,上述移动终端在与两个智能音箱配对后,可以先根据用户的第一触发指令让其中的一个智能音箱发声,以确定该发声的智能音箱与移动终端的相对位置,并根据该相对位置确定两个智能音箱所采用的声道,让上述两个智能音箱相应的进行声道的设置。本申请实施例一方面通过触发智能音箱发声,帮助用户快速确定各个智能音箱所对应的声道,另一方面,不再需要用户对各个智能音箱重复执行设置声道的步骤,因而可以减少用户的操作,简化智能音箱的声道设置的流程。It can be seen from the above that in this application, after the above-mentioned mobile terminal is paired with two smart speakers, it can first make one of the smart speakers sound according to the user's first trigger command, so as to determine the relative relationship between the sounding smart speaker and the mobile terminal. position, and determine the sound channels used by the two smart speakers according to the relative position, so that the above two smart speakers can set the sound channels accordingly. On the one hand, the embodiment of the present application helps the user to quickly determine the channel corresponding to each smart speaker by triggering the sound of the smart speaker; Operation to simplify the channel setting process of smart speakers.

应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the sequence numbers of the steps in the above embodiments do not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiment of the present application.

实施例二Embodiment two

下面对本申请实施例提供的另一种智能音箱控制方法进行描述,请参阅图3,本申请实施例中的智能音箱控制方法包括:Another smart speaker control method provided in the embodiment of the present application is described below. Please refer to FIG. 3. The smart speaker control method in the embodiment of the present application includes:

在步骤301中,智能音箱与移动终端进行配对;In step 301, the smart speaker is paired with the mobile terminal;

在本申请实施例中,智能音箱首先与移动终端进行配对,以接收移动终端所发送的各类控制指令。需要注意的是,上述智能音箱与移动终端处于同一局域网中,该局域网的网络环境由路由器构建。具体地,参见图2,在与移动终端配对成功后,若还存在其它一个与移动终端配对的智能音箱,则该其他一个智能音箱与上述智能音箱构成智能音箱对。In the embodiment of the present application, the smart speaker is first paired with the mobile terminal to receive various control instructions sent by the mobile terminal. It should be noted that the smart speaker and the mobile terminal are in the same local area network, and the network environment of the local area network is constructed by a router. Specifically, referring to FIG. 2 , after successfully pairing with the mobile terminal, if there is another smart speaker paired with the mobile terminal, the other smart speaker and the smart speaker constitute a smart speaker pair.

在步骤302中,若接收到上述移动终端发送的发声指令,则根据上述发声指令输出音频;In step 302, if the utterance instruction sent by the above-mentioned mobile terminal is received, the audio is output according to the above-mentioned utterance instruction;

在本申请实施例中,若上述智能音箱接收到移动终端发送的发声指令,则上述智能音箱根据上述发声指令输出音频,其中,该音频可以是预设的音频;或者,可以由移动终端在发送发声指令的同时发送一段音频,智能音箱根据上述发声指令,接收并输出上述移动终端发送的一段音频;或者,上述智能音箱可以联网随机获取一段音频并输出,此处不作限定。In the embodiment of the present application, if the above-mentioned smart speaker receives the sound instruction sent by the mobile terminal, the above-mentioned smart speaker outputs audio according to the above-mentioned sound instruction, wherein the audio can be preset audio; or, the mobile terminal can send Send a piece of audio while issuing the voice command, and the smart speaker receives and outputs a piece of audio sent by the mobile terminal according to the above voice command; or, the above smart speaker can randomly obtain a piece of audio from the Internet and output it, which is not limited here.

在步骤303中,在输出音频后,接收上述移动终端发送的声道设置指令;In step 303, after outputting the audio, receiving the channel setting instruction sent by the above-mentioned mobile terminal;

在步骤304中,在上述声道设置指令的指示下设置上述智能音箱所采用的声道。In step 304, the sound channel adopted by the smart speaker is set under the instruction of the sound channel setting instruction.

由上可见,在本申请中,智能音箱在与移动终端配对后,可以根据用户的第一触发指令让该智能音箱发声,移动终端可以由此确定该智能音箱与移动终端的相对位置,并根据该相对位置确定该智能音箱所采用的声道,再通过向该智能音箱发送声道设置指令,实现对该智能音箱的声道的设置。通过触发智能音箱发声,帮助用户快速确定各个智能音箱所对应的声道,可以减少用户的操作,简化智能音箱的声道设置的流程。It can be seen from the above that in this application, after the smart speaker is paired with the mobile terminal, it can make the smart speaker sound according to the user's first trigger command, and the mobile terminal can thus determine the relative position of the smart speaker and the mobile terminal, and according to The relative position determines the sound channel used by the smart speaker, and then the sound channel setting of the smart speaker is realized by sending a channel setting instruction to the smart speaker. By triggering the sound of the smart speaker, the user is helped to quickly determine the channel corresponding to each smart speaker, which can reduce user operations and simplify the channel setting process of the smart speaker.

应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the sequence numbers of the steps in the above embodiments do not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiment of the present application.

实施例三Embodiment Three

下面对本申请实施例提供的再一种智能音箱控制方法进行描述,请参阅图4,本申请实施例中的智能音箱控制方法包括:The following describes another smart speaker control method provided in the embodiment of the present application, please refer to Figure 4, the smart speaker control method in the embodiment of the present application includes:

在步骤401中,移动终端分别与第一智能音箱及第二智能音箱进行配对;In step 401, the mobile terminal is paired with the first smart speaker and the second smart speaker respectively;

在步骤402中,若接收到基于上述第一智能音箱输入的第一触发指令,则基于上述第一触发指令,向上述第一智能音箱发送发声指令;In step 402, if a first trigger instruction based on the input of the first smart speaker is received, based on the first trigger instruction, send a sounding instruction to the first smart speaker;

在步骤403中,第一智能音箱接收上述发声指令,根据上述发声指令输出音频;In step 403, the first smart speaker receives the above-mentioned sounding instruction, and outputs audio according to the above-mentioned sounding instruction;

在步骤404中,移动终端根据上述第一智能音箱输出的音频,确定上述第一智能音箱所采用的声道,相应地,确定上述第二智能音箱所采用的声道;In step 404, the mobile terminal determines the channel used by the first smart speaker according to the audio output by the first smart speaker, and accordingly determines the channel used by the second smart speaker;

在步骤405中,移动终端基于上述第一智能音箱所采用的声道向上述第一智能音发送相应的第一声道设置指令,同时,移动终端基于上述第二智能音箱所采用的声道向上述第一智能音发送相应的第一声道设置指令;In step 405, the mobile terminal sends a corresponding first channel setting instruction to the first smart speaker based on the channel used by the first smart speaker; The above-mentioned first smart voice sends a corresponding first channel setting instruction;

在步骤406中,上述第一智能音箱根据接收到的第一声道设置指令,确定所采用的声道,相应地,上述第二智能音箱根据接收到的第二声道设置指令,确定所采用的声道。In step 406, the above-mentioned first smart speaker determines the adopted channel according to the received first channel setting instruction, and correspondingly, the above-mentioned second smart speaker determines the adopted channel according to the received second channel setting instruction. channel.

当然,若用户不需要两个智能音箱组成立体声对,则用户可以不输入第一触发指令,即跳过上述步骤402及后续步骤,直接使用上述第一智能音箱及第二智能音箱,此处不作限定。Of course, if the user does not need two smart speakers to form a stereo pair, the user may not input the first trigger command, that is, skip the above step 402 and subsequent steps, and directly use the first smart speaker and the second smart speaker. limited.

可选地,为了更加清楚明白的说明上述步骤401,图5示出了一智能音箱与移动终端进行配对的详细实现流程,详述如下:Optionally, in order to illustrate the above step 401 more clearly, FIG. 5 shows a detailed implementation process of pairing a smart speaker with a mobile terminal, which is described in detail as follows:

在步骤501中,智能音箱对预设的两个以上信道进行监听;In step 501, the smart speaker monitors more than two preset channels;

在本申请实施例中,智能音箱在初始状态下还未与移动终端联入同一局域网中,为了能够获取到目标局域网的联网信息,上述智能音箱可以对预设的两个以上的信道进行监听,其中,由于无线局域网中的信道有多个,而在智能音箱与移动终端没有进行过交互的前提下,智能音箱无法获知移动终端将使用哪一信道传输数据,因而,此处智能音箱需要对预设的两个以上信道同时进行监听,以免错过与移动终端的交互。可选地,可以在智能音箱上电后持续对预设的两个以上的信道进行监听,或者,也可以在智能音箱接收到第二触发指令后,对预设的两个以上的信道进行监听。例如,用户可以通过长按智能音箱上的一物理触发按键,输入上述第二触发指令,使得上述智能音箱处于一键配置状态,在该一键配置状态下,智能音箱对预设的两个以上信道进行监听。In the embodiment of the present application, the smart speaker is not connected to the same local area network as the mobile terminal in the initial state. In order to obtain the networking information of the target local area network, the smart speaker can monitor more than two preset channels. Among them, since there are multiple channels in the wireless local area network, and on the premise that the smart speaker has not interacted with the mobile terminal, the smart speaker cannot know which channel the mobile terminal will use to transmit data. Monitor more than two channels set at the same time, so as not to miss the interaction with the mobile terminal. Optionally, after the smart speaker is powered on, the preset two or more channels can be continuously monitored, or, after the smart speaker receives the second trigger instruction, the preset two or more channels can be monitored . For example, the user can input the above-mentioned second trigger instruction by long pressing a physical trigger button on the smart speaker, so that the above-mentioned smart speaker is in a one-key configuration state. channel to monitor.

在步骤502中,当移动终端在联网状态下接收到智能音箱配对指令时,生成联网数据包;In step 502, when the mobile terminal receives the smart speaker pairing instruction in the networking state, a networking data packet is generated;

在本申请实施例中,智能音箱与移动终端进行配对的前提是上述智能音箱与移动终端处于同一局域网中,因而,在移动终端处于联网状态下时,若接收到用户输入的智能音箱配对指令,若在当前局域网范围内无法发现智能音箱设备,则根据该智能音箱配对指令,生成联网数据包,其中,上述联网状态为连接局域网的状态,上述联网数据包包括目标局域网的联网信息,上述目标局域网为上述移动终端所连接的局域网。具体地,上述联网信息包括目标局域网的服务集标识(Service Set Identifier,SSID)及密码;进一步地,当上述目标局域网为认证网络时,上述联网信息还包括登录该认证网络的账号及密码。In the embodiment of the present application, the premise of pairing the smart speaker with the mobile terminal is that the smart speaker and the mobile terminal are in the same local area network. Therefore, when the mobile terminal is in the networked state, if the smart speaker pairing instruction input by the user is received, If the smart speaker device cannot be found within the scope of the current local area network, then according to the pairing instruction of the smart speaker, a networking data packet is generated, wherein the above-mentioned networking status is the state of connecting to the local area network, and the above-mentioned networking data packet includes the networking information of the target LAN, and the above-mentioned target LAN It is the local area network connected to the above-mentioned mobile terminal. Specifically, the above-mentioned networking information includes the service set identifier (Service Set Identifier, SSID) and password of the target LAN; further, when the above-mentioned target LAN is an authentication network, the above-mentioned networking information also includes an account number and password for logging into the authentication network.

在步骤503中,移动终端在预设的信道中广播上述联网数据包。In step 503, the mobile terminal broadcasts the above-mentioned networking data packet in a preset channel.

在本申请实施例中,由于此时智能音箱还未加入局域网,因而上述移动终端可以在预设的信道中对上述联网数据包进行广播,以使得上述智能音箱能够接收到上述联网数据包,并通过上述联网数据包联入目标局域网中。具体地,上述移动终端通过用户数据包协议(User Datagram Protocol,UDP)广播上述联网数据包,上述联网数据包的类型为UDP数据包。其中,上述预设的信道与上述移动终端相关,由上述移动终端自动选择。In the embodiment of the present application, since the smart speaker has not joined the local area network at this time, the above-mentioned mobile terminal can broadcast the above-mentioned networking data packet in a preset channel, so that the above-mentioned smart speaker can receive the above-mentioned networking data packet, and Connect to the target LAN through the above-mentioned networking data packet. Specifically, the above-mentioned mobile terminal broadcasts the above-mentioned networking data packet through a User Datagram Protocol (User Datagram Protocol, UDP), and the type of the above-mentioned networking data packet is a UDP data packet. Wherein, the aforementioned preset channel is related to the aforementioned mobile terminal, and is automatically selected by the aforementioned mobile terminal.

在步骤504中,当上述智能音箱在任一信道中监听到上述移动终端广播的联网数据包时,接收上述联网数据包;In step 504, when the smart speaker listens to the networking data packet broadcast by the mobile terminal in any channel, it receives the networking data packet;

在步骤505中,智能音箱解析上述联网数据包,获得上述目标局域网的联网信息;In step 505, the smart speaker parses the above-mentioned networking data packet to obtain the above-mentioned networking information of the target LAN;

在本申请实施例中,一旦智能音箱在任一信道中监听到了上述联网数据包,则可以接收并解析上述联网数据包,获得上述联网数据包中包括的目标局域网的联网信息。In the embodiment of the present application, once the smart speaker monitors the above-mentioned networking data packet in any channel, it can receive and analyze the above-mentioned networking data packet, and obtain the networking information of the target LAN included in the above-mentioned networking data packet.

在步骤506中,智能音箱根据上述联网信息,联入上述目标局域网;In step 506, the smart speaker connects to the above-mentioned target local area network according to the above-mentioned networking information;

在步骤507中,智能音箱广播配对数据包。In step 507, the smart speaker broadcasts a pairing data packet.

在本申请实施例中,上述智能音箱在联入目标局域网后,可以广播配对数据包,以使得移动终端根据上述配对数据包完成与上述智能音箱的配对。可选地,上述智能音箱可以在上述预设的两个以上信道中广播上述配对数据包,或者,上述智能音箱也可以只在用以广播上述联网数据包的信道中广播上述配对数据,以节约智能音箱的资源。具体地,上述智能音箱通过UDP协议广播上述联网数据包,上述配对数据包的类型为UDP数据包。In the embodiment of the present application, after the smart speaker is connected to the target local area network, it may broadcast a pairing data packet, so that the mobile terminal completes pairing with the smart speaker according to the pairing data packet. Optionally, the smart speaker may broadcast the above-mentioned pairing data packet in the above-mentioned preset two or more channels, or, the above-mentioned smart speaker may only broadcast the above-mentioned pairing data in the channel used to broadcast the above-mentioned networking data packet, so as to save Resources for smart speakers. Specifically, the above-mentioned smart speaker broadcasts the above-mentioned networking data packet through the UDP protocol, and the type of the above-mentioned pairing data packet is a UDP data packet.

在步骤508中,上述移动终端在预设的信道中接收上述智能音箱发送的反馈数据包;In step 508, the above-mentioned mobile terminal receives the feedback data packet sent by the above-mentioned smart speaker in a preset channel;

在步骤509中,上述移动终端基于上述反馈数据包完成与上述智能音箱的配对。In step 509, the above-mentioned mobile terminal completes pairing with the above-mentioned smart speaker based on the above-mentioned feedback data packet.

可选地,上述智能音箱也可以通过其他方式联入目标局域网,此处不作限定,例如,智能音箱先开启蓝牙/红外模式,移动终端通过蓝牙协议/红外协议与上述智能音箱进行连接,并通过蓝牙/红外将上述目标局域网的联网信息发送至智能音箱,使得智能音箱联入目标局域网。Optionally, the above-mentioned smart speaker can also be connected to the target local area network in other ways, which is not limited here. For example, the smart speaker first turns on the bluetooth/infrared mode, and the mobile terminal connects to the above-mentioned smart speaker through the bluetooth protocol/infrared protocol, and through Bluetooth/infrared sends the networking information of the target LAN to the smart speaker, so that the smart speaker is connected to the target LAN.

在本申请实施例中,智能音箱不需要经过用户的繁琐设置即可联入局域网中与移动终端进行配对,并且,移动终端在与两个智能音箱配对后,可以根据用户的第一触发指令让其中一个智能音箱发声,移动终端可以由此确定该发声的智能音箱与移动终端的相对位置,并根据该相对位置确定该发声的智能音箱所采用的声道,同时确定另一未发声的智能音箱所采用的声道,再通过分别向两个智能音箱发送相应的声道设置指令,实现对两个智能音箱的声道的设置。本申请实施例通过触发智能音箱发声,帮助用户快速确定各个智能音箱所对应的声道,不再需要用户对各个智能音箱重复执行设置声道的步骤,因而可以减少用户的操作,简化智能音箱的声道设置的流程。In the embodiment of this application, the smart speaker can be connected to the local area network and paired with the mobile terminal without the user's cumbersome settings, and after the mobile terminal is paired with two smart speakers, it can let the When one of the smart speakers makes a sound, the mobile terminal can determine the relative position of the sounding smart speaker and the mobile terminal, and determine the channel used by the sounding smart speaker according to the relative position, and at the same time determine the other non-sounding smart speaker The adopted sound channels are then sent to the two smart speakers by corresponding channel setting instructions respectively, so as to realize the setting of the sound channels of the two smart speakers. The embodiment of the present application helps the user to quickly determine the channel corresponding to each smart speaker by triggering the sound of the smart speaker, and no longer requires the user to repeatedly perform the steps of setting the channel for each smart speaker, thus reducing the user's operations and simplifying the operation of the smart speaker. The flow of channel settings.

实施例四Embodiment Four

本申请实施例提供一种移动终端,如图6所示,本申请实施例中的移动终端600包括:The embodiment of the present application provides a mobile terminal. As shown in FIG. 6, the mobile terminal 600 in the embodiment of the present application includes:

第一配对单元601,用于分别与两个智能音箱进行配对;The first pairing unit 601 is configured to pair with two smart speakers respectively;

第一发送单元602,用于当接收到输入的第一触发指令时,基于上述第一触发指令,向上述两个智能音箱中的一智能音箱发送发声指令,上述发声指令用于指示相应智能音箱输出音频;The first sending unit 602 is configured to send a sound instruction to one of the two smart speakers based on the first trigger instruction when receiving the input first trigger instruction, and the sound instruction is used to instruct the corresponding smart speaker output audio;

声道确定单元603,用于在上述一智能音箱输出音频后,基于上述一智能音箱输出的音频分别确定上述两个智能音箱所采用的声道;The channel determination unit 603 is configured to determine the channels used by the above-mentioned two smart speakers based on the audio output by the above-mentioned one smart speaker after the above-mentioned one smart speaker outputs audio;

第二发送单元604,用于根据上述两个智能音箱所采用的声道,分别向上述两个智能音箱发送相应的声道设置指令,上述声道设置指令用于触发智能音箱设置所采用的声道。The second sending unit 604 is configured to send corresponding channel setting instructions to the above-mentioned two smart speakers respectively according to the channels adopted by the above-mentioned two smart speakers, and the above-mentioned channel setting instructions are used to trigger the sound channel setting adopted by the smart speakers. road.

可选地,上述移动终端600还包括:Optionally, the above-mentioned mobile terminal 600 also includes:

联网数据包生成单元,用于当上述移动终端在联网状态下接收到智能音箱配对指令时,生成联网数据包,其中,上述联网状态为连接局域网的状态,上述联网数据包包括目标局域网的联网信息,上述目标局域网为上述移动终端所连接的局域网;A networking data packet generating unit, configured to generate a networking data packet when the above-mentioned mobile terminal receives a smart speaker pairing instruction in a networking state, wherein the above-mentioned networking state is a state of connecting to a local area network, and the above-mentioned networking data packet includes the networking information of the target local area network , the above-mentioned target local area network is the local area network to which the above-mentioned mobile terminal is connected;

联网数据包广播单元,用于在预设的信道中广播上述联网数据包,上述联网数据包使得智能音箱能够联入上述目标局域网。The networking data packet broadcasting unit is configured to broadcast the above-mentioned networking data packet in a preset channel, and the above-mentioned networking data packet enables the smart speaker to connect to the above-mentioned target local area network.

可选地,上述第一配对单元具体用于在上述预设的信道中接收上述两个智能音箱中的一智能音箱发送的反馈数据包,并基于上述反馈数据包完成与上述两个智能音箱中的一智能音箱的配对。Optionally, the above-mentioned first pairing unit is specifically configured to receive the feedback data packet sent by one of the above-mentioned two smart speakers in the above-mentioned preset channel, and complete the communication with the above-mentioned two smart speakers based on the above-mentioned feedback data packet. pairing with a smart speaker.

由上可见,在本申请中,移动终端在与两个智能音箱配对后,可以先根据用户的第一触发指令让其中的一个智能音箱发声,以确定该发声的智能音箱与移动终端的相对位置,并根据该相对位置确定两个智能音箱所采用的声道,让上述两个智能音箱相应的进行声道的设置。本申请实施例一方面通过触发智能音箱发声,帮助用户快速确定各个智能音箱所对应的声道,另一方面,不再需要用户对各个智能音箱重复执行设置声道的步骤,因而可以减少用户的操作,简化智能音箱的声道设置的流程。It can be seen from the above that in this application, after the mobile terminal is paired with two smart speakers, it can first make one of the smart speakers sound according to the user's first trigger command, so as to determine the relative position of the sounding smart speaker and the mobile terminal , and determine the sound channels used by the two smart speakers according to the relative position, so that the above two smart speakers can set the sound channels accordingly. On the one hand, the embodiment of the present application helps the user to quickly determine the channel corresponding to each smart speaker by triggering the sound of the smart speaker; Operation to simplify the channel setting process of smart speakers.

实施例五Embodiment five

本申请实施例提供一种智能音箱,如图7所示,本申请实施例中的智能音箱700包括:The embodiment of the present application provides a smart speaker. As shown in FIG. 7, the smart speaker 700 in the embodiment of the present application includes:

第二配对单元701,用于与移动终端进行配对;The second pairing unit 701 is configured to pair with the mobile terminal;

音频输出单元702,用于当接收到上述移动终端发送的发声指令时,根据上述发声指令输出音频;An audio output unit 702, configured to output audio according to the above-mentioned utterance instruction when receiving the utterance instruction sent by the above-mentioned mobile terminal;

指令接收单元703,用于在输出音频后,接收上述移动终端发送的声道设置指令;An instruction receiving unit 703, configured to receive the channel setting instruction sent by the above-mentioned mobile terminal after the audio is output;

声道设置单元704,用于在上述声道设置指令的指示下设置上述智能音箱所采用的声道。The channel setting unit 704 is configured to set the channel used by the smart speaker under the instruction of the channel setting instruction.

可选地,上述第二配对单元701包括:Optionally, the above-mentioned second pairing unit 701 includes:

联网信息获取子单元,用于获取目标局域网的联网信息,其中,上述目标局域网为上述移动终端所处的局域网;A networking information acquisition subunit, configured to acquire networking information of a target local area network, wherein the target local area network is the local area network where the mobile terminal is located;

联网子单元,用于根据上述联网信息,联入上述目标局域网;A networking subunit, configured to connect to the above-mentioned target local area network according to the above-mentioned networking information;

配对数据包广播子单元,用于广播配对数据包,上述配对数据包使得上述移动终端完成与上述智能音箱的配对。The pairing data packet broadcasting subunit is configured to broadcast a pairing data packet, and the pairing data packet enables the mobile terminal to complete the pairing with the smart speaker.

可选地,上述联网信息获取子单元包括:Optionally, the above-mentioned networking information acquisition subunit includes:

监听子单元,用于不对预设的两个以上信道进行监听;The monitoring subunit is used for not monitoring more than two preset channels;

联网数据包接收子单元,用于当在任一信道中监听到上述移动终端广播的联网数据包时,接收上述联网数据包;A networking data packet receiving subunit, configured to receive the above-mentioned networking data packet when the networking data packet broadcast by the above-mentioned mobile terminal is monitored in any channel;

联网数据包解析子单元,用于解析上述联网数据包,获得上述目标局域网的联网信息。The networking data packet parsing subunit is used for parsing the above-mentioned networking data packets to obtain the above-mentioned networking information of the target local area network.

可选地,上述配对数据包广播子单元,具体用于在用以广播上述联网数据包的信道中广播配对数据包。Optionally, the pairing data packet broadcast subunit is specifically configured to broadcast a pairing data packet in a channel used to broadcast the above-mentioned networking data packet.

在本申请实施例中,智能音箱不需要经过用户的繁琐设置即可联入局域网中与移动终端进行配对,并且,上述移动终端在与智能音箱配对后,可以根据用户的第一触发指令让该智能音箱发声,移动终端可以由此确定该智能音箱与移动终端的相对位置,并根据该相对位置确定该智能音箱所采用的声道,再通过向该智能音箱发送声道设置指令,实现对该智能音箱的声道的设置。本申请实施例通过触发智能音箱发声,帮助用户快速确定各个智能音箱所对应的声道,可以减少用户的操作,简化智能音箱的声道设置的流程。In the embodiment of the present application, the smart speaker can be connected to the local area network and paired with the mobile terminal without complicated settings by the user, and after the above-mentioned mobile terminal is paired with the smart speaker, it can let the user's first trigger instruction When the smart speaker makes a sound, the mobile terminal can determine the relative position between the smart speaker and the mobile terminal, and determine the channel used by the smart speaker according to the relative position, and then send a channel setting command to the smart speaker to realize the sound of the smart speaker. The channel settings of the smart speaker. The embodiment of the present application helps the user to quickly determine the sound channel corresponding to each smart speaker by triggering the sound of the smart speaker, which can reduce user operations and simplify the channel setting process of the smart speaker.

实施例六Embodiment six

本申请实施例提供一种移动终端,请参阅图8,本申请实施例中的移动终端包括:第一存储器801,一个或多个第一处理器802(图8中仅示出一个)及存储在第一存储器801上并可在处理器上运行的第一计算机程序。其中:第一存储器801用于存储软件程序以及单元,第一处理器802通过运行存储在第一存储器801的软件程序以及单元,从而执行各种功能应用以及数据处理,以获取上述预设事件对应的资源。具体地,第一处理器802通过运行存储在第一存储器801的上述第一计算机程序时实现以下步骤:The embodiment of the present application provides a mobile terminal, please refer to FIG. 8 , the mobile terminal in the embodiment of the present application includes: a first memory 801, one or more first processors 802 (only one is shown in FIG. 8 ) and storage A first computer program on the first memory 801 and executable on the processor. Among them: the first memory 801 is used to store software programs and units, and the first processor 802 executes various functional applications and data processing by running the software programs and units stored in the first memory 801, so as to obtain the above-mentioned preset event correspondence Resources. Specifically, the first processor 802 implements the following steps by running the above-mentioned first computer program stored in the first memory 801:

分别与两个智能音箱进行配对;Pair with two smart speakers respectively;

若接收到输入的第一触发指令,则基于上述第一触发指令,向上述两个智能音箱中的一智能音箱发送发声指令,上述发声指令用于指示相应智能音箱输出音频;If the input first trigger instruction is received, then based on the above-mentioned first trigger instruction, send a sounding instruction to one of the above-mentioned two smart speakers, and the above-mentioned sounding instruction is used to instruct the corresponding smart speaker to output audio;

在上述一智能音箱输出音频后,基于上述一智能音箱输出的音频分别确定上述两个智能音箱所采用的声道;After the above-mentioned one smart speaker outputs the audio, the audio channels used by the above-mentioned two smart speakers are respectively determined based on the audio output by the above-mentioned one smart speaker;

根据上述两个智能音箱所采用的声道,分别向上述两个智能音箱发送相应的声道设置指令,上述声道设置指令用于触发智能音箱设置所采用的声道。According to the sound channels adopted by the above-mentioned two smart speakers, corresponding channel setting instructions are sent to the above-mentioned two smart speakers respectively, and the above-mentioned sound channel setting instructions are used to trigger the setting of the sound channels adopted by the smart speakers.

假设上述为第一种可能的实施方式,则在第一种可能的实施方式作为基础而提供的第二种可能的实施方式中,上述移动终端分别与两个智能音箱进行配对之前,第一处理器802通过运行存储在第一存储器801的上述第一计算机程序时还实现以下步骤:Assuming that the above is the first possible implementation manner, then in the second possible implementation manner provided on the basis of the first possible implementation manner, before the above-mentioned mobile terminal is paired with two smart speakers respectively, the first processing The device 802 also implements the following steps by running the above-mentioned first computer program stored in the first memory 801:

在联网状态下接收到智能音箱配对指令时,生成联网数据包,其中,上述联网状态为连接局域网的状态,上述联网数据包包括目标局域网的联网信息,上述目标局域网为上述移动终端所连接的局域网;When a smart speaker pairing instruction is received in a networked state, a networked data packet is generated, wherein the above-mentioned networked state is a state of connecting to a local area network, and the above-mentioned networked data packet includes networking information of a target local area network, and the above-mentioned target local area network is the local area network connected to the above-mentioned mobile terminal ;

在预设的信道中广播上述联网数据包,上述联网数据包使得智能音箱能够联入上述目标局域网。The above-mentioned networking data packet is broadcast in a preset channel, and the above-mentioned networking data packet enables the smart speaker to be connected to the above-mentioned target local area network.

在上述第一种可能的实施方式作为基础而提供的第三种可能的实施方式中,上述移动终端分别与两个智能音箱进行配对,包括:In the third possible implementation manner provided on the basis of the above first possible implementation manner, the above mobile terminal is paired with two smart speakers respectively, including:

在上述预设的信道中接收上述两个智能音箱中的一智能音箱发送的反馈数据包;Receiving a feedback packet sent by one of the two smart speakers in the preset channel;

基于上述反馈数据包完成与上述两个智能音箱中的一智能音箱的配对。The pairing with one of the two smart speakers is completed based on the feedback data packet.

进一步,如图8所示,上述移动终端8还可包括:一个或多个输入设备803(图8中仅示出一个)和一个或多个输出设备804(图8中仅示出一个)。第一存储器801、第一处理器802、输入设备403和输出设备404通过总线405连接。Further, as shown in FIG. 8 , the mobile terminal 8 may further include: one or more input devices 803 (only one is shown in FIG. 8 ) and one or more output devices 804 (only one is shown in FIG. 8 ). The first memory 801 , the first processor 802 , the input device 403 and the output device 404 are connected through a bus 405 .

应当理解,上述移动终端8可以是智能手机、桌上型计算机、笔记本、掌上电脑及平板电脑器等计算设备。所称第一处理器802可以是中央处理单元(Central ProcessingUnit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital SignalProcessor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that the above-mentioned mobile terminal 8 may be computing devices such as smart phones, desktop computers, notebooks, palmtop computers, and tablet computers. The so-called first processor 802 may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.

输入设备803可以包括键盘、触控板、指纹采传感器(用于采集用户的指纹信息和指纹的方向信息)、麦克风等,输出设备804可以包括显示器、扬声器等。The input device 803 may include a keyboard, a touch panel, a fingerprint sensor (for collecting the user's fingerprint information and fingerprint direction information), a microphone, etc., and the output device 804 may include a display, a speaker, and the like.

第一存储器801可以包括只读存储器和随机存取存储器,并向第一处理器802提供指令和数据。存储器801的一部分或全部还可以包括非易失性随机存取存储器。例如,第一存储器801还可以存储设备类型的信息。The first memory 801 may include a read-only memory and a random access memory, and provides instructions and data to the first processor 802 . Part or all of the memory 801 may also include non-volatile random access memory. For example, the first memory 801 may also store information of device types.

由上可见,在本申请实施例中,上述移动终端在与两个智能音箱配对后,可以先根据用户的第一触发指令让其中的一个智能音箱发声,以确定该发声的智能音箱与移动终端的相对位置,并根据该相对位置确定两个智能音箱所采用的声道,让上述两个智能音箱相应的进行声道的设置。本申请实施例一方面通过触发智能音箱发声,帮助用户快速确定各个智能音箱所对应的声道,另一方面,不再需要用户对各个智能音箱重复执行设置声道的步骤,因而可以减少用户的操作,简化智能音箱的声道设置的流程。It can be seen from the above that in the embodiment of the present application, after the above-mentioned mobile terminal is paired with two smart speakers, it can first make one of the smart speakers sound according to the user's first trigger command, so as to determine the sounding smart speaker and the mobile terminal. The relative positions of the two smart speakers are determined according to the relative positions, so that the two smart speakers can be set accordingly. On the one hand, the embodiment of the present application helps the user to quickly determine the channel corresponding to each smart speaker by triggering the sound of the smart speaker; Operation to simplify the channel setting process of smart speakers.

实施例七Embodiment seven

本申请实施例提供一种智能音箱,请参阅图9,本申请实施例中的智能音箱包括:第二存储器901,一个或多个第二处理器902(图9中仅示出一个)及存储在第二存储器901上并可在处理器上运行的第二计算机程序。其中:第二存储器901用于存储软件程序以及单元,第二处理器902通过运行存储在第二存储器901的软件程序以及单元,从而执行各种功能应用以及数据处理,以获取上述预设事件对应的资源。具体地,第二处理器902通过运行存储在第二存储器901的上述第二计算机程序时实现以下步骤:The embodiment of the present application provides a smart speaker, please refer to FIG. 9 , the smart speaker in the embodiment of the present application includes: a second memory 901, one or more second processors 902 (only one is shown in FIG. 9 ) and storage A second computer program on the second memory 901 and executable on the processor. Wherein: the second memory 901 is used to store software programs and units, and the second processor 902 executes various functional applications and data processing by running the software programs and units stored in the second memory 901, so as to obtain the above-mentioned preset event correspondence Resources. Specifically, the second processor 902 implements the following steps by running the above-mentioned second computer program stored in the second memory 901:

与移动终端进行配对;pair with the mobile terminal;

若接收到上述移动终端发送的发声指令,则根据上述发声指令输出音频;If the sounding instruction sent by the above-mentioned mobile terminal is received, the audio is output according to the above-mentioned sounding instruction;

在输出音频后,接收上述移动终端发送的声道设置指令;After outputting the audio, receiving the channel setting instruction sent by the above-mentioned mobile terminal;

在上述声道设置指令的指示下设置上述智能音箱所采用的声道。Set the channel used by the above-mentioned smart speaker under the instruction of the above-mentioned channel setting instruction.

假设上述为第一种可能的实施方式,则在第一种可能的实施方式作为基础而提供的第二种可能的实施方式中,上述智能音箱与移动终端进行配对,包括:Assuming that the above is the first possible implementation manner, then in the second possible implementation manner provided on the basis of the first possible implementation manner, the above-mentioned smart speaker is paired with the mobile terminal, including:

上述智能音箱获取目标局域网的联网信息,其中,上述目标局域网为上述移动终端所处的局域网;The smart speaker acquires networking information of a target local area network, wherein the target local area network is the local area network where the mobile terminal is located;

根据上述联网信息,联入上述目标局域网;According to the above networking information, connect to the above target LAN;

广播配对数据包,上述配对数据包使得上述移动终端完成与上述智能音箱的配对。Broadcasting a pairing data packet, where the pairing data packet enables the above-mentioned mobile terminal to complete the pairing with the above-mentioned smart speaker.

在上述第二种可能的实施方式作为基础而提供的第三种可能的实施方式中,上述智能音箱获取目标局域网的联网信息,包括:In the third possible implementation manner provided on the basis of the second possible implementation manner above, the smart speaker obtains the networking information of the target local area network, including:

上述智能音箱对预设的两个以上信道进行监听;The above smart speaker monitors more than two preset channels;

当在任一信道中监听到上述移动终端广播的联网数据包时,接收上述联网数据包;When monitoring a networking data packet broadcast by the mobile terminal in any channel, receiving the networking data packet;

解析上述联网数据包,获得上述目标局域网的联网信息。The above-mentioned networking data packet is analyzed to obtain the above-mentioned networking information of the target LAN.

在上述第三种可能的实施方式作为基础而提供的第四种可能的实施方式中,上述广播配对数据包,包括:In a fourth possible implementation manner provided on the basis of the above third possible implementation manner, the broadcast pairing data packet includes:

在用以广播上述联网数据包的信道中广播配对数据包。The pairing data packet is broadcast in the channel used to broadcast the above-mentioned networking data packet.

在上述第三种可能的实施方式作为基础,或者上述第四种可能的实施方式作为基础而提供的第五种可能的实施方式中,上述智能音箱对预设的两个以上信道进行监听,包括:In the fifth possible implementation manner based on the above-mentioned third possible implementation manner, or the fifth possible implementation manner provided on the basis of the above-mentioned fourth possible implementation manner, the above-mentioned smart speaker monitors more than two preset channels, including: :

当上述智能音箱上电后对预设的两个以上的信道进行监听,When the smart speaker is powered on, it will monitor more than two preset channels,

或者,or,

当上述智能音箱接收到第二触发指令后,对预设的两个以上的信道进行监听。After the smart speaker receives the second trigger instruction, it monitors more than two preset channels.

进一步,如图9所示,上述智能音箱还可包括:一个或多个输入设备903(图8中仅示出一个)和一个或多个输出设备904(图8中仅示出一个)。第二存储器901、第二处理器902、输入设备903和输出设备904通过总线905连接。Further, as shown in FIG. 9 , the above smart speaker may further include: one or more input devices 903 (only one is shown in FIG. 8 ) and one or more output devices 904 (only one is shown in FIG. 8 ). The second memory 901 , the second processor 902 , the input device 903 and the output device 904 are connected through a bus 905 .

应当理解,所称第二处理器902可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that the so-called second processor 902 may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits ( Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.

输入设备903可以包括麦克风等,输出设备904可以包括显示屏、扬声器、音频电路等。The input device 903 may include a microphone and the like, and the output device 904 may include a display screen, a speaker, an audio circuit, and the like.

第二存储器901可以包括只读存储器和随机存取存储器,并向第二处理器902提供指令和数据。第二存储器901的一部分或全部还可以包括非易失性随机存取存储器。例如,第二存储器901还可以存储设备类型的信息。The second memory 901 may include a read-only memory and a random access memory, and provides instructions and data to the second processor 902 . Part or all of the second memory 901 may also include a non-volatile random access memory. For example, the second memory 901 may also store information of device types.

由上可见,在本申请实施例中,智能音箱在与移动终端配对后,可以根据用户的第一触发指令让该智能音箱发声,移动终端可以由此确定该智能音箱与移动终端的相对位置,并根据该相对位置确定该智能音箱所采用的声道,再通过向该智能音箱发送声道设置指令,实现对该智能音箱的声道的设置。本申请实施例通过触发智能音箱发声,帮助用户快速确定各个智能音箱所对应的声道,可以减少用户的操作,简化智能音箱的声道设置的流程。It can be seen from the above that in the embodiment of the present application, after the smart speaker is paired with the mobile terminal, it can make the smart speaker sound according to the user's first trigger command, and the mobile terminal can thus determine the relative position of the smart speaker and the mobile terminal. And according to the relative position, the sound channel adopted by the smart speaker is determined, and then the setting of the sound channel of the smart speaker is realized by sending a channel setting instruction to the smart speaker. The embodiment of the present application helps the user to quickly determine the sound channel corresponding to each smart speaker by triggering the sound of the smart speaker, which can reduce user operations and simplify the channel setting process of the smart speaker.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将上述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used for illustration. In practical applications, the above-mentioned functions can be assigned to different functional units, Module completion means that the internal structure of the above-mentioned device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit, and the above-mentioned integrated units may adopt hardware It can also be implemented in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working process of the units and modules in the above system, reference may be made to the corresponding process in the foregoing method embodiments, and details will not be repeated here.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the descriptions of each embodiment have their own emphases, and for parts that are not detailed or recorded in a certain embodiment, refer to the relevant descriptions of other embodiments.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.

在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,上述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the system embodiments described above are only illustrative. For example, the division of the above-mentioned modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined Or it can be integrated into another system, or some features can be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,上述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,上述计算机程序包括计算机程序代码,上述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。上述计算机可读介质可以包括:能够携带上述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,RandomAccess Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,上述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括是电载波信号和电信信号。If the above integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the present application realizes all or part of the processes in the methods of the above-mentioned embodiments, and can also be completed by instructing related hardware through computer programs. The above-mentioned computer programs can be stored in a computer-readable storage medium. The computer program When executed by a processor, the steps in the above-mentioned various method embodiments can be realized. Wherein, the above-mentioned computer program includes computer program code, and the above-mentioned computer program code may be in the form of source code, object code, executable file or some intermediate form. The above-mentioned computer-readable medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random Access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the above computer-readable media may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, computer-readable media may not Including electrical carrier signals and telecommunication signals.

以上上述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still apply to the foregoing embodiments Modifications to the technical solutions described, or equivalent replacement of some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the application, and should be included in this application. within the scope of the application.

Claims (14)

Translated fromChinese
1.一种智能音箱控制方法,其特征在于,所述智能音箱控制方法包括:1. A smart speaker control method, characterized in that, the smart speaker control method comprises:移动终端分别与两个智能音箱进行配对;The mobile terminal is paired with two smart speakers respectively;若接收到输入的第一触发指令,则基于所述第一触发指令,向所述两个智能音箱中的一智能音箱发送发声指令,所述发声指令用于指示相应智能音箱输出音频;If the input first trigger instruction is received, based on the first trigger instruction, send a sound instruction to one of the two smart speakers, the sound instruction is used to instruct the corresponding smart speaker to output audio;在所述一智能音箱输出音频后,基于所述一智能音箱输出的音频分别确定所述两个智能音箱所采用的声道;After the audio output from the smart speaker, determine the channels used by the two smart speakers based on the audio output from the smart speaker;根据所述两个智能音箱所采用的声道,分别向所述两个智能音箱发送相应的声道设置指令,所述声道设置指令用于触发智能音箱设置所采用的声道。According to the channels used by the two smart speakers, corresponding channel setting instructions are sent to the two smart speakers respectively, and the channel setting instructions are used to trigger the smart speakers to set the adopted channels.2.如权利要求1所述的智能音箱控制方法,其特征在于,所述移动终端分别与两个智能音箱进行配对,之前还包括:2. The smart speaker control method according to claim 1, wherein the mobile terminal is paired with two smart speakers respectively, and also includes:当所述移动终端在联网状态下接收到智能音箱配对指令时,生成联网数据包,其中,所述联网状态为连接局域网的状态,所述联网数据包包括目标局域网的联网信息,所述目标局域网为所述移动终端所连接的局域网;When the mobile terminal receives a smart speaker pairing instruction in a networked state, a networked data packet is generated, wherein the networked state is a state connected to a local area network, and the networked data packet includes the networking information of the target local area network, and the target local area network A local area network connected to the mobile terminal;在预设的信道中广播所述联网数据包,所述联网数据包使得智能音箱能够联入所述目标局域网。The networking data packet is broadcast in a preset channel, and the networking data packet enables the smart speaker to connect to the target local area network.3.如权利要求1所述的智能音箱控制方法,其特征在于,所述移动终端分别与两个智能音箱进行配对,包括:3. The smart speaker control method according to claim 1, wherein the mobile terminal is paired with two smart speakers respectively, comprising:所述移动终端在所述预设的信道中接收所述两个智能音箱中的一智能音箱发送的反馈数据包;The mobile terminal receives a feedback packet sent by one of the two smart speakers in the preset channel;基于所述反馈数据包完成与所述两个智能音箱中的一智能音箱的配对。The pairing with one of the two smart speakers is completed based on the feedback data packet.4.一种智能音箱控制方法,其特征在于,所述智能音箱控制方法包括:4. A smart speaker control method, characterized in that, the smart speaker control method comprises:智能音箱与移动终端进行配对;The smart speaker is paired with the mobile terminal;若接收到所述移动终端发送的发声指令,则根据所述发声指令输出音频;If receiving the sounding instruction sent by the mobile terminal, then output audio according to the sounding instruction;在输出音频后,接收所述移动终端发送的声道设置指令;After outputting the audio, receiving a channel setting instruction sent by the mobile terminal;在所述声道设置指令的指示下设置所述智能音箱所采用的声道。The sound channel adopted by the smart speaker is set under the instruction of the sound channel setting instruction.5.如权利要求4所述的智能音箱控制方法,其特征在于,所述智能音箱与移动终端进行配对,包括:5. The smart speaker control method according to claim 4, wherein the pairing of the smart speaker with the mobile terminal comprises:所述智能音箱获取目标局域网的联网信息,其中,所述目标局域网为所述移动终端所处的局域网;The smart speaker acquires networking information of a target LAN, where the target LAN is the local area network where the mobile terminal is located;根据所述联网信息,联入所述目标局域网;Joining the target local area network according to the networking information;广播配对数据包,所述配对数据包使得所述移动终端完成与所述智能音箱的配对。Broadcasting a pairing data packet, where the pairing data packet enables the mobile terminal to complete the pairing with the smart speaker.6.如权利要求5所述的智能音箱控制方法,其特征在于,所述智能音箱获取目标局域网的联网信息,包括:6. The smart speaker control method according to claim 5, wherein the smart speaker obtains the networking information of the target local area network, comprising:所述智能音箱对预设的两个以上信道进行监听;The smart speaker monitors more than two preset channels;当在任一信道中监听到所述移动终端广播的联网数据包时,接收所述联网数据包;When monitoring a networking data packet broadcast by the mobile terminal in any channel, receiving the networking data packet;解析所述联网数据包,获得所述目标局域网的联网信息。Analyzing the networking data packet to obtain networking information of the target LAN.7.如权利要求6所述的智能音箱控制方法,其特征在于,所述广播配对数据包,包括:7. The smart speaker control method according to claim 6, wherein the broadcast pairing data packet includes:在用以广播所述联网数据包的信道中广播配对数据包。A pairing packet is broadcast on the channel used to broadcast the networking packet.8.如权利要求6或7所述的智能音箱控制方法,其特征在于,所述智能音箱对预设的两个以上信道进行监听,包括:8. The smart speaker control method according to claim 6 or 7, wherein the smart speaker monitors more than two preset channels, including:当所述智能音箱上电后对预设的两个以上的信道进行监听,When the smart speaker is powered on, it monitors more than two preset channels,或者,or,当所述智能音箱接收到第二触发指令后,对预设的两个以上的信道进行监听。After the smart speaker receives the second trigger instruction, it monitors more than two preset channels.9.一种移动终端,其特征在于,所述移动终端包括:9. A mobile terminal, characterized in that the mobile terminal comprises:第一配对单元,用于分别与两个智能音箱进行配对;The first pairing unit is used to pair with two smart speakers respectively;第一发送单元,用于当接收到输入的第一触发指令时,基于所述第一触发指令,向所述两个智能音箱中的一智能音箱发送发声指令,所述发声指令用于指示相应智能音箱输出音频;The first sending unit is configured to send a sounding instruction to one of the two smart speakers based on the first triggering instruction when receiving the inputted first triggering instruction, and the sounding instruction is used to indicate the corresponding Smart speakers output audio;声道确定单元,用于在所述一智能音箱输出音频后,基于所述一智能音箱输出的音频分别确定所述两个智能音箱所采用的声道;A channel determination unit, configured to determine the channels used by the two smart speakers based on the audio output by the smart speaker after the audio output by the smart speaker;第二发送单元,用于根据所述两个智能音箱所采用的声道,分别向所述两个智能音箱发送相应的声道设置指令,所述声道设置指令用于触发智能音箱设置所采用的声道。The second sending unit is configured to send corresponding channel setting instructions to the two smart speakers respectively according to the channels adopted by the two smart speakers, and the channel setting instructions are used to trigger the setting of the smart speakers. channel.10.一种智能音箱,其特征在于,所述智能音箱包括:10. A smart speaker, characterized in that the smart speaker includes:第二配对单元,用于与移动终端进行配对;The second pairing unit is used for pairing with the mobile terminal;音频输出单元,用于当接收到所述移动终端发送的发声指令时,根据所述发声指令输出音频;an audio output unit, configured to output audio according to the utterance instruction when receiving the utterance instruction sent by the mobile terminal;指令接收单元,用于在输出音频后,接收所述移动终端发送的声道设置指令;an instruction receiving unit, configured to receive the channel setting instruction sent by the mobile terminal after the audio is output;声道设置单元,用于在所述声道设置指令的指示下设置所述智能音箱所采用的声道。A sound channel setting unit, configured to set the sound channel adopted by the smart speaker under the instruction of the sound channel setting instruction.11.一种移动终端,包括第一存储器、第一处理器以及存储在所述第一存储器中并可在所述第一处理器上运行的第一计算机程序,其特征在于,所述第一处理器执行所述第一计算机程序时实现如权利要求1至3任一项所述方法的步骤。11. A mobile terminal, comprising a first memory, a first processor, and a first computer program stored in the first memory and operable on the first processor, characterized in that the first The steps of the method according to any one of claims 1 to 3 are implemented when the processor executes the first computer program.12.一种计算机可读存储介质,所述计算机可读存储介质存储有第一计算机程序,其特征在于,所述第一计算机程序被处理器执行时实现如权利要求1至3任一项所述方法的步骤。12. A computer-readable storage medium, the computer-readable storage medium stores a first computer program, characterized in that, when the first computer program is executed by a processor, the computer program according to any one of claims 1 to 3 is implemented. steps of the method described above.13.一种智能音箱,包括第二存储器、第二处理器以及存储在所述第二存储器中并可在所述第二处理器上运行的第二计算机程序,其特征在于,所述第二处理器执行所述第二计算机程序时实现如权利要求4至8任一项所述方法的步骤。13. A smart speaker, comprising a second memory, a second processor, and a second computer program stored in the second memory and operable on the second processor, characterized in that the second The steps of the method according to any one of claims 4 to 8 are implemented when the processor executes the second computer program.14.一种计算机可读存储介质,所述计算机可读存储介质存储有第二计算机程序,其特征在于,所述第二计算机程序被处理器执行时实现如权利要求4至8任一项所述方法的步骤。14. A computer-readable storage medium, the computer-readable storage medium storing a second computer program, characterized in that, when the second computer program is executed by a processor, the computer program according to any one of claims 4 to 8 is implemented. steps of the method described above.
CN201711175509.XA2017-11-222017-11-22 A smart speaker control method, mobile terminal and smart speakerPendingCN107801132A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201711175509.XACN107801132A (en)2017-11-222017-11-22 A smart speaker control method, mobile terminal and smart speaker

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201711175509.XACN107801132A (en)2017-11-222017-11-22 A smart speaker control method, mobile terminal and smart speaker

Publications (1)

Publication NumberPublication Date
CN107801132Atrue CN107801132A (en)2018-03-13

Family

ID=61536207

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201711175509.XAPendingCN107801132A (en)2017-11-222017-11-22 A smart speaker control method, mobile terminal and smart speaker

Country Status (1)

CountryLink
CN (1)CN107801132A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111629260A (en)*2020-05-262020-09-04合肥联宝信息技术有限公司Audio output method and device
CN112083379A (en)*2020-09-092020-12-15成都极米科技股份有限公司Audio playing method and device based on sound source positioning, projection equipment and medium
CN112770248A (en)*2021-01-062021-05-07北京小米移动软件有限公司Sound box control method and device and storage medium
CN113747092A (en)*2020-05-292021-12-03深圳Tcl数字技术有限公司Sound channel playing method, system and storage medium
CN115119214A (en)*2021-03-222022-09-27华为技术有限公司 A stereo networking method, system and related device

Citations (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2007095994A1 (en)*2006-02-232007-08-30Robert Bosch GmbhAudio module for a video surveillance system, video surveillance system and method for keeping a plurality of locations under surveillance
CN102026082A (en)*2009-09-212011-04-20联想(北京)有限公司Track self-adaptive method and device for sound producing device
CN102595317A (en)*2012-02-272012-07-18歌尔声学股份有限公司Communication signal self-adapting transmission method and system
CN102857857A (en)*2012-02-172013-01-02东莞耳神电声科技有限公司 Speaker channel matching method for multi-channel wireless audio system
CN103512159A (en)*2012-06-252014-01-15珠海格力电器股份有限公司Air conditioner and air conditioner control system
CN104185132A (en)*2014-09-022014-12-03广东欧珀移动通信有限公司Audio track configuration method, intelligent terminal and corresponding system
CN104202696A (en)*2014-08-262014-12-10北京智谷技术服务有限公司Method and device for configuring sound channel
US20150016642A1 (en)*2013-07-152015-01-15Dts, Inc.Spatial calibration of surround sound systems including listener position estimation
CN104967953A (en)*2015-06-232015-10-07Tcl集团股份有限公司Multichannel playing method and system
CN105022276A (en)*2015-06-032015-11-04泰凌微电子(上海)有限公司Smart home system and data interaction method thereof
CN105764058A (en)*2016-04-122016-07-13广东欧珀移动通信有限公司 Method, device and system for accessing network
WO2016131471A1 (en)*2015-02-162016-08-25Huawei Technologies Co., Ltd.An audio signal processing apparatus and method for crosstalk reduction of an audio signal
CN106162444A (en)*2016-09-082016-11-23三星电子(中国)研发中心Channel configuration method and apparatus, terminal and audio amplifier for audio frequency broadcast system
CN106998514A (en)*2016-01-262017-08-01湖南汇德电子有限公司Intelligent multichannel collocation method and system

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2007095994A1 (en)*2006-02-232007-08-30Robert Bosch GmbhAudio module for a video surveillance system, video surveillance system and method for keeping a plurality of locations under surveillance
CN102026082A (en)*2009-09-212011-04-20联想(北京)有限公司Track self-adaptive method and device for sound producing device
CN102857857A (en)*2012-02-172013-01-02东莞耳神电声科技有限公司 Speaker channel matching method for multi-channel wireless audio system
CN102595317A (en)*2012-02-272012-07-18歌尔声学股份有限公司Communication signal self-adapting transmission method and system
CN103512159A (en)*2012-06-252014-01-15珠海格力电器股份有限公司Air conditioner and air conditioner control system
US20150016642A1 (en)*2013-07-152015-01-15Dts, Inc.Spatial calibration of surround sound systems including listener position estimation
CN104202696A (en)*2014-08-262014-12-10北京智谷技术服务有限公司Method and device for configuring sound channel
CN104185132A (en)*2014-09-022014-12-03广东欧珀移动通信有限公司Audio track configuration method, intelligent terminal and corresponding system
WO2016131471A1 (en)*2015-02-162016-08-25Huawei Technologies Co., Ltd.An audio signal processing apparatus and method for crosstalk reduction of an audio signal
CN105022276A (en)*2015-06-032015-11-04泰凌微电子(上海)有限公司Smart home system and data interaction method thereof
CN104967953A (en)*2015-06-232015-10-07Tcl集团股份有限公司Multichannel playing method and system
CN106998514A (en)*2016-01-262017-08-01湖南汇德电子有限公司Intelligent multichannel collocation method and system
CN105764058A (en)*2016-04-122016-07-13广东欧珀移动通信有限公司 Method, device and system for accessing network
CN106162444A (en)*2016-09-082016-11-23三星电子(中国)研发中心Channel configuration method and apparatus, terminal and audio amplifier for audio frequency broadcast system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111629260A (en)*2020-05-262020-09-04合肥联宝信息技术有限公司Audio output method and device
CN113747092A (en)*2020-05-292021-12-03深圳Tcl数字技术有限公司Sound channel playing method, system and storage medium
CN112083379A (en)*2020-09-092020-12-15成都极米科技股份有限公司Audio playing method and device based on sound source positioning, projection equipment and medium
CN112083379B (en)*2020-09-092023-10-20极米科技股份有限公司Audio playing method and device based on sound source localization, projection equipment and medium
CN112770248A (en)*2021-01-062021-05-07北京小米移动软件有限公司Sound box control method and device and storage medium
CN115119214A (en)*2021-03-222022-09-27华为技术有限公司 A stereo networking method, system and related device

Similar Documents

PublicationPublication DateTitle
CN107801132A (en) A smart speaker control method, mobile terminal and smart speaker
CN109445740B (en) Audio playback method, device, electronic device and storage medium
CN106155623B (en)A kind of audio collocation method, system and relevant device
US10642573B2 (en)Content streaming apparatus and method
CN109788441A (en)A kind of information processing method, terminal and computer storage medium
CN106126172B (en) A sound effect processing method and mobile terminal
WO2020124920A1 (en)Voice interaction method and bluetooth device
US9219807B1 (en)Wireless audio communications device, system and method
JP2015535407A (en) User terminal device, electronic device and control method thereof
US20170195817A1 (en)Simultaneous Binaural Presentation of Multiple Audio Streams
CN104869505B (en)Volume control method, playing device, mobile terminal and system
CN105657127A (en)Sound sharing method, earphone and terminal
CN106878915B (en)Control method and device of playing equipment, playing equipment and mobile terminal
CN112040057B (en) Device control method, device, electronic device, control system and storage medium
CN106095132B (en)Method and device for setting key function of playing equipment
US20250211892A1 (en)Method, electronic device, and storage medium for sharing audio data
WO2023134386A1 (en)Device connection method and apparatus, and device, storage medium and chip
CN113518297A (en)Sound box interaction method, device and system and sound box
CN108696842A (en)A kind of equipment and its network-building method, output method
CN107404587A (en) Audio playback control method, audio playback control device and mobile terminal
WO2023051272A1 (en)Device networking and sound channel configuration method and electronic device
CN111049709A (en)Bluetooth-based interconnected loudspeaker box control method, equipment and storage medium
CN106528037B (en)A kind of audio-frequency processing method and terminal
CN113677039B (en) Device connection method, device, electronic device and storage medium based on Bluetooth
CN109040425A (en)Information processing method and related product

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20180313

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp