CN108899020A - Information search method, device and computer readable storage medium - Google Patents
Information search method, device and computer readable storage medium Download PDFInfo
- Publication number
- CN108899020A CN108899020A CN201810534375.4A CN201810534375A CN108899020A CN 108899020 A CN108899020 A CN 108899020A CN 201810534375 A CN201810534375 A CN 201810534375A CN 108899020 A CN108899020 A CN 108899020A
- Authority
- CN
- China
- Prior art keywords
- instruction
- search
- speaker
- terminal
- designated terminal
- 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
Links
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/48—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
- G10L25/51—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
- G10L25/54—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination for retrieval
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/225—Feedback of the input speech
Landscapes
- Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本公开涉及一种信息搜索方法、装置及计算机可读存储介质,涉及多设备智能互联领域。方法包括接收语音指令;根据语音指令进行搜索以得到搜索结果;发送投屏指令,投屏指令用于指定终端显示所述搜索结果,指定终端为对应的账号与音箱对应的账号相同或相关联的终端。这样,用户就能够语音控制音箱进行搜索,并且能够在方便操作的终端上对搜索结果进行操作,不受音箱位置的限制,即终端相当于音箱的拓展屏幕,使得音箱在无需安装屏幕的情况下也能完成某些需要屏幕才能够完成的工作,大大拓展了音箱在例如购物、支付等场景下的应用范围,方便了用户的操作。
The disclosure relates to an information search method, device and computer-readable storage medium, and relates to the field of multi-device intelligent interconnection. The method includes receiving a voice command; performing a search according to the voice command to obtain a search result; sending a screen projection command, the screen projection command is used to specify the terminal to display the search result, and the specified terminal is the same or associated with the account corresponding to the speaker terminal. In this way, the user can control the speaker to search by voice, and can operate the search results on the terminal that is convenient to operate, without being limited by the location of the speaker, that is, the terminal is equivalent to the extended screen of the speaker, so that the speaker does not need to install a screen. It can also complete certain tasks that require a screen, which greatly expands the application range of speakers in scenarios such as shopping and payment, and facilitates user operations.
Description
技术领域technical field
本公开涉及多设备智能互联领域,尤其涉及一种信息搜索方法、装置及计算机可读存储介质。The present disclosure relates to the field of multi-device intelligent interconnection, and in particular to an information search method, device, and computer-readable storage medium.
背景技术Background technique
相关技术中,AI智能音箱已经逐渐普及。常见的智能音箱大概能够分为两类,一类是带有屏幕的智能音箱,一类是不带有屏幕的智能音箱。当用户需要利用智能音箱完成一些信息的搜索并对搜索结果进行一定的处理时,不带有屏幕的智能音箱无法实现,而带有屏幕的智能音箱成本过高,难以在用户中普及,而且用户必须守在智能音箱旁边才能实现对搜索结果的处理。另外,当用户需要通过智能音箱进行购物或其他需要支付或者密码验证的行为时,由于技术的瓶颈,对于用户声纹的识别还不够成熟,很难把用户的声纹信息作为安全验证的秘钥,因此利用智能音箱进行购物支付等目前实现也较为困难。In related technologies, AI smart speakers have gradually become popular. Common smart speakers can be roughly divided into two categories, one is a smart speaker with a screen, and the other is a smart speaker without a screen. When users need to use smart speakers to complete some information searches and perform certain processing on the search results, smart speakers without screens cannot be realized, while smart speakers with screens are too expensive to be popular among users, and users You must stay next to the smart speaker to process the search results. In addition, when users need to use smart speakers for shopping or other behaviors that require payment or password verification, due to technical bottlenecks, the recognition of user voiceprints is not mature enough, and it is difficult to use user voiceprint information as a security verification key Therefore, it is also difficult to use smart speakers for shopping and payment at present.
发明内容Contents of the invention
为克服相关技术中存在的问题,本公开提供一种信息搜索方法、装置及计算机可读存储介质。In order to overcome the problems existing in related technologies, the present disclosure provides an information search method, device and computer-readable storage medium.
根据本公开实施例的第一方面,提供一种信息搜索方法,应用于音箱,包括:According to the first aspect of the embodiments of the present disclosure, there is provided an information search method applied to speakers, including:
接收语音指令;Receive voice commands;
根据所述语音指令进行搜索以得到搜索结果;performing a search according to the voice command to obtain a search result;
发送投屏指令,所述投屏指令用于指定终端显示所述搜索结果,所述指定终端为对应的账号与所述音箱对应的账号相同或相关联的终端。A screen projection instruction is sent, and the screen projection instruction is used to display the search result by a specified terminal, and the specified terminal is a terminal whose corresponding account is the same as or associated with the account corresponding to the speaker.
可选地,所述根据所述语音指令进行搜索以得到搜索结果包括:Optionally, the searching according to the voice instruction to obtain search results includes:
根据所述语音指令生成目标搜索指令;generating a target search instruction according to the voice instruction;
向服务器发送所述目标搜索指令,以由所述服务器根据所述目标搜索指令进行搜索以得到搜索结果。Sending the target search instruction to a server, so that the server performs a search according to the target search instruction to obtain a search result.
可选地,在所述发送投屏指令的步骤之前,所述方法还包括:Optionally, before the step of sending the screen projection instruction, the method further includes:
根据所述搜索结果进行语音播报;Carry out voice broadcast according to the search result;
通过语音的形式输出投屏请求,所述投屏请求用于确认是否由所述指定终端显示所述搜索结果;Outputting a screen projection request in the form of voice, the screen projection request is used to confirm whether the specified terminal displays the search result;
接收语音应答指令;Receive voice response instructions;
在所述语音应答指令指示确定由所述指定终端显示所述搜索结果时,执行所述发送投屏指令的步骤。When the voice response instruction indicates that the designated terminal is to display the search result, the step of sending the screen projection instruction is executed.
可选地,所述发送投屏指令,包括:Optionally, the sending the screen projection instruction includes:
向所述指定终端发送投屏指令,所述投屏指令包括所述搜索结果;或者sending a screen projection instruction to the designated terminal, the screen projection instruction including the search result; or
向服务器发送投屏指令,所述投屏指令携带所述音箱当前登录的账号信息,所述账号信息用于所述服务器确定所述指定终端,所述投屏指令用于指示所述服务器将所述搜索结果发送至所述指定终端。Send a screen projection instruction to the server, the screen projection instruction carries the account information currently logged in by the speaker, the account information is used by the server to determine the specified terminal, and the screen projection instruction is used to instruct the server to transfer the specified terminal to the server. The search results are sent to the specified terminal.
可选地,所述方法还包括:Optionally, the method also includes:
接收用于表示对所述搜索结果的处理结果的指示信息,所述指示信息是所述指定终端发送的;receiving indication information for indicating a processing result of the search result, the indication information being sent by the designated terminal;
对所述指示信息进行语音播报。Perform voice broadcast on the instruction information.
根据本公开实施例的第二方面,提供一种信息搜索方法,应用于服务器,包括:According to a second aspect of an embodiment of the present disclosure, there is provided an information search method applied to a server, including:
接收音箱发送的目标搜索指令;Receive the target search command sent by the speaker;
根据所述目标搜索指令进行搜索以得到搜索结果;以及performing a search according to the target search instruction to obtain a search result; and
向指定终端发送所述搜索结果,所述指定终端为对应的账号与所述音箱对应的账号相同或相关联的终端。Sending the search result to a designated terminal, where the designated terminal is a terminal whose corresponding account is the same as or associated with the account corresponding to the speaker.
可选地,所述向指定终端发送所述搜索结果,包括:Optionally, the sending the search result to a designated terminal includes:
接收音箱发送的投屏指令,其中,所述投屏指令携带所述音箱当前登录的账号信息;receiving a screen projection instruction sent by the speaker, wherein the screen projection instruction carries account information currently logged in by the speaker;
根据所述账号信息确定所述指定终端;determining the designated terminal according to the account information;
响应于根据所述投屏指令,将所述搜索结果发送至所述指定终端,以使所述指定终端显示所述搜索结果。In response to the screen projection instruction, sending the search result to the specified terminal, so that the specified terminal displays the search result.
根据本公开实施例的第三方面,提供一种信息搜索装置,应用于音箱,包括:According to a third aspect of the embodiments of the present disclosure, there is provided an information search device applied to a speaker, including:
第一接收模块,被配置为接收语音指令;The first receiving module is configured to receive voice instructions;
第一搜索模块,被配置为根据所述语音指令进行搜索以得到搜索结果;The first search module is configured to search according to the voice instruction to obtain search results;
第一发送模块,被配置为发送投屏指令,所述投屏指令用于指定终端显示所述搜索结果,所述指定终端为对应的账号与所述音箱对应的账号相同或相关联的终端。The first sending module is configured to send a screen projection instruction, the screen projection instruction is used to specify a terminal to display the search result, and the specified terminal is a terminal whose corresponding account is the same as or associated with the account corresponding to the speaker.
可选地,所述第一搜索模块包括:Optionally, the first search module includes:
指令生成子模块,被配置为根据所述语音指令生成目标搜索指令;An instruction generating submodule configured to generate a target search instruction according to the voice instruction;
第一发送子模块,被配置为向服务器发送所述目标搜索指令,以由所述服务器根据所述目标搜索指令进行搜索以得到搜索结果。The first sending submodule is configured to send the target search instruction to a server, so that the server performs a search according to the target search instruction to obtain a search result.
可选地,所述装置还包括:Optionally, the device also includes:
第一语音播报模块,被配置为在所述投屏指令发送模块发送所述投屏指令之前根据所述搜索结果进行语音播报;The first voice broadcast module is configured to perform voice broadcast according to the search results before the screen projection instruction sending module sends the screen projection instruction;
语音输出模块,被配置为通过语音的形式输出投屏请求,所述投屏请求用于确认是否由所述指定终端显示所述搜索结果;The voice output module is configured to output a screen projection request in the form of voice, and the screen projection request is used to confirm whether the specified terminal displays the search result;
第二接收模块,被配置为接收语音应答指令;The second receiving module is configured to receive voice response instructions;
所述第一发送模块被配置为在所述语音应答指令指示确定由所述指定终端显示所述搜索结果时,发送所述投屏指令。The first sending module is configured to send the screen projection instruction when the voice response instruction indicates that the designated terminal is to display the search result.
可选地,所述第一发送模块被配置为向所述指定终端发送投屏指令,所述投屏指令包括所述搜索结果;或者,所述第一发送模块被配置为向服务器发送投屏指令,所述投屏指令携带所述音箱当前登录的账号信息,所述账号信息用于所述服务器确定所述指定终端,所述投屏指令用于指示所述服务器将所述搜索结果发送至所述指定终端。Optionally, the first sending module is configured to send a screen-casting instruction to the specified terminal, the screen-casting instruction includes the search result; or, the first sending module is configured to send a screen-casting instruction to a server Instruction, the screen projection instruction carries the account information currently logged in by the speaker, the account information is used by the server to determine the designated terminal, and the screen projection instruction is used to instruct the server to send the search result to the designated terminal.
可选地,所述装置还包括:Optionally, the device also includes:
第三接收模块,被配置为接收用于表示对所述搜索结果的处理结果的指示信息,所述指示信息是所述指定终端发送的;The third receiving module is configured to receive indication information indicating a processing result of the search result, the indication information being sent by the specified terminal;
第二语音播报模块,被配置为对所述指示信息进行语音播报。The second voice broadcast module is configured to perform voice broadcast on the indication information.
根据本公开实施例的第四方面,提供一种信息搜索装置,应用于服务器,包括:According to a fourth aspect of the embodiments of the present disclosure, there is provided an information search device applied to a server, including:
第四接收模块,被配置为接收音箱发送的目标搜索指令;The fourth receiving module is configured to receive the target search instruction sent by the speaker;
第二搜索模块,被配置为根据所述目标搜索指令进行搜索以得到搜索结果;以及A second search module configured to search according to the target search instruction to obtain search results; and
第二发送模块,被配置为向指定终端发送所述搜索结果,所述指定终端为对应的账号与所述音箱对应的账号相同或相关联的终端。The second sending module is configured to send the search result to a designated terminal, and the designated terminal is a terminal whose corresponding account is the same as or associated with the account corresponding to the speaker.
可选地,所述第二发送模块包括:Optionally, the second sending module includes:
接收子模块,被配置为接收音箱发送的投屏指令,其中,所述投屏指令携带所述音箱当前登录的账号信息;The receiving sub-module is configured to receive the screen projection instruction sent by the speaker, wherein the screen projection instruction carries the account information currently logged in by the speaker;
确定子模块,被配置为根据所述账号信息确定所述指定终端;A determining submodule configured to determine the specified terminal according to the account information;
第二发送子模块,被配置为响应于所述投屏指令,将所述搜索结果发送至所述指定终端,以使所述指定终端显示所述搜索结果。The second sending submodule is configured to send the search result to the designated terminal in response to the screen projection instruction, so that the designated terminal displays the search result.
根据本公开实施例的第五方面,提供一种信息搜索装置,包括:According to a fifth aspect of the embodiments of the present disclosure, an information search device is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
接收语音指令;Receive voice commands;
根据所述语音指令进行搜索以得到搜索结果;performing a search according to the voice command to obtain a search result;
发送投屏指令,所述投屏指令用于指定终端显示所述搜索结果,所述指定终端为对应的账号与所述音箱对应的账号相同或相关联的终端。A screen projection instruction is sent, and the screen projection instruction is used to display the search result by a specified terminal, and the specified terminal is a terminal whose corresponding account is the same as or associated with the account corresponding to the speaker.
根据本公开实施例的第六方面,提供一种信息搜索装置,包括:According to a sixth aspect of the embodiments of the present disclosure, there is provided an information search device, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
接收音箱发送的目标搜索指令;Receive the target search command sent by the speaker;
根据所述目标搜索指令进行搜索以得到搜索结果;以及performing a search according to the target search instruction to obtain a search result; and
向指定终端发送所述搜索结果,所述指定终端为对应的账号与所述音箱对应的账号相同或相关联的终端。Sending the search result to a designated terminal, where the designated terminal is a terminal whose corresponding account is the same as or associated with the account corresponding to the speaker.
根据本公开实施例的第七方面,提供一种计算机可读存储介质,其上存储有计算机程序指令,该程序指令被处理器执行时实现根据本公开实施例的第一方面中所述方法的步骤。According to a seventh aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which computer program instructions are stored. When the program instructions are executed by a processor, the method according to the first aspect of the embodiments of the present disclosure is implemented. step.
根据本公开实施例的第八方面,提供一种计算机可读存储介质,其上存储有计算机程序指令,该程序指令被处理器执行时实现根据本公开实施例的第二方面中所述方法的步骤。According to an eighth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which computer program instructions are stored. When the program instructions are executed by a processor, the method according to the second aspect of the embodiments of the present disclosure is implemented. step.
本公开的实施例提供的技术方案可以包括以下有益效果:能够通过音箱接收语音指令,并根据该语音指令进行搜索,然后将搜索结果显示于指定终端上。这样,用户就能够通过语音控制音箱进行搜索,并且能够在方便操作的终端上对搜索结果进行操作,不受音箱位置的限制,即终端相当于音箱的拓展屏幕,使得音箱在无需安装屏幕的情况下也能完成某些需要屏幕才能够完成的工作,大大拓展了音箱在例如购物、支付等场景下的应用范围,方便了用户的操作。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: a voice command can be received through a speaker, a search can be performed according to the voice command, and then the search result can be displayed on a designated terminal. In this way, the user can control the speaker to search by voice, and can operate the search results on the terminal that is convenient to operate, without being limited by the position of the speaker, that is, the terminal is equivalent to the extended screen of the speaker, so that the speaker does not need to install a screen It can also complete certain tasks that require a screen, which greatly expands the application range of speakers in scenarios such as shopping and payment, and facilitates user operations.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1A至图1C是根据不同示例性实施例示出的几种实施环境示意图。Fig. 1A to Fig. 1C are schematic diagrams showing several implementation environments according to different exemplary embodiments.
图2是根据一示例性实施例示出的一种应用于音箱的信息搜索方法的流程图。Fig. 2 is a flow chart of an information search method applied to a sound box according to an exemplary embodiment.
图3是根据一示例性实施例示出的又一应用于音箱的信息搜索方法的流程图。Fig. 3 is a flow chart of another information search method applied to a speaker according to an exemplary embodiment.
图4是根据一示例性实施例示出的又一应用于音箱的信息搜索方法的流程图。Fig. 4 is a flow chart of another information search method applied to a sound box according to an exemplary embodiment.
图5是根据一示例性实施例示出的又一应用于音箱的信息搜索方法的流程图。Fig. 5 is a flowchart showing another information search method applied to a sound box according to an exemplary embodiment.
图6是根据一示例性实施例示出的一种应用于服务器的信息搜索方法的流程图。Fig. 6 is a flowchart showing an information search method applied to a server according to an exemplary embodiment.
图7是根据一示例性实施例示出的又一应用于服务器的信息搜索方法中向指定终端发送搜索结果的方法的流程图。Fig. 7 is a flow chart of a method for sending a search result to a specified terminal in yet another information search method applied to a server according to an exemplary embodiment.
图8是根据一示例性实施例示出的一种音箱、用户、服务器和指定终端之间信息交互的时序示意图。Fig. 8 is a schematic diagram showing a sequence of information interaction among a speaker, a user, a server and a designated terminal according to an exemplary embodiment.
图9是根据一示例性实施例示出的一种应用于音箱的信息搜索装置的框图。Fig. 9 is a block diagram of an information search device applied to a sound box according to an exemplary embodiment.
图10是根据一示例性实施例示出的又一应用于音箱的信息搜索装置的框图。Fig. 10 is a block diagram of another information search device applied to a sound box according to an exemplary embodiment.
图11是根据一示例性实施例示出的又一应用于音箱的信息搜索装置的框图。Fig. 11 is a block diagram of another information search device applied to a sound box according to an exemplary embodiment.
图12是根据一示例性实施例示出的又一应用于音箱的信息搜索装置的框图。Fig. 12 is a block diagram of another information search device applied to a sound box according to an exemplary embodiment.
图13是根据一示例性实施例示出的一种应用于服务器的信息搜索装置的框图。Fig. 13 is a block diagram showing an information search device applied to a server according to an exemplary embodiment.
图14是根据一示例性实施例示出的又一应用于服务器的信息搜索装置中第二发送模块的框图。Fig. 14 is a block diagram of a second sending module in another information search device applied to a server according to an exemplary embodiment.
图15是根据一示例性实施例示出的一种信息搜索装置的框图。Fig. 15 is a block diagram of an information search device according to an exemplary embodiment.
图16是根据一示例性实施例示出的一种信息搜索装置的框图。Fig. 16 is a block diagram of an information search device according to an exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
图1A是根据一示例性实施例示出的一种实施环境示意图。如图1A所示,该实施环境可以包括用户3、音箱1和终端2。用户3和音箱1之间可以通过语音进行交互,即用户3直接通过语音控制音箱1,音箱1通过语音播报的形式向用户3传递相关信息。音箱1和终端2之间可以通过蓝牙、WiFi、2G、3G、4G、5G等任意无线通信的方式、或有线通信方式进行通信。用户3可以通过对终端2进行手动操作来控制该终端2。该终端2可以是智能手机、平板电脑、笔记本电脑、或者电视机等,在图1A中以智能手机来示意。Fig. 1A is a schematic diagram showing an implementation environment according to an exemplary embodiment. As shown in FIG. 1A , the implementation environment may include a user 3 , a speaker 1 and a terminal 2 . User 3 and speaker 1 can interact through voice, that is, user 3 directly controls speaker 1 through voice, and speaker 1 transmits relevant information to user 3 in the form of voice broadcast. The communication between the speaker 1 and the terminal 2 can be carried out through any wireless communication means such as Bluetooth, WiFi, 2G, 3G, 4G, 5G, or wired communication means. The user 3 can control the terminal 2 by manually operating the terminal 2 . The terminal 2 may be a smart phone, a tablet computer, a notebook computer, or a TV, etc., and is shown as a smart phone in FIG. 1A .
图1B是根据又一示例性实施例示出的一种实施环境示意图。如图1B所示,该实施环境可以包括用户3、音箱1、终端2和服务器4。用户3和音箱1之间可以通过语音进行交互,即用户3直接通过语音控制音箱1,音箱1通过语音播报的形式向用户3传递相关信息。音箱1与服务器4之间、以及终端2与服务器4之间可以通过蓝牙、WiFi、2G、3G、4G、5G等任意无线通信的方式、或有线通信方式进行通信。用户3可以通过对终端2进行手动操作来控制该终端2。该终端2可以是智能手机、平板电脑、笔记本电脑、或者电视机等,在图1B中以智能手机来示意。Fig. 1B is a schematic diagram showing an implementation environment according to yet another exemplary embodiment. As shown in FIG. 1B , the implementation environment may include a user 3 , a speaker 1 , a terminal 2 and a server 4 . User 3 and speaker 1 can interact through voice, that is, user 3 directly controls speaker 1 through voice, and speaker 1 transmits relevant information to user 3 in the form of voice broadcast. The communication between the speaker 1 and the server 4 and between the terminal 2 and the server 4 can be carried out through any wireless communication method such as Bluetooth, WiFi, 2G, 3G, 4G, 5G, or wired communication method. The user 3 can control the terminal 2 by manually operating the terminal 2 . The terminal 2 may be a smart phone, a tablet computer, a notebook computer, or a TV, etc., and is shown as a smart phone in FIG. 1B .
图1C是根据又一示例性实施例示出的一种实施环境示意图。如图1C所示,该实施环境可以包括外部设备5、音箱1、终端2和服务器4。外部设备5和音箱1之间可以通过语音进行交互,即外部设备5直接通过语音控制音箱1,音箱1通过语音播报的形式向外部设备5传递相关信息。音箱1与服务器4之间、以及终端2与服务器4之间可以通过蓝牙、WiFi、2G、3G、4G、5G等任意无线通信的方式、或有线通信方式进行通信。该终端2可以是智能手机、平板电脑、笔记本电脑、或者电视机等,在图1C中以智能手机来示意。该外部设备5可以是任意能够进行语音播报的设备,在图1C中以除音箱1外的其他音箱来示意。Fig. 1C is a schematic diagram of an implementation environment according to yet another exemplary embodiment. As shown in FIG. 1C , the implementation environment may include an external device 5 , a speaker 1 , a terminal 2 and a server 4 . The external device 5 and the speaker 1 can interact through voice, that is, the external device 5 directly controls the speaker 1 through voice, and the speaker 1 transmits relevant information to the external device 5 in the form of voice broadcast. The communication between the speaker 1 and the server 4 and between the terminal 2 and the server 4 can be carried out through any wireless communication method such as Bluetooth, WiFi, 2G, 3G, 4G, 5G, or wired communication method. The terminal 2 can be a smart phone, a tablet computer, a notebook computer, or a TV, etc., and is shown as a smart phone in FIG. 1C . The external device 5 can be any device capable of voice broadcasting, which is illustrated by other speakers except the speaker 1 in FIG. 1C .
图2是根据一示例性实施例示出的一种信息搜索方法的流程图,如图2所示,该方法应用于音箱中,例如,如图1A至图1C中任一图中所述的音箱1,该方法可以包括以下步骤。Fig. 2 is a flow chart of an information search method shown according to an exemplary embodiment. As shown in Fig. 2, the method is applied to a sound box, for example, the sound box described in any one of Fig. 1A to Fig. 1C 1. The method may include the following steps.
在步骤101中,接收语音指令。In step 101, a voice instruction is received.
音箱对于语音指令的接收可以是时刻都在进行的。即,只要音箱处于开机状态,音箱始终都在对语音指令进行接收。或者,音箱上也可以设置一用于开启和关闭语音接收功能的开关,通过该开关来控制音箱开启对语音指令的接收。其中,该语音指令可以是由音箱中内置的语音接收模块直接从用户处接收,也可以是从音箱外部设备接收,即,该语音指令可以是直接来自于用户,例如图1A和图1B中所示的用户3,也可以是来自于其他具有语音播报功能的设备,如图1C中所示的外部设备5。The speaker can receive voice commands all the time. That is, as long as the speaker is turned on, the speaker is always receiving voice commands. Alternatively, a switch for turning on and off the voice receiving function may also be provided on the sound box, and the sound box is controlled to start receiving voice commands through the switch. Wherein, the voice command may be directly received from the user by the built-in voice receiving module in the sound box, or may be received from an external device of the sound box, that is, the voice command may come directly from the user, such as shown in Fig. 1A and Fig. 1B The user 3 shown here may also come from other devices with a voice broadcast function, such as the external device 5 shown in FIG. 1C .
在步骤102中,根据所述语音指令进行搜索以得到搜索结果。In step 102, a search is performed according to the voice instruction to obtain a search result.
在步骤101中获得该语音指令之后,根据该语音指令进行搜索以得到搜索结果可以通过以下两种不同的方式,一种是通过将根据该语音指令生成的目标搜索指令发送给服务器,让服务器根据目标搜索指令进行搜索以得到搜索结果。另一种是音箱直接根据接收到的语音指令进行在线搜索以得到搜索结果。其具体的实现方式以及示例将在下文中给出。After the voice command is obtained in step 101, searching according to the voice command to obtain search results can be done in the following two different ways. One is to send the target search command generated according to the voice command to the server, and let the server according to the The target search command performs a search to obtain search results. The other is that the speaker directly searches online according to the received voice commands to obtain search results. Its specific implementation and examples will be given below.
在步骤103中,发送投屏指令,所述投屏指令用于指定终端显示所述搜索结果,所述指定终端为对应的账号与所述音箱对应的账号相同或相关联的终端。其中,与音箱对应的账号相关联的账号可以是与音箱对应的账号对应同一用户的不同账号,也可以是与音箱对应的账号所对应的用户不相同的不同账号,但该相关联的账号对应的不同用户之间具有关联关系,例如亲属关系、好友关系等,该关联关系可以通过手动进行设置,该相关联的账号可以为一个或多个。In step 103, a screen projection instruction is sent, and the screen projection instruction is used to specify a terminal to display the search result, and the specified terminal is a terminal whose corresponding account is the same as or associated with the account corresponding to the speaker. Wherein, the account associated with the account corresponding to the speaker may be a different account corresponding to the same user as the account corresponding to the speaker, or may be a different account corresponding to the user corresponding to the account corresponding to the speaker, but the associated account corresponds to There is an association relationship between different users, such as kinship relationship, friend relationship, etc. The association relationship can be set manually, and the associated account can be one or more.
音箱发送投屏指令以使指定终端显示搜索结果可以通过以下两种方式中的任一种实现:一种是直接通过音箱自身将该投屏指令发送给与其用户账号相匹配的终端,在这种实施方式中,该投屏指令中可以包括上述的搜索结果(音箱自身直接进行在线搜索获得,或者,通过服务器进行搜索并从服务器获取该搜索结果),这样,当终端接收到该投屏指令后便可显示该搜索结果。另一种是音箱将投屏指令发送至服务器,以指示该服务器将上述的搜索结果(服务器自身搜索得出,或者,音箱在线搜索获得并将搜索结果发送至服务器)发送至对应的账号与音箱对应的账号相同或相关联的终端,以便该终端显示该搜索结果。无论选择通过哪种方式,只要能实现将搜索结果发送至与音箱对应同一账号的终端即可。其具体的实现方式以及示例将在下文中给出。其中,所述指定终端可以是智能手机、平板电脑、电视机等任意能够对该搜索结果进行显示的终端,例如图1A至图1C中所示的以智能手机示意的终端2。The speaker sends the screen projection command to make the specified terminal display the search results in any of the following two ways: one is to directly send the screen projection command to the terminal that matches its user account through the speaker itself. In an embodiment, the screen projection instruction may include the above-mentioned search results (obtained by direct online search by the speaker itself, or by searching through the server and obtaining the search results from the server), so that when the terminal receives the screen projection instruction The search results are displayed. The other is that the speaker sends the screen projection command to the server to instruct the server to send the above search results (obtained by the server itself, or the speaker searches online and sends the search results to the server) to the corresponding account and the speaker The corresponding account is the same or associated with the terminal, so that the terminal displays the search result. No matter which method you choose, as long as you can send the search results to the terminal corresponding to the same account as the speaker. Its specific implementation and examples will be given below. Wherein, the specified terminal may be any terminal capable of displaying the search result, such as a smart phone, a tablet computer, and a television, such as the terminal 2 illustrated by a smart phone shown in FIGS. 1A to 1C .
通过上述技术方案,能够通过音箱接收语音指令,并根据该语音指令进行搜索,然后将搜索结果显示于指定终端上。这样,用户就能够通过语音控制音箱进行搜索,并且能够在方便操作的终端上对搜索结果进行操作,不受音箱位置的限制,即终端相当于音箱的拓展屏幕,使得音箱在无需安装屏幕的情况下也能完成某些需要屏幕才能够完成的工作,大大拓展了音箱在例如购物、支付等场景下的应用范围,方便了用户的操作。Through the above technical solution, the voice command can be received through the speaker, and the search can be performed according to the voice command, and then the search result can be displayed on the designated terminal. In this way, the user can control the speaker to search by voice, and can operate the search results on the terminal that is convenient to operate, without being limited by the position of the speaker, that is, the terminal is equivalent to the extended screen of the speaker, so that the speaker does not need to install a screen It can also complete certain tasks that require a screen, which greatly expands the application range of speakers in scenarios such as shopping and payment, and facilitates user operations.
在一种可能的实施方式中,图2中所示的方法中的步骤102中,根据该语音指令进行搜索以得到搜索结果的方式可以是音箱直接根据该语音指令进行搜索。例如,当该语音指令为某问题时,可以由音箱自身在任意搜索引擎中对该问题进行搜索以得到搜索结果,或者当该语音指令为在某商品信息或用户想在某购物平台上购买的商品信息时,音箱也可以根据该语音指令在该购物平台上对该商品进行搜索以得到最后的搜索结果。In a possible implementation, in step 102 of the method shown in FIG. 2 , the manner of performing a search according to the voice command to obtain a search result may be that the speaker directly performs the search according to the voice command. For example, when the voice command is a question, the speaker itself can search for the question in any search engine to obtain search results, or when the voice command is a product information or the user wants to buy on a shopping platform When receiving product information, the speaker can also search for the product on the shopping platform according to the voice command to obtain the final search result.
在另一种可能的实施方式中,如图3所示,上述步骤102可以包括如图所示的步骤201和步骤202,即通过服务器进行搜索的方法步骤。In another possible implementation manner, as shown in FIG. 3 , the above step 102 may include steps 201 and 202 as shown in the figure, that is, the method steps of searching through the server.
在步骤201中,根据所述语音指令生成目标搜索指令。In step 201, a target search instruction is generated according to the voice instruction.
在步骤202中,向服务器发送所述目标搜索指令,以由所述服务器根据所述目标搜索指令进行搜索以得到搜索结果。In step 202, the target search instruction is sent to a server, so that the server performs a search according to the target search instruction to obtain a search result.
其中,服务器在接收到该目标搜索指令之后,能够根据该目标搜索指令进行搜索以得到搜索结果。例如,当该语音指令为某问题时,音箱可以基于该语音指令,生成该问题对应的目标搜索指令,然后发给服务器。服务器可以根据该目标搜索指令在任意搜索引擎中对该问题进行搜索以得到搜索结果,或者,当该语音指令为在某商品信息或用户想在某购物平台上购买的商品信息时,音箱可以基于该语音指令,生成该商品信息对应的目标搜索指令,然后发给服务器。服务器可以根据该目标搜索指令在该购物平台上对该商品进行搜索以得到最后的搜索结果。Wherein, after receiving the target search instruction, the server can perform a search according to the target search instruction to obtain a search result. For example, when the voice instruction is a certain question, the speaker can generate a target search instruction corresponding to the question based on the voice instruction, and then send it to the server. The server can search for the question in any search engine according to the target search instruction to obtain search results, or, when the voice instruction is information about a product or a product that the user wants to purchase on a shopping platform, the speaker can The voice command generates a target search command corresponding to the commodity information, and then sends it to the server. The server can search for the product on the shopping platform according to the target search instruction to obtain the final search result.
这样,利用服务器根据与语音指令对应的目标搜索指令进行搜索,辅助音箱完成搜索工作,在一定程度上降低了音箱的处理量,提高了音箱的处理速度,使得音箱根据语音指令进行搜索更加方便,大大拓展了音箱在例如购物、支付等场景下的应用范围。In this way, the server is used to search according to the target search command corresponding to the voice command, and the auxiliary speaker completes the search work, which reduces the processing capacity of the speaker to a certain extent, improves the processing speed of the speaker, and makes it more convenient for the speaker to search according to the voice command. It greatly expands the application range of speakers in scenarios such as shopping and payment.
图4是根据一示例性实施例示出的又一应用于音箱的信息搜索方法的流程图。如图4所示,该方法中除了包括图2中所示的步骤101至步骤103之外,在步骤104之前,还可以包括步骤301至步骤304。Fig. 4 is a flow chart of another information search method applied to a sound box according to an exemplary embodiment. As shown in FIG. 4 , in addition to steps 101 to 103 shown in FIG. 2 , before step 104 , the method may also include steps 301 to 304 .
在步骤301中,根据所述搜索结果进行语音播报。In step 301, a voice broadcast is performed according to the search result.
在步骤102中根据语音指令进行搜索得到该搜索结果之后,音箱可以对该搜索结果进行语音播报。例如,当该语音指令为某问题,该搜索结果为多条与该问题相关联的网页链接时,音箱可以对该搜索结果进行如下的语音播报:“已为您查找到相关网页链接N条”。其中N可以为具体搜索到的相关网页链接的数量。在其他实施方式中,音箱也可以直接语音播报出该问题对应的答案。具体的语音播报语句在此不做限制,此处仅仅只是示例。After the search result is obtained by performing a search according to the voice command in step 102, the speaker can perform voice broadcast on the search result. For example, when the voice instruction is a question and the search result is a plurality of webpage links associated with the question, the speaker can perform the following voice broadcast on the search result: "N related webpage links have been found for you" . Wherein, N may be the number of related web page links specifically searched. In other implementation manners, the speaker may also directly broadcast the answer corresponding to the question. The specific voice broadcast sentence is not limited here, and it is just an example here.
在步骤302中,通过语音的形式输出投屏请求,所述投屏请求用于确认是否由所述指定终端显示所述搜索结果。In step 302, a screen projection request is output in the form of voice, and the screen projection request is used to confirm whether the specified terminal displays the search result.
在对搜索结果进行语音播报之后,继续语音询问是否需要将该搜索结果显示在指定终端上,即,通过语音的形式输出上述投屏请求。其中,该语音询问的对象可以为用户,如在图1A和图1B所示的场景中,音箱1可以直接向用户3输出该投屏请求。在另一种方式中,该语音询问的对象可以为外部设备,如在图1C所示的场景中,音箱1可以向外部设备5输出该投屏请求。该语音的形式可以为例如:“您是否需要在终端上查看搜索结果?”,其中,该条语音中的“终端”可以替换为手机、平板电脑或电视机等具体的终端名称,此处仅仅只是示例。After the voice broadcast of the search result, continue to voice inquire whether the search result needs to be displayed on the designated terminal, that is, output the above-mentioned screen projection request in the form of voice. Wherein, the object of the voice inquiry may be the user, for example, in the scenarios shown in FIG. 1A and FIG. 1B , the speaker 1 may directly output the screen projection request to the user 3 . In another manner, the object of the voice inquiry may be an external device. For example, in the scenario shown in FIG. 1C , the speaker 1 may output the screen projection request to the external device 5 . The voice can be in the form of, for example: "Do you want to view the search results on the terminal?", where the "terminal" in the voice can be replaced with a specific terminal name such as a mobile phone, a tablet computer or a TV. Here only Just example.
在步骤303中,接收语音应答指令。In step 303, a voice response instruction is received.
在通过语音的形式输出投屏请求,即,询问是否需要进行投屏之后,对语音应答指令进行接收,其中,该语音应答指令可以是由音箱中内置的语音接收模块直接从用户处接收,也可以是从音箱外部设备接收,即,该语音应答指令可以是直接来自于用户,例如图1A和图1B中所示的用户3,也可以是来自于其他具有语音播报功能的设备,如图1C中所示的外部设备5。After outputting the screen projection request in the form of voice, that is, after asking whether screen projection is required, the voice response command is received, wherein the voice response command can be directly received from the user by the voice receiving module built in the speaker, or It can be received from an external device of the speaker, that is, the voice response command can be directly from the user, such as user 3 shown in Figure 1A and Figure 1B, or from other devices with voice broadcast function, as shown in Figure 1C The external device shown in 5.
在步骤304中,判断所述语音应答指令是否指示确定由所述指定终端显示所述搜索结果,如果是,则转至步骤103,如果否,则转至步骤101。在接收到针对是否需要进行投屏的询问发出的语音应答指令之后,根据该语音应答指令判断是否需要进行投屏。如果判断需要进行投屏,则执行步骤103中发送投屏指令的步骤,如果判断不需要进行投屏,则转至步骤101,即,继续保持接收语音指令的状态。In step 304, it is judged whether the voice response instruction indicates that the designated terminal is determined to display the search result, if yes, go to step 103, if not, go to step 101. After receiving the voice response instruction for the inquiry about whether screen projection is required, it is determined whether screen projection is required according to the voice response instruction. If it is judged that screen projection is required, then execute the step of sending the screen projection instruction in step 103, if it is judged that screen projection is not required, then go to step 101, that is, continue to maintain the state of receiving voice instructions.
通过上述技术方案,在根据语音指令搜索到需要的搜索结果之后,对该搜索结果进行语音播报,并语音询问是否需要进行投屏显示,在确定需要进行投屏之后,该搜索结果才会显示在指定终端中。例如,当该语音应答指令是由用户发出时,用户需要对搜索结果进行投屏通常是因为对搜索结果满意,或者感兴趣,并且需要对搜索结果进行进一步操作,这时对搜索结果进行投屏能够方便用户操作;用户不需要对搜索结果进行投屏原因可能是对搜索结果不满意,或者不感兴趣,还可能是仅通过音箱对搜索结果的播报就已经满足了用户的搜索需求,例如,当音箱接收到的语音指令为:“中国历史上第一个统一的封建王朝是哪个朝代?”,这时,音箱将搜索结果“中国历史上第一个统一的封建王朝是秦朝”语音播报之后,就已经满足了搜索需求。因此,在语音播报搜索结果之后,通过询问是否需要对搜索结果进行投屏来决定是否对搜索结果进行投屏,能够避免一定的无用操作,进一步提升了用户体验。Through the above technical solution, after the desired search result is searched according to the voice command, the search result is voice broadcasted, and the voice asks whether it needs to be displayed on the screen. After it is determined that the screen projection is required, the search result will be displayed on the specified terminal. For example, when the voice response instruction is issued by the user, the user needs to cast the search result because he is satisfied with or interested in the search result and needs to perform further operations on the search result. It is convenient for users to operate; the reason why users do not need to screen the search results may be that they are dissatisfied with or not interested in the search results, or it may be that the broadcast of the search results through the speaker has already met the user's search needs, for example, when The voice command received by the speaker is: "Which dynasty is the first unified feudal dynasty in Chinese history?" At this time, the speaker broadcasts the search result "The first unified feudal dynasty in Chinese history is the Qin Dynasty" , the search requirement has been met. Therefore, after the search result is broadcast by voice, it is decided whether to cast the search result by asking whether the search result needs to be screen casted, which can avoid certain useless operations and further improve the user experience.
在一种可能的实施方式中,图2中所示的步骤103中发送投屏指令的步骤可以是由音箱自身来完成。其中,指定终端可以是与音箱提前绑定的、其对应的账号与音箱中登录的账号相同或相关联的终端。音箱在发送投屏指令时,直接将投屏指令发送至预先绑定好的指定终端中。另外,该投屏指令中还可以包括音箱当前登录的账号信息,该账号信息可以包括用户名,或者用户名和账号密码,该账号信息可以用于指定终端对账号进一步进行确认。当该指定终端确认发送该投屏指令的音箱确实为与自身对应同一账号,或为自身对应的账号的关联账号,则响应该投屏指令,显示搜索结果。而当该指定终端确认发送该投屏指令的音箱对应的账号不与自身对应的账号相同或相关联时,则可以拒绝该投屏指令并将该拒绝指令反馈给音箱。而音箱在接收到该拒绝指令后,可以例如通过语音的形式对该拒绝指令进行反馈。在通常情况下,与音箱预先绑定好的终端的用户账号都是与音箱中登录的账号相同或相关联的指定终端,但是,可能出现该终端中登录的账号发生变动的情况。例如,家庭中某台手机原本是母亲使用,登录的是母亲的账号,但由于某些原因开始由父亲使用,手机中登录的账号也更换成了父亲的账号,且父亲的账号并未与母亲的账号的相关联,而在由母亲使用这台手机期间,该手机中的用户账号与音箱中登录的账号相同,即为音箱的指定终端,这时,音箱在需要发送投屏指令时,会将该投屏指令发送给已经开始由父亲使用的该手机上,此时该手机就可以通过包括在该投屏指令中的音箱当前登录的账号信息来对账号进行进一步确认,从而就能判断出发送该投屏指令的音箱中的用户账号与自身对应的账号不相同且也不相关联,然后拒绝该投屏指令。In a possible implementation manner, the step of sending the screen projection instruction in step 103 shown in FIG. 2 may be completed by the speaker itself. Wherein, the designated terminal may be a terminal that is bound with the speaker in advance and whose corresponding account is the same as or associated with the account registered in the speaker. When the speaker sends the screen projection command, it directly sends the screen projection command to the pre-bound designated terminal. In addition, the screen projection instruction may also include account information currently logged in by the speaker, and the account information may include a user name, or a user name and an account password, and the account information may be used to further confirm the account by the specified terminal. When the designated terminal confirms that the speaker sending the screen projection instruction is indeed the same account as itself, or an associated account of the account corresponding to itself, it responds to the screen projection instruction and displays search results. And when the specified terminal confirms that the account corresponding to the speaker that sends the screen projection instruction is not the same as or associated with its corresponding account, it can reject the screen projection instruction and feed back the rejection instruction to the speaker. After receiving the rejection instruction, the speaker can, for example, give feedback to the rejection instruction in the form of voice. Under normal circumstances, the user account of the terminal pre-bound with the speaker is the designated terminal that is the same as or associated with the account registered in the speaker. However, the account registered in the terminal may change. For example, a mobile phone in the family was originally used by the mother, and the mother's account was logged in, but for some reason, it was started to be used by the father, and the account registered in the mobile phone was also replaced by the father's account, and the father's account was not linked to the mother's account. During the period when the mother is using the mobile phone, the user account in the mobile phone is the same as the account registered in the speaker, which is the designated terminal of the speaker. At this time, when the speaker needs to send a screen projection command, it will Send the screen projection command to the mobile phone that has already started to be used by the father. At this time, the mobile phone can further confirm the account through the current login account information of the speaker included in the screen projection command, so that it can be judged The user account in the speaker that sends the screen projection instruction is not the same as and not associated with its corresponding account, and then rejects the screen projection instruction.
在另一种可能的实施方式中,图2中所示的步骤103可以包括:向服务器发送投屏指令,即利用服务器向指定终端发送搜索结果。所述投屏指令可以携带所述音箱当前登录的账号信息,所述账号信息用于所述服务器确定所述指定终端,所述投屏指令用于指示所述服务器将所述搜索结果发送至所述指定终端。In another possible implementation manner, step 103 shown in FIG. 2 may include: sending a screen projection instruction to a server, that is, using the server to send a search result to a designated terminal. The screen projection instruction may carry account information currently logged in by the speaker, the account information is used by the server to determine the specified terminal, and the screen projection instruction is used to instruct the server to send the search result to the specified terminal. specified terminal.
服务器在接收到携带音箱当前登录的账号信息的投屏指令之后,根据该账号信息可以确定具有与音箱当前登录的账号相同或相关联的账号的终端为指定终端,然后将搜索结果发送至该指定终端,以使该搜索结果在该指定终端上显示。该账号信息可以是音箱中登录的账号的用户名,也可以是用户名和账号密码,只要是能够使服务器确定出其对应的账号与音箱当前登录的账号相同或相关联的指定终端的账号信息即可。After the server receives the screen projection instruction carrying the account information currently logged in by the speaker, according to the account information, it can determine that the terminal with the same or associated account as the account currently logged in by the speaker is the designated terminal, and then send the search results to the designated terminal. terminal, so that the search results are displayed on the designated terminal. The account information may be the user name of the account registered in the speaker, or the user name and account password, as long as it is the account information of the specified terminal that enables the server to determine that the corresponding account is the same as or associated with the account currently logged in by the speaker. Can.
这样,先将投屏指令发送给服务器,利用服务器来对该投屏指令进行转发,从而辅助音箱完成发送投屏指令给指定终端的工作,由服务器转发投屏指令,可以确保收到投屏指令的指定终端上的账号与音箱上登录的账号相同或相关联,且无需音箱或指定终端来进行账号信息的确认,在一定程度上降低了音箱的处理量,提高了音箱的处理速度,使得音箱根据用户的语音指令进行搜索更加方便,大大拓展了音箱在例如购物、支付等场景下的应用范围。In this way, the screen projection command is first sent to the server, and the server is used to forward the screen projection command, so as to assist the speaker to complete the work of sending the screen projection command to the designated terminal, and the server forwards the screen projection command to ensure that the screen projection command is received The account on the designated terminal is the same as or related to the account registered on the speaker, and no speaker or designated terminal is required to confirm the account information, which reduces the processing capacity of the speaker to a certain extent, improves the processing speed of the speaker, and makes the speaker It is more convenient to search according to the user's voice command, which greatly expands the application scope of the speaker in scenarios such as shopping and payment.
图5是根据一示例性实施例示出的又一应用于音箱的信息搜索方法的流程图。如图5所示,该方法还可以包括步骤401和步骤402。Fig. 5 is a flowchart showing another information search method applied to a sound box according to an exemplary embodiment. As shown in FIG. 5 , the method may further include step 401 and step 402 .
在步骤401中,接收用于表示对所述搜索结果的处理结果的指示信息,所述指示信息是所述指定终端发送的。In step 401, receiving indication information for indicating a processing result of the search result, the indication information being sent by the specified terminal.
在步骤402中,对所述指示信息进行语音播报。In step 402, voice broadcast is performed on the indication information.
例如,当搜索结果是对某商品的搜索结果时,通过在指定终端进行搜索结果的投屏,用户可以在指定终端上看到根据语音指令搜索出来的多种相关商品信息,用户可以对自己感兴趣的商品进行查看、挑选、收藏、购买等不同的操作。例如,如果用户对搜索结果中的某相关商品进行了购买,该指定终端会将购买成功的信息作为指示信息发送给音箱,音箱在接收到该指示信息之后,可以在步骤402中,对所述指示信息进行语音播报。例如,音箱可以针对该指示信息播报如下内容:“您已经成功购买某某店铺的某某物品,成交价M元”。For example, when the search result is a search result for a product, by projecting the search result on the designated terminal, the user can see a variety of related product information searched out according to the voice command on the designated terminal, and the user can feel comfortable with himself. You can perform different operations such as viewing, selecting, collecting, and purchasing the products you are interested in. For example, if the user purchases a related product in the search results, the specified terminal will send the successful purchase information to the speaker as instruction information. After the speaker receives the instruction information, in step 402, the Instructions for voice broadcast. For example, the speaker may broadcast the following content for the instruction information: "You have successfully purchased such and such item from such and such store, and the transaction price is M yuan".
在一种可能的实施方式中,如图5所述的步骤401中,用于表示对搜索结果的处理结果的指示信息可以是由服务器转发的。即,指定终端将上述指示信息发送至服务器,由该服务器将该指示信息转发至音箱。在另一种可能的实施方式中,该指示信息也可以是指定终端直接发送至音箱。In a possible implementation manner, in step 401 as shown in FIG. 5 , the indication information used to indicate the processing result of the search result may be forwarded by the server. That is, the designated terminal sends the above instruction information to the server, and the server forwards the instruction information to the speaker. In another possible implementation manner, the indication information may also be sent directly to the speaker by the designated terminal.
在一种可能的实施方式中,所述方法还可以包括:接收账号不匹配信号;根据所述账号不匹配信号进行语音播报。其中该账号不匹配信号可以是由服务器发送的,也可以是由指定终端发送的。在一种情况下,服务器在确定对应的账号与音箱登录的账号相同或相关联的终端时,可能会出现找不到的情况,此时服务器可以向音箱发送上述账号不匹配信号,以表示未找到对应的账号与音箱登录的账号相同或相关联的终端;在另一种情况下,在音箱直接向与之绑定的指定终端发送投屏指令时,该指定终端可以通过包含在该投屏指令中的音箱登录的账号信息进行账号的确认。如果该指定终端判定终端上的账号与音箱中的账号不相同且不相关联时,该指定终端可以向音箱发送上述账号不匹配信号,以表示双方账号不匹配。在接收到该账号不匹配信号之后,音箱可以根据该账号不匹配信号进行语音播报,以提示用户未找到匹配的指定终端,无法进行投屏操作。In a possible implementation manner, the method may further include: receiving an account mismatch signal; performing voice broadcast according to the account mismatch signal. The account mismatch signal may be sent by the server, or may be sent by a designated terminal. In one case, when the server determines that the corresponding account is the same as or associated with the account logged in by the speaker, it may not be found. At this time, the server may send the above-mentioned account mismatch signal to the speaker to indicate that there is no Find the terminal whose corresponding account is the same as or associated with the account logged in by the speaker; in another case, when the speaker directly sends a screen-casting command to the designated terminal bound to it, the designated terminal can be included in the screen-casting The account information of speaker login in the command is used to confirm the account. If the designated terminal determines that the account on the terminal is not the same as the account in the speaker and is not associated, the designated terminal may send the account mismatch signal to the speaker to indicate that the accounts of both parties do not match. After receiving the account mismatch signal, the speaker can make a voice broadcast according to the account mismatch signal to remind the user that no matching designated terminal has been found and the screen projection operation cannot be performed.
图6是根据一示例性实施例示出的一种应用于服务器的信息搜索方法的流程图。如图6所示,所述方法可以包括步骤501至步骤504。Fig. 6 is a flowchart showing an information search method applied to a server according to an exemplary embodiment. As shown in FIG. 6 , the method may include step 501 to step 504 .
在步骤501中,接收音箱发送的目标搜索指令。In step 501, a target search instruction sent by a speaker is received.
音箱在接收到该语音指令之后,根据该语音指令生成目标搜索指令,并发送给服务器。服务器在接收到该目标搜索指令之后,执行步骤502。After the speaker receives the voice command, it generates a target search command according to the voice command and sends it to the server. After the server receives the target search instruction, step 502 is executed.
在步骤502中,根据所述目标搜索指令进行搜索以得到搜索结果。In step 502, a search is performed according to the target search instruction to obtain a search result.
在步骤503中,向指定终端发送所述搜索结果。在搜索到该搜索结果之后,将其发送至指定终端,以使该搜索结果在指定终端中进行显示,其中,所述指定终端为对应的账号与所述音箱对应的账号相同或相关联的终端。In step 503, the search result is sent to a designated terminal. After the search result is found, it is sent to a designated terminal so that the search result is displayed on the designated terminal, wherein the designated terminal is a terminal whose corresponding account is the same as or associated with the account corresponding to the speaker .
通过上述技术方案,利用服务器根据目标搜索指令进行搜索,辅助音箱完成搜索工作,降低了音箱的处理量,提高了音箱处理速度,大大拓展了音箱在例如购物、支付等场景下的应用范围。Through the above technical solution, the server is used to search according to the target search command, assisting the speaker to complete the search work, reducing the processing capacity of the speaker, improving the processing speed of the speaker, and greatly expanding the application range of the speaker in scenarios such as shopping and payment.
图7是根据一示例性实施例示出的又一应用于服务器的信息搜索方法中向指定终端发送搜索结果的方法的流程图。如图7所示,该方法可以包括步骤601至步骤603。Fig. 7 is a flow chart of a method for sending a search result to a specified terminal in yet another information search method applied to a server according to an exemplary embodiment. As shown in FIG. 7 , the method may include step 601 to step 603 .
在步骤601中,接收音箱发送的投屏指令,其中,所述投屏指令携带所述音箱当前登录的账号信息。In step 601, a screen projection instruction sent by a speaker is received, wherein the screen projection instruction carries account information currently logged in by the speaker.
在步骤602中,根据所述账号信息确定所述指定终端,即,确定对应的账号与音箱当前登录的账号相同或相关联的终端。In step 602, the specified terminal is determined according to the account information, that is, the terminal whose corresponding account is the same as or associated with the account currently logged in by the speaker is determined.
在步骤603中,响应于所述投屏指令,将所述搜索结果发送至所述指定终端,以使所述指定终端下显示所述搜索结果。其中,该搜索结果可以是由服务器根据目标搜索指令进行搜索时搜索到的搜索结果,也可以是由音箱直接根据语音指令进行搜索之后得到、然后发送至服务器的搜索结果。服务器将该搜索结果发送给指定终端之后,该指定终端就能够对该搜索结果进行显示,以方便用户在指定终端上对搜索结果进行后续的操作,如对搜索结果中的商品进行购买、支付等操作。In step 603, in response to the screen projection instruction, the search result is sent to the designated terminal, so that the designated terminal displays the search result. Wherein, the search result may be the search result obtained when the server searches according to the target search instruction, or may be the search result obtained by the speaker directly searching according to the voice instruction and then sent to the server. After the server sends the search result to the designated terminal, the designated terminal can display the search result, so that the user can perform subsequent operations on the search result on the designated terminal, such as purchasing and paying for the products in the search result. operate.
在一种可能的实施方式中,该方法还可以包括:当服务器未确定出对应的账号与音箱当前登录的账号相同或相关联的指定终端时,服务器可以向音箱发送账号不匹配信号,以告知音箱未找到指定终端,从而提示用户未匹配到指定终端,无法进行投屏。In a possible implementation manner, the method may further include: when the server does not determine a designated terminal whose corresponding account is the same as or associated with the account currently logged in by the speaker, the server may send an account mismatch signal to the speaker to inform The speaker does not find the specified terminal, which prompts the user that the specified terminal is not matched and screen projection cannot be performed.
图8是根据一示例性实施例示出的一种音箱、用户、服务器和指定终端之间信息交互的示意图。如图8所示,在一种可能的实施方式中,音箱、用户、服务器和指定终端之间的信息交互可以是以下流程:Fig. 8 is a schematic diagram showing information interaction among a speaker, a user, a server and a designated terminal according to an exemplary embodiment. As shown in Figure 8, in a possible implementation manner, the information interaction between the speaker, the user, the server and the specified terminal may be the following process:
首先,在S1中,由用户直接向音箱发出语音指令,音箱执行如图3中所示的步骤101和步骤201,根据该语音指令生成目标搜索指令;First, in S1, the user directly sends a voice command to the speaker, and the speaker executes steps 101 and 201 as shown in Figure 3, and generates a target search command according to the voice command;
然后,在S2中,音箱向服务器发送目标搜索指令;Then, in S2, the speaker sends a target search command to the server;
然后,由服务器执行如图6所示的步骤501至步骤503,得到搜索结果,并在S3中,由服务器将搜索结果反馈给音箱;Then, the server executes steps 501 to 503 as shown in Figure 6 to obtain the search results, and in S3, the server feeds back the search results to the speaker;
然后,由音箱将该搜索结果进行语音播报,从而实现在S4中,将该搜索结果告知用户;Then, the search result is voice broadcasted by the speaker, so that in S4, the search result is notified to the user;
然后,由音箱执行如图4所示的步骤302,即在S5中,通过语音的形式向用户输出投屏请求,以向用户确认是否需要在指定终端上进行投屏;Then, the speaker performs step 302 as shown in FIG. 4, that is, in S5, output a screen projection request to the user in the form of voice, to confirm to the user whether it is necessary to perform screen projection on the designated terminal;
然后,在S6中,由用户向音箱发出语音应答指令,以告知音箱是否需要进行投屏;Then, in S6, the user sends a voice response instruction to the speaker to inform the speaker whether projection is required;
然后,当音箱确认用户需要进行投屏时,在S7中,向服务器发送投屏指令,其中,该投屏指令可以携带音箱当前登录的账号信息;Then, when the speaker confirms that the user needs to perform screen projection, in S7, send a screen projection instruction to the server, wherein the screen projection instruction can carry the account information currently logged in by the speaker;
然后,服务器接收到音箱发送的投屏指令之后,执行如图7中所示的步骤601至602,根据该投屏指令中携带的音箱当前登录的账号信息确定指定终端;Then, after the server receives the screen projection instruction sent by the speaker, it executes steps 601 to 602 as shown in Figure 7, and determines the designated terminal according to the account information currently logged in by the speaker carried in the screen projection instruction;
然后,在S8中,服务器向指定终端发送搜索结果,以使该搜索结果在指定终端中进行显示;Then, in S8, the server sends the search result to the designated terminal, so that the search result is displayed in the designated terminal;
然后,当用户在指定终端上结束了对该搜索结果的操作,例如购买商品结束时,在S9中,指定终端会向服务器发送相应的指示信息,并在S10中由服务器将该指示信息转发至音箱;Then, when the user finishes the operation on the search result on the specified terminal, for example, when the purchase of commodities ends, in S9, the specified terminal will send corresponding instruction information to the server, and the server will forward the instruction information to the server in S10. speaker;
最后,当音箱接收到该指示信息之后,执行如图5所示的步骤402,对该指示信息进行语音播报,以实现在S11中,将该指示信息告知给用户,以便用户知晓对于搜索结果的处理结果。Finally, after the speaker receives the instruction information, step 402 as shown in Figure 5 is executed to broadcast the instruction information by voice, so that in S11, the instruction information is notified to the user, so that the user knows the search results. process result.
图9是根据一示例性实施例示出的一种应用于音箱的信息搜索装置的框图。如图9所示,包括:Fig. 9 is a block diagram of an information search device applied to a sound box according to an exemplary embodiment. As shown in Figure 9, including:
第一接收模块110,被配置为接收语音指令。The first receiving module 110 is configured to receive voice instructions.
第一搜索模块120,被配置为根据所述第一接收模块110接收到的该语音指令进行搜索以得到搜索结果。The first search module 120 is configured to search according to the voice instruction received by the first receiving module 110 to obtain search results.
第一发送模块130,被配置为发送投屏指令,所述投屏指令用于指定终端显示所述搜索结果,所述指定终端为对应的账号与所述音箱对应的账号相同或相关联的终端。The first sending module 130 is configured to send a screen projection instruction, the screen projection instruction is used to specify a terminal to display the search result, and the specified terminal is a terminal whose corresponding account is the same as or associated with the account corresponding to the speaker .
通过上述技术方案,音箱能够通过第一接收模块110接收语音指令,然后通过第一搜索模块120来根据该语音指令进行搜索,最后通过第一发送模块130发送给与之对应的终端设备上进行显示,这样,用户就能够语音控制音箱进行搜索,并且能够在方便操作的终端上对搜索结果进行操作,不受音箱位置的限制,即终端相当于音箱的拓展屏幕,使得音箱在无需安装屏幕的情况下也能完成某些需要屏幕才能够完成的工作,大大拓展了音箱在例如购物、支付等场景下的应用范围,方便了用户的操作。Through the above technical solution, the speaker can receive the voice command through the first receiving module 110, then search according to the voice command through the first search module 120, and finally send it to the corresponding terminal device through the first sending module 130 for display In this way, the user can control the speaker to search by voice, and can operate the search results on the convenient terminal without being limited by the position of the speaker. It can also complete certain tasks that require a screen, which greatly expands the application range of speakers in scenarios such as shopping and payment, and facilitates user operations.
图10是根据一示例性实施例示出的又一应用于音箱的信息搜索装置的框图。如图10所示,所述第一搜索模块120包括:Fig. 10 is a block diagram of another information search device applied to a sound box according to an exemplary embodiment. As shown in Figure 10, the first search module 120 includes:
指令生成子模块1201,被配置为根据所述语音指令生成目标搜索指令。The instruction generation sub-module 1201 is configured to generate a target search instruction according to the voice instruction.
第一发送子模块1202,被配置为向服务器发送所述目标搜索指令,以由所述服务器根据所述语音指令进行搜索以得到搜索结果。The first sending submodule 1202 is configured to send the target search instruction to a server, so that the server performs a search according to the voice instruction to obtain a search result.
图11是根据一示例性实施例示出的又一应用于音箱的信息搜索装置的框图。如图11所示,所述装置还包括:Fig. 11 is a block diagram of another information search device applied to a sound box according to an exemplary embodiment. As shown in Figure 11, the device also includes:
第一语音播报模块140,被配置为在所述第一发送模块130发送所述投屏指令之前根据所述搜索结果进行语音播报。The first voice broadcast module 140 is configured to perform voice broadcast according to the search result before the first sending module 130 sends the screen projection instruction.
语音输出模块150,被配置为通过语音的形式输出投屏请求,所述投屏请求用于确认是否由所述指定终端显示所述搜索结果。The voice output module 150 is configured to output a screen projection request in the form of voice, and the screen projection request is used to confirm whether the specified terminal displays the search result.
第二接收模块160,被配置为接收语音应答指令。The second receiving module 160 is configured to receive voice response instructions.
所述第一发送模块130被配置为在所述语音应答指令指示确定由所述指定终端显示所述搜索结果时,发送所述投屏指令。The first sending module 130 is configured to send the screen projection instruction when the voice response instruction indicates that the specified terminal displays the search result.
在一种可能的实施方式中,所述第一发送模块130被配置为向所述指定终端发送投屏指令,所述投屏指令包括所述搜索结果;或者In a possible implementation manner, the first sending module 130 is configured to send a screen projection instruction to the designated terminal, where the screen projection instruction includes the search result; or
所述第一发送模块130被配置为向服务器发送投屏指令,所述投屏指令携带所述音箱当前登录的账号信息,所述账号信息用于所述服务器确定所述指定终端,所述投屏指令用于指示所述服务器将所述搜索结果发送至所述指定终端。The first sending module 130 is configured to send a screen projection instruction to the server, the screen projection instruction carries the account information currently logged in by the speaker, the account information is used by the server to determine the specified terminal, and the projection The screen instruction is used to instruct the server to send the search result to the designated terminal.
图12是根据一示例性实施例示出的又一应用于音箱的信息搜索装置的框图。如图12所示,所述装置还包括:Fig. 12 is a block diagram of another information search device applied to a sound box according to an exemplary embodiment. As shown in Figure 12, the device also includes:
第三接收模块170,被配置为接收用于表示对所述搜索结果的处理结果的指示信息,所述指示信息是所述指定终端发送的。The third receiving module 170 is configured to receive indication information for indicating a processing result of the search result, the indication information being sent by the designated terminal.
第二语音播报模块180,被配置为对所述指示信息进行语音播报。The second voice broadcast module 180 is configured to voice broadcast the indication information.
图13是根据一示例性实施例示出的一种应用于服务器的信息搜索装置的框图。如图13所示,该装置包括:Fig. 13 is a block diagram showing an information search device applied to a server according to an exemplary embodiment. As shown in Figure 13, the device includes:
第四接收模块210,被配置为接收音箱发送的目标搜索指令.The fourth receiving module 210 is configured to receive the target search instruction sent by the speaker.
第二搜索模块220,被配置为根据所述目标搜索指令进行搜索以得到搜索结果;以及The second search module 220 is configured to search according to the target search instruction to obtain search results; and
第二发送模块230,被配置为向指定终端发送所述搜索结果,所述指定终端为对应的账号与所述音箱对应的账号相同或相关联的终端。The second sending module 230 is configured to send the search result to a designated terminal, and the designated terminal is a terminal whose corresponding account is the same as or associated with the account corresponding to the speaker.
通过上述技术方案,利用第四接收模块210接收音箱发送的目标搜索指令,然后通过第二搜索模块220根据目标搜索指令进行搜索以得到搜索结果,最后通过第二发送模块230向指定终端发送所述搜索结果。这样,利用服务器根据接收到的目标搜索指令进行搜索,辅助音箱完成搜索的工作,降低了音箱的处理量,提高了音箱处理速度,大大拓展了音箱在例如购物、支付等场景下的应用范围。Through the above technical solution, the fourth receiving module 210 is used to receive the target search instruction sent by the sound box, and then the second search module 220 is used to search according to the target search instruction to obtain the search result, and finally the second sending module 230 is used to send the target search instruction to the specified terminal. search results. In this way, the server is used to search according to the received target search instructions, assisting the speaker to complete the search work, reducing the processing capacity of the speaker, improving the processing speed of the speaker, and greatly expanding the application range of the speaker in scenarios such as shopping and payment.
图14是根据一示例性实施例示出的又一应用于服务器的信息搜索装置中第二发送模块230的框图。如图14所示,所述第二发送模块230包括:Fig. 14 is a block diagram of a second sending module 230 in another information search device applied to a server according to an exemplary embodiment. As shown in Figure 14, the second sending module 230 includes:
接收子模块2301,被配置为接收音箱发送的投屏指令,其中,所述投屏指令携带所述音箱当前登录的账号信息。The receiving sub-module 2301 is configured to receive the screen projection instruction sent by the speaker, wherein the screen projection instruction carries the current login account information of the speaker.
确定子模块2302,被配置为根据所述账号信息确定所述指定终端。The determining submodule 2302 is configured to determine the specified terminal according to the account information.
第二发送子模块2303,被配置为响应于所述投屏指令,将所述搜索结果发送至所述指定终端,以使所述指定终端显示所述搜索结果。The second sending submodule 2303 is configured to send the search result to the designated terminal in response to the screen projection instruction, so that the designated terminal displays the search result.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
图15是根据一示例性实施例示出的一种信息搜索装置1400的框图。参照图15,装置1400可以包括以下一个或多个组件:处理组件1402,存储器1404,电力组件1406,多媒体组件1408,音频组件1410,输入/输出(I/O)的接口1412,传感器组件1414,以及通信组件1416。Fig. 15 is a block diagram of an information search device 1400 according to an exemplary embodiment. Referring to FIG. 15 , the device 1400 may include one or more of the following components: a processing component 1402, a memory 1404, a power component 1406, a multimedia component 1408, an audio component 1410, an input/output (I/O) interface 1412, a sensor component 1414, and a communication component 1416 .
处理组件1402通常控制装置1400的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1402可以包括一个或多个处理器1420来执行指令,以完成应用于音箱的信息搜索方法的全部或部分步骤。此外,处理组件1402可以包括一个或多个模块,便于处理组件1402和其他组件之间的交互。例如,处理组件1402可以包括多媒体模块,以方便多媒体组件1408和处理组件1402之间的交互。The processing component 1402 generally controls the overall operations of the device 1400, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1402 may include one or more processors 1420 to execute instructions to complete all or part of the steps of the information search method applied to the sound box. Additionally, processing component 1402 may include one or more modules that facilitate interaction between processing component 1402 and other components. For example, processing component 1402 may include a multimedia module to facilitate interaction between multimedia component 1408 and processing component 1402 .
存储器1404被配置为存储各种类型的数据以支持在装置1400的操作。这些数据的示例包括用于在装置1400上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1404可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 1404 is configured to store various types of data to support operations at the device 1400 . Examples of such data include instructions for any application or method operating on device 1400, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1404 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电力组件1406为装置1400的各种组件提供电力。电力组件1406可以包括电源管理系统,一个或多个电源,及其他与为装置1400生成、管理和分配电力相关联的组件。Power component 1406 provides power to various components of device 1400 . Power components 1406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 1400 .
多媒体组件1408包括在所述装置1400和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1408包括一个前置摄像头和/或后置摄像头。当装置1400处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 1408 includes a screen that provides an output interface between the device 1400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 1408 includes a front camera and/or a rear camera. When the device 1400 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件1410被配置为输出和/或输入音频信号。例如,音频组件1410包括一个麦克风(MIC),当装置1400处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1404或经由通信组件1416发送。在一些实施例中,音频组件1410还包括一个扬声器,用于输出音频信号。The audio component 1410 is configured to output and/or input audio signals. For example, the audio component 1410 includes a microphone (MIC) configured to receive external audio signals when the device 1400 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 1404 or sent via communication component 1416 . In some embodiments, the audio component 1410 also includes a speaker for outputting audio signals.
I/O接口1412为处理组件1402和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1412 provides an interface between the processing component 1402 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件1414包括一个或多个传感器,用于为装置1400提供各个方面的状态评估。例如,传感器组件1414可以检测到装置1400的打开/关闭状态,组件的相对定位,例如所述组件为装置1400的显示器和小键盘,传感器组件1414还可以检测装置1400或装置1400一个组件的位置改变,用户与装置1400接触的存在或不存在,装置1400方位或加速/减速和装置1400的温度变化。传感器组件1414可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1414还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1414还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 1414 includes one or more sensors for providing various aspects of status assessment for device 1400 . For example, the sensor component 1414 can detect the open/closed state of the device 1400, the relative positioning of components, such as the display and keypad of the device 1400, and the sensor component 1414 can also detect a change in the position of the device 1400 or a component of the device 1400 , the presence or absence of user contact with the device 1400 , the device 1400 orientation or acceleration/deceleration and the temperature change of the device 1400 . Sensor assembly 1414 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 1414 may also include optical sensors, such as CMOS or CCD image sensors, for use in imaging applications. In some embodiments, the sensor component 1414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件1416被配置为便于装置1400和其他设备之间有线或无线方式的通信。装置1400可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1416经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1416还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 1416 is configured to facilitate wired or wireless communication between the apparatus 1400 and other devices. The device 1400 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置1400可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行应用于音箱的信息搜索方法。In an exemplary embodiment, apparatus 1400 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for implementing the information search method applied to the loudspeaker.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1404,上述指令可由装置1400的处理器1420执行以完成应用于音箱的信息搜索方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as a memory 1404 including instructions, which can be executed by the processor 1420 of the device 1400 to complete the information search method applied to the sound box . For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
图16是根据一示例性实施例示出的一种信息搜索的装置1500的框图。参照图16,装置1500包括处理组件1522,其进一步包括一个或多个处理器,以及由存储器1532所代表的存储器资源,用于存储可由处理组件1522的执行的指令,例如应用程序。存储器1532中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1522被配置为执行指令,以执行上述应用于服务器的信息搜索方法。Fig. 16 is a block diagram of an information search apparatus 1500 according to an exemplary embodiment. 16, apparatus 1500 includes processing component 1522, which further includes one or more processors, and a memory resource represented by memory 1532 for storing instructions executable by processing component 1522, such as application programs. The application programs stored in memory 1532 may include one or more modules each corresponding to a set of instructions. In addition, the processing component 1522 is configured to execute instructions to perform the above information search method applied to the server.
装置1500还可以包括一个电源组件1526被配置为执行装置1500的电源管理,一个有线或无线网络接口1550被配置为将装置1500连接到网络,和一个输入输出(I/O)接口1558。装置1500可以操作基于存储在存储器1532的操作系统,例如Windows ServerTM,MacOS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。Device 1500 may also include a power component 1526 configured to perform power management of device 1500 , a wired or wireless network interface 1550 configured to connect device 1500 to a network, and an input-output (I/O) interface 1558 . The apparatus 1500 can operate based on an operating system stored in the memory 1532, such as Windows Server™, MacOS X™, Unix™, Linux™, FreeBSD™ or the like.
本公开还提供一种计算机可读存储介质,其上存储有计算机程序指令,该程序指令被处理器执行时实现本公开提供的应用于服务器的信息搜索方法的步骤。The present disclosure also provides a computer-readable storage medium on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the information search method applied to the server provided by the present disclosure are implemented.
本领域技术人员在考虑说明书及实践本公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (18)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810534375.4A CN108899020A (en) | 2018-05-29 | 2018-05-29 | Information search method, device and computer readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810534375.4A CN108899020A (en) | 2018-05-29 | 2018-05-29 | Information search method, device and computer readable storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108899020A true CN108899020A (en) | 2018-11-27 |
Family
ID=64343491
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810534375.4A Pending CN108899020A (en) | 2018-05-29 | 2018-05-29 | Information search method, device and computer readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108899020A (en) |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111080190A (en) * | 2019-11-18 | 2020-04-28 | 北京小米移动软件有限公司 | Takeout order state acquisition method and device and computer readable storage medium |
| CN111083600A (en) * | 2019-10-18 | 2020-04-28 | 广东小天才科技有限公司 | A screen projection display method for dictation content and a smart speaker |
| CN111312248A (en) * | 2020-02-20 | 2020-06-19 | 上海闻泰信息技术有限公司 | Interaction method, device, system and storage medium |
| CN111835920A (en) * | 2019-04-17 | 2020-10-27 | 百度在线网络技术(北京)有限公司 | Call processing method, device, equipment and storage medium |
| CN112015567A (en) * | 2019-05-31 | 2020-12-01 | 阿里巴巴集团控股有限公司 | Data processing method, device, equipment and storage medium |
| CN112052377A (en) * | 2019-06-06 | 2020-12-08 | 百度在线网络技术(北京)有限公司 | Resource recommendation method, device, server and storage medium |
| CN112055040A (en) * | 2019-06-06 | 2020-12-08 | 百度在线网络技术(北京)有限公司 | Screen projection processing method, device, equipment and storage medium |
| CN113035184A (en) * | 2019-12-24 | 2021-06-25 | 阿里巴巴集团控股有限公司 | Voice interaction method, device, system and storage medium |
| CN113765989A (en) * | 2021-03-17 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Information pushing method, device, equipment and storage medium |
| CN114120998A (en) * | 2021-10-29 | 2022-03-01 | 青岛海尔科技有限公司 | Interactive content presentation method and device |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104618780A (en) * | 2014-10-23 | 2015-05-13 | 腾讯科技(深圳)有限公司 | Method and system for controlling electrical apparatus |
| CN104618456A (en) * | 2015-01-13 | 2015-05-13 | 小米科技有限责任公司 | Information publish method and device |
| CN105847943A (en) * | 2016-04-20 | 2016-08-10 | 广东欧珀移动通信有限公司 | A method and device for playing audio and video by a playback device, and a playback device |
| CN106570100A (en) * | 2016-10-31 | 2017-04-19 | 腾讯科技(深圳)有限公司 | Information search method and device |
| CN107241652A (en) * | 2017-06-28 | 2017-10-10 | 百视通网络电视技术发展有限责任公司 | A kind of TV speech remote control system and method based on wechat small routine |
| CN107316645A (en) * | 2017-06-01 | 2017-11-03 | 北京京东尚科信息技术有限公司 | A kind of method and system of voice shopping |
| CN107545792A (en) * | 2017-08-31 | 2018-01-05 | 深圳市鼎盛智能科技有限公司 | Intelligent tutoring robot and intelligent tutoring system |
| CN107659839A (en) * | 2016-07-26 | 2018-02-02 | 北京优朋普乐科技有限公司 | Control method, video searching method, equipment and the system of intelligent terminal |
| US20180063249A1 (en) * | 2016-08-23 | 2018-03-01 | Vu Trong Nguyen | System and method for controlling smart devices |
| CN107835444A (en) * | 2017-11-16 | 2018-03-23 | 百度在线网络技术(北京)有限公司 | Information interacting method, device, voice frequency terminal and computer-readable recording medium |
-
2018
- 2018-05-29 CN CN201810534375.4A patent/CN108899020A/en active Pending
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104618780A (en) * | 2014-10-23 | 2015-05-13 | 腾讯科技(深圳)有限公司 | Method and system for controlling electrical apparatus |
| CN104618456A (en) * | 2015-01-13 | 2015-05-13 | 小米科技有限责任公司 | Information publish method and device |
| CN105847943A (en) * | 2016-04-20 | 2016-08-10 | 广东欧珀移动通信有限公司 | A method and device for playing audio and video by a playback device, and a playback device |
| CN107659839A (en) * | 2016-07-26 | 2018-02-02 | 北京优朋普乐科技有限公司 | Control method, video searching method, equipment and the system of intelligent terminal |
| US20180063249A1 (en) * | 2016-08-23 | 2018-03-01 | Vu Trong Nguyen | System and method for controlling smart devices |
| CN106570100A (en) * | 2016-10-31 | 2017-04-19 | 腾讯科技(深圳)有限公司 | Information search method and device |
| CN107316645A (en) * | 2017-06-01 | 2017-11-03 | 北京京东尚科信息技术有限公司 | A kind of method and system of voice shopping |
| CN107241652A (en) * | 2017-06-28 | 2017-10-10 | 百视通网络电视技术发展有限责任公司 | A kind of TV speech remote control system and method based on wechat small routine |
| CN107545792A (en) * | 2017-08-31 | 2018-01-05 | 深圳市鼎盛智能科技有限公司 | Intelligent tutoring robot and intelligent tutoring system |
| CN107835444A (en) * | 2017-11-16 | 2018-03-23 | 百度在线网络技术(北京)有限公司 | Information interacting method, device, voice frequency terminal and computer-readable recording medium |
Cited By (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111835920A (en) * | 2019-04-17 | 2020-10-27 | 百度在线网络技术(北京)有限公司 | Call processing method, device, equipment and storage medium |
| CN112015567A (en) * | 2019-05-31 | 2020-12-01 | 阿里巴巴集团控股有限公司 | Data processing method, device, equipment and storage medium |
| CN112055040A (en) * | 2019-06-06 | 2020-12-08 | 百度在线网络技术(北京)有限公司 | Screen projection processing method, device, equipment and storage medium |
| CN112052377A (en) * | 2019-06-06 | 2020-12-08 | 百度在线网络技术(北京)有限公司 | Resource recommendation method, device, server and storage medium |
| CN112052377B (en) * | 2019-06-06 | 2023-09-15 | 百度在线网络技术(北京)有限公司 | Resource recommendation method, device, server and storage medium |
| CN111083600A (en) * | 2019-10-18 | 2020-04-28 | 广东小天才科技有限公司 | A screen projection display method for dictation content and a smart speaker |
| CN111083600B (en) * | 2019-10-18 | 2021-07-23 | 广东小天才科技有限公司 | A screen projection display method for dictation content and a smart speaker |
| CN111080190A (en) * | 2019-11-18 | 2020-04-28 | 北京小米移动软件有限公司 | Takeout order state acquisition method and device and computer readable storage medium |
| CN113035184A (en) * | 2019-12-24 | 2021-06-25 | 阿里巴巴集团控股有限公司 | Voice interaction method, device, system and storage medium |
| CN113035184B (en) * | 2019-12-24 | 2023-06-16 | 阿里巴巴集团控股有限公司 | Voice interaction method, device, system and storage medium |
| CN111312248A (en) * | 2020-02-20 | 2020-06-19 | 上海闻泰信息技术有限公司 | Interaction method, device, system and storage medium |
| CN113765989A (en) * | 2021-03-17 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Information pushing method, device, equipment and storage medium |
| CN113765989B (en) * | 2021-03-17 | 2025-02-21 | 北京沃东天骏信息技术有限公司 | Information push method, device, equipment and storage medium |
| CN114120998A (en) * | 2021-10-29 | 2022-03-01 | 青岛海尔科技有限公司 | Interactive content presentation method and device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108899020A (en) | Information search method, device and computer readable storage medium | |
| KR101834163B1 (en) | Transfer method and apparatus | |
| CN106488251B (en) | Method and device for connecting microphones in live broadcast, anchor client and user client | |
| US20220148072A1 (en) | Method for processing order information, electronic device, and storage medium | |
| US8539531B2 (en) | Mobile terminal, method of participating in interactive service therein, internet protocol television terminal and communication system including the same | |
| US20170155958A1 (en) | Method, Apparatus and System for Playing Multimedia Data, and Storage Medium | |
| US20160277236A1 (en) | Method and apparatus for binding device | |
| CN106528081B (en) | Operation execution method and device | |
| CN106157027B (en) | Payment method, device and system | |
| KR102282544B1 (en) | Product display method and device | |
| KR101758030B1 (en) | Method and device, program and recording medium for processing information | |
| CN106547904A (en) | Across account information sharing method and device | |
| CN109271239A (en) | Method, apparatus, system, equipment and the medium of data processing | |
| CN105245691B (en) | Method and device for business processing, intelligent terminal and portable wearable device | |
| CN106020998A (en) | Service invoke method and device | |
| CN108573435B (en) | Method and apparatus for purchasing goods | |
| CN109359441A (en) | Permission configuration method and device | |
| CN108491839A (en) | Information acquisition method and device | |
| CN110121148B (en) | Interphone team method and device | |
| CN107241432A (en) | Message receival method and device, information push method and device | |
| CN106599210A (en) | Information processing method and apparatus | |
| CN111031522A (en) | Device binding method, device binding apparatus, and computer-readable storage medium | |
| EP4125025A1 (en) | Man-machine dialogue method and apparatus, and storage medium | |
| CN104835035A (en) | Numerical value transferring method, device, and system | |
| CN106709027A (en) | Picture recommending method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181127 |
|
| RJ01 | Rejection of invention patent application after publication |