CN105488218A - Method and device for loading waterfall flows based on search - Google Patents

Method and device for loading waterfall flows based on search Download PDF

Info

Publication number
CN105488218A
CN105488218A CN201510960373.8A CN201510960373A CN105488218A CN 105488218 A CN105488218 A CN 105488218A CN 201510960373 A CN201510960373 A CN 201510960373A CN 105488218 A CN105488218 A CN 105488218A
Authority
CN
China
Prior art keywords
waterfall stream
searching request
search
image data
waterfall
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510960373.8A
Other languages
Chinese (zh)
Inventor
王峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510960373.8A priority Critical patent/CN105488218A/en
Publication of CN105488218A publication Critical patent/CN105488218A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Abstract

The embodiment of the invention provides a method and a device for loading waterfall flows based on search. The method comprises the steps of sending an image data search request to a server in an electronic device; calling a waterfall flow loader to load multi-frame image data, which is found according to the search request, from the server; finding a waterfall flow renderer according to the generation environment of the search request; and calling the waterfall flow renderer to display the multi-frame image data on the search result page of the electronic device in a waterfall flow manner. According to the method provided by the embodiment of the invention, the coupling degree is reduced, and the single component is unitary in function, light in weight, and easy to maintain and iterate.

Description

A kind of method and apparatus of the loading waterfall stream based on search
Technical field
The present invention relates to the technical field of computer disposal, particularly relate to a kind of method of the loading waterfall stream based on search and a kind of device of the loading waterfall stream based on search.
Background technology
The fast development of network has brought people into information society and the age of Internet economy, and quantity of information also rapidly increases thereupon, all creates deep effect to the development of enterprise and personal lifestyle.
In the information of these magnanimity, contain a large amount of picture resources, such as, news picture group, shooting picture group etc.
In each large website, waterfall stream is the exhibition method of conventional wherein a kind of picture resource.
Waterfall stream, also known as waterfall-type layout, visual performance is uneven multicolumn layout, and along with page scroll bar rolls downwards, this layout also can constantly load data block and be attached to current tail.
At present, in a mobile device, normally realized the function of waterfall stream by a waterfall stream assembly, the degree of coupling is very high, is not easy to safeguard and iteration.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or a kind of method of the loading waterfall stream based on search solved the problem at least in part and a kind of device of loading waterfall stream based on searching for accordingly.
According to one aspect of the present invention, provide a kind of method of the loading waterfall stream based on search, comprising:
The searching request of view data is sent in the electronic device to server;
Call the multiple image data that waterfall stream loader loads from described server, searches according to described searching request;
Waterfall stream renderer is searched according to the build environment of described searching request;
Call waterfall stream renderer to be presented in the result of page searching of electronic equipment with the form of waterfall stream described multiple image data.
Alternatively, the described step sending the searching request of view data in the electronic device to server comprises:
When receiving search keyword in the electronic device, generate searching request based on described search keyword;
Described searching request is sent to server.
Alternatively, the described step sending the searching request of view data in the electronic device to server comprises:
When detecting that picture/mb-type is triggered in the electronic device, generate searching request based on described Photo channel;
Described searching request is sent to server.
Alternatively, call described in that waterfall stream loader loads from described server, the step of multiple image data of searching according to described searching request comprises:
Call waterfall stream loader load from described server, search according to described searching request, with the multiple image data of described search Keywords matching.
Alternatively, call described in that waterfall stream loader loads from described server, the step of multiple image data of searching according to described searching request comprises:
Call waterfall stream loader load from described server, search according to described searching request, the multiple image data that belong to described picture/mb-type.
Alternatively, call described in that waterfall stream loader loads from described server, the step of multiple image data of searching according to described searching request comprises:
Call waterfall stream loader, the multiple image data loading from described server according to the load mode preset, search according to described searching request;
Wherein, described load mode comprises following one or more:
Automatically load with during screen scroll, automatically load after manual loading, manual loading n time, m manual loading after loading automatically.
Alternatively, also comprise:
Calling data manager converts described multiple image data to unified form;
Calling data manager stores the multiple image data of format transformation conversion.
Alternatively, also comprise:
The view data repeated in described multiple image data removed by calling data manager.
Alternatively, the step that the described build environment according to described searching request searches waterfall stream renderer comprises:
When described searching request based on search keyword generate and search keyword be the word of specifying time, search rule waterfall stream renderer.
Alternatively, the step that the described build environment according to described searching request searches waterfall stream renderer comprises:
When described searching request based on search keyword generate and search keyword not for specify word time, search horizontal waterfall stream renderer.
Alternatively, the step that the described build environment according to described searching request searches waterfall stream renderer comprises:
When described searching request generates based on picture/mb-type, search row to waterfall stream renderer.
Alternatively, call waterfall stream renderer described in comprise the step that described multiple image data are presented in the result of page searching of electronic equipment with the form of waterfall stream:
Calling rule waterfall stream renderer arranges described multiple image data according to waterfall stream, the regular image data after arrangement is played up in the result of page searching of electronic equipment.
Alternatively, call waterfall stream renderer described in comprise the step that described multiple image data are presented in the result of page searching of electronic equipment with the form of waterfall stream:
Call horizontal waterfall stream renderer to arrange described multiple image data according to waterfall stream, the how horizontal view data after arrangement is played up in the result of page searching of electronic equipment.
Alternatively, call waterfall stream renderer described in comprise the step that described multiple image data are presented in the result of page searching of electronic equipment with the form of waterfall stream:
Call row to arrange described multiple image data according to waterfall stream to waterfall stream renderer, the multiple row view data after arrangement is played up in the result of page searching of electronic equipment.
Alternatively, call waterfall stream renderer described in also to comprise the step that described multiple image data are presented in the result of page searching of electronic equipment with the form of waterfall stream:
When the window size convergent-divergent of display view data being detected, calling waterfall stream renderer, according to the information of convergent-divergent, arrangement being re-started to described multiple image data.
Alternatively, call waterfall stream renderer described in also to comprise the step that described multiple image data are presented in the result of page searching of electronic equipment with the form of waterfall stream:
Call waterfall stream renderer and be hidden in view data outside result of page searching.
According to a further aspect in the invention, provide a kind of device of the loading waterfall stream based on search, comprising:
Searching request device, is suitable for the searching request sending view data in the electronic device to server;
Waterfall stream loader, is suitable for the multiple image data loading from described server, search according to described searching request;
Finger, is suitable for searching waterfall stream renderer according to the build environment of described searching request;
Waterfall stream renderer, is suitable for being presented in the result of page searching of electronic equipment with the form of waterfall stream described multiple image data.
Alternatively, described searching request device is also suitable for:
When receiving search keyword in the electronic device, generate searching request based on described search keyword;
Described searching request is sent to server.
Alternatively, described searching request device is also suitable for:
When detecting that picture/mb-type is triggered in the electronic device, generate searching request based on described Photo channel;
Described searching request is sent to server.
Alternatively, described waterfall stream loader is also suitable for:
Call waterfall stream loader load from described server, search according to described searching request, with the multiple image data of described search Keywords matching.
Alternatively, described waterfall stream loader is also suitable for:
Call waterfall stream loader load from described server, search according to described searching request, the multiple image data that belong to described picture/mb-type.
Alternatively, described waterfall stream loader is also suitable for:
Call waterfall stream loader, the multiple image data loading from described server according to the load mode preset, search according to described searching request;
Wherein, described load mode comprises following one or more:
Automatically load with during screen scroll, automatically load after manual loading, manual loading n time, m manual loading after loading automatically.
Alternatively, also comprise data management system, be suitable for:
Convert described multiple image data to unified form;
Store the multiple image data of format transformation conversion.
Alternatively, also comprise data management system, be suitable for:
Remove the view data repeated in described multiple image data.
Alternatively, described finger is also suitable for:
When described searching request based on search keyword generate and search keyword be the word of specifying time, search rule waterfall stream renderer.
Alternatively, described finger is also suitable for:
When described searching request based on search keyword generate and search keyword not for specify word time, search horizontal waterfall stream renderer.
Alternatively, described finger is also suitable for:
When described searching request generates based on picture/mb-type, search row to waterfall stream renderer.
Alternatively, described waterfall stream renderer comprises:
Rule waterfall stream renderer, is suitable for arranging described multiple image data according to waterfall stream, the regular image data after arrangement is played up in the result of page searching of electronic equipment.
Alternatively, described waterfall stream renderer comprises:
Horizontal waterfall stream renderer, is suitable for arranging described multiple image data according to waterfall stream, the how horizontal view data after arrangement is played up in the result of page searching of electronic equipment.
Alternatively, described waterfall stream renderer comprises:
Row, to waterfall stream renderer, are suitable for arranging described multiple image data according to waterfall stream, the multiple row view data after arrangement are played up in the result of page searching of electronic equipment.
Alternatively, described waterfall stream renderer is also suitable for:
When the window size convergent-divergent of display view data being detected, calling waterfall stream renderer, according to the information of convergent-divergent, arrangement being re-started to described multiple image data.
Alternatively, described waterfall stream renderer is also suitable for:
Call waterfall stream renderer and be hidden in view data outside result of page searching.
The function of waterfall stream is split into each assemblies such as waterfall stream loader, waterfall stream renderer, data management system by the embodiment of the present invention, reduces the degree of coupling, single component function singleness and lightweight, easy care and iteration.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of according to an embodiment of the invention flow chart of steps of embodiment of the method 1 of the loading waterfall stream based on search;
Fig. 2 shows a kind of according to an embodiment of the invention configuration diagram of waterfall stream assembly;
Fig. 3 shows a kind of according to an embodiment of the invention flow chart of steps of embodiment of the method 2 of the loading waterfall stream based on search;
Fig. 4 shows a kind of according to an embodiment of the invention structured flowchart of device embodiment 1 of the loading waterfall stream based on search; And
Fig. 5 shows a kind of according to an embodiment of the invention structured flowchart of device embodiment 2 of the loading waterfall stream based on search.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
With reference to Fig. 1, show a kind of according to an embodiment of the invention flow chart of steps of embodiment of the method 1 of the loading waterfall stream based on search, specifically can comprise the steps:
Step 101, sends the searching request of view data in the electronic device to server;
It should be noted that, the embodiment of the present invention can be applied in electronic equipment of various, such as, and PC, intelligent television etc.
The operating system of this mobile device can comprise Android (Android), IOS, Windows etc., can be provided with the application that can connect search engine, as the application, search engine client etc. of browser, built-in miniature browser.
In actual applications, request header information can be initiated searching request by HTTP (Hypertexttransferprotocol, HTTP) agreement to the server at search engine place by this application.
Such as, user can by initiating searching request for certain object search in the webpage of search engine, or at the search plug-in unit (plug-ins of browser, can by carrying out alternately, increasing function of search in a browser with browser, search engine etc.) etc. mode initiate searching request etc. for certain object search.
In embodiments of the present invention, as shown in Figure 2, the calling logic of two kinds of waterfall streams can be had.
In a kind of calling logic, object search is search keyword, namely searches for waterfall stream calling logic (search/waterfall_render.js, or, search/waterfall_render_emote.js).
Wherein, if during the word that search keyword is expression class etc. specifies, then search/waterfall_render_emote.js can be triggered, if when search keyword is other keywords except the word of specifying, then search/waterfall_render.js can be triggered.
In the manner in which, user can inputted search keyword, when receiving search keyword in the electronic device, generates searching request, searching request is sent to server, the view data that request server search is relevant to this search keyword based on search keyword.
In another kind of way of search, object search is picture/mb-type, i.e. channel waterfall stream calling logic (channel/waterfall_render.js).
In the manner in which, user can click picture/mb-type, as automobile, landscape, star etc., when detecting that picture/mb-type is triggered in the electronic device, generate searching request based on picture/mb-type, searching request is sent to server, and request server searches the view data belonging to this picture/mb-type.
If after the server of search engine receives searching request, according to this object search information that Rapid Detection is relevant in a database, view data can be obtained.
To search for keyword, relevant view data can be searched for based on modes such as inverted indexs.
The search routine of search engine is divided into two parts, and one is front end user request process, and two is that rear end makes data procedures.
One, front end user request process:
1. receive request: receive the search keyword that user inputs at search engine;
2. query word analysis: word segmentation processing is carried out to search keyword;
3. retrieve: according to word segmentation result, from the inverted index made in advance, search the webpage of the candidate relevant to word segmentation result;
4. sort: for the view data of candidate, sort according to content relevance, the dimension such as ageing.
Two, rear end makes data procedures:
1. webpage capture: adopt crawler technology, by the linking relationship between webpage, captures the view data of internet and preserves.
2. compilation of index: analyze the view data capturing preservation, such as, to title with introduce text and carry out word segmentation processing, makes inverted index, for front end user request process according to word segmentation result.
Step 102, calls the multiple image data that waterfall stream loader loads from described server, searches according to described searching request;
In embodiments of the present invention, as shown in Figure 2, waterfall stream loader (waterfall_loader.js) is independently assembly, for from server load image data.
For search waterfall stream calling logic (search/waterfall_render.js) and channel waterfall stream calling logic (channel/waterfall_render.js), waterfall stream loader (waterfall_loader.js) is common component.
Under http protocol, application can receive the document of HTML (HypertextMarkupLanguage, HTML (Hypertext Markup Language)) type from the server of search engine.
Application can resolve this html document, generates the object of tree structure, i.e. DOM (DocumentObjectModel, document dbject model), each node to liking on DOM, and these objects can represent the web page resources such as word, picture.
Application can start to show this html document, and obtains the address of wherein embedded web page resources, and then obtains these web page resources to server (as search engine) initiation request, and shows in the html document of application.
If searching request generates based on search keyword, then can call waterfall stream loader load from server, search according to searching request, with the multiple image data of this search Keywords matching.
If searching request generates based on picture/mb-type, then can call multiple image data that waterfall stream loader is searched from server loading, foundation searching request, that belong to this picture/mb-type.
For the load logic of self, waterfall stream loader can be called, the multiple image data loading from described server according to the load mode preset, search according to searching request;
Wherein, this load mode can comprise following one or more:
Automatically load with during screen scroll, automatically load after manual loading, manual loading n time, m manual loading after loading automatically.
Certainly, just exemplarily, when implementing the embodiment of the present invention, can arrange other load modes according to actual conditions, the embodiment of the present invention is not limited this above-mentioned load mode.In addition, except above-mentioned load mode, those skilled in the art can also adopt other load mode according to actual needs, and the embodiment of the present invention is not also limited this.
Step 103, searches waterfall stream renderer according to the build environment of described searching request;
In embodiments of the present invention, waterfall stream renderer is independently assembly, for the layout type of waterfall stream display view data.
In the electronic device, because different searching request characterizes different search intentions, for different Search Results, have and different play up mode, therefore, different waterfall stream renderers can be set for different searching request.
Relative to search waterfall stream calling logic (search/waterfall_render.js, or, search/waterfall_render_emote.js) and channel waterfall stream calling logic (channel/waterfall_render.js), arrange to waterfall stream renderer (waterfall_multiple_column.js) be independent assembly.
When searching request generates based on search keyword and search keyword is word (as the word of class of expressing one's feelings) of specifying, namely searching for waterfall stream calling logic is search/waterfall_render_emote.js, then can search rule waterfall stream renderer (waterfall_rectangle.js).
When searching request to generate based on search keyword and search keyword not for specify word (as the word of class of expressing one's feelings) time, namely searching for waterfall stream calling logic is search/waterfall_render.js, then can search horizontal waterfall stream renderer.
When searching request generates based on picture/mb-type, row can be searched to waterfall stream renderer (waterfall_multiple_column.js).
Step 104, calls waterfall stream renderer and is presented in the result of page searching of electronic equipment with the form of waterfall stream described multiple image data.
When playing up:
1, for regular waterfall stream renderer:
Calling rule waterfall stream renderer arranges multiple image data according to waterfall stream, the regular image data after arrangement is played up in the result of page searching of electronic equipment.
Wherein, when arranging, can specify frame in the middle of the horizontal stroke of the container of view data/row number, horizontal stroke/column pitch, horizontal stroke/row, horizontal stroke/row wide/highly etc.
And at row in waterfall stream, the view data in horizontal/row wide/height is consistent, can think horizontal waterfall stream, also can think that row are to waterfall stream.
2, for horizontal waterfall stream renderer:
Call horizontal waterfall stream renderer to arrange multiple image data according to waterfall stream, the how horizontal view data after arrangement is played up in the result of page searching of electronic equipment.
Wherein, when arranging, the horizontal number of the container of view data, horizontal spacing, horizontal middle frame, horizontal height etc. can be specified.
And at row in waterfall stream, the height of the view data in horizontal stroke is consistent, and width is not necessarily consistent.
3, for arranging to waterfall stream renderer:
Call row to arrange multiple image data according to waterfall stream to waterfall stream renderer, the multiple row view data after arrangement is played up in the result of page searching of electronic equipment.
Wherein, when arranging, frame, column width etc. in the middle of the row number of the container of view data, column pitch, row can be specified.
And at row in waterfall stream, the width of the view data in row is consistent, and length is not necessarily consistent.
It should be noted that, the view data shown in a vessel, can be a frame image data, and can be also one group of view data, the embodiment of the present invention not be limited this.
When the window size convergent-divergent of display view data being detected, calling waterfall stream renderer, according to the information of convergent-divergent, arrangement being re-started to multiple image data.
Wherein, this waterfall stream renderer can be regular waterfall stream renderer, horizontal waterfall stream renderer, arrange to waterfall stream renderer etc.
This window can result of page searching, namely show the window of all images data, change display rule etc. user and can change in situation, as formerly shown 3 row, window is comparatively large, is revised as now display 5 and arranges, window diminishes, and therefore, can re-start arrangement to view data.
This window can also be the window of single display view data, when user clicks certain view data, can amplify this view data, and window becomes large, can reset view data.
Certainly, when clicking certain view data, also can reload a full frame window and show this view data, do not need to reset, the embodiment of the present invention is not limited this.
In addition, be promote the performance of the page, call waterfall stream renderer and be hidden in view data outside result of page searching.
Wherein, this waterfall stream renderer can be regular waterfall stream renderer, horizontal waterfall stream renderer, arrange to waterfall stream renderer etc.
The function of waterfall stream is split into each assemblies such as waterfall stream loader, waterfall stream renderer, data management system by the embodiment of the present invention, reduces the degree of coupling, single component function singleness and lightweight, easy care and iteration.
With reference to Fig. 3, show a kind of according to an embodiment of the invention flow chart of steps of embodiment of the method 2 of the loading waterfall stream based on search, specifically can comprise the steps:
Step 301, sends the searching request of view data in the electronic device to server;
Step 302, calls the multiple image data that waterfall stream loader loads from described server, searches according to described searching request;
Step 303, searches waterfall stream renderer according to the build environment of described searching request;
Step 304, calls waterfall stream renderer and is presented in the result of page searching of electronic equipment to described multiple image data with the form of waterfall stream;
Step 305, calling data manager converts described multiple image data to unified form;
As shown in Figure 2, in embodiments of the present invention, data management system (data_manager.js) is an independently assembly, may be used for managing view data.
Relative to search waterfall stream calling logic (search/waterfall_render.js, or, search/waterfall_render_emote.js) and channel waterfall stream calling logic (channel/waterfall_render.js), data management system (data_manager.js) is common component.
The view data source searched due to search engine is comparatively wide, and its form may be more, as jpg, jpeg, png, gif, bmp etc.
For convenience of management, view data can be converted to unified form, as be converted to jpeg in search waterfall stream calling logic (search/waterfall_render.js), gif is converted to, to show dynamic expression etc. in search waterfall stream calling logic (search/waterfall_render_emote.js).
Step 306, calling data manager stores the multiple image data of format transformation conversion;
View data, after format transformation, can be carried out buffer memory, call time to be shown.
Step 307, the view data repeated in described multiple image data removed by calling data manager.
In embodiments of the present invention, unrepeatable field can be preset.
Therefore, this field can be installed re-scheduling process is carried out to multiple image data by calling data manager.
For embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not by the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action might not be that the embodiment of the present invention is necessary.
With reference to Fig. 4, show a kind of according to an embodiment of the invention structured flowchart of device embodiment 1 of the loading waterfall stream based on search, specifically can comprise as lower module:
Searching request device 401, is suitable for the searching request sending view data in the electronic device to server;
Waterfall stream loader 402, is suitable for the multiple image data loading from described server, search according to described searching request;
Finger 403, is suitable for searching waterfall stream renderer according to the build environment of described searching request;
Waterfall stream renderer 404, is suitable for being presented in the result of page searching of electronic equipment with the form of waterfall stream described multiple image data.
In a kind of embodiment of the present invention, described searching request device 401 can also be suitable for:
When receiving search keyword in the electronic device, generate searching request based on described search keyword;
Described searching request is sent to server.
In another kind of embodiment of the present invention, described searching request device 401 can also be suitable for:
When detecting that picture/mb-type is triggered in the electronic device, generate searching request based on described Photo channel;
Described searching request is sent to server.
In a kind of embodiment of the present invention, described waterfall stream loader 402 can also be suitable for:
Call waterfall stream loader load from described server, search according to described searching request, with the multiple image data of described search Keywords matching.
In another kind of embodiment of the present invention, described waterfall stream loader 402 can also be suitable for:
Call waterfall stream loader load from described server, search according to described searching request, the multiple image data that belong to described picture/mb-type.
In a kind of embodiment of the present invention, described waterfall stream loader 402 can also be suitable for:
Call waterfall stream loader, the multiple image data loading from described server according to the load mode preset, search according to described searching request;
Wherein, described load mode comprises following one or more:
Automatically load with during screen scroll, automatically load after manual loading, manual loading n time, m manual loading after loading automatically.
In a kind of embodiment of the present invention, described finger 403 can also be suitable for:
When described searching request based on search keyword generate and search keyword be the word of specifying time, search rule waterfall stream renderer.
In another kind of embodiment of the present invention, described finger 403 can also be suitable for:
When described searching request based on search keyword generate and search keyword not for specify word time, search horizontal waterfall stream renderer.
In another kind of embodiment of the present invention, described finger 403 can also be suitable for:
When described searching request generates based on picture/mb-type, search row to waterfall stream renderer.
In a kind of embodiment of the present invention, described waterfall stream renderer 404 can comprise:
Rule waterfall stream renderer, is suitable for arranging described multiple image data according to waterfall stream, the regular image data after arrangement is played up in the result of page searching of electronic equipment.
In another kind of embodiment of the present invention, described waterfall stream renderer 404 can comprise:
Horizontal waterfall stream renderer, is suitable for arranging described multiple image data according to waterfall stream, the how horizontal view data after arrangement is played up in the result of page searching of electronic equipment.
In another kind of embodiment of the present invention, described waterfall stream renderer 404 can comprise:
Row, to waterfall stream renderer, are suitable for arranging described multiple image data according to waterfall stream, the multiple row view data after arrangement are played up in the result of page searching of electronic equipment.
In a kind of embodiment of the present invention, described waterfall stream renderer 404 can also be suitable for:
When the window size convergent-divergent of display view data being detected, calling waterfall stream renderer, according to the information of convergent-divergent, arrangement being re-started to described multiple image data.
In a kind of embodiment of the present invention, described waterfall stream renderer 404 can also be suitable for:
Call waterfall stream renderer and be hidden in view data outside result of page searching.
With reference to Fig. 5, show a kind of according to an embodiment of the invention structured flowchart of device embodiment 2 of the loading waterfall stream based on search, specifically can comprise as lower module:
Searching request device 501, is suitable for the searching request sending view data in the electronic device to server;
Waterfall stream loader 502, is suitable for the multiple image data loading from described server, search according to described searching request;
Finger 503, is suitable for searching waterfall stream renderer according to the build environment of described searching request;
Waterfall stream renderer 504, is suitable for being presented in the result of page searching of electronic equipment with the form of waterfall stream described multiple image data.
Data management system 505, is suitable for:
Convert described multiple image data to unified form;
Store the multiple image data of format transformation conversion;
Remove the view data repeated in described multiple image data.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all functions of some or all parts in the equipment of the loading waterfall stream based on search of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.

Claims (10)

1., based on a method for the loading waterfall stream of search, comprising:
The searching request of view data is sent in the electronic device to server;
Call the multiple image data that waterfall stream loader loads from described server, searches according to described searching request;
Waterfall stream renderer is searched according to the build environment of described searching request;
Call waterfall stream renderer to be presented in the result of page searching of electronic equipment with the form of waterfall stream described multiple image data.
2. the method for claim 1, is characterized in that, the described step sending the searching request of view data in the electronic device to server comprises:
When receiving search keyword in the electronic device, generate searching request based on described search keyword;
Described searching request is sent to server.
3. the method as described in any one of claim 1-2, is characterized in that, the described step sending the searching request of view data in the electronic device to server comprises:
When detecting that picture/mb-type is triggered in the electronic device, generate searching request based on described Photo channel;
Described searching request is sent to server.
4. the method as described in any one of claim 1-3, is characterized in that, described in call that waterfall stream loader loads from described server, the step of multiple image data of searching according to described searching request comprises:
Call waterfall stream loader load from described server, search according to described searching request, with the multiple image data of described search Keywords matching.
5. the method as described in any one of claim 1-4, is characterized in that, described in call that waterfall stream loader loads from described server, the step of multiple image data of searching according to described searching request comprises:
Call waterfall stream loader load from described server, search according to described searching request, the multiple image data that belong to described picture/mb-type.
6. the method as described in any one of claim 1-5, is characterized in that, described in call that waterfall stream loader loads from described server, the step of multiple image data of searching according to described searching request comprises:
Call waterfall stream loader, the multiple image data loading from described server according to the load mode preset, search according to described searching request;
Wherein, described load mode comprises following one or more:
Automatically load with during screen scroll, automatically load after manual loading, manual loading n time, m manual loading after loading automatically.
7. the method as described in any one of claim 1-5, is characterized in that, also comprises:
Calling data manager converts described multiple image data to unified form;
Calling data manager stores the multiple image data of format transformation conversion.
8. the method as described in any one of claim 1-6, is characterized in that, also comprises:
The view data repeated in described multiple image data removed by calling data manager.
9. the method as described in any one of claim 1-8, is characterized in that, the step that the described build environment according to described searching request searches waterfall stream renderer comprises:
When described searching request based on search keyword generate and search keyword be the word of specifying time, search rule waterfall stream renderer.
10., based on a device for the loading waterfall stream of search, comprising:
Searching request device, is suitable for the searching request sending view data in the electronic device to server;
Waterfall stream loader, is suitable for the multiple image data loading from described server, search according to described searching request;
Finger, is suitable for searching waterfall stream renderer according to the build environment of described searching request;
Waterfall stream renderer, is suitable for being presented in the result of page searching of electronic equipment with the form of waterfall stream described multiple image data.
CN201510960373.8A 2015-12-18 2015-12-18 Method and device for loading waterfall flows based on search Pending CN105488218A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510960373.8A CN105488218A (en) 2015-12-18 2015-12-18 Method and device for loading waterfall flows based on search

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510960373.8A CN105488218A (en) 2015-12-18 2015-12-18 Method and device for loading waterfall flows based on search

Publications (1)

Publication Number Publication Date
CN105488218A true CN105488218A (en) 2016-04-13

Family

ID=55675193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510960373.8A Pending CN105488218A (en) 2015-12-18 2015-12-18 Method and device for loading waterfall flows based on search

Country Status (1)

Country Link
CN (1) CN105488218A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776890A (en) * 2016-11-29 2017-05-31 北京小米移动软件有限公司 The method of adjustment and device of video playback progress
CN107704598A (en) * 2017-10-13 2018-02-16 深圳视界信息技术有限公司 Waterfall-type webpage loading method, device, terminal and computer-readable recording medium
CN108228816A (en) * 2017-12-29 2018-06-29 北京奇虎科技有限公司 A kind of loading method and device of waterfall flow graph piece
CN111263200A (en) * 2020-01-16 2020-06-09 百途新媒体技术(北京)有限公司 System and method for visually arranging infinite loading waterfall flow page

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678497A (en) * 2013-11-18 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and system for adjusting browse display of search page
CN103678622A (en) * 2013-12-18 2014-03-26 百度在线网络技术(北京)有限公司 Method and device for dynamic rendering of waterfall-type picture
US20140324899A1 (en) * 2013-04-24 2014-10-30 Kitchology Inc. Enhanced food information management and presentation on a selective dynamic basis and associated services
CN105095259A (en) * 2014-05-08 2015-11-25 腾讯科技(北京)有限公司 Waterfall flow object display method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140324899A1 (en) * 2013-04-24 2014-10-30 Kitchology Inc. Enhanced food information management and presentation on a selective dynamic basis and associated services
CN103678497A (en) * 2013-11-18 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and system for adjusting browse display of search page
CN103678622A (en) * 2013-12-18 2014-03-26 百度在线网络技术(北京)有限公司 Method and device for dynamic rendering of waterfall-type picture
CN105095259A (en) * 2014-05-08 2015-11-25 腾讯科技(北京)有限公司 Waterfall flow object display method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
张泽娜: "《JavaScript实战 JavaScript、jQuery、HTML5、Node.js实例大全》", 31 August 2014, 清华大学出版社 *
杨传辉: "《大规模分布式存储系统原理解析与架构实战》", 30 September 2013, 机械工业出版社 *
薛四新: "《档案信息化应用系统建设》", 31 January 2006, 机械工业出版社 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776890A (en) * 2016-11-29 2017-05-31 北京小米移动软件有限公司 The method of adjustment and device of video playback progress
CN107704598A (en) * 2017-10-13 2018-02-16 深圳视界信息技术有限公司 Waterfall-type webpage loading method, device, terminal and computer-readable recording medium
CN108228816A (en) * 2017-12-29 2018-06-29 北京奇虎科技有限公司 A kind of loading method and device of waterfall flow graph piece
CN111263200A (en) * 2020-01-16 2020-06-09 百途新媒体技术(北京)有限公司 System and method for visually arranging infinite loading waterfall flow page

Similar Documents

Publication Publication Date Title
US10515142B2 (en) Method and apparatus for extracting webpage information
US20080282186A1 (en) Keyword generation system and method for online activity
CN104063454A (en) Search push method and device for mining user demands
CN105138312B (en) A kind of table generation method and device
US9053199B2 (en) Uniquely identifying script files by appending a unique identifier to a URL
CN104036011A (en) Webpage element display method and browser device.
CN103092941A (en) Method and device showing content on electronic equipment
US20160259630A1 (en) Systems, apparatus and methods for sharing visual model-based applications
CN110222251B (en) Service packaging method based on webpage segmentation and search algorithm
CN108959595B (en) Website construction and experience method and device based on virtual and reality
US11423096B2 (en) Method and apparatus for outputting information
CN105488218A (en) Method and device for loading waterfall flows based on search
CN103020239A (en) Web searching method and device
RU2568276C2 (en) Method of extracting useful content from mobile application setup files for further computer data processing, particularly search
CN103617241A (en) Search information processing method, browser terminal and server
CN103617390A (en) Malicious webpage judgment method, device and system
CN103605696A (en) Method and device for acquiring audio-video file addresses
CN102902784B (en) Web page classification storage system and method
CN110309386B (en) Method and device for crawling web page
CN102193798A (en) Method for automatically acquiring Open application programming interface (API) based on Internet
CN110955855B (en) Information interception method, device and terminal
CN105373632A (en) Method and device for loading waterfall flow based on mobile search
CN103530385A (en) Method and device for searching for information based on vertical searching channels
CN105630310A (en) Method and device for displaying titles during graph group switching
US20150312314A1 (en) Method and system for application loading

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160413