WO2018040106A1 - 输出搜索结果的方法、装置及电子设备 - Google Patents

输出搜索结果的方法、装置及电子设备 Download PDF

Info

Publication number
WO2018040106A1
WO2018040106A1 PCT/CN2016/098125 CN2016098125W WO2018040106A1 WO 2018040106 A1 WO2018040106 A1 WO 2018040106A1 CN 2016098125 W CN2016098125 W CN 2016098125W WO 2018040106 A1 WO2018040106 A1 WO 2018040106A1
Authority
WO
WIPO (PCT)
Prior art keywords
search
search engine
engine server
request
search request
Prior art date
Application number
PCT/CN2016/098125
Other languages
English (en)
French (fr)
Inventor
高斌
Original Assignee
深圳前海达闼云端智能科技有限公司
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 深圳前海达闼云端智能科技有限公司 filed Critical 深圳前海达闼云端智能科技有限公司
Priority to PCT/CN2016/098125 priority Critical patent/WO2018040106A1/zh
Priority to CN201680002724.7A priority patent/CN106716419B/zh
Publication of WO2018040106A1 publication Critical patent/WO2018040106A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Definitions

  • the present disclosure relates to the field of information processing technologies, and in particular, to a method, an apparatus, and an electronic device for outputting search results.
  • search engine clients and search engine servers have emerged.
  • the search engine client is configured in the smart terminal, and the search request can be input through the input component of the smart terminal. After detecting the search request, the search engine client calls the search engine server, and the search engine server searches according to the search request. , and then return the search result to the search engine client, and finally output the search result through the output component of the smart terminal, so that people can know the search result.
  • the related art requires the user to input the search request multiple times to be able to obtain the latest search result. Therefore, the related technology is not applicable to the scene with a high frequency of information update.
  • the present disclosure provides a method, apparatus, computer program product, non-transitory computer readable storage medium, and electronic device for outputting search results.
  • a method of outputting a search result which is applied to a search engine client, the search engine client being configured in a smart terminal, and the smart terminal and the search engine server have communication Connecting, the method comprising: storing a search request detected by the search engine client; periodically sending a call instruction to the search engine server, The calling instruction is used to instruct the search engine server to perform a search according to the search request; and the output component that controls the smart terminal outputs the search result returned by the search engine server.
  • an apparatus for outputting a search result configured in a search engine client, the search engine client being configured in an intelligent terminal, the smart terminal and the search engine server having communication Connecting, the device comprising: a storage module configured to store a search request detected by the search engine client; a sending module configured to periodically send a call instruction to the search engine server, the call instruction being used to indicate The search engine server searches according to the search request; and the control module is configured to control an output component of the smart terminal to output a search result returned by the search engine server.
  • a computer program product comprising a computer program executable by a programmable device, the computer program having when executed by the programmable device The code portion of the method for outputting the search results described above.
  • a non-transitory computer readable storage medium comprising one or more programs for performing The above method of outputting search results.
  • an electronic device comprising: the non-transitory computer readable storage medium described above; and one or more processors for executing the non-transitory computer Read the program in the storage medium.
  • the technical solution provided by the embodiment of the present disclosure may include the following beneficial effects: after the search engine client detects the search request, the search request is stored to facilitate the reuse of the search request, and the present disclosure proposes the search for the same search request.
  • the engine client periodically calls the search engine server to instruct the search engine server to search according to the search request, thereby controlling the output component of the smart terminal to output the search result returned by the search engine server. Therefore, for the user, once a search request is entered, the latest search results can be regularly learned, which is suitable for information. New scenes with higher frequency.
  • FIG. 1 is a schematic diagram of a communication system suitable for a method of outputting search results, according to an exemplary embodiment.
  • FIG. 2 is a flow chart of a method of outputting search results, according to an exemplary embodiment.
  • FIG. 3 is a schematic diagram of a method of outputting search results, according to an exemplary embodiment.
  • FIG. 4 is a schematic diagram showing when the method for outputting the search result described above is applied to a Siri scene in a smart terminal, according to an exemplary embodiment.
  • FIG. 5 is a schematic diagram of outputting search results when a priority of a search request according to which a search is based is low according to an exemplary embodiment.
  • FIG. 6 is a schematic diagram of outputting search results when a priority of a search request according to which a higher priority is shown, according to an exemplary embodiment.
  • FIG. 7 is a block diagram of an apparatus for outputting search results, according to an exemplary embodiment.
  • FIG. 8 is another block diagram of an apparatus for outputting search results, according to an exemplary embodiment.
  • FIG. 1 is a schematic diagram of a communication system suitable for outputting a search result according to an exemplary embodiment.
  • the communication system 100 includes a smart terminal 110 and a search engine server 120.
  • the smart terminal 110 has a communication connection with the search engine server 120.
  • the smart terminal 110 is provided with a search engine client 1101.
  • the smart terminal 110 may be: a mobile intelligent terminal, a vehicle intelligent terminal, a smart TV, a wearable device, or the like.
  • the search engine client 1101 is an application client installed on the smart terminal 110 and running on the smart terminal 110.
  • the search engine client 1101 may be a browser client, an artificial intelligence voice assistant (for example, Siri), or the like.
  • the search engine client 1101 is user-oriented. The user inputs a search request through an input component of the smart terminal (eg, a microphone, a touch screen, etc.), and the search engine client 1101 can detect the search request.
  • the search engine client 1101 can invoke the search request server 120, and then the search request server 120 performs a search according to the search request, and then returns the search result to the search engine client 1101, thereby controlling
  • the output components of the smart terminal 110 eg, speakers, display screen, etc.
  • a search process is completed and the search request is invalid.
  • the frequency of information update is high, even if the corresponding search result of the search request is updated, the user cannot know in time.
  • the search request needs to be input multiple times, and each time the search engine client 1101 detects the search request, the search engine server 120 is called, and the search engine server 120 completes the search process according to the search request. Finally, the search engine client 1101 controls the output component of the smart terminal to output the search results returned by the search engine server 120 during the search.
  • the search engine client 1101 treats the search request as a one-time request. That is to say, for the search request input by the user, the expiration date of the search request is in a search process, and after the search engine server returns the search result, the validity period of the search request is period.
  • the present disclosure provides a method of outputting a search result, which is applicable to the search engine client 1101 in the communication system shown in FIG. 1.
  • the method for outputting the search result provided by the present disclosure may be executed by the search engine client 1101 itself, and the method for outputting the search result provided by the present disclosure may also be executed by a functional component configured in the search engine client 1101.
  • FIG. 2 is a flowchart of a method for outputting a search result according to an exemplary embodiment. As shown in FIG. 2, the method includes the following steps:
  • Step S21 storing a search request detected by the search engine client
  • Step S22 periodically sending a call instruction to the search engine server, where the call instruction is used to instruct the search engine server to perform a search according to the search request;
  • Step S23 Control an output component of the smart terminal to output a search result returned by the search engine server.
  • the search engine client identifies the search request from the input component of the smart terminal, and if the search request is successfully identified, the search request is detected.
  • the search request is further stored; if the search request is not recognized, it is considered to be a user's erroneous operation, and the output component of the smart terminal requests the user to re-enter the search request.
  • the search engine client After detecting the search request, the search engine client no longer uses the search request as a one-time request, but stores the search request to facilitate the reuse of the search request and extend the validity period of the search request.
  • the search engine client may store the search request locally to the smart terminal, or store the search request in the cloud bound to the smart terminal. The disclosure does not limit the storage location of the search request.
  • the present disclosure proposes that the search engine client periodically calls the search engine server for the same search request that has been stored to indicate that the search engine server is based.
  • the search request searches, and accordingly, the search engine server periodically returns the searched search results to the search engine client.
  • the search engine client controls the output component of the smart terminal to periodically output the search results returned by the search engine server.
  • the search engine client recognizes the voice. If the recognition result is: August 2016 What is the weather like in Beijing on the 31st? Then the search request is stored. Then, a call instruction is sent to the search engine server every three hours to instruct the search engine server to search for the weather in Beijing on August 31, 2016. Accordingly, the search engine server searches for the weather in Beijing on August 31, 2016 every three hours. The searched results are returned to the search engine client. Accordingly, the output component of the search engine client control smart terminal outputs the search result returned by the search engine server every three hours. Therefore, users can get the weather in Beijing on August 31, 2016 every three hours, so that users can know the weather changes in Beijing on August 31, 2016 in time.
  • the search engine client detects the search request, the search request is stored to facilitate the reuse of the search request.
  • the disclosure proposes that the search engine client periodically calls the search engine server to Instructing the search engine server to perform a search according to the search request, thereby controlling the output component of the smart terminal to output the search result returned by the search engine server. Therefore, for the user, when a search request is input, the latest search result can be periodically known, and is applicable to a scene with a higher frequency of information update.
  • the search engine client considering that if the number of times the search engine client calls the search engine server is too frequent, the search engine client frequently controls the output component of the smart terminal to output the search result returned by the search engine server, causing certain interference to the user; If the number of times the search engine client calls the search engine server is too small, it may cause the search engine client to fail to control the output component of the smart terminal to output the change of the search result to the client.
  • the search engine client sends a cycle of calling instructions to the search engine server. It is configurable.
  • Another possible setup method includes the following steps:
  • a call instruction is sent to the search engine server in accordance with the set call cycle.
  • step S21 is performed: storing the search request, and on the other hand, the step of: transmitting the initial call instruction to the search engine server.
  • the search engine client sends an initial call instruction to the search engine server to instruct the search engine server to perform the initial search according to the search request, and after the search engine server completes the initial search, returns the initial search result to the search engine client, the search engine client.
  • the output component of the end control smart terminal outputs the initial search result to enable the user to know the initial search result.
  • first time is relative to the “periodic” after storing the search request
  • first time is a series of steps triggered after the search engine client detects the search request.
  • Period is a series of steps triggered by a search engine client storing a search request.
  • the search engine client controls the output component of the smart terminal to output it to the user on the one hand, and on the other hand, can set the call search according to the update cycle of the initial search result.
  • the calling cycle of the engine server A possible implementation manner is: using the update period of the initial search result as the calling period of the calling search engine server, because the update period of the initial search result indicates when the initial search result is updated, and each search result corresponding to the same search request When the updated time interval is fixed, the update period of the initial search result can reflect the update period of the search result returned by the search engine server after being periodically called. If the update period of the initial search result is used as the call cycle, the call timing is the same as the same. The timing of each search result corresponding to the search request is updated, so that the user can know the updated search result at the first time.
  • the search engine client recognizes the voice. If the recognition result is: 2016 What is the weather like in Beijing on August 31?
  • the search request is stored, and on the other hand, the initial call instruction is sent to the search engine server to instruct the search engine server to perform an initial search for the weather in Beijing on August 31, 2016, assuming that the initial search result is: sunny, 25 degrees Celsius To 30 degrees Celsius.
  • the search engine client controls the output component output of the smart terminal: the weather in Beijing on August 31, 2016 is sunny, 25 degrees Celsius to 30 degrees Celsius.
  • search The engine client sends a call instruction to the search engine server every hour to instruct the search engine server to search for the weather in Beijing on August 31, 2016, so that the user can know the weather in Beijing on August 31, 2016 every hour. Since the hour is also the interval between the weather changes in Beijing on August 31, 2016, the user can know the changed weather the first time after the weather changes.
  • the calling period is set according to the period in which the search result changes, so that the user can know the changed search result at the first time when the search result changes, and meets the user's requirement for the timeliness of the search result, thereby improving the user.
  • the calling period is set according to the period in which the search result changes, so that the user can know the changed search result at the first time when the search result changes, and meets the user's requirement for the timeliness of the search result, thereby improving the user.
  • the periodic calling of the search engine server in the present disclosure is not endlessly invoked, and under certain conditions, the search engine server may be stopped, thereby ending the entire search process.
  • One possible implementation is to stop calling the search engine server after the expiration date expires if the search request corresponds to an expiration date.
  • Another possible implementation is to stop calling the search engine server if the search result returned by the search engine server does not match the search result requested by the search request.
  • An output component that controls the smart terminal outputs a search result returned by the search engine server.
  • the date included in the search request is taken as the expiration date corresponding to the search request.
  • the search request is: the weather in Beijing on August 31, 2016, the deadline is: August 31, 2016.
  • the search engine client Before August 31, 2016, the search engine client periodically called the search engine server. After August 31, 2016, the search engine client stopped calling the search engine server.
  • the deadline for the search request may be determined based on the keywords in the search request. For example, if the search request is for the 2016 Chengdu Auto Show, the keyword is the 2016 Chengdu Auto Show. Since the 2016 Chengdu Auto Show will be held from September 3, 2016 to September 6, 2016, the deadline is: 2016 9 Month 7th. Before September 7, 2016, the search engine client periodically called the search engine server. After September 7, 2016, the search engine client stopped calling the search engine server. With the above technical solution, the search engine client determines the corresponding expiration date according to the detected search request, periodically calls the search engine server before the expiration date expires, and stops calling the search engine service after the expiration date expires. Device.
  • the output component of the intelligent terminal is controlled to output the result returned by the search engine after the expiration of the expiration date, thereby causing interference to the user.
  • the call instruction is no longer sent to the search engine server, which saves the power consumption of the smart terminal and prolongs the standby time.
  • the search result expected by the search engine client according to the search request refers to: the search engine client determines the search result desired by the user according to the search request.
  • the search request is: When will the movie in the Glacier era be released?
  • the expected search result is: the release time is: a certain day of the month.
  • the search engine client Since the search engine client periodically sends a call instruction to the search engine server, accordingly, the search engine client periodically receives the search result returned by the search engine server.
  • the search engine client judges whether the feedback result matches the expected search result for each feedback result received, and if not, stops calling the search engine server, and the entire search process ends; if it matches, the search engine server is continuously called periodically. .
  • the search request is: When will the movie in the Glacier era be released?
  • the expected search result is: the release time is: a certain day of the month. If a search engine server is called After that, the search engine server returns a search result: The movie in the Glacier era has been removed, and if it does not match the expected search results, the search engine server is stopped.
  • the search engine client determines the expected search result according to the search request, and continues to periodically call the search engine server when the search result returned by the search engine server matches the expected search result; the search result returned by the search engine server is Stop calling the search engine server when the expected search results do not match. Therefore, it is avoided that the output component of the intelligent terminal outputs the result returned by the search engine due to the mismatch with the expected search result, causing interference to the user. After the mismatch with the expected search result, the call instruction is no longer sent to the search engine server, which saves the power consumption of the smart terminal and prolongs the standby time.
  • the present disclosure proposes to prioritize the search request, and the higher the priority of the search request is, the stronger the user needs to know the latest search result.
  • the output component corresponding to the priority is selected to output the search result returned by the search engine server.
  • FIG. 3 is a schematic diagram of a method for outputting a search result according to an exemplary embodiment. As shown in FIG. 3, the method includes:
  • Step S31 determining a priority of the search request according to the search result returned by the search engine server;
  • Step S32 selecting an output component corresponding to the priority of the search request from an output manner provided by an output component of the smart terminal;
  • Step S33 Control the corresponding output component to output the search result returned by the search engine server according to an output manner corresponding to the priority of the search request.
  • the priority of the search request is divided.
  • One possible way is to divide according to the frequency at which the search request is input. If a search request is input at a higher frequency, the search request has a higher priority. If a search request is entered less frequently, the search request has a lower priority.
  • the search engine client correspondingly outputs the output modes provided by the output components of the smart terminal to different priorities.
  • the output components of the smart terminal include: a display screen, a speaker, a vibration motor, an indicator light, etc., wherein the output mode provided by the display screen includes: through a notification center display or a dialog box display, the output modes provided by the speaker include: Bell or voice broadcast, the output mode provided by the vibration motor includes: vibration is emitted, and the output mode provided by the indicator light includes: flashing.
  • the search engine client controls the display to display the search results returned by the search engine through the notification center, and controls the display screen to display the search results returned by the search engine through the dialog box, and also controls the vibration motor. The vibration is emitted and the speaker voice broadcasts the search results returned by the search engine. If the search request has a lower priority, the search engine client control display can be displayed through the notification center.
  • FIG. 4 is a schematic diagram of the method for outputting the foregoing search result applied to a Siri scene in a smart terminal according to an exemplary embodiment.
  • the user of the smart terminal enables the Siri function, and the voice is input through the microphone of the smart terminal, and Siri recognizes the voice as a search request: What is the weather in Beijing on August 31, 2016? Siri calls the search engine server every three hours to query the weather in Beijing on August 31, 2016.
  • the search engine server searches for the weather in Beijing on August 31, 2016 every three hours.
  • the search engine server is at 8:
  • the result of 00 search is: sunny, 25 degrees Celsius to 30 degrees Celsius, and returned to Siri
  • the display screen of Siri control intelligent terminal shows: sunny, 25 degrees Celsius to 30 degrees Celsius.
  • the results of the search engine server searched at 11:00 are: light rain, 25 degrees Celsius to 30 degrees Celsius and returned to Siri
  • Siri control smart terminal display light rain, 25 degrees Celsius to 30 degrees Celsius.
  • FIG. 5 is a schematic diagram of outputting search results when the priority of the search request is low according to an exemplary embodiment. As shown in FIG. 5, when the priority of the search request is low, the search engine client controls the display screen through the notification center.
  • FIG. 6 is a schematic diagram of outputting a search result when a priority of a search request according to a high priority is shown according to an exemplary embodiment.
  • the search engine client controls the display screen to display the search result returned by the search engine through a dialog box, and further controls the vibration motor to emit vibration, and the speaker voice broadcasts the search engine. Returned search results.
  • FIG. 7 is a block diagram of an apparatus 700 for outputting search results, wherein the apparatus 700 is configured in a search engine client, such as the search engine client 1101 shown in FIG. 1, according to an exemplary embodiment.
  • a search engine client such as the search engine client 1101 shown in FIG. 1, according to an exemplary embodiment.
  • the apparatus 700 can include:
  • the storage module 701 is configured to store a search request detected by the search engine client, and store the search request when detecting a search request input by the user;
  • the sending module 702 is configured to periodically send a call instruction to the search engine server, where the call instruction is used to instruct the search engine server to perform a search according to the search request;
  • the control module 703 is configured to control an output component of the smart terminal to output a search result returned by the search engine server.
  • the apparatus 700 may further include:
  • the initial sending module is configured to, when the search request is detected, send an initial calling instruction to the search engine server, where the initial calling instruction is used to instruct the search engine server to perform an initial search according to the search request;
  • a first control module configured to control an output component of the smart terminal to output an initial search result after the initial search returned by the search engine server;
  • the sending module includes:
  • a setting submodule configured to set a calling period according to an update period of the initial search result
  • the first sending submodule is configured to send a calling instruction to the search engine server according to the set calling period.
  • the sending module includes:
  • Determining a submodule configured to determine a expiration date of the search request corresponding to the expiration date
  • the second sending submodule is configured to periodically send the calling instruction to the search engine server during a validity period of the search request before the expiration date expires.
  • the device 700 further includes:
  • a determining module configured to determine, after the control module controls the output component of the smart terminal to output the search result returned by the search engine server, whether the search result returned by the search engine server is based on the search engine client The search result of the search request expected by the search request matches;
  • the stop module is configured to stop sending the call instruction to the search engine server when it is determined that the search result returned by the search engine server does not match the search result expected by the search engine client according to the search request.
  • control module includes:
  • Determining a sub-module configured to determine a priority of a search request upon which the search result returned by the search engine server is based
  • Selecting a submodule configured to select an output component corresponding to a priority of the search request from an output manner provided by an output component of the smart terminal;
  • the control submodule is configured to control the corresponding output component to output the search result returned by the search engine server according to an output manner corresponding to the priority of the search request.
  • FIG. 8 is a block diagram of an apparatus 800 for outputting search results, which is configured in a search engine client, such as the search engine client 1101 shown in FIG. 1, according to an exemplary embodiment.
  • the search engine client is configured in the smart terminal, for example, the smart terminal 110 shown in FIG.
  • the apparatus 800 can include a processor 801, a memory 802, a multimedia component 803, an input/output (I/O) interface 804, and a communication component 805.
  • the processor 801 is configured to control the overall operation of the apparatus 800 to complete all or part of the above steps of outputting the search result.
  • Memory 802 is used to store various types of data to support operations at the device 800, such as may include instructions for any application or method operating on the device 800, as well as application related data, such as Contact data, sent and received messages, pictures, audio, video, and more.
  • the memory 802 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read only memory ( Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read Only Read-Only Memory (ROM), magnetic memory, flash memory, disk or optical disk.
  • the multimedia component 803 can include a screen and audio components.
  • the screen may be, for example, a touch screen, and the audio component is used to output and/or input an audio signal.
  • the audio component can include a microphone for receiving an external audio signal.
  • the received audio signal may be further stored in memory 802 or transmitted via communication component 805.
  • the audio component also includes at least one speaker for outputting an audio signal.
  • the I/O interface 804 provides an interface between the processor 801 and other interface modules.
  • the other interface modules may be keyboards, mice, buttons, and the like. These buttons can be virtual buttons or physical buttons.
  • Communication component 805 is used for wired or wireless communication between the device 800 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G Or 4G, or a combination of one or more of them, so the corresponding communication component 805 can include: a Wi-Fi module, a Bluetooth module, an NFC module.
  • the device 800 may be configured by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), and digital signal processing devices (Digital Signal Processors).
  • ASICs Application Specific Integrated Circuits
  • DSPs Digital Signal Processors
  • Digital Signal Processors Digital Signal Processors
  • DSPD Processing Device
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • controller microcontroller, microprocessor or other electronic components , a method for performing the output search result described above.
  • a computer program product comprising a computer program executable by a programmable device, the computer program having when executed by the programmable device The code portion used to perform the monitoring method described above.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 802 comprising instructions executable by processor 801 of apparatus 800 to perform the output search results described above Methods.
  • the non-transitory computer readable storage medium can be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本公开是关于一种输出搜索结果的方法、装置及电子设备。方法包括:存储所述搜索引擎客户端检测到的搜索请求;定期向所述搜索引擎服务器发送调用指令,所述调用指令用于指示所述搜索引擎服务器依据所述搜索请求进行搜索;控制所述智能终端的输出组件输出所述搜索引擎服务器返回的搜索结果。搜索引擎客户端在检测到搜索请求后,对搜索请求进行存储,以便于对搜索请求进行重复利用,针对同一搜索请求,本公开提出搜索引擎客户端定期调用搜索引擎服务器,以指示搜索引擎服务器依据该搜索请求进行搜索,进而输出搜索引擎服务器返回的搜索结果。因此,对用户来说,输入一次搜索请求,即可定期获知最新的搜索结果,适用于信息更新的频次较高的场景。

Description

输出搜索结果的方法、装置及电子设备 技术领域
本公开涉及信息处理技术领域,具体地,涉及一种输出搜索结果的方法、装置及电子设备。
背景技术
随着信息时代的到来,人们获取信息的方式越来越便捷。为了便于人们获取信息,搜索引擎客户端和搜索引擎服务器应运而生。其中,搜索引擎客户端配置于智能终端中,人们可以通过智能终端的输入组件输入搜索请求,搜索引擎客户端在检测到该搜索请求后,调用搜索引擎服务器,搜索引擎服务器根据该搜索请求进行搜索,进而返回搜索结果给搜索引擎客户端,最后通过智能终端的输出组件输出搜索结果,以使人们获知搜索结果。
然而,随着信息更新的频次越来越高,相关技术要求用户多次输入搜索请求,才能够获知最新的搜索结果,因此,相关技术不适用于信息更新频次较高的场景。
发明内容
为克服相关技术中存在的问题,本公开提供一种输出搜索结果的方法、装置、计算机程序产品、非临时性计算机可读存储介质及电子设备。
根据本公开实施例的第一方面,提供一种输出搜索结果的方法,应用于搜索引擎客户端,所述搜索引擎客户端配置于智能终端中,所述智能终端与搜索引擎服务器之间有通信连接,所述方法包括:存储所述搜索引擎客户端检测到的搜索请求;定期向所述搜索引擎服务器发送调用指令,所述 调用指令用于指示所述搜索引擎服务器依据所述搜索请求进行搜索;控制所述智能终端的输出组件输出所述搜索引擎服务器返回的搜索结果。
根据本公开实施例的第二方面,提供一种输出搜索结果的装置,配置于搜索引擎客户端,所述搜索引擎客户端配置于智能终端中,所述智能终端与搜索引擎服务器之间有通信连接,所述装置包括:存储模块,被配置为存储所述搜索引擎客户端检测到的搜索请求;发送模块,被配置为定期向所述搜索引擎服务器发送调用指令,所述调用指令用于指示所述搜索引擎服务器依据所述搜索请求进行搜索;控制模块,被配置为控制所述智能终端的输出组件输出所述搜索引擎服务器返回的搜索结果。
根据本公开实施例的第三方面,提供一种计算机程序产品,所述计算机程序产品包含能够由可编程的装置执行的计算机程序,所述计算机程序具有当由所述可编程的装置执行时用于执行上述的输出搜索结果的方法的代码部分。
根据本公开实施例的第四方面,提供一种非临时性计算机可读存储介质,所述非临时性计算机可读存储介质中包括一个或多个程序,所述一个或多个程序用于执行上述的输出搜索结果的方法。
根据本公开实施例的第五方面,提供一种电子设备,所述电子设备包括:上述的非临时性计算机可读存储介质;以及一个或者多个处理器,用于执行所述非临时性计算机可读存储介质中的程序。
本公开的实施例提供的技术方案可以包括以下有益效果:搜索引擎客户端在检测到搜索请求后,对搜索请求进行存储,以便于对搜索请求进行重复利用,针对同一搜索请求,本公开提出搜索引擎客户端定期调用搜索引擎服务器,以指示搜索引擎服务器依据该搜索请求进行搜索,进而控制智能终端的输出组件输出搜索引擎服务器返回的搜索结果。因此,对用户来说,输入一次搜索请求,即可定期获知最新的搜索结果,适用于信息更 新的频次较高的场景。
本公开的其他特征和优点将在随后的具体实施方式部分予以详细说明。
附图说明
附图是用来提供对本公开的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本公开,但并不构成对本公开的限制。在附图中:
图1是根据一示例性实施例示出的一种适用于输出搜索结果的方法的通信系统的示意图。
图2是根据一示例性实施例示出的一种输出搜索结果的方法的流程图。
图3是根据一示例性实施例示出的一种输出搜索结果的方法的示意图。
图4是根据一示例性实施例示出的将上述输出搜索结果的方法应用于智能终端内的Siri场景时的示意图。
图5是根据一示例性实施例示出的所依据的搜索请求的优先级较低时输出搜索结果的示意图。
图6是根据一示例性实施例示出的所依据的搜索请求的优先级较高时输出搜索结果的示意图。
图7是根据一示例性实施例示出的一种输出搜索结果的装置的框图。
图8是根据一示例性实施例示出的一种输出搜索结果的装置的另一框图。
具体实施方式
以下结合附图对本公开的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本公开,并不用于限制 本公开。
首先,对本公开提供的输出搜索结果的方法所适用的通信系统进行说明。请参考图1,图1是根据一示例性实施例示出的一种适用于输出搜索结果的方法的通信系统的示意图。如图1所示,该通信系统100包括:智能终端110以及搜索引擎服务器120,智能终端110与搜索引擎服务器120之间有通信连接,在智能终端110中配置有搜索引擎客户端1101。
其中,智能终端110可以是:移动智能终端、车载智能终端、智能电视、可穿戴设备等。搜索引擎客户端1101是一种安装于智能终端110上且运行与智能终端110上的应用程序客户端,搜索引擎客户端1101可以是浏览器客户端、人工智能语音助手(例如:Siri)等,搜索引擎客户端1101是面向用户的,用户通过智能终端的输入组件(例如:麦克风、触摸屏等)输入搜索请求,搜索引擎客户端1101即可检测到搜索请求。
相关技术中,搜索引擎客户端1101在检测到搜索请求后,即可调用搜索请求服务器120,然后搜索请求服务器120依据该搜索请求进行搜索,接着将搜索结果返回给搜索引擎客户端1101,进而控制智能终端110的输出组件(例如:扬声器、显示屏等)输出搜索结果。至此,一次搜索过程完成,搜索请求失效。在信息更新的频次较高的场景下,即使该搜索请求的对应的搜索结果发生更新,用户也无法及时获知。如果用户想要获知最新的搜索结果,需要多次输入该搜索请求,搜索引擎客户端1101每次检测到搜索请求后,调用搜索引擎服务器120,搜索引擎服务器120依据该搜索请求完成一次搜索过程,最终,搜索引擎客户端1101控制智能终端的输出组件输出该次搜索过程中搜索引擎服务器120返回的搜索结果。
可见,相关技术中,搜索引擎客户端1101将搜索请求作为一次性的请求。也就是说,对于用户输入的搜索请求,该搜索请求的有效期限于一次搜索过程,搜索引擎服务器返回搜索结果后,该搜索请求的有效期即到 期。
为解决上述问题,本公开提供一种输出搜索结果的方法,该方法适用于图1所示的通信系统中的搜索引擎客户端1101。在实际应用中,可以由搜索引擎客户端1101本身执行本公开提供的输出搜索结果的方法,还可以由配置于搜索引擎客户端1101中的一个功能组件执行本公开提供的输出搜索结果的方法。
请参考图2,图2是根据一示例性实施例示出的一种输出搜索结果的方法的流程图。如图2所示,该方法包括以下步骤:
步骤S21:存储所述搜索引擎客户端检测到的搜索请求;
步骤S22:定期向所述搜索引擎服务器发送调用指令,所述调用指令用于指示所述搜索引擎服务器依据所述搜索请求进行搜索;
步骤S23:控制所述智能终端的输出组件输出所述搜索引擎服务器返回的搜索结果。
由于用户是通过智能终端的输入组件输入搜索请求的,所以本公开中,搜索引擎客户端对来自于智能终端的输入组件的搜索请求进行识别,如果成功识别出搜索请求,则检测到搜索请求,进而存储该搜索请求;如果未能识别出搜索请求,则认为是用户的误操作,通过智能终端的输出组件请求用户重新输入搜索请求。
搜索引擎客户端在检测到搜索请求后,不再将搜索请求作为一次性的请求,而是对搜索请求进行存储,以便于对搜索请求进行重复利用,延长搜索请求的有效期。在实际应用中,搜索引擎客户端可以将搜索请求存储到智能终端本地,也可以将搜索请求存储到与智能终端绑定的云端,本公开不对搜索请求的存储位置进行限定。
考虑到信息更新的频次较高,本公开提出搜索引擎客户端针对已存储的同一搜索请求,定期调用搜索引擎服务器,以指示搜索引擎服务器依据 该搜索请求进行搜索,相应地,搜索引擎服务器定期将搜索到的搜索结果返回给搜索引擎客户端,最后,搜索引擎客户端控制智能终端的输出组件定期输出搜索引擎服务器返回的搜索结果。
举例来讲,用户想知道2016年8月31日北京的天气怎么样,则可以通过智能终端的麦克风输入相应的语音,搜索引擎客户端对该语音进行识别,如果识别结果为:2016年8月31日北京的天气怎么样?则存储该搜索请求。然后每隔三小时向搜索引擎服务器发送调用指令,以指示搜索引擎服务器搜索2016年8月31日北京的天气,相应地,搜索引擎服务器每隔三小时搜索2016年8月31日北京的天气,并将搜索到的结果返回给搜索引擎客户端,相应地,搜索引擎客户端控制智能终端的输出组件每隔三小时输出搜索引擎服务器返回的搜索结果。因此,用户每隔三小时就可以获知2016年8月31日北京的天气,以便于用户及时获知2016年8月31日北京的天气变化。
采用上述技术方案,搜索引擎客户端在检测到搜索请求后,对搜索请求进行存储,以便于对搜索请求进行重复利用,针对同一搜索请求,本公开提出搜索引擎客户端定期调用搜索引擎服务器,以指示搜索引擎服务器依据该搜索请求进行搜索,进而控制智能终端的输出组件输出搜索引擎服务器返回的搜索结果。因此,对用户来说,输入一次搜索请求,即可定期获知最新的搜索结果,适用于信息更新的频次较高的场景。
可选地,考虑到如果搜索引擎客户端调用搜索引擎服务器的次数太频繁,则搜索引擎客户端会频繁控制智能终端的输出组件输出搜索引擎服务器返回的搜索结果,给用户造成一定的干扰;如果搜索引擎客户端调用搜索引擎服务器的次数太少,则有可能会导致搜索引擎客户端不能及时控制智能终端的输出组件将搜索结果所发生的变化输出给客户。为了避免上述问题,本公开中,搜索引擎客户端向搜索引擎服务器发送调用指令的周期 是可设置的。
一种可能的设置方式是:由使用智能终端的用户自行设置。另一种可能的设置方式包括以下步骤:
在检测到所述搜索请求时,向所述搜索引擎服务器发送初次调用指令,所述初次调用指令用于指示所述搜索引擎服务器依据所述搜索请求进行初次搜索;
控制所述智能终端的输出组件输出所述搜索引擎服务器返回的经初次搜索后的初次搜索结果;
根据所述初次搜索结果的更新周期,设定调用周期;
按照所设定的调用周期,向所述搜索引擎服务器发送调用指令。
本公开中的搜索引擎客户端在检索到搜索请求后,一方面执行步骤S21:存储搜索请求,另一方面执行步骤:向搜索引擎服务器发送初次调用指令。
考虑到用户通过智能终端的输入组件输入搜索请求的目的是为了获得搜索结果,所以仅存储搜索请求是无法满足用户需求的,还需要向用户展示搜索结果。因此,搜索引擎客户端向搜索引擎服务器发送初次调用指令,以指示搜索引擎服务器依据搜索请求进行初次搜索,在搜索引擎服务器完成初次搜索后,将初次搜索结果返回给搜索引擎客户端,搜索引擎客户端控制智能终端的输出组件输出初次搜索结果,以使用户获知初次搜索结果。
上述“初次”是相对于存储搜索请求之后的“定期”而言的,“初次”是涉及到搜索引擎客户端检测到搜索请求后所触发的一系列步骤。“定期”是涉及到搜索引擎客户端存储搜索请求后所触发的一系列步骤。
对于初次搜索结果,搜索引擎客户端一方面控制智能终端的输出组件将其输出给用户,另一方面可以根据初次搜索结果的更新周期,设定调用搜索 引擎服务器的调用周期。一种可能的实施方式是:将初次搜索结果的更新周期作为调用搜索引擎服务器的调用周期,因为初次搜索结果的更新周期指明了初次搜索结果何时被更新,在同一搜索请求对应的各个搜索结果被更新的时间间隔固定的情况下,初次搜索结果的更新周期能够反映搜索引擎服务器被定期调用后返回的搜索结果的更新周期,如果将初次搜索结果的更新周期作为调用周期,则调用时机与同一搜索请求对应的各个搜索结果被更新的时机相同,便于用户在第一时间获知更新后的搜索结果。
继续以上述例子为例,用户想知道2016年8月31日北京的天气怎么样,则可以通过智能终端的麦克风输入相应的语音,搜索引擎客户端对该语音进行识别,如果识别结果为:2016年8月31日北京的天气怎么样?则一方面存储该搜索请求,另一方面,向搜索引擎服务器发送初次调用指令,以指示搜索引擎服务器对于2016年8月31日北京的天气进行初次搜索,假设初次搜索结果为:晴,25摄氏度到30摄氏度。然后,搜索引擎客户端控制智能终端的输出组件输出:2016年8月31日北京的天气为晴,25摄氏度到30摄氏度。
假设“晴,25摄氏度到30摄氏度”将在一小时后被更新为“阴转多云,25摄氏度到30摄氏度”,则更新周期为一小时,相应地,调用周期设定为一小时,则搜索引擎客户端每隔一小时向搜索引擎服务器发送调用指令,以指示搜索引擎服务器搜索2016年8月31日北京的天气,这样,用户每隔一小时就可以获知2016年8月31日北京的天气,由于一小时也是2016年8月31日北京的天气发生变化的间隔,所以用户可以在天气发生变化后的第一时间获知变化后的天气。
采用上述技术方案,根据搜索结果发生变化的周期设定调用周期,可以使用户在搜索结果发生变化的第一时间获知变化后的搜索结果,符合用户对搜索结果的及时性的要求,提高了用户体验。
可选地,本公开中定期调用搜索引擎服务器不是无休止地调用,在一定的条件下可以停止调用搜索引擎服务器,进而结束整个搜索过程。一种可能的实施方式是:如果搜索请求对应有截止日期,则在截止日期到期后,停止调用搜索引擎服务器。另一种可能的实施方式是:如果搜索引擎服务器返回的搜索结果与搜索请求所请求的搜索结果不匹配,则停止调用搜索引擎服务器。上述第一种可能的实施方式包括以下步骤:
存储所述搜索引擎客户端检测到的搜索请求;
确定所述搜索请求对应的截止日期;
在所述截止日期到期前,定期向所述搜索引擎服务器发送调用指令,所述调用指令用于指示所述搜索引擎服务器依据所述搜索请求进行搜索;
控制所述智能终端的输出组件输出所述搜索引擎服务器返回的搜索结果。
本公开中,如果搜索请求中包括日期,则将搜索请求中包括的日期作为搜索请求对应的截止日期。例如:搜索请求为:2016年8月31日北京的天气,则截止日期为:2016年8月31日。在2016年8月31日前,搜索引擎客户端定期调用搜索引擎服务器,在2016年8月31日来临后,搜索引擎客户端停止调用搜索引擎服务器。
如果搜索请求中未包括日期,则可以根据搜索请求中的关键词,确定搜索请求对应的截止日期。例如:搜索请求为2016年成都车展情况,则关键词为2016年成都车展,由于2016年成都车展的举办时间2016年9月3日至2016年9月6日,则截止日期为:2016年9月7日。在2016年9月7日前,搜索引擎客户端定期调用搜索引擎服务器,在2016年9月7日来临后,搜索引擎客户端停止调用搜索引擎服务器。采用上述技术方案,搜索引擎客户端根据检测到的搜索请求确定对应的截止日期,在截止日期到期前,定期调用搜索引擎服务器;在截止日期到期后停止调用搜索引擎服务 器。因此,避免了因截止日期到期后仍控制智能终端的输出组件输出搜索引擎返回的结果,给用户造成干扰。在截止日期到期后,不再向搜索引擎服务器发送调用指令,节约了智能终端的功耗,延长了待机时间。
上述第二种实施方式包括以下步骤:
存储所述搜索引擎客户端检测到的搜索请求;
定期向所述搜索引擎服务器发送调用指令,所述调用指令用于指示所述搜索引擎服务器依据所述搜索请求进行搜索;
控制所述智能终端的输出组件输出所述搜索引擎服务器返回的搜索结果;
判断所述搜索引擎服务器返回的搜索结果是否与所述搜索引擎客户端依据所述搜索请求所预期的搜索结果匹配;
在判定所述搜索引擎服务器返回的搜索结果与所述搜索引擎客户端依据搜索请求所预期的搜索结果不匹配时,停止向所述搜索引擎服务器发送所述调用指令。
本公开中,搜索引擎客户端依据搜索请求所预期的搜索结果是指:搜索引擎客户端依据搜索请求,确定出的用户所期望的搜索结果。例如:搜索请求为:冰川时代这部电影什么时候上映?则预期的搜索结果为:上映时间是:某年某月某日。
由于搜索引擎客户端定期向搜索引擎服务器发送调用指令,所以相应地,搜索引擎客户端会定期收到搜索引擎服务器返回的搜索结果。搜索引擎客户端对于受到的每个反馈结果,判断该反馈结果是否与预期的搜索结果匹配,如果不匹配,则停止调用搜索引擎服务器,整个搜索过程结束;如果匹配,则继续定期调用搜索引擎服务器。
举例来讲,搜索请求为:冰川时代这部电影什么时候上映?则预期的搜索结果为:上映时间是:某年某月某日。如果某次调用搜索引擎服务器 后,搜索引擎服务器返回的搜索结果为:冰川时代这部电影已下架,则与预期的搜索结果不匹配,则停止调用搜索引擎服务器。
采用上述技术方案,搜索引擎客户端依据搜索请求确定预期的搜索结果,在搜索引擎服务器返回的搜索结果与预期的搜索结果匹配时,继续定期调用搜索引擎服务器;在搜索引擎服务器返回的搜索结果与预期的搜索结果不匹配时,停止调用搜索引擎服务器。因此,避免了因与预期的搜索结果不匹配仍控制智能终端的输出组件输出搜索引擎返回的结果,给用户造成干扰。在与预期的搜索结果不匹配后,不再向搜索引擎服务器发送调用指令,节约了智能终端的功耗,延长了待机时间。
可选地,为了使用户及时查看最新的搜索结果,本公开提出对搜索请求进行优先级划分,所依据的搜索请求的优先级越高,则表明用户想要获知最新的搜索结果的需求越强烈,则选择对应优先级的输出组件输出搜索引擎服务器返回的搜索结果。
请参考图3,图3是根据一示例性实施例示出的一种输出搜索结果的方法的示意图。如图3所示,该方法包括:
步骤S31:确定所述搜索引擎服务器返回的搜索结果所依据的搜索请求的优先级;
步骤S32:从所述智能终端的输出组件所提供的输出方式中选择与所述搜索请求的优先级对应的输出组件;
步骤S33:按照与所述搜索请求的优先级对应的输出方式,控制相应的输出组件输出所述搜索引擎服务器返回的搜索结果。
本公开中,对搜索请求的优先级进行划分,一种可能的方式是:根据搜索请求被输入的频次进行划分,如果一个搜索请求被输入的频次较高,则该搜索请求的优先级较高;如果一个搜索请求被输入的频次较低,则该搜索请求的优先级较低。
由于不同的搜索请求优先级不同,所以搜索引擎客户端将智能终端的输出组件所提供的输出方式分别与不同的优先级对应。例如:智能终端的输出组件包括:显示屏、扬声器、振动马达、指示灯等,其中,显示屏所提供的输出方式包括:通过通知中心展示或者对话框展示,扬声器所提供的输出方式包括:响铃或者语音播报,振动马达所提供的输出方式包括:发出振动,指示灯提供的输出方式包括:闪烁。
在实际应用中,如果搜索请求的优先级越高,则对应的输出方式的种类越多,提示效果越好。例如:如果搜索请求的优先级较高,则搜索引擎客户端控制显示屏通过通知中心展示搜索引擎返回的搜索结果,并且控制显示屏通过对话框展示搜索引擎返回的搜索结果,此外还控制振动马达发出振动,并且扬声器语音播报搜索引擎返回的搜索结果。如果搜索请求的优先级较低,则搜索引擎客户端控制显示屏通过通知中心展示即可。
采用上述技术方案,针对不同优先级的搜索请求,向用户发出不同强度的提示以及展示搜索引擎服务器返回的搜索结果,紧密结合用户的搜索习惯,提高了用户体验。
请参考图4,图4是根据一示例性实施例示出的将上述输出搜索结果的方法应用于智能终端内的Siri场景时的示意图。如图4所示,智能终端的用户启用Siri功能,并通过智能终端的麦克风输入语音,Siri将该语音识别为搜索请求:2016年8月31日北京的天气如何?则Siri每隔三小时调用搜索引擎服务器,以查询2016年8月31日北京的天气,相应地,搜索引擎服务器每隔三小时搜索2016年8月31日北京的天气,搜索引擎服务器在8:00搜索到的结果为:晴,25摄氏度到30摄氏度,并返回给Siri,Siri控制智能终端的显示屏显示:晴,25摄氏度到30摄氏度。搜索引擎服务器在11:00搜索到的结果为:小雨,25摄氏度到30摄氏度并返回给Siri,Siri控制智能终端的显示屏显示:小雨,25摄氏度到30摄氏度。
请参考图5,图5是根据一示例性实施例示出的所依据的搜索请求的优先级较低时输出搜索结果的示意图。如图5所示,所依据的搜索请求的优先级较低时,搜索引擎客户端控制显示屏通过通知中心展示。
请参考图6,图6是根据一示例性实施例示出的所依据的搜索请求的优先级较高时输出搜索结果的示意图。如图6所示,所依据的搜索请求的优先级较高时,搜索引擎客户端控制显示屏通过对话框展示搜索引擎返回的搜索结果,此外还控制振动马达发出振动,并且扬声器语音播报搜索引擎返回的搜索结果。
图7是根据一示例性实施例示出的一种输出搜索结果的装置700的框图,其中,该装置700配置于搜索引擎客户端,例如,图1所示的搜索引擎客户端1101。
如图7所示,该装置700可以包括:
存储模块701,被配置为存储所述搜索引擎客户端检测到的搜索请求;在检测到用户输入的搜索请求时,存储所述搜索请求;
发送模块702,被配置为定期向所述搜索引擎服务器发送调用指令,所述调用指令用于指示所述搜索引擎服务器依据所述搜索请求进行搜索;
控制模块703,被配置为控制所述智能终端的输出组件输出所述搜索引擎服务器返回的搜索结果。
可选地,所述装置700还可以包括:
初次发送模块,被配置为在检测到所述搜索请求时,向所述搜索引擎服务器发送初次调用指令,所述初次调用指令用于指示所述搜索引擎服务器依据所述搜索请求进行初次搜索;
初次控制模块,被配置为控制所述智能终端的输出组件输出所述搜索引擎服务器返回的经初次搜索后的初次搜索结果;
所述发送模块包括:
设定子模块,被配置为根据所述初次搜索结果的更新周期,设定调用周期;
第一发送子模块,被配置为按照所设定的调用周期,向所述搜索引擎服务器发送调用指令。
可选地,所述发送模块包括:
确定子模块,被配置为确定所述搜索请求对应的截止日有效期;
第二发送子模块,被配置为在所述截止日期到期前搜索请求的有效期内,定期向所述搜索引擎服务器发送所述调用指令。
可选地,所述装置700还包括:
判断模块,被配置为在所述控制模块控制所述智能终端的输出组件输出所述搜索引擎服务器返回的搜索结果之后,判断所述搜索引擎服务器返回的搜索结果是否与所述搜索引擎客户端依据所述搜索请求所预期请求的搜索结果匹配;
停止模块,被配置为在判定所述搜索引擎服务器返回的搜索结果与所述搜索引擎客户端依据搜索请求所预期请求的搜索结果不匹配时,停止向所述搜索引擎服务器发送所述调用指令。
可选地,所述控制模块包括:
确定子模块,被配置为确定所述搜索引擎服务器返回的搜索结果所依据的搜索请求的优先级;
选择子模块,被配置为从所述智能终端的输出组件所提供的输出方式中选择与所述搜索请求的优先级对应的输出组件;
控制子模块,被配置为按照与所述搜索请求的优先级对应的输出方式,控制相应的输出组件输出所述搜索引擎服务器返回的搜索结果。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
图8是根据一示例性实施例示出的一种输出搜索结果的装置800的框图,该装置800配置于搜索引擎客户端,例如,图1所示的搜索引擎客户端1101。搜索引擎客户端配置于智能终端中,例如:图1所示的智能终端110。如图8所示,该装置800可以包括:处理器801,存储器802,多媒体组件803,输入/输出(I/O)接口804,以及通信组件805。
其中,处理器801用于控制该装置800的整体操作,以完成上述的输出搜索结果的方法中的全部或部分步骤。存储器802用于存储各种类型的数据以支持在该装置800的操作,这些数据的例如可以包括用于在该装置800上操作的任何应用程序或方法的指令,以及应用程序相关的数据,例如联系人数据、收发的消息、图片、音频、视频等等。该存储器802可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,例如静态随机存取存储器(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),磁存储器,快闪存储器,磁盘或光盘。多媒体组件803可以包括屏幕和音频组件。其中屏幕例如可以是触摸屏,音频组件用于输出和/或输入音频信号。例如,音频组件可以包括一个麦克风,麦克风用于接收外部音频信号。所接收的音频信号可以被进一步存储在存储器802或通过通信组件805发送。音频组件还包括至少一个扬声器,用于输出音频信号。I/O接口804为处理器801和其他接口模块之间提供接口,上述其他接口模块可以是键盘,鼠标,按钮等。这些按钮可以是虚拟按钮或者实体按钮。通信组件805用于该装置800与其他设备之间进行有线或无线通信。无线通信,例如Wi-Fi,蓝牙,近场通信(Near Field Communication,简称NFC),2G、3G 或4G,或它们中的一种或几种的组合,因此相应的该通信组件805可以包括:Wi-Fi模块,蓝牙模块,NFC模块。
在一示例性实施例中,装置800可以被一个或多个应用专用集成电路(Application Specific Integrated Circuit,简称ASIC)、数字信号处理器(Digital Signal Processor,简称DSP)、数字信号处理设备(Digital Signal Processing Device,简称DSPD)、可编程逻辑器件(Programmable Logic Device,简称PLD)、现场可编程门阵列(Field Programmable Gate Array,简称FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述的输出搜索结果的方法。
在另一示例性实施例中,还提供了一种计算机程序产品,所述计算机程序产品包含能够由可编程的装置执行的计算机程序,所述计算机程序具有当由所述可编程的装置执行时用于执行上述的监控方法的代码部分。
在另一示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器802,上述指令可由装置800的处理器801执行以完成上述的输出搜索结果的方法。示例地,该非临时性计算机可读存储介质可以是ROM、随机存取存储器(Random Access Memory,简称RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
以上结合附图详细描述了本公开的优选实施方式,但是,本公开并不限于上述实施方式中的具体细节,在本公开的技术构思范围内,可以对本公开的技术方案进行多种简单变型,这些简单变型均属于本公开的保护范围。
另外需要说明的是,在上述具体实施方式中所描述的各个具体技术特征,在不矛盾的情况下,可以通过任何合适的方式进行组合。为了避免不必要的重复,本公开对各种可能的组合方式不再另行说明。
此外,本公开的各种不同的实施方式之间也可以进行任意组合,只要 其不违背本公开的思想,其同样应当视为本公开所公开的内容。

Claims (13)

  1. 一种输出搜索结果的方法,其特征在于,应用于搜索引擎客户端,所述搜索引擎客户端配置于智能终端中,所述智能终端与搜索引擎服务器之间有通信连接,所述方法包括:
    存储所述搜索引擎客户端检测到的搜索请求;
    定期向所述搜索引擎服务器发送调用指令,所述调用指令用于指示所述搜索引擎服务器依据所述搜索请求进行搜索;
    控制所述智能终端的输出组件输出所述搜索引擎服务器返回的搜索结果。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    在检测到所述搜索请求时,向所述搜索引擎服务器发送初次调用指令,所述初次调用指令用于指示所述搜索引擎服务器依据所述搜索请求进行初次搜索;
    控制所述智能终端的输出组件输出所述搜索引擎服务器返回的经初次搜索后的初次搜索结果;
    所述定期向所述搜索引擎服务器发送调用指令,包括:
    根据所述初次搜索结果的更新周期,设定调用周期;
    按照所设定的调用周期,向所述搜索引擎服务器发送调用指令。
  3. 根据权利要求1所述的方法,其特征在于,所述定期向所述搜索引擎服务器发送调用指令,包括:
    确定所述搜索请求对应的截止日期;
    在所述截止日期到期前,定期向所述搜索引擎服务器发送所述调用指令。
  4. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    判断所述搜索引擎服务器返回的搜索结果是否与所述搜索引擎客户端依据所述搜索请求所预期的搜索结果匹配;
    在判定所述搜索引擎服务器返回的搜索结果与所述搜索引擎客户端依据搜索请求所预期的搜索结果不匹配时,停止向所述搜索引擎服务器发送所述调用指令。
  5. 根据权利要求1所述的方法,其特征在于,控制所述智能终端的输出组件输出所述搜索引擎服务器返回的搜索结果,包括:
    确定所述搜索引擎服务器返回的搜索结果所依据的搜索请求的优先级;
    从所述智能终端的输出组件所提供的输出方式中选择与所述搜索请求的优先级对应的输出组件;
    按照与所述搜索请求的优先级对应的输出方式,控制相应的输出组件输出所述搜索引擎服务器返回的搜索结果。
  6. 一种输出搜索结果的装置,其特征在于,应用于搜索引擎客户端,所述搜索引擎客户端配置于智能终端中,所述智能终端与搜索引擎服务器之间有通信连接,所述装置包括:
    存储模块,被配置为存储所述搜索引擎客户端检测到的搜索请求;
    发送模块,被配置为定期向所述搜索引擎服务器发送调用指令,所述调用指令用于指示所述搜索引擎服务器依据所述搜索请求进行搜索;
    控制模块,被配置为控制所述智能终端的输出组件输出所述搜索引擎服务器返回的搜索结果。
  7. 根据权利要求6所述的装置,其特征在于,所述装置还包括:
    初次发送模块,被配置为在检测到所述搜索请求时,向所述搜索引擎服务器发送初次调用指令,所述初次调用指令用于指示所述搜索引擎服务器依据所述搜索请求进行初次搜索;
    初次控制模块,被配置为控制所述智能终端的输出组件输出所述搜索引擎服务器返回的经初次搜索后的初次搜索结果;
    所述发送模块包括:
    设定子模块,被配置为根据所述初次搜索结果的更新周期,设定调用周期;
    第一发送子模块,被配置为按照所设定的调用周期,向所述搜索引擎服务器发送调用指令。
  8. 根据权利要求6所述的装置,其特征在于,所述发送模块包括:
    确定子模块,被配置为确定所述搜索请求对应的截止日期;
    第二发送子模块,被配置为在所述截止日期到期前,定期向所述搜索引擎服务器发送所述调用指令。
  9. 根据权利要求6所述的装置,其特征在于,所述装置还包括:
    判断模块,被配置为判断所述搜索引擎服务器返回的搜索结果是否与所述搜索引擎客户端依据所述搜索请求所预期的搜索结果匹配;
    停止模块,被配置为在判定所述搜索引擎服务器返回的搜索结果与所述搜索引擎客户端依据搜索请求所预期的搜索结果不匹配时,停止向所述搜索引擎服务器发送所述调用指令。
  10. 根据权利要求6所述的装置,其特征在于,所述控制模块包括:
    确定子模块,被配置为确定所述搜索引擎服务器返回的搜索结果所依据的搜索请求的优先级;
    选择子模块,被配置为从所述智能终端的输出组件所提供的输出方式中选择与所述搜索请求的优先级对应的输出组件;
    控制子模块,被配置为按照与所述搜索请求的优先级对应的输出方式,控制相应的输出组件输出所述搜索引擎服务器返回的搜索结果。
  11. 一种计算机程序产品,其特征在于,所述计算机程序产品包含能够由可编程的装置执行的计算机程序,所述计算机程序具有当由所述可编程的装置执行时用于执行权利要求1至5中任一项所述的方法的代码部分。
  12. 一种非临时性计算机可读存储介质,其特征在于,所述非临时性计算机可读存储介质中包括一个或多个程序,所述一个或多个程序用于执行权利要求1至5中任一项所述的方法。
  13. 一种电子设备,其特征在于,包括:
    权利要求12中所述的非临时性计算机可读存储介质;以及
    一个或者多个处理器,用于执行所述非临时性计算机可读存储介质中的程序。
PCT/CN2016/098125 2016-09-05 2016-09-05 输出搜索结果的方法、装置及电子设备 WO2018040106A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2016/098125 WO2018040106A1 (zh) 2016-09-05 2016-09-05 输出搜索结果的方法、装置及电子设备
CN201680002724.7A CN106716419B (zh) 2016-09-05 2016-09-05 输出搜索结果的方法、装置及电子设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/098125 WO2018040106A1 (zh) 2016-09-05 2016-09-05 输出搜索结果的方法、装置及电子设备

Publications (1)

Publication Number Publication Date
WO2018040106A1 true WO2018040106A1 (zh) 2018-03-08

Family

ID=58904014

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/098125 WO2018040106A1 (zh) 2016-09-05 2016-09-05 输出搜索结果的方法、装置及电子设备

Country Status (2)

Country Link
CN (1) CN106716419B (zh)
WO (1) WO2018040106A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343506A (zh) * 2020-02-12 2020-06-26 咪咕文化科技有限公司 一种视频搜索方法、装置、系统、服务器和可读存储介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109960754A (zh) * 2019-03-21 2019-07-02 珠海格力电器股份有限公司 一种语音设备及其语音交互方法、装置和存储介质
CN111814042B (zh) * 2020-06-24 2024-05-10 浙江大华技术股份有限公司 设备搜索方法、设备搜索系统以及计算机可读存储介质
CN112420038A (zh) * 2020-10-28 2021-02-26 深圳创维-Rgb电子有限公司 一种自适应场景判断的智能语音播报方法、装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101546308A (zh) * 2008-09-25 2009-09-30 厦门市美亚柏科资讯科技有限公司 一种基于检索过期的网页搜索方法及其系统
CN102117274A (zh) * 2009-12-31 2011-07-06 潘晓梅 一种专利检索方法和系统
CN102214172A (zh) * 2010-04-06 2011-10-12 腾讯科技(深圳)有限公司 一种高速缓存的方法及设备
CN102567376A (zh) * 2010-12-16 2012-07-11 中国移动通信集团浙江有限公司 一种个性化搜索结果推荐方法和装置
CN104199983A (zh) * 2014-09-25 2014-12-10 北京国双科技有限公司 数据的记录方法及装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013046413A1 (ja) * 2011-09-29 2013-04-04 富士通株式会社 検索方法及び情報管理装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101546308A (zh) * 2008-09-25 2009-09-30 厦门市美亚柏科资讯科技有限公司 一种基于检索过期的网页搜索方法及其系统
CN102117274A (zh) * 2009-12-31 2011-07-06 潘晓梅 一种专利检索方法和系统
CN102214172A (zh) * 2010-04-06 2011-10-12 腾讯科技(深圳)有限公司 一种高速缓存的方法及设备
CN102567376A (zh) * 2010-12-16 2012-07-11 中国移动通信集团浙江有限公司 一种个性化搜索结果推荐方法和装置
CN104199983A (zh) * 2014-09-25 2014-12-10 北京国双科技有限公司 数据的记录方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343506A (zh) * 2020-02-12 2020-06-26 咪咕文化科技有限公司 一种视频搜索方法、装置、系统、服务器和可读存储介质
CN111343506B (zh) * 2020-02-12 2022-11-29 咪咕文化科技有限公司 一种视频搜索方法、装置、系统、服务器和可读存储介质

Also Published As

Publication number Publication date
CN106716419A (zh) 2017-05-24
CN106716419B (zh) 2020-07-31

Similar Documents

Publication Publication Date Title
KR102586990B1 (ko) 멀티-어시스턴트 환경의 특성에 따른 어시스턴트 응답성 규정하기
US10847024B2 (en) System and method of controlling external apparatus connected with device
JP6471174B2 (ja) ホームオートメーションのためのインテリジェントアシスタント
WO2018040106A1 (zh) 输出搜索结果的方法、装置及电子设备
RU2651207C2 (ru) Способ и аппарат для обработки пакета установки приложения
JP2021514091A (ja) スマートデバイスの識別および制御
US11238860B2 (en) Method and terminal for implementing speech control
US20140195663A1 (en) Method and System for Providing Cloud-Based Common Distribution Applications
CN107944259A (zh) 应用启动的管控方法、装置及存储介质和移动终端
US20170309156A1 (en) Mobile device self-identification system
US11810566B2 (en) Systems and methods for addressing possible interruption during interaction with digital assistant
US20180365081A1 (en) Method for Application Action Synchronization, Terminal Device, and Storage Medium
CN111241134B (zh) 一种数据处理方法及装置
CN112331202A (zh) 一种语音投屏方法及装置、电子设备和计算机可读存储介质
CN108008925A (zh) 分屏模式下的应用数据共享方法、装置、终端及存储介质
CN110286954B (zh) 一种应用程序的启动方法、装置及存储介质
US20140089446A1 (en) Advanced cloud computing device for the control of media, television and communications services
CN111221862B (zh) 一种请求处理方法及装置
US10741173B2 (en) Artificial intelligence (AI) based voice response system etiquette
CN112201236B (zh) 终端唤醒方法、装置及计算机可读存储介质
CN112929751B (zh) 用于确定动作执行的系统、方法及终端
CN115671715A (zh) 云游戏的资源调度方法、装置、系统和电子设备
EP3823238A1 (en) Method and apparatus for controlling devices and storage medium
WO2023040109A1 (zh) 智能语音提示方法、设备及存储介质
CN110209910B (zh) 索引切换调度方法及调度装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16914671

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 18.06.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16914671

Country of ref document: EP

Kind code of ref document: A1