CN105095525A - Method and device for acquiring web page data - Google Patents

Method and device for acquiring web page data Download PDF

Info

Publication number
CN105095525A
CN105095525A CN201510629755.2A CN201510629755A CN105095525A CN 105095525 A CN105095525 A CN 105095525A CN 201510629755 A CN201510629755 A CN 201510629755A CN 105095525 A CN105095525 A CN 105095525A
Authority
CN
China
Prior art keywords
page
info
information
markup information
transparent
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
CN201510629755.2A
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 CN201510629755.2A priority Critical patent/CN105095525A/en
Publication of CN105095525A publication Critical patent/CN105095525A/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/951Indexing; Web crawling techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a device for acquiring web page data, relates to the technical field of the internet, and mainly aims to acquire richer data information on a web page through one-time inquiry and improve the richness of searching information. According to the main technical scheme, the method comprises the following steps: input search key words are acquired; page information corresponding to the key words and labeling information in the corresponding page of the page information in are acquired, wherein the labeling information is data information input in the corresponding page of the page information by a web surfer, the data information is input in the corresponding page of the page information through an input interface and comprises data content and a display position of the data content in the corresponding page of the page information; the corresponding page of the page information is loaded in a browser; labeling information is displayed in the corresponding page of the page information according to the display position of the corresponding page of the page information. The method is mainly used in a page information inquiring process.

Description

Obtain method and the device of webpage data
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of method and the device that obtain webpage data.
Background technology
Along with the development of internet, people are more and more accustomed to obtaining daily life work information needed by internet, seem particularly outstanding in the process particularly obtained at data check or news information.At present, people are when obtaining related data or news information, be generally in the current interface of browser input want the keyword of obtaining information and search for, just a lot of bar Search Results relevant to this keyword can be searched, this Search Results shows in Webpage, so that viewer checks.
The mode of this kind of obtaining information easily and fast, accurately.The content and form of the Search Results in the result of page searching obtained by browser at present is all internet information spreading substantially, and person writes, and content and form is all more single, and Search Results compares limitation.
Summary of the invention
In view of this, a kind of method and device obtaining webpage data provided by the invention, fundamental purpose is that one query obtains abundanter data message in Webpage, improves the rich of retrieving information.
For achieving the above object, the invention provides following technical scheme:
On the one hand, the invention provides a kind of method obtaining webpage data, comprising:
Obtain the search key of input;
Obtain the markup information in the page info corresponding with described key word and the corresponding page of page info, described markup information is the data message that viewer inputs in the corresponding page of page info, this data message is inputted in the corresponding page of page info by input interface, and it comprises data content and the display position of described data content on the corresponding page of page info;
Corresponding for the described page info page is loaded in a browser;
According to the display position on the corresponding page of page info, described markup information is shown in the corresponding page of page info.
On the other hand, the invention provides a kind of device obtaining webpage data, comprising:
First acquiring unit, for obtaining the search key of input;
Second acquisition unit, for obtaining the markup information in the page info corresponding with described key word and the corresponding page of page info, described markup information is the data message that viewer inputs in the corresponding page of page info, this data message is inputted in the corresponding page of page info by input interface, and it comprises data content and the display position of described data content on the corresponding page of page info;
First loading unit, for loading corresponding for the described page info page in a browser;
Display unit, for showing described markup information according to the display position on the corresponding page of page info in the corresponding page of page info.
Net provided by the invention obtains method and the device of webpage data, can according to the key word of input, the markup information that the acquisition page info corresponding with this key word and before page browsing person are inputted by page input interface, and this page info and markup information are shown to this viewer, such viewer is when according to key search page info, other data messages that can view Search Results simultaneously and match with search key, enrich page display content, viewer can check that (acquisition) is to more information, improve the rich of retrieving information.
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 process flow diagram obtaining the method for webpage data that the embodiment of the present invention provides;
The another kind that Fig. 2 shows the embodiment of the present invention to be provided obtains the process flow diagram of the method for webpage data;
Fig. 3 shows a kind of process flow diagram obtaining the method for webpage data that the embodiment of the present invention provides;
Fig. 4 shows a kind of composition frame chart obtaining webpage data device that the embodiment of the present invention provides;
Fig. 5 shows a kind of composition frame chart obtaining webpage data device that the embodiment of the present invention provides;
The another kind that Fig. 6 shows the embodiment of the present invention to be provided obtains the composition frame chart of webpage data device;
The another kind that Fig. 7 shows the embodiment of the present invention to be provided obtains the composition frame chart of webpage data device;
The another kind that Fig. 8 shows the embodiment of the present invention to be provided obtains the composition frame chart of webpage data device;
The another kind that Fig. 9 shows the embodiment of the present invention to be provided obtains the composition frame chart of webpage data device.
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.
The embodiment of the present invention provides a kind of webpage data disposal route, and as shown in Figure 1, the method comprises:
101, the search key of input is obtained.
Browser is when obtaining the search key of input, and can obtain this search key by the setting interface arranged, this search key can include but are not limited to the keyword that user obtains page info.
102, the markup information in the page info corresponding with described key word and the corresponding page of page info is obtained, described markup information is the data message that viewer inputs in the corresponding page of page info, this data message is inputted in the corresponding page of page info by input interface, and it comprises data content and the display position of described data content on the corresponding page of page info.
The page shown in a browser is generally not editable, if realize the editor of related content in the page shown, such as add data content, data content can but be not limited to following content: comment information, label information, tells groove information, link address etc., the concrete embodiment of the present invention does not limit this, and any page browsing person wants that the information inputted can.Its needs add editable interface in the page, and the embodiment of the present invention adds input interface in browser current page recto, such as input frame etc., to be supported in browser current label page the data content receiving viewer's input.
When adding this input interface, can add in the corresponding page of page info, also can increase in other additional pages, the concrete embodiment of the present invention does not limit this.When increasing input interface in the annex page, this additional pages can be an independently page, the background of this independently page is transparent, its size can be consistent with the page size of current label page, on the page covering described current label page, such as, this additional pages is transparent page.Because the described independently page is transparent, therefore the content in the corresponding page of viewer's browsing pages information can not be affected.When adding in the corresponding page of page info, adding the markup information generated can take transparent background as information carrier, also can take opaque background as information carrier, the concrete embodiment of the present invention does not limit this, when taking opaque background as information carrier, this markup information can be labeled in the blank position in the corresponding page of page info.
In the embodiment of the present invention, the positional information that described data content is corresponding can include but are not limited to information feasible as follows: described positional information is concrete coordinate figure, e.g., and coordinate (x, y).
103, corresponding for the described page info page is loaded in a browser.
104, according to the display position on the corresponding page of page info, described markup information is shown in the corresponding page of page info.
When described markup information being shown in the corresponding page of page info according to the display position on the corresponding page of page info, can by playing the display display of window, also can show in other way, the concrete embodiment of the present invention does not show this.This markup information can be Word message, and can be also pictorial information, the concrete embodiment of the present invention limit this.
In the embodiment of the present invention, can according to the key word of input, the markup information that the acquisition page info corresponding with this key word and before page browsing person are inputted by page input interface, and this page info and markup information are shown to this viewer, such viewer is when according to key search page info, other data messages that can view Search Results simultaneously and match with search key, enrich page display content, viewer can check that (acquisition) is to more information, improves the rich of retrieving information.
In yet another embodiment of the present invention, before obtaining the markup information in the page info corresponding with described key word and the corresponding page of page info, also need to generate the markup information in the corresponding page of page info, and described markup information is preserved.Wherein, when preserving this markup information, this markup information can be kept at browser this locality, also can cloud server be sent to preserve this markup information, concrete, the embodiment of the present invention limit this.
Wherein, when generating the markup information in the corresponding page of page info, can pass through but be not limited to following mode to realize, the method comprises:
1, the data content inputted in the corresponding page of page info by input interface is obtained.
When obtaining the data content inputted in the corresponding page of page info by input interface, can pass through but be not limited to following method to realize, the method comprises:
Obtain the data content inputted in the corresponding page of page info by the input interface on transparent page, described transparent page is can edit page, and it covers the page on the browser current label page page, and its size is identical with the described current label page page.
Or obtain the data content inputted in described browser current label page by the input interface on the corresponding page of page info.
2, the markup information of the corresponding page of described page info is generated according to the positional information of described data content and described data content.
Wherein, when generating markup information, the generation of markup information can be carried out according to the type of data content, also the generation of corresponding markup information can be carried out according to the concrete form showing markup information in the page, such as, when showing beacon information pop-up box, the markup information of generation and will need the positional information of display to generate according to the size of corresponding pop-up box.
When markup information is shown, can be shown in the corresponding page of described page info by transparent page, also can directly show in the corresponding page of described page info.When carrying out the query display of relevant markup information, can carry out according to real needs, the concrete embodiment of the present invention does not limit this.
The present invention also provides a kind of method obtaining webpage data by embodiment, and this embodiment, with by transparent page display page data instance, is specifically set forth and obtained webpage data.As shown in Figure 2, the method comprises:
201, browser obtains the search key of input.
Wherein, can with reference to the associated description in 101 about the associated description obtaining search key, the embodiment of the present invention will repeat no more herein.
202, browser obtains the markup information in the page info corresponding with described key word and the corresponding page of page info, described markup information is the data message that viewer inputs in the corresponding page of page info, this data message is inputted in the corresponding page of page info by input interface, and it comprises data content and the display position of described data content on the corresponding page of page info.
In the embodiment of the present invention, described positional information is the area information of the described data content of instruction in described transparent page, as, described transparent page can be considered as multiple region (as, 01-03 amounts to three regions), described set position information can be then concrete area information, e.g., indicates the information in 01 region.Preferably, described positional information may be used for indicating and play up after the setting loading position of described data content in described transparent page.
203, browser obtains the transparent page that the page corresponding to described page info matches.
In embodiments of the present invention, obtain the transparent page that the page corresponding to described page info matches, can pass through but be not limited to following method to realize, the method is specially:
The first, according to the transparent page that the newly-built page corresponding to described page info of attribute information of the corresponding page of described page info matches, described attribute information is page structure, size information.Here it should be noted that, the transparent page of this new establishment will be carried on the corresponding page of page info, viewer does not see when browsing and with the addition of the independently page, therefore needs when creating to create according to the information such as page structure, size of the corresponding page of page info.
The second, according to the binding relationship between the described current label page that the prestores transparent page corresponding with described current label page, obtain the described transparent page matched with described current label page, namely according to the attribute information of the corresponding page of described page info, inquiry transparent page database, obtains the transparent page that the page corresponding to described page info matches.
Such as, browser can generate a new transparent page (e.g., the DIV layer based on CSS definition) before the current label page loads, and loads on the page of described current label page.Again such as, when described current label page be not open first time (as, described current label page is the Shipping Options Page Tab1 in browser, again the Tab1 of described current label page correspondence is returned from other Tab page layout switch), except can newly-built one correspond to described current label page transparent page except, according to the binding relationship between the described current label page that the prestores transparent page corresponding with described current label page, the described transparent page matched with described current label page can also be obtained.
It should be noted that, binding relationship between the transparent page that the described described current label page prestored is corresponding with described current label page can generate in accordance with the following steps in advance: browser, when generating new transparent page for the described current label page, can be set up the binding relationship between the described transparent page of generation and corresponding described current label page and preserve.Such as, described binding relationship can be preserved in the buffer, when needed can the direct corresponding transparent page of quick calling from buffer memory; Further, when browser is restarted, then buffer memory can be emptied, releasing resource and space.
In the present embodiment, the described transparent page that any one suitable mode generates can be adopted.Such as, a kind of feasible generating mode can be as follows: described transparent page is considered as a DIV (Division, the position of cascading style table unit and level) layer, by Cascading Style Sheet CSS (CascadingStyleSheets) define described DIV layer Show Styles (as, background transparent, is carried in the first-class of the page of current label page).Certainly, those skilled in the art should understand, Javascript or other language suitable arbitrarily also can be adopted to define and generate described transparent page, and the present embodiment is not restricted this.
204, corresponding for the described page info page is loaded in a browser.
205, browser loads described transparent page on the corresponding page of the page info of browser.
Further, those skilled in the art should understand, browser can but be not limited only on the page of all Shipping Options Pages, load described transparent page.In order to avoid the wasting of resources, before loading transparent page, described current label page can be judged, to determine whether described current label page meets the condition loading transparent page, when described current label page meets loading environment, just perform above-mentioned steps 205.
Wherein, a kind of feasible ground judges whether that the mode performing above-mentioned steps 205 can be as follows: according to the attribute information of described current label page, browser judges whether described current label page meets the page that can carry out transparent page loading; If meet, then perform above-mentioned steps 205, otherwise, process ends.
Preferably, the attribute information of described current label page can include but are not limited to: the URL(uniform resource locator) url (UniformResourceLocator) of described current label page correspondence.Concrete, obtain the corresponding URL(uniform resource locator) of described current label page; According to the described URL(uniform resource locator) obtained, determine that whether the corresponding page of described current label page is the page of default carried out transparent page loading; If determine, the corresponding page of described current label page is the page of default carried out transparent page loading, then perform and load described transparent page on the corresponding page of the current label page of browser.
Wherein, the url of described current label page correspondence can be the first URL(uniform resource locator) that above-mentioned browser obtains from the address field of described current label page correspondence; And/or, the second URL(uniform resource locator) obtained from the title block of described current label page correspondence.Preferably, browser can judge according to described first URL(uniform resource locator).Such as, browser judges whether described first URL(uniform resource locator) matches with the url of the page of the carried out transparent page loading preset, if coupling, then determines that described current label page can carry out the page of transparent page loading.Or browser judges whether described second URL(uniform resource locator) matches with the url of the page of the carried out transparent page loading preset, if coupling, then determines that described current label page can carry out the page of transparent page loading.Or, browser judges whether described first URL(uniform resource locator) and described second URL(uniform resource locator) match with the url of the page of the carried out transparent page loading preset, if the first URL(uniform resource locator) and described second URL(uniform resource locator) all match with the url of the page of described default carried out transparent page loading, then determine that described current label page can carry out the page of transparent page loading.
It should be noted that, the url of the page of described default carried out transparent page loading can include but are not limited to: setting search address.Wherein, described setting search address may be used for indicating described current label page to be searched page.Such as, " https: //www.xxxx.com/s? wd=ABC=* ", " http://www.xxxx.com/s? q=ABC=* " etc. all with described setting search matching addresses.Those skilled in the art should understand, can adopt any one suitable mode determine described first URL(uniform resource locator) and/or described second URL(uniform resource locator) whether with described setting search matching addresses.Certainly, the url of the page of described default carried out transparent page loading is not limited only to comprise setting search address, such as, the url of the page of described default carried out transparent page loading can also comprise: be used to indicate the address that current label page is the mhkc page or other any suitably pages such as forum page or microblog page.
206, according to the display position on the corresponding page of page info, described markup information is carried on the relevant position of described transparent page.
207, the transparent page being loaded with described markup information is presented on the corresponding page of described page info.
In the embodiment of the present invention, can according to the key word of input, the markup information that the acquisition page info corresponding with this key word and before page browsing person are inputted by page input interface, and this page info and markup information are shown to this viewer, such viewer is when according to key search page info, other data messages that can view Search Results simultaneously and match with search key, enrich page display content, viewer can check that (acquisition) is to more information, improves the rich of retrieving information.
And, in the embodiment of the present invention, after the transparent page that the acquisition page corresponding to described page info matches, according to the URL(uniform resource locator) of current label page correspondence, determining that whether the corresponding page of described page info is the page of default carried out transparent page loading, when determining to carry out the page of transparent page loading, just on the corresponding page of the page info of browser, loading described transparent page, avoid invalid loading, improve the efficiency that the page loads.
The embodiment of the present invention also provides a kind of method obtaining webpage data, and the embodiment of the present invention, directly to carry out showing markup information in order to be specifically described in the corresponding page of described page info, as shown in Figure 3, comprising:
301, the search key of input is obtained.
Wherein, can with reference to the associated description in 101 about the associated description obtaining search key, the embodiment of the present invention will repeat no more herein.
302, the markup information in the page info corresponding with described key word and the corresponding page of page info is obtained, described markup information is the data message that viewer inputs in the corresponding page of page info, this data message is inputted in the corresponding page of page info by input interface, and it comprises data content and the display position of described data content on the corresponding page of page info
303, according to the positional information of described data content, described markup information is loaded into the corresponding page correspondence position of described page info.
304, on described correspondence position, described markup information is shown.
In the embodiment of the present invention, leading to can according to the key word of input, the markup information that the acquisition page info corresponding with this key word and before page browsing person are inputted by page input interface, and this page info and markup information are shown to this viewer, such viewer is when according to key search page info, other data messages that can view Search Results simultaneously and match with search key, enrich page display content, viewer can check that (acquisition) is to more information, improves the rich of retrieving information.
In another embodiment of the present invention, browser, after acquisition markup information, can be played up markup information, and shows in the corresponding page of page info.Wherein, this is played up and can carry out in browser side, also can carry out on other equipment.When obtaining the markup information after playing up, can play up markup information according to preset rules in browser side, also can accept the markup information played up that outside sends, the concrete embodiment of the present invention does not limit this.
Form that what the described markup information after playing up showed in the corresponding page of page info specifically represent can include but are not limited to and severally as follows represent form:
Such as, the markup information after playing up can show in the corresponding page of page info with the form playing window: described bullet window is carried in the corresponding position in the corresponding page of page info, and described data content is carried in described bullet window and shows.This corresponding position, the position of data content can be inputted for viewer, also can be redefine subsequently through moving and/or pull described bullet window the display position playing window, in addition, viewer can also edit described bullet window, as, the data message shown in described bullet window replied, comments on, put and praise, forward and close described bullet window etc.
Again such as, markup information after playing up also can be presented in the corresponding page of page info with the form of picture and show in described transparent page: described picture is carried in the corresponding position in the corresponding page of page info, and described data message is carried in described picture and shows.Usually, the background color of described picture nontransparent (e.g., white, black, yellow etc.).
In another embodiment of the present invention, the described markup information generated can also be kept at this locality, and/or, the described markup information generated is sent to cloud server by the setting interface of browser and preserves, so that follow-up use.
It should be noted that further, in the embodiment of the present invention when the markup information obtained is many, when being shown in the corresponding page of page info by described markup information according to the display position on the corresponding page of page info, obtain the display position on the corresponding page of page info of described many markup informations respectively; Respectively described many markup informations are presented on the corresponding page of page info according to described display position.
Particularly when together described display position exists many markup informations, the method also comprises:
According to the markup information rise time, described markup information is sorted; Can according to time sequencing by corresponding markup information list view around display position; Also can according to time sequencing by corresponding markup information in the stacked display in display position place.When according to time sequencing by corresponding markup information around display position during list view, or arranged counterclockwise display clockwise around described display position can be adopted, or adopt order list view from left to right or from right to left, the concrete embodiment of the present invention does not limit this.
The embodiment of the present invention also provides a kind of device obtaining webpage data, and this device can be browser, and as shown in Figure 4, this device comprises:
First acquiring unit 41, for obtaining the search key of input.
Second acquisition unit 42, for obtaining the markup information in the page info corresponding with described key word and the corresponding page of page info, described markup information is the data message that viewer inputs in the corresponding page of page info, this data message is inputted in the corresponding page of page info by input interface, and it comprises data content and the display position of described data content on the corresponding page of page info.
First loading unit 43, for loading corresponding for the described page info page in a browser.
Display unit 44, for showing described markup information according to the display position on the corresponding page of page info in the corresponding page of page info.
Further, as shown in Figure 5, this device also comprises:
Generation unit 45, for generating the markup information in the corresponding page of page info; Wherein, described generation unit 45 also comprises:
Acquisition module 451, for obtaining the data content inputted in the corresponding page of page info by input interface; Wherein, described acquisition module 451 is when obtaining the data content inputted in the corresponding page of page info by input interface, the data content inputted in the corresponding page of page info by the input interface on transparent page can be obtained, described transparent page is can edit page, it covers the page on the browser current label page page, and its size is identical with the described current label page page; Or obtain the data content inputted in described browser current label page by the input interface on the corresponding page of page info, concrete, the embodiment of the present invention does not limit this.
Generation module 452, for generating the markup information of the corresponding page of described page info according to the positional information of described data content and described data content.
Storage unit 46, for preserving described markup information.
When markup information is shown, can be shown in the corresponding page of described page info by transparent page, also can directly show in the corresponding page of described page info.When carrying out the query display of relevant markup information, can carry out according to real needs, the concrete embodiment of the present invention does not limit this.When being shown in the corresponding page of described page info by transparent page by markup information, as shown in Figure 6, described display unit 44 comprises:
First load-on module 441, for according to the display position on the corresponding page of page info, described markup information is carried on the relevant position of described transparent page, described transparent page is can edit page, it covers the page on the browser current label page page, and its size is identical with the described current label page page.
First display module 442, for being presented at the transparent page being loaded with described markup information on the corresponding page of described page info.
Further, as shown in Figure 7, this device also comprises:
3rd acquiring unit 47, for at described first display module 442 according to the display position on the corresponding page of page info, before on the relevant position described markup information being carried in described transparent page, obtain the transparent page that the page corresponding to described page info matches.Wherein, described 3rd acquiring unit 47 comprises:
Creation module 471, for the transparent page matched according to the newly-built page corresponding to described page info of attribute information of the corresponding page of described page info, described attribute information is page structure, size information;
And/or enquiry module 472, for the attribute information according to the corresponding page of described page info, inquiry transparent page database, obtains the transparent page that the page corresponding to described page info matches.
Second loading unit 48, for loading described transparent page on the corresponding page of the page info of browser.
Further, when directly being shown by markup information in the corresponding page of described page info, as shown in Figure 8, described display unit 44 comprises:
Second load-on module 443, is loaded into the corresponding page correspondence position of described page info for the positional information according to described data content by described markup information.
Second display module 444, for showing described markup information on described correspondence position.
Further, described display unit 44 also for, when the markup information obtained is many, obtain the display position on the corresponding page of page info of described many markup informations respectively; Respectively described many markup informations are presented on the corresponding page of page info according to described display position.Particularly when together described display position exists many markup informations, also comprise: according to the markup information rise time, described markup information is sorted; Can according to time sequencing by corresponding markup information list view around display position; Also can according to time sequencing by corresponding markup information in the stacked display in display position place.When according to time sequencing by corresponding markup information around display position during list view, or arranged counterclockwise display clockwise around described display position can be adopted, or adopt order list view from left to right or from right to left, the concrete embodiment of the present invention does not limit this.
Further, after acquisition markup information, as shown in Figure 9, this device also comprises:
Rendering unit 49, for playing up described markup information;
Described display unit 44 also for, according to the display position on the corresponding page of page info, the markup information after playing up is shown in the corresponding page of described page info.
The associated description of correlation function and module in the embodiment of the present invention, please refer to the description in embodiment of the method, and the embodiment of the present invention will repeat no more herein.
In the embodiment of the present invention, can according to the key word of input, the markup information that the acquisition page info corresponding with this key word and before page browsing person are inputted by page input interface, and this page info and markup information are shown to this viewer, such viewer is when according to key search page info, other data messages that can view Search Results simultaneously and match with search key, enrich page display content, viewer can check that (acquisition) is to more information, improves the rich of retrieving information.
And, in the embodiment of the present invention, after the transparent page that the acquisition page corresponding to described page info matches, according to the URL(uniform resource locator) of current label page correspondence, determining that whether the corresponding page of described page info is the page of default carried out transparent page loading, when determining to carry out the page of transparent page loading, just on the corresponding page of the page info of browser, loading described transparent page, avoid invalid loading, improve the efficiency that the page loads.
The present invention open A1, a kind of method obtaining webpage data, comprising:
Obtain the search key of input;
Obtain the markup information in the page info corresponding with described key word and the corresponding page of page info, described markup information is the data message that viewer inputs in the corresponding page of page info, this data message is inputted in the corresponding page of page info by input interface, and it comprises data content and the display position of described data content on the corresponding page of page info;
Corresponding for the described page info page is loaded in a browser;
According to the display position on the corresponding page of page info, described markup information is shown in the corresponding page of page info.
A2, method as described in A1, before obtaining the markup information in the page info corresponding with described key word and the corresponding page of page info, also comprise:
Generate the markup information in the corresponding page of page info, and described markup information is preserved.
A3, method as described in A2, the markup information generated in the corresponding page of page info comprises:
Obtain the data content inputted in the corresponding page of page info by input interface;
The markup information of the corresponding page of described page info is generated according to the positional information of described data content and described data content.
A4, method as described in A3, obtain the data content inputted in the corresponding page of page info by input interface;
Obtain the data content inputted in the corresponding page of page info by the input interface on transparent page, described transparent page is can edit page, and it covers the page on the browser current label page page, and its size is identical with the described current label page page;
Or obtain the data content inputted in described browser current label page by the input interface on the corresponding page of page info.
A5, method as described in A1, to show described markup information according to the display position on the corresponding page of page info and comprise in the corresponding page of page info:
According to the display position on the corresponding page of page info, described markup information is carried on the relevant position of described transparent page, described transparent page is can edit page, and it covers the page on the browser current label page page, and its size is identical with the described current label page page;
The transparent page being loaded with described markup information is presented on the corresponding page of described page info.
A6, method as described in A5, according to the display position on the corresponding page of page info, before on the relevant position described markup information being carried in described transparent page, also comprise:
Obtain the transparent page that the page corresponding to described page info matches;
Described transparent page is loaded on the corresponding page of page info.
A7, method as described in A6, obtain the transparent page that the page corresponding to described page info match and comprise:
According to the transparent page that the newly-built page corresponding to described page info of attribute information of the corresponding page of described page info matches, described attribute information is page structure, size information;
Or according to the attribute information of the corresponding page of described page info, inquiry transparent page database, obtains the transparent page that the page corresponding to described page info matches.
A8, method as described in A2, to show described markup information according to the display position on the corresponding page of page info and comprise: comprising in the corresponding page of page info:
According to the positional information of described data content, described markup information is loaded into the corresponding page correspondence position of described page info;
Described correspondence position shows described markup information.
A9, method according to any one of A1-A8, when the markup information obtained is many, shows described markup information according to the display position on the corresponding page of page info and comprise in the corresponding page of page info:
Obtain the display position on the corresponding page of page info of described many markup informations respectively;
Respectively described many markup informations are presented on the corresponding page of page info according to described display position.
A10, method as described in A9, when together described display position exists many markup informations, the method also comprises:
According to the markup information rise time, described markup information is sorted;
According to time sequencing by corresponding markup information list view around display position;
Or according to time sequencing by corresponding markup information in the stacked display in display position place.
A11, method according to any one of A1-A8, after acquisition markup information, also comprise:
Described markup information is played up;
According to the display position on the corresponding page of page info, described markup information is specially before display in the corresponding page of page info: according to the display position on the corresponding page of page info, the markup information after playing up is shown in the corresponding page of described page info.
The invention discloses B12, a kind of device obtaining webpage data, comprising:
First acquiring unit, for obtaining the search key of input;
Second acquisition unit, for obtaining the markup information in the page info corresponding with described key word and the corresponding page of page info, described markup information is the data message that viewer inputs in the corresponding page of page info, this data message is inputted in the corresponding page of page info by input interface, and it comprises data content and the display position of described data content on the corresponding page of page info;
First loading unit, for loading corresponding for the described page info page in a browser;
Display unit, for showing described markup information according to the display position on the corresponding page of page info in the corresponding page of page info.
B13, device as described in B12, also comprise:
Generation unit, for generating the markup information in the corresponding page of page info;
Storage unit, for preserving described markup information.
B14, device as described in B13, described generation unit comprises:
Acquisition module, for obtaining the data content inputted in the corresponding page of page info by input interface;
Generation module, for generating the markup information of the corresponding page of described page info according to the positional information of described data content and described data content.
B15, device as described in B14, described acquisition module specifically for:
Obtain the data content inputted in the corresponding page of page info by the input interface on transparent page, described transparent page is can edit page, and it covers the page on the browser current label page page, and its size is identical with the described current label page page;
Or obtain the data content inputted in described browser current label page by the input interface on the corresponding page of page info.
B16, device as described in B12, described display unit comprises:
First load-on module, for according to the display position on the corresponding page of page info, described markup information is carried on the relevant position of described transparent page, described transparent page is can edit page, it covers the page on the browser current label page page, and its size is identical with the described current label page page;
First display module, for being presented at the transparent page being loaded with described markup information on the corresponding page of described page info.
B17, device as described in B16, also comprise:
3rd acquiring unit, for at described first display module according to the display position on the corresponding page of page info, before on the relevant position described markup information being carried in described transparent page, obtain the transparent page that the page corresponding to described page info matches;
Second loading unit, for loading described transparent page on the corresponding page of the page info of browser.
B18, device as described in B17, described 3rd acquiring unit comprises:
Creation module, for the transparent page matched according to the newly-built page corresponding to described page info of attribute information of the corresponding page of described page info, described attribute information is page structure, size information;
And/or enquiry module, for the attribute information according to the corresponding page of described page info, inquiry transparent page database, obtains the transparent page that the page corresponding to described page info matches.
B19, device as described in B12, described display unit comprises:
Second load-on module, is loaded into the corresponding page correspondence position of described page info for the positional information according to described data content by described markup information;
Second display module, for showing described markup information on described correspondence position.
B20, device according to any one of B12-B19, described display unit also for:
When the markup information obtained is many, obtain the display position on the corresponding page of page info of described many markup informations respectively;
Respectively described many markup informations are presented on the corresponding page of page info according to described display position.
B21, device as described in B20, when there is many markup informations in together described display position, described display unit also for:
According to the markup information rise time, described markup information is sorted;
According to time sequencing by corresponding markup information list view around display position;
Or according to time sequencing by corresponding markup information in the stacked display in display position place.
B22, device according to any one of B12-B19, after acquisition markup information, also comprise:
Rendering unit, for playing up described markup information;
Described display unit also for, according to the display position on the corresponding page of page info, the markup information after playing up is shown in the corresponding page of described page info.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
Be understandable that, the correlated characteristic in said method and device can reference mutually.In addition, " first ", " second " in above-described embodiment etc. are for distinguishing each embodiment, and do not represent the quality of each embodiment.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
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 the some or all functions of the some or all parts in the denomination of invention (as determined the device of website internal chaining grade) that microprocessor or digital signal processor (DSP) can be used in practice to realize according to 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. obtain a method for webpage data, it is characterized in that, comprising:
Obtain the search key of input;
Obtain the markup information in the page info corresponding with described key word and the corresponding page of page info, described markup information is the data message that viewer inputs in the corresponding page of page info, this data message is inputted in the corresponding page of page info by input interface, and it comprises data content and the display position of described data content on the corresponding page of page info;
Corresponding for the described page info page is loaded in a browser;
According to the display position on the corresponding page of page info, described markup information is shown in the corresponding page of page info.
2. method according to claim 1, is characterized in that, before obtaining the markup information in the page info corresponding with described key word and the corresponding page of page info, also comprises:
Generate the markup information in the corresponding page of page info, and described markup information is preserved.
3. method according to claim 2, is characterized in that, the markup information generated in the corresponding page of page info comprises:
Obtain the data content inputted in the corresponding page of page info by input interface;
The markup information of the corresponding page of described page info is generated according to the positional information of described data content and described data content.
4. method according to claim 3, is characterized in that, obtains the data content inputted in the corresponding page of page info by input interface;
Obtain the data content inputted in the corresponding page of page info by the input interface on transparent page, described transparent page is can edit page, and it covers the page on the browser current label page page, and its size is identical with the described current label page page;
Or obtain the data content inputted in described browser current label page by the input interface on the corresponding page of page info.
5. method according to claim 1, is characterized in that, to be shown by described markup information comprise according to the display position on the corresponding page of page info in the corresponding page of page info:
According to the display position on the corresponding page of page info, described markup information is carried on the relevant position of described transparent page, described transparent page is can edit page, and it covers the page on the browser current label page page, and its size is identical with the described current label page page;
The transparent page being loaded with described markup information is presented on the corresponding page of described page info.
6. method according to claim 5, is characterized in that, according to the display position on the corresponding page of page info, before on the relevant position described markup information being carried in described transparent page, also comprises:
Obtain the transparent page that the page corresponding to described page info matches;
Described transparent page is loaded on the corresponding page of page info.
7. method according to claim 6, is characterized in that, obtains the transparent page that the page corresponding to described page info match and comprises:
According to the transparent page that the newly-built page corresponding to described page info of attribute information of the corresponding page of described page info matches, described attribute information is page structure, size information;
Or according to the attribute information of the corresponding page of described page info, inquiry transparent page database, obtains the transparent page that the page corresponding to described page info matches.
8. method according to claim 2, is characterized in that, to be shown by described markup information and comprises: comprising according to the display position on the corresponding page of page info in the corresponding page of page info:
According to the positional information of described data content, described markup information is loaded into the corresponding page correspondence position of described page info;
Described correspondence position shows described markup information.
9. obtain a device for webpage data, it is characterized in that, comprising:
First acquiring unit, for obtaining the search key of input;
Second acquisition unit, for obtaining the markup information in the page info corresponding with described key word and the corresponding page of page info, described markup information is the data message that viewer inputs in the corresponding page of page info, this data message is inputted in the corresponding page of page info by input interface, and it comprises data content and the display position of described data content on the corresponding page of page info;
First loading unit, for loading corresponding for the described page info page in a browser;
Display unit, for showing described markup information according to the display position on the corresponding page of page info in the corresponding page of page info.
10. device according to claim 9, is characterized in that, also comprises:
Generation unit, for generating the markup information in the corresponding page of page info;
Storage unit, for preserving described markup information.
CN201510629755.2A 2015-09-28 2015-09-28 Method and device for acquiring web page data Pending CN105095525A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510629755.2A CN105095525A (en) 2015-09-28 2015-09-28 Method and device for acquiring web page data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510629755.2A CN105095525A (en) 2015-09-28 2015-09-28 Method and device for acquiring web page data

Publications (1)

Publication Number Publication Date
CN105095525A true CN105095525A (en) 2015-11-25

Family

ID=54575960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510629755.2A Pending CN105095525A (en) 2015-09-28 2015-09-28 Method and device for acquiring web page data

Country Status (1)

Country Link
CN (1) CN105095525A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512318A (en) * 2015-12-16 2016-04-20 山石网科通信技术有限公司 Page generation method and device
CN106202326A (en) * 2016-06-30 2016-12-07 珠海市魅族科技有限公司 A kind of information processing method and device
CN106484921A (en) * 2016-12-06 2017-03-08 庄爱芹 A kind of method for browsing search key in record in webpage
CN107784056A (en) * 2017-02-20 2018-03-09 平安科技(深圳)有限公司 Page data lookup method and device
CN108196874A (en) * 2017-12-29 2018-06-22 东软集团股份有限公司 A kind of webpage analysis method, device and storage medium, program product
CN113672154A (en) * 2021-10-21 2021-11-19 杭州网易云音乐科技有限公司 Page interaction method, medium, device and computing equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100218098A1 (en) * 1996-07-10 2010-08-26 Bassilic Technologies Llc System and methodology for image and overlaid annotation display, management and communication
CN102004777A (en) * 2010-11-19 2011-04-06 中国科学院软件研究所 Customizable Web information integration method and system
CN102682025A (en) * 2011-03-16 2012-09-19 中兴通讯股份有限公司 Browser and method for achieving adding and displaying of web image comments
CN102867025A (en) * 2012-08-23 2013-01-09 百度在线网络技术(北京)有限公司 Method and device for acquiring picture marking data
CN104123345A (en) * 2014-07-02 2014-10-29 百度在线网络技术(北京)有限公司 Method and equipment for providing page information

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100218098A1 (en) * 1996-07-10 2010-08-26 Bassilic Technologies Llc System and methodology for image and overlaid annotation display, management and communication
CN102004777A (en) * 2010-11-19 2011-04-06 中国科学院软件研究所 Customizable Web information integration method and system
CN102682025A (en) * 2011-03-16 2012-09-19 中兴通讯股份有限公司 Browser and method for achieving adding and displaying of web image comments
CN102867025A (en) * 2012-08-23 2013-01-09 百度在线网络技术(北京)有限公司 Method and device for acquiring picture marking data
CN104123345A (en) * 2014-07-02 2014-10-29 百度在线网络技术(北京)有限公司 Method and equipment for providing page information

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512318A (en) * 2015-12-16 2016-04-20 山石网科通信技术有限公司 Page generation method and device
CN105512318B (en) * 2015-12-16 2019-11-08 山石网科通信技术股份有限公司 Page generation method and device
CN106202326A (en) * 2016-06-30 2016-12-07 珠海市魅族科技有限公司 A kind of information processing method and device
CN106484921A (en) * 2016-12-06 2017-03-08 庄爱芹 A kind of method for browsing search key in record in webpage
CN107784056A (en) * 2017-02-20 2018-03-09 平安科技(深圳)有限公司 Page data lookup method and device
CN107784056B (en) * 2017-02-20 2020-03-06 平安科技(深圳)有限公司 Page data searching method and device
CN108196874A (en) * 2017-12-29 2018-06-22 东软集团股份有限公司 A kind of webpage analysis method, device and storage medium, program product
CN108196874B (en) * 2017-12-29 2021-03-16 东软集团股份有限公司 Webpage analysis method and device, storage medium and program product
CN113672154A (en) * 2021-10-21 2021-11-19 杭州网易云音乐科技有限公司 Page interaction method, medium, device and computing equipment

Similar Documents

Publication Publication Date Title
CN105095525A (en) Method and device for acquiring web page data
US20190324994A1 (en) Customized search
CN104077387B (en) A kind of web page contents display methods and browser device
US20180129653A1 (en) Preview method and apparatus for searching for pictures by mobile terminal
US20130103666A1 (en) Mapping uniform resource locators of different indexes
CN103078967B (en) A kind of generate conventional network address client terminal, server, system and method
CN103631887A (en) Method for network search at browser side and browser
CN103617191A (en) Browser and method for rendering same by means of hardware acceleration
CN104536973A (en) Picture identification method and browser client
CN108153716B (en) Form processing method and device, storage medium and electronic equipment
US11768905B2 (en) System and computer program product for creating and processing URLs
CN104866594A (en) Information pushing method and apparatus
CN104572968A (en) Page updating method and device
CN105183890A (en) Webpage loading method based on browser and browser device
CN105183888A (en) Data processing method based on browser and browser
CN105260421A (en) Webpage loading method and apparatus
CN105183887A (en) Data processing method based on browser and browser device
CN105512281A (en) Display method and device for official website type research result page
CN103544271A (en) Picture processing window loading method and device for browsers
CN109558123A (en) The method of webpage conversion electrons book, electronic equipment, storage medium
CN105468776A (en) Method, device and system for operating database
CN105117498A (en) Webpage data processing method and device
CN104317929A (en) Search result display optimizing method and device
CN104361094A (en) Storage method and device for file in search result, and browser client
CN105183749A (en) Method and device for crawling promotion content and providing crawled promotion content for use in search

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: 20151125