技术领域technical field
本发明涉及互联网领域,尤其涉及一种即时搜索方法及装置。The invention relates to the Internet field, in particular to an instant search method and device.
背景技术Background technique
在移动终端的开发中,搜索已经成为不可或缺的功能之一,但是,由于移动终端都是通过流量或者wifi进行上网,网络环境相对电脑要差一些,且移动终端的性能有限,因此目前在移动终端的app应用中的搜索都是在用户输入完毕后,再根据用户的启动搜索操作进行搜索,这会导致在移动终端的搜索时效性差。In the development of mobile terminals, search has become one of the indispensable functions. However, because mobile terminals access the Internet through traffic or wifi, the network environment is worse than that of computers, and the performance of mobile terminals is limited. The search in the app application of the mobile terminal is performed after the user completes the input, and then the search is performed according to the user's start search operation, which will lead to poor timeliness of the search on the mobile terminal.
发明内容Contents of the invention
鉴于上述问题,本发明实施例提供了一种即时搜索方法及装置,提高了平衡了搜索时效性与资源耗费。In view of the above problems, embodiments of the present invention provide an instant search method and device, which improves the balance between search timeliness and resource consumption.
第一方面,本发明实施例提供了一种即时搜索方法,应用于移动终端,所述即时搜索方法包括:In a first aspect, an embodiment of the present invention provides an instant search method, which is applied to a mobile terminal, and the instant search method includes:
接收用户输入在搜索输入框内的关键字文本;Receive the keyword text entered by the user in the search input box;
监听所述搜索输入框内的关键字文本是否在第一预设时间间隔内未发生输入变化;Monitoring whether the keyword text in the search input box has not been input changed within the first preset time interval;
如果监听到所述搜索输入框内的关键字文本在所述第一预设时间间隔内未发生输入变化,向服务器发送针对所述搜索输入框内当前存在的关键字文本请求搜索结果的第一搜索请求。If it is detected that the keyword text in the search input box has not been input changed within the first preset time interval, send to the server the first request for search results for the keyword text currently existing in the search input box. Search request.
优选的,在所述向服务器发送针对所述搜索输入框内当前存在的关键字文本请求搜索结果的第一搜索请求之后,所述方法还包括:Preferably, after sending the first search request to the server to request search results for the keyword text currently existing in the search input box, the method further includes:
在所述第一搜索请求处于发送过程中,监听所述搜索输入框内的关键字文本是否发生输入变化;When the first search request is in the process of sending, monitor whether the keyword text in the search input box has an input change;
如果监听到所述搜索输入框内的关键字文本发生输入变化,监听变化后的关键字文本是否在第二预设时间间隔内未发生输入变化,否则接收所述第一搜索请求对应的搜索结果进行展示;If it is monitored that the keyword text in the search input box has been input changed, monitor whether the changed keyword text has not been input changed within the second preset time interval, otherwise receive the search result corresponding to the first search request display;
如果所述变化后的关键字文本在所述第二预设时间间隔内未发生输入变化,取消所述第一搜索请求,并向所述服务器发送针对所述变化后的关键字文本请求搜索结果的第二搜索请求,否则接收所述第一搜索请求对应的搜索结果进行展示。If the changed keyword text has no input change within the second preset time interval, cancel the first search request, and send a search result request for the changed keyword text to the server the second search request, otherwise receive and display the search results corresponding to the first search request.
优选的,在所述向所述服务器发送针对所述变化后的关键字文本请求搜索结果的第二搜索请求之后,所述方法还包括:Preferably, after the second search request for requesting search results for the changed keyword text is sent to the server, the method further includes:
接收所述第二搜索请求对应的搜索结果;receiving a search result corresponding to the second search request;
对所述第二搜索请求对应的搜索结果进行展示。and displaying the search results corresponding to the second search request.
优选的,所述监听所述搜索输入框内的关键字文本是否在第一预设时间间隔内未发生输入变化,包括:Preferably, the monitoring whether the keyword text in the search input box has not been input changed within the first preset time interval includes:
通过绑定组件监听所述搜索输入框内的关键字文本是否在所述第一预设时间间隔内未发生输入变化。Whether the keyword text in the search input box has not been changed within the first preset time interval is monitored through the binding component.
优选的,所述通过绑定组件监听所述搜索输入框内的关键字文本是否在所述第一预设时间间隔内未发生输入变化,包括:Preferably, the monitoring through the binding component whether the keyword text in the search input box has not been input changed within the first preset time interval includes:
步骤a、通过去抖操作符接收所述第一预设时间间隔为参数;Step a, receiving the first preset time interval as a parameter through a debounce operator;
步骤b、调用所述去抖操作符进行判断所述搜索输入框内的关键字文本是否在所述第一预设时间间隔内发生输入变化;Step b, calling the debounce operator to determine whether the keyword text in the search input box has been input changed within the first preset time interval;
步骤c、如果所述搜索输入框内的关键字文本在所述第一预设时间间隔内发生输入变化,刷新所述去抖操作符内的计时后返回所述步骤b,否则通过所述去抖操作符返回所述搜索输入框内当前存在的关键字文本,使得所述绑定组件监听到所述搜索输入框内的关键字文本在所述第一预设时间间隔内未发生输入变化。Step c. If the keyword text in the search input box changes within the first preset time interval, refresh the timing in the debounce operator and return to step b, otherwise, pass the debounce The shake operator returns the keyword text currently existing in the search input box, so that the binding component detects that the keyword text in the search input box has not been input changed within the first preset time interval.
优选的,所述向服务器发送针对所述搜索输入框内的关键字文本请求搜索结果的第一搜索请求,包括:Preferably, the sending to the server the first search request for requesting search results for the keyword text in the search input box includes:
通过异步向所述服务器发送针对所述搜索输入框内的关键字文本请求搜索结果的第一搜索请求。A first search request for requesting search results for the keyword text in the search input box is sent to the server asynchronously.
优选的,所述向所述服务器发送针对所述变化后的关键字文本请求搜索结果的第二搜索请求,包括:Preferably, the sending a second search request to the server to request search results for the changed keyword text includes:
通过调用转换操作符,向所述服务器发送针对所述变化后的编辑文本请求搜索结果的第二搜索请求。A second search request requesting search results for the changed edited text is sent to the server by invoking a transformation operator.
第二方面,本发明实施例提供了一种即时搜索装置,应用于移动终端,所述即时搜索装置包括:In a second aspect, an embodiment of the present invention provides an instant search device, which is applied to a mobile terminal, and the instant search device includes:
文本接收单元,用于接收用户输入在搜索输入框内的关键字文本;The text receiving unit is used to receive the keyword text input by the user in the search input box;
第一监听单元,用于监听所述搜索输入框内的关键字文本是否在第一预设时间间隔内未发生输入变化;A first monitoring unit, configured to monitor whether the keyword text in the search input box has not been input changed within a first preset time interval;
第一搜索请求单元,用于如果监听到所述搜索输入框内的关键字文本在所述第一预设时间间隔内未发生输入变化,向服务器发送针对所述搜索输入框内当前存在的关键字文本请求搜索结果的第一搜索请求。The first search request unit is configured to, if it is detected that the keyword text in the search input box has not been input changed within the first preset time interval, send the key word currently existing in the search input box to the server. The word text requests the first search request for search results.
优选的,所述装置还包括:Preferably, the device also includes:
第二监听单元,用于在所述第一搜索请求处于发送过程中,监听所述搜索输入框内的关键字文本是否发生输入变化;The second monitoring unit is configured to monitor whether the keyword text in the search input box has been input changed during the sending process of the first search request;
第三监听单元,用于如果监听到所述搜索输入框内的关键字文本发生输入变化,监听变化后的关键字文本是否在第二预设时间间隔内未发生输入变化,否则接收所述第一搜索请求对应的搜索结果进行展示;The third monitoring unit is used to monitor whether the input of the keyword text in the search input box has changed, and monitor whether the input of the changed keyword text has not changed within the second preset time interval, otherwise receive the first Display the search results corresponding to a search request;
请求处理单元,用于如果所述变化后的关键字文本在所述第二预设时间间隔内未发生输入变化,取消所述第一搜索请求,并向所述服务器发送针对所述变化后的关键字文本请求搜索结果的第二搜索请求,否则接收所述第一搜索请求对应的搜索结果进行展示。A request processing unit, configured to cancel the first search request if the changed keyword text has not been input changed within the second preset time interval, and send the changed keyword text to the server. The keyword text requests the second search request of the search result, otherwise, the search result corresponding to the first search request is received and displayed.
优选的,所述装置还包括:Preferably, the device also includes:
搜索结果接收单元,用于接收所述第二搜索请求对应的搜索结果;a search result receiving unit, configured to receive a search result corresponding to the second search request;
展示单元,用于对所述第二搜索请求对应的搜索结果进行展示。A display unit, configured to display the search results corresponding to the second search request.
优选的,所述第一监听单元,包括:Preferably, the first listening unit includes:
绑定监听子单元,通过绑定组件监听所述搜索输入框内的关键字文本是否在所述第一预设时间间隔内未发生输入变化。The binding monitoring subunit monitors whether the keyword text in the search input box has not been input changed within the first preset time interval through the binding component.
优选的,所述绑定监听子单元,具体用于:Preferably, the binding monitoring subunit is specifically used for:
步骤a、通过去抖操作符接收所述第一预设时间间隔为参数;Step a, receiving the first preset time interval as a parameter through a debounce operator;
步骤b、调用所述去抖操作符进行判断所述搜索输入框内的关键字文本是否在所述第一预设时间间隔内发生输入变化;Step b, calling the debounce operator to determine whether the keyword text in the search input box has been input changed within the first preset time interval;
步骤c、如果所述搜索输入框内的关键字文本在所述第一预设时间间隔内发生输入变化,刷新所述去抖操作符内的计时后返回所述步骤b,否则通过所述去抖操作符返回所述搜索输入框内当前存在的关键字文本,使得所述绑定组件监听到所述搜索输入框内的关键字文本在所述第一预设时间间隔内未发生输入变化。Step c. If the keyword text in the search input box changes within the first preset time interval, refresh the timing in the debounce operator and return to step b, otherwise, pass the debounce The shake operator returns the keyword text currently existing in the search input box, so that the binding component detects that the keyword text in the search input box has not been input changed within the first preset time interval.
优选的,所述第一搜索请求单元,具体用于:Preferably, the first search request unit is specifically used for:
通过异步向所述服务器发送针对所述搜索输入框内的关键字文本请求搜索结果的第一搜索请求。A first search request for requesting search results for the keyword text in the search input box is sent to the server asynchronously.
优选的,所述第三监听单元,具体用于:Preferably, the third listening unit is specifically used for:
通过调用转换操作符,向所述服务器发送针对所述变化后的编辑文本请求搜索结果的第二搜索请求。A second search request requesting search results for the changed edited text is sent to the server by invoking a conversion operator.
本发明实施例提供的一个或多个技术方案,至少实现了如下技术效果或优点:One or more technical solutions provided by the embodiments of the present invention at least achieve the following technical effects or advantages:
监听用户输入在搜索输入框内的关键字文本是否在第一预设时间间隔内未发生输入变化;如果监听到搜索输入框内的关键字文本在第一预设时间间隔内未发生输入变化,向服务器发送针对搜索输入框内当前存在的关键字文本请求搜索结果的第一搜索请求。从而能够对即时产生搜索请求发送给服务器来获得搜索结果,提高了搜索的时效性。另一方面又能避免对用户连续输入过程中产生搜索请求,从而合理控制产生搜索请求的时机,防止出现一些无用的搜索请求,从而减少使用流量开销以及大量并发请求下的系统资源消耗。很好的平衡了搜索时效性和资源耗费,更适用于移动终端中的搜索。Monitor whether the keyword text input by the user in the search input box has not changed within the first preset time interval; if it is detected that the keyword text in the search input box has not changed input within the first preset time interval, A first search request for requesting search results for the keyword text currently existing in the search input box is sent to the server. Therefore, a search request generated in real time can be sent to the server to obtain search results, which improves the timeliness of search. On the other hand, it can avoid the generation of search requests during the continuous input process of users, so as to reasonably control the timing of search requests, prevent some useless search requests, and reduce the usage traffic overhead and system resource consumption under a large number of concurrent requests. It balances the search timeliness and resource consumption well, and is more suitable for searching in mobile terminals.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention, and those skilled in the art can also obtain other drawings according to the provided drawings without creative work.
图1为本发明实施例提供一实施例的即时搜索方法的流程图;FIG. 1 is a flow chart of an instant search method provided by an embodiment of the present invention;
图2为图1中S102的优选实施例的流程图;Fig. 2 is the flowchart of the preferred embodiment of S102 in Fig. 1;
图3为本发明实施例提供另一实施例的即时搜索方法的流程图;Fig. 3 is a flowchart of an instant search method according to another embodiment provided by the embodiment of the present invention;
图4为本发明实施例提供的即时搜索装置的功能模块图。Fig. 4 is a functional block diagram of an instant search device provided by an embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
本发明实施例提供了一种即时搜索方法,应用于移动终端。移动终端为基于Android操作系统的智能手机、平板电脑(pad)。An embodiment of the present invention provides an instant search method, which is applied to a mobile terminal. The mobile terminal is a smart phone and a tablet computer (pad) based on an Android operating system.
参考图1所示,本发明实施例提供的即时搜索方法包括如下步骤:Referring to Fig. 1, the instant search method provided by the embodiment of the present invention includes the following steps:
S101、接收用户输入在搜索输入框内的关键字文本。S101. Receive keyword text input by a user in a search input box.
S102、监听搜索输入框内的关键字文本是否在第一预设时间间隔内未发生输入变化;S102. Monitoring whether the keyword text in the search input box has not been input changed within the first preset time interval;
S103、如果监听到搜索输入框内的关键字文本在第一预设时间间隔内未发生输入变化,向服务器发送针对搜索输入框内当前存在的关键字文本请求搜索结果的第一搜索请求。S103. If it is detected that the keyword text in the search input box has not been input changed within the first preset time interval, send a first search request to the server to request search results for the keyword text currently existing in the search input box.
在本发明实施例中,通过绑定组件(Rxbinding)绑定数据层与View(视图)层,通过Rxbinding监听输入在搜索输入框内的关键字文本是否发生输入变化。具体的,Rxbinding通过异步获取用户输入在搜索输入框内的关键字文本。Rxbinding是通过接收搜索输入框内的关键字文本作为参数,搜索输入框内的关键字文本是CharSequence类型,因此返回一个监听关键字文本是否在第一预设时间间隔内未发生输入变化的目标:Observable<CharSequence>,从而监听搜索输入框内的关键字文本是否发生输入变化。In the embodiment of the present invention, the binding component (Rxbinding) is used to bind the data layer and the View (view) layer, and the Rxbinding is used to monitor whether the keyword text input in the search input box has an input change. Specifically, Rxbinding obtains the keyword text entered by the user in the search input box asynchronously. Rxbinding receives the keyword text in the search input box as a parameter, and the keyword text in the search input box is of the CharSequence type, so it returns a target that monitors whether the keyword text has not changed within the first preset time interval: Observable<CharSequence>, so as to monitor whether the keyword text in the search input box changes.
下面结合图1,对本发明实施例提供的即时搜索方法的一实施例进行描述:An embodiment of the instant search method provided by the embodiment of the present invention is described below in conjunction with FIG. 1:
首先,执行S101、接收用户输入在搜索输入框内的关键字文本。Firstly, execute S101, receive the keyword text input by the user in the search input box.
具体的,搜索输入框为app应用的输入框。比如,浏览器应用的查询内容输入框、购物应用的商品搜索输入框,地图应用的地址搜索输入框。Specifically, the search input box is an input box of an app application. For example, the query content input box of the browser application, the product search input box of the shopping application, and the address search input box of the map application.
具体的,搜索输入框对应EditText(编辑文本)控件,EditText控件用于接收用户输入的关键字文本。Specifically, the search input box corresponds to an EditText (edit text) control, and the EditText control is used to receive keyword text input by the user.
在执行S101的过程中,执行S102、监听关键字文本是否在第一预设时间间隔内未发生输入变化。During the execution of S101, S102 is executed to monitor whether the keyword text has no input change within the first preset time interval.
具体的,参考图2所示,监听搜索输入框内的关键字文本是否在第一预设时间间隔内未发生输入变化,包括:Specifically, referring to FIG. 2 , monitoring whether the keyword text in the search input box has not been input changed within the first preset time interval includes:
步骤S1021、通过去抖操作符(debounce)接收第一预设时间间隔为参数;Step S1021, receiving the first preset time interval as a parameter through a debounce operator (debounce);
步骤S1022、调用去抖操作符进行判断关键字文本是否在第一预设时间间隔内发生输入变化;Step S1022, call the debounce operator to judge whether the input of the keyword text changes within the first preset time interval;
如果关键字文本在第一预设时间间隔内发生输入变化,执行步骤S1023:刷新去抖操作符内的计时后返回步骤S1022,否则执行S1024。If the input of the keyword text changes within the first preset time interval, execute step S1023: refresh the timer in the debounce operator and then return to step S1022; otherwise, execute S1024.
S1024:通过去抖操作符返回搜索输入框内当前存在的关键字文本,使得绑定组件监听到关键字文本在第一预设时间间隔内未发生输入变化。S1024: Return the keyword text currently existing in the search input box through the debounce operator, so that the binding component detects that the keyword text has not been input changed within the first preset time interval.
具体来讲,在一具体实施例中:通过Rxjava(Reactive Extensions Java,响应式扩展)与去抖操作符配合实现:Specifically, in a specific embodiment: through the cooperation of Rxjava (Reactive Extensions Java, responsive extension) and the debounce operator:
去抖操作符对第一预设时间间隔内发生的输入变化进行过滤,如果在第一预设时间间隔内未发生输入变化,将搜索输入框内当前存在的关键字文本提交给订阅者操作符(subscriber)。从而当搜索输入框内的关键字文本发生了输入变化,订阅者操作符就能收搜索输入框内当前存在的关键字文本,从而通过订阅者操作符进行S103中的处理。The debounce operator filters the input changes that occur within the first preset time interval, and submits the keyword text that currently exists in the search input box to the subscriber operator if no input changes occur within the first preset time interval (subscriber). Therefore, when the input of the keyword text in the search input box changes, the subscriber operator can receive the keyword text currently existing in the search input box, so as to perform the processing in S103 through the subscriber operator.
Rxjava结合可观察集合的异步调用以及基于事件编程。是一个java的响应式编程的类库,其中提供了各种响应式编程中的操作符术语。RxJava中有Observable(目标)操作符,observer(观察者)操作符,subscriber(订阅者)操作符,目标操作符负责发送消息,订阅者操作符负责消费消息。从事件角度说,事件驱动程序的基本结构是由一个事件收集器、一个事件发送器和一个事件处理器组成。在RxJava中,Observer对应于事件收集器,事件发送的过程对应于订阅者操作符订阅的过程。Rxjava combines asynchronous invocation of observable collections with event-based programming. It is a java reactive programming class library, which provides various operator terms in reactive programming. In RxJava, there are Observable (target) operator, observer (observer) operator, subscriber (subscriber) operator, the target operator is responsible for sending messages, and the subscriber operator is responsible for consuming messages. From the perspective of events, the basic structure of an event driver is composed of an event collector, an event sender and an event processor. In RxJava, Observer corresponds to the event collector, and the process of sending events corresponds to the process of subscribing by subscriber operators.
具体的,第一预设时间间隔设置为100~350毫秒之间的时长值,从而避免太短造成用户每次输入单个字符就搜索,又能够避免太长造成输入后等待事件太长而降低用户体验。Specifically, the first preset time interval is set to a duration value between 100 and 350 milliseconds, so as to prevent the user from searching every time a single character is entered if it is too short, and to avoid too long waiting for an event after inputting and reducing the user's time interval. experience.
以第一预设时间间隔为100毫秒为例,调用去抖操作符过滤关键字文本在100毫秒内发生的输入变化,如果关键字文本在100毫秒内未发生输入变化,将搜索输入框内当前存在的关键字文本返回给订阅操作符(subscriber)。如果关键字文本在100毫秒内发生输入变化,重新刷新100毫秒。依次循环,直到停顿了100毫秒才将搜索输入框内当前存在的关键字文本返回给订阅操作符(subscriber)。Take the first preset time interval of 100 milliseconds as an example, call the debounce operator to filter the input changes of the keyword text within 100 milliseconds, if the keyword text does not change within 100 milliseconds, the current search in the input box will be performed The existing keyword text is returned to the subscription operator (subscriber). If the keyword text changes within 100 milliseconds, refresh for 100 milliseconds. Loop in turn until the pause of 100 milliseconds returns the keyword text currently existing in the search input box to the subscription operator (subscriber).
接着执行S103:如果监听到搜索输入框内的关键字文本在第一预设时间间隔内未发生输入变化,向服务器发送针对搜索输入框内当前存在的关键字文本请求搜索结果的第一搜索请求。Then execute S103: if it is detected that the keyword text in the search input box has not been input changed within the first preset time interval, send to the server a first search request requesting search results for the keyword text currently existing in the search input box .
具体的,向服务器发送第一搜索请求的实现通过订阅者操作符执行:订阅者操作符接收到搜索输入框内当前存在的关键字文本,向服务器发送第一搜索请求,第一搜索请求中包括搜索输入框内当前存在的关键字文本。Specifically, the realization of sending the first search request to the server is performed by the subscriber operator: the subscriber operator receives the keyword text currently existing in the search input box, sends the first search request to the server, and the first search request includes Searches for the keyword text currently present in the input box.
由于第一网络请求是耗时的IO(input/onput输入/输出)操作,在本发明实施例中,通过异步向服务器发送第一搜索请求。Since the first network request is a time-consuming IO (input/onput input/output) operation, in the embodiment of the present invention, the first search request is sent to the server asynchronously.
通过本实施例,避免了搜索输入框内的关键字文本一有输入变化就直接发送搜索请求,从而避免了大多数无意义的搜索请求,减少了流量资源浪费,从而达到节流的目的,很好的平衡搜索时效性与搜索请求的流量浪费。Through this embodiment, it is avoided that the keyword text in the search input box is directly sent a search request as soon as there is an input change, thereby avoiding most meaningless search requests, reducing the waste of traffic resources, thereby achieving the purpose of throttling. A good balance between search timeliness and traffic waste of search requests.
参考图3,本发明还提供了另一即时搜索方法实施例,包括如下步骤:Referring to Fig. 3, the present invention also provides another instant search method embodiment, comprising the following steps:
S101、接收用户输入在搜索输入框内的关键字文本。S101. Receive keyword text input by a user in a search input box.
S102、监听搜索输入框内的关键字文本是否在第一预设时间间隔内未发生输入变化;S102. Monitoring whether the keyword text in the search input box has not been input changed within the first preset time interval;
S103、如果监听到关键字文本在第一预设时间间隔内未发生输入变化,向服务器发送针对搜索输入框内当前存在的关键字文本请求搜索结果的第一搜索请求;S103. If it is detected that the keyword text has not been input changed within the first preset time interval, send to the server a first search request requesting a search result for the keyword text currently existing in the search input box;
S104、在第一搜索请求处于发送过程中,监听搜索输入框内的关键字文本是否发生输入变化;S104. When the first search request is being sent, monitor whether the keyword text in the search input box has been input changed;
S105、如果监听到搜索输入框内的关键字文本发生输入变化,监听变化后的关键字文本是否在第二预设时间间隔内未发生输入变化;S105. If it is detected that the keyword text in the search input box has been input changed, monitor whether the changed keyword text has not been input changed within the second preset time interval;
S106、如果变化后的关键字文本在第二预设时间间隔内未发生输入变化,取消第一搜索请求,并向服务器发送针对变化后的关键字文本请求搜索结果的第二搜索请求,否则接收第一搜索请求对应的搜索结果进行展示。S106. If there is no input change in the changed keyword text within the second preset time interval, cancel the first search request, and send a second search request to the server to request search results for the changed keyword text, otherwise receive The search results corresponding to the first search request are displayed.
在本实施例中,步骤S101~S103的具体实施方式参考上一实施例,为了说明书的简洁,本文不在赘述。In this embodiment, the specific implementation manners of steps S101 to S103 refer to the previous embodiment, and for the sake of brevity of description, details are not described herein.
在S104中,通过Rxbinding监听搜索输入框内的关键字文本是否发生输入变化。具体的,Rxbinding通过异步获取用户输入在搜索输入框内的关键字文本。Rxbinding通过接收搜索输入框内的关键字文本作为参数,返回一个监听关键字文本是否发生输入变化的目标:Observable<CharSequence>,从而监听搜索输入框内的关键字文本是否在第一预设时间间隔后发生输入变化。In S104, Rxbinding is used to monitor whether the keyword text in the search input box has been changed. Specifically, Rxbinding obtains the keyword text entered by the user in the search input box asynchronously. Rxbinding receives the keyword text in the search input box as a parameter, and returns a target to monitor whether the keyword text changes: Observable<CharSequence>, so as to monitor whether the keyword text in the search input box is within the first preset time interval After the input changes.
在S105中监听变化后的关键字文本是否在第二预设时间间隔内未发生输入变化的实施方式与S102中监听关键字文本是否在第一预设时间间隔内未发生输入变化的实施方式相同或相似,本领域技术人员可以根据S102的描述知晓S105的实施方式,为了说明书的简洁,本文不再赘述。In S105, the implementation of monitoring whether the changed keyword text has not been input changed within the second preset time interval is the same as the embodiment of monitoring whether the keyword text has not been input changed within the first preset time interval in S102. Or similarly, those skilled in the art may know the implementation manner of S105 according to the description of S102, and for the sake of brevity of the description, details are not described herein again.
向服务器发送针对变化后的关键字文本请求搜索结果的第二搜索请求之后,还包括:接收第二搜索请求对应的搜索结果;对第二搜索请求对应的搜索结果进行展示。After sending the second search request for requesting search results for the changed keyword text to the server, the method further includes: receiving the search results corresponding to the second search request; and displaying the search results corresponding to the second search request.
具体的,在S106中,通过调用转换操作符向服务器发送针对变化后的关键字文本请求搜索结果的第二搜索请求。Specifically, in S106, a second search request for requesting search results for the changed keyword text is sent to the server by calling a conversion operator.
使用转换操作符操作符(switchMap)向服务器发送针对变化后的关键字文本请求搜索结果的第二搜索请求时,如果第一搜索请求发送还未完成,会取消第一搜索请求和停止监听第一搜索请求产生的搜索结果。When the conversion operator (switchMap) is used to send the second search request to the server for the search results of the changed keyword text, if the first search request has not been sent yet, the first search request will be canceled and the first search request will be stopped. The search results resulting from a search request.
通过本实施例,在再次发送搜索请求,则认为在先搜索请求的搜索结果是不需要的,能够避免用户在输入关键字过程中的短暂停顿而导致在先搜索结果会比在后的搜索结果先返回的情况,对搜索请求实现了更合理的控制,过滤了一些减少了一些不必要的中间搜索结果被呈现。Through this embodiment, when the search request is sent again, the search results of the previous search request are considered unnecessary, which can avoid the user’s brief pause in the process of inputting keywords, which will cause the previous search results to be higher than the later search results. In the case of returning first, the search request is more reasonably controlled, and some unnecessary intermediate search results are reduced by filtering.
下面,给出针对本实施例的一种代码实现方式:Below, a code implementation for this embodiment is given:
“RxTextView.textChanges(editText)"RxTextView.textChanges(editText)
debounce(100,MILLISECONDS)debounce(100,MILLISECONDS)
switchMap(Api::search)switchMap(Api::search)
subscribe(::update);”subscribe(::update);"
其中,RxTextView.textChanges(editText)表示监听搜索输入框内的关键字文本的输入变化,debounce(100,MILLISECONDS)表示第一预设时间间隔、敌人预设时间间隔为100毫秒,switchMap(Api::searchItems)表示发送搜索请求,一旦通过switchMap操作符发送新的搜索请求,就自动先取消旧的搜索请求,其中,一旦通过switchMap操作符发送第二搜索请求,就取消第一搜索请求,一旦通过switchMap操作符发送第三搜索请求,就取消第二搜索请求,Api::search表示搜索请求的调用,subscribe(this::update)为返回给订阅操作符(subscriber)的搜索输入框内当前存在的关键字文本。Among them, RxTextView.textChanges(editText) means to monitor the input changes of the keyword text in the search input box, debounce(100,MILLISECONDS) means the first preset time interval, and the enemy’s preset time interval is 100 milliseconds, switchMap(Api:: searchItems) means to send a search request. Once a new search request is sent through the switchMap operator, the old search request will be automatically canceled first. Wherein, once the second search request is sent through the switchMap operator, the first search request will be canceled. When the operator sends the third search request, it cancels the second search request. Api::search indicates the call of the search request. subscribe(this::update) is the key currently existing in the search input box returned to the subscription operator (subscriber) word text.
下面,以第一预设时间间隔为100毫秒,用户输入英文关键字“red flower”来搜索为例,提供本发明的交互实施例:In the following, taking the first preset time interval of 100 milliseconds and the user inputting the English keyword "red flower" as an example to search, an interactive embodiment of the present invention is provided:
用户先依次输入“r”、“e”、“d”,如果输入“r”、“e”、“d”时之间停顿时间小于100毫秒,于是不触发发送第一搜索请求,当输入完”red”,用户停顿至少100毫秒不进行输入,会触发第一搜索请求,当第一搜索请求正在发送时,用户继续输入“flower”,如果输入“r”、“e”、“d”时之间停顿时间小于100毫秒,于是不触发发送第二搜索请求,当“flower”输入完毕后会触发第二搜索请求,则取消第一搜索请求和针对第一搜索请求的搜索结果,而接收针对第二搜索请求的搜索结果。The user first enters "r", "e", and "d" in sequence. If the pause time between input "r", "e", and "d" is less than 100 milliseconds, then the first search request is not triggered to be sent. When the input is completed "red", the user pauses for at least 100 milliseconds without inputting, and the first search request will be triggered. When the first search request is being sent, the user continues to input "flower". If "r", "e", or "d" is input The pause time between them is less than 100 milliseconds, so the second search request will not be triggered, and the second search request will be triggered after the input of "flower" is completed, then the first search request and the search results for the first search request will be canceled, and the search result for the first search request will be received. The search results for the second search request.
下面,以第一预设时间间隔为350毫秒,用户输入中文关键字“大陆动作电影”来搜索为例,提供本发明的交互实施例:In the following, taking the first preset time interval of 350 milliseconds and the user inputting the Chinese keyword "mainland action movie" as an example to search, an interactive embodiment of the present invention is provided:
用户先依次输入“大”、“陆”,如果输入“大”、“陆”时之间停顿时间小于350毫秒,于是不触发发送第一搜索请求,当输入完“大陆”,如果用户停顿至少350毫秒不进行输入,会触发第一搜索请求,当第一搜索请求正在发送时,用户继续输入“动作”,如果输入“动”、“作”之间停顿时间小于350毫秒,于是不触发第二搜索请求,当“动作”输入完后会触发第二搜索请求,则取消第一搜索请求和针对第一搜索请求的搜索结果,在接收第二搜索请求的搜索结果后,再继续输入“电影”,如果输入“电”、“影”之间停顿时间小于350毫秒,于是不触发第三搜索请求,当“电影”输入完毕后会触发第三搜索请求,接收第三搜索请求的搜索结果。The user first enters "Da" and "Lu" in sequence. If the pause time between the input of "Da" and "Lu" is less than 350 milliseconds, the first search request will not be triggered. After entering "Dalu", if the user pauses for at least If no input is made for 350 milliseconds, the first search request will be triggered. When the first search request is being sent, the user continues to input "action". If the pause time between inputting "action" and "action" is less than 350 milliseconds, the second search request will not be triggered. Two search requests, when the "action" is entered, the second search request will be triggered, then the first search request and the search results for the first search request will be canceled, and after receiving the search results of the second search request, continue to input "movie" ", if the pause time between the input of "electricity" and "movie" is less than 350 milliseconds, then the third search request will not be triggered, and the third search request will be triggered after the input of "movie" is completed, and the search results of the third search request will be received.
本发明实施例提供了一种即时搜索装置,应用于移动终端,参考图4所示,所述即时搜索装置包括:An embodiment of the present invention provides an instant search device, which is applied to a mobile terminal. Referring to FIG. 4, the instant search device includes:
文本接收单元201,用于接收用户输入在搜索输入框内的关键字文本;A text receiving unit 201, configured to receive the keyword text input by the user in the search input box;
第一监听单元202,用于监听所述搜索输入框内的关键字文本是否在第一预设时间间隔内未发生输入变化;The first monitoring unit 202 is configured to monitor whether the keyword text in the search input box has not been input changed within a first preset time interval;
第一搜索请求单元203,用于如果监听到所述搜索输入框内的关键字文本在所述第一预设时间间隔内未发生输入变化,向服务器发送针对所述搜索输入框内当前存在的关键字文本请求搜索结果的第一搜索请求。The first search request unit 203 is configured to send to the server the keyword text currently existing in the search input box if it is detected that the keyword text in the search input box has not been input changed within the first preset time interval. The keyword text requests the first search request for search results.
优选的,所述装置还包括:Preferably, the device also includes:
第二监听单元,用于在所述第一搜索请求处于发送过程中,监听所述搜索输入框内的关键字文本是否发生输入变化;The second monitoring unit is configured to monitor whether the keyword text in the search input box has been input changed during the sending process of the first search request;
第三监听单元,用于如果监听到所述搜索输入框内的关键字文本发生输入变化,监听变化后的关键字文本是否在第二预设时间间隔内未发生输入变化,否则接收所述第一搜索请求对应的搜索结果进行展示;The third monitoring unit is used to monitor whether the input change of the keyword text in the search input box has not occurred within the second preset time interval, otherwise, receive the first input change. Display the search results corresponding to a search request;
请求处理单元,用于如果所述变化后的关键字文本在所述第二预设时间间隔内未发生输入变化,取消所述第一搜索请求,并向所述服务器发送针对所述变化后的关键字文本请求搜索结果的第二搜索请求,否则接收所述第一搜索请求对应的搜索结果进行展示。A request processing unit, configured to cancel the first search request if the changed keyword text has not been input changed within the second preset time interval, and send the changed keyword text to the server. The keyword text requests the second search request of the search result, otherwise, the search result corresponding to the first search request is received and displayed.
优选的,所述装置还包括:Preferably, the device also includes:
搜索结果接收单元,用于接收所述第二搜索请求对应的搜索结果;a search result receiving unit, configured to receive a search result corresponding to the second search request;
展示单元,用于对所述第二搜索请求对应的搜索结果进行展示。A display unit, configured to display the search results corresponding to the second search request.
优选的,所述第一监听单元,包括:Preferably, the first listening unit includes:
绑定监听子单元,通过绑定组件监听所述搜索输入框内的关键字文本是否在所述第一预设时间间隔内未发生输入变化。The binding monitoring subunit monitors whether the keyword text in the search input box has not been input changed within the first preset time interval through the binding component.
优选的,所述绑定监听子单元,具体用于:Preferably, the binding monitoring subunit is specifically used for:
步骤a、通过去抖操作符接收所述第一预设时间间隔为参数;Step a, receiving the first preset time interval as a parameter through a debounce operator;
步骤b、调用所述去抖操作符进行判断所述搜索输入框内的关键字文本是否在所述第一预设时间间隔内发生输入变化;Step b, calling the debounce operator to determine whether the keyword text in the search input box has been input changed within the first preset time interval;
步骤c、如果所述搜索输入框内的关键字文本在所述第一预设时间间隔内发生输入变化,刷新所述去抖操作符内的计时后返回所述步骤b,否则通过所述去抖操作符返回所述搜索输入框内当前存在的关键字文本,使得所述绑定组件监听到所述搜索输入框内的关键字文本在所述第一预设时间间隔内未发生输入变化。Step c. If the keyword text in the search input box changes within the first preset time interval, refresh the timing in the debounce operator and return to step b, otherwise, pass the debounce The shake operator returns the keyword text currently existing in the search input box, so that the binding component detects that the keyword text in the search input box has not been input changed within the first preset time interval.
优选的,所述第一搜索请求单元203,具体用于:Preferably, the first search request unit 203 is specifically used for:
通过异步向所述服务器发送针对所述搜索输入框内的关键字文本请求搜索结果的第一搜索请求。A first search request for requesting search results for the keyword text in the search input box is sent to the server asynchronously.
优选的,所述第三监听单元,具体用于:Preferably, the third listening unit is specifically used for:
通过调用转换操作符,向所述服务器发送针对所述变化后的编辑文本请求搜索结果的第二搜索请求。A second search request requesting search results for the changed edited text is sent to the server by invoking a conversion operator.
由于本发明实施例所介绍的装置为实施本发明即时搜索方法实施例所采用,故而基于前述实施例所介绍的即时搜索方法,本领域所属人员能够了解该设备的具体结构及变形,故而在此不再赘述。凡是实施本发明即时搜索方法实施例的方法所采用的装置都属于本发明所欲保护的范围。Since the device introduced in the embodiment of the present invention is used to implement the instant search method embodiment of the present invention, based on the instant search method introduced in the foregoing embodiments, those skilled in the art can understand the specific structure and deformation of the device, so here No longer. All devices used to implement the method of the embodiment of the instant search method of the present invention belong to the intended protection scope of the present invention.
本发明实施例中提供的一个或多个技术方案,至少具有如下技术效果或优点:One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will appreciate that although some embodiments herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. And form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的网关、代理服务器、系统中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components in the gateway, proxy server, and system according to the embodiments of the present invention. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611123458.1ACN106649640B (en) | 2016-12-08 | 2016-12-08 | A kind of real-time search method and device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611123458.1ACN106649640B (en) | 2016-12-08 | 2016-12-08 | A kind of real-time search method and device |
| Publication Number | Publication Date |
|---|---|
| CN106649640Atrue CN106649640A (en) | 2017-05-10 |
| CN106649640B CN106649640B (en) | 2020-05-12 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611123458.1AExpired - Fee RelatedCN106649640B (en) | 2016-12-08 | 2016-12-08 | A kind of real-time search method and device |
| Country | Link |
|---|---|
| CN (1) | CN106649640B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108063823A (en)* | 2017-12-21 | 2018-05-22 | 五八有限公司 | Data processing method, device, equipment and storage medium |
| WO2019033597A1 (en)* | 2017-08-16 | 2019-02-21 | 深圳市沃特沃德股份有限公司 | Vehicle-mounted system-based search method and apparatus |
| CN109948042A (en)* | 2017-12-08 | 2019-06-28 | 北京京东尚科信息技术有限公司 | Handle the method and system of the search operation of user |
| CN110069680A (en)* | 2019-04-28 | 2019-07-30 | 努比亚技术有限公司 | Search processing method, mobile terminal and computer readable storage medium |
| CN112163144A (en)* | 2020-09-29 | 2021-01-01 | 四川虹魔方网络科技有限公司 | Web front-end search optimization method |
| CN112199215A (en)* | 2020-10-13 | 2021-01-08 | 恒生电子股份有限公司 | Message processing method, device, equipment and storage medium |
| EP3816821A3 (en)* | 2020-09-25 | 2021-09-08 | Baidu International Technology (Shenzhen) Co., Ltd | Search method and apparatus, electronic device and storage medium |
| US11768907B2 (en) | 2020-09-25 | 2023-09-26 | Baidu International Technology (Shenzhen) Co., Ltd. | Search method, search device, electronic device and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100856477B1 (en)* | 2007-04-24 | 2008-09-04 | 이준호 | Search Portal Server System and Search Category Selection Service Using Continuous Press of Select Key in Mobile Search |
| CN102033911A (en)* | 2010-11-25 | 2011-04-27 | 北京搜狗科技发展有限公司 | Search preprocessing method and search preprocessor |
| CN105335415A (en)* | 2014-08-04 | 2016-02-17 | 北京搜狗科技发展有限公司 | Search method based on input prediction, and input method system |
| CN105677924A (en)* | 2016-03-29 | 2016-06-15 | 努比亚技术有限公司 | Data searching device and method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100856477B1 (en)* | 2007-04-24 | 2008-09-04 | 이준호 | Search Portal Server System and Search Category Selection Service Using Continuous Press of Select Key in Mobile Search |
| CN102033911A (en)* | 2010-11-25 | 2011-04-27 | 北京搜狗科技发展有限公司 | Search preprocessing method and search preprocessor |
| CN105335415A (en)* | 2014-08-04 | 2016-02-17 | 北京搜狗科技发展有限公司 | Search method based on input prediction, and input method system |
| CN105677924A (en)* | 2016-03-29 | 2016-06-15 | 努比亚技术有限公司 | Data searching device and method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019033597A1 (en)* | 2017-08-16 | 2019-02-21 | 深圳市沃特沃德股份有限公司 | Vehicle-mounted system-based search method and apparatus |
| CN109948042A (en)* | 2017-12-08 | 2019-06-28 | 北京京东尚科信息技术有限公司 | Handle the method and system of the search operation of user |
| CN108063823A (en)* | 2017-12-21 | 2018-05-22 | 五八有限公司 | Data processing method, device, equipment and storage medium |
| CN110069680A (en)* | 2019-04-28 | 2019-07-30 | 努比亚技术有限公司 | Search processing method, mobile terminal and computer readable storage medium |
| EP3816821A3 (en)* | 2020-09-25 | 2021-09-08 | Baidu International Technology (Shenzhen) Co., Ltd | Search method and apparatus, electronic device and storage medium |
| US11768907B2 (en) | 2020-09-25 | 2023-09-26 | Baidu International Technology (Shenzhen) Co., Ltd. | Search method, search device, electronic device and storage medium |
| CN112163144A (en)* | 2020-09-29 | 2021-01-01 | 四川虹魔方网络科技有限公司 | Web front-end search optimization method |
| CN112199215A (en)* | 2020-10-13 | 2021-01-08 | 恒生电子股份有限公司 | Message processing method, device, equipment and storage medium |
| CN112199215B (en)* | 2020-10-13 | 2024-01-19 | 恒生电子股份有限公司 | Message processing method, device, equipment and storage medium |
| Publication number | Publication date |
|---|---|
| CN106649640B (en) | 2020-05-12 |
| Publication | Publication Date | Title |
|---|---|---|
| CN106649640A (en) | Instant search method and device | |
| JP6571277B2 (en) | Method and apparatus for loading terminal application | |
| CN107277029B (en) | Remote procedure call method and device and computer equipment | |
| CN108536538A (en) | Processor core scheduling method and device, terminal and storage medium | |
| CN110008019B (en) | Method, device and system for sharing server resources | |
| US10506400B2 (en) | Data download method and apparatus | |
| CN110933075B (en) | Service calling method and device, electronic equipment and storage medium | |
| CN109033302A (en) | A kind of method for page jump, device, terminal and storage medium | |
| CN102752369A (en) | Providing method of television application service and virtualization content service platform | |
| CN105447092A (en) | Caching method and apparatus | |
| CN105554094A (en) | Method and device for data interaction | |
| CN105260421A (en) | Webpage loading method and apparatus | |
| CN105554085B (en) | A kind of dynamic timeout processing method and device based on server connection | |
| US20140108520A1 (en) | Method and system for seamless webpage browsing | |
| CN111294377B (en) | Dependency network request sending method, terminal device and storage medium | |
| CN115550354A (en) | Data processing method and device and computer readable storage medium | |
| CN106845270A (en) | A kind of seamless browsing method and device | |
| CN104375831B (en) | Realize the methods, devices and systems of the webpage and inter-application communication on terminal device | |
| CN105279452A (en) | Method, device and system for managing intelligent equipment | |
| CN114268653B (en) | Equipment calling method, device, equipment, medium and product | |
| CN108809763B (en) | Network performance parameter acquisition method, terminal device and storage medium | |
| CN109857963A (en) | Local resource access method, device and electronic equipment | |
| CN106789832B (en) | A data processing method, device and system during a call | |
| CN108196747A (en) | A kind of method and mobile terminal that application program is added in notifications column | |
| CN109218371B (en) | Method and equipment for calling data |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20200512 | |
| CF01 | Termination of patent right due to non-payment of annual fee |