CN105260433A - Webpage content collecting method and electronic device - Google Patents

Webpage content collecting method and electronic device Download PDF

Info

Publication number
CN105260433A
CN105260433A CN201510639947.1A CN201510639947A CN105260433A CN 105260433 A CN105260433 A CN 105260433A CN 201510639947 A CN201510639947 A CN 201510639947A CN 105260433 A CN105260433 A CN 105260433A
Authority
CN
China
Prior art keywords
content
text
user
webpage
document
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
CN201510639947.1A
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 CN201510639947.1A priority Critical patent/CN105260433A/en
Publication of CN105260433A publication Critical patent/CN105260433A/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/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9562Bookmark management

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)

Abstract

The present invention discloses a webpage content collecting method. The method comprises: when a user browses a webpage by means of a browser, detecting whether a trigger operation used for triggering a preset button on an interface of the browser exists; if the trigger operation is detected, detecting whether a marking and selecting operation performed by the user on the webpage exists; if the marking and selecting operation is detected, determining contents selected by the user on the webpage based on the marking and selecting operation; and storing the contents selected by the user into a preset document. The webpage content collecting method provided by the present invention implements the technical effect that when the user encounters contents that the user wants to collect in the process of browsing the webpage, the contents can be conveniently and quickly collected, thereby improving collection efficiency. Meanwhile, the present invention further provides an electronic device.

Description

A kind of web page contents collecting method and electronic equipment
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of web page contents collecting method and electronic equipment.
Background technology
Along with the development of science and technology, computing machine is extensively popularized, and brings many facilities to the work of people and life.People can use computer disposal document, surf the web, play games, listen to the music, control commercial production etc.
People, when writing paper, often will use computer internet to search data.At present, when people see the content of needs and want to collect this content on webpage, common way is: first choose this content, then this content is copied, a newly-built document (such as: word document or txt document) again, the content copied is pasted in the document, then preserves.Multiple operation stepss such as in whole process, user needs execution to choose, copies, newly-built, stickup, preservation, could by the content collection that needs in a document, and complex operation is very inconvenient.
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 the web page contents collecting method solved the problem at least in part and electronic equipment.
One aspect of the present invention, provides a kind of web page contents collecting method, comprising:
When user browses a webpage by browser, detect the trigger action whether had for triggering a pre-set button on described browser interface;
If described trigger action detected, then detect stroke selection operation whether having user to carry out on described webpage;
If described stroke selection operation detected, then based on described stroke of selection operation, described webpage is determined the content that described user chooses;
The content that described user chooses is kept at one to preset in document.
Preferably, described pre-set button shows for representing the mark content that described user chooses be kept in described default document.
Preferably, whether described detection has the trigger action for triggering a pre-set button on described browser interface, comprising:
Detect and whether have the clicking operation clicking described pre-set button; Or
Detect and whether have the hover operation of mouse pointer in described pre-set button.
Preferably, described the content that described user chooses is kept at one preset in document after, also comprise:
Redirect performs stroke selection operation whether described detection has user to carry out on described webpage.
Preferably, when the content that described user chooses is the first content of text, describedly the content that described user chooses is kept at one and presets in document, comprising:
Based on the pre-set text form that described default document is corresponding, the first text formatting of described first content of text is adjusted to described pre-set text form, obtains described first content of text with described pre-set text form;
Described first content of text with described pre-set text form is kept in described default document.
Preferably, the described pre-set text form corresponding based on described default document, is adjusted to described pre-set text form by the first text formatting of described first content of text, obtains described first content of text with described pre-set text form, comprising:
Detect and whether preserved the second content of text in described default document;
If described second content of text detected, then the second text formatting of described second content of text is defined as described pre-set text form;
Based on described pre-set text form, the first text formatting of described first content of text is adjusted to described pre-set text form, obtains described first content of text with described pre-set text form.
Preferably, described described first content of text with described pre-set text form is kept in described default document after, also comprise:
Detect the opening operation whether had for opening described default document;
If described opening operation detected, then open described default document, to be displayed by described first content of text with described pre-set text form.
Another aspect of the present invention, provides a kind of electronic equipment, comprising:
First detection module, for when user browses a webpage by browser, detects the trigger action whether had for triggering a pre-set button on described browser interface;
Second detection module, if for described trigger action being detected, then detects stroke selection operation whether having user to carry out on described webpage;
Determination module, if for described stroke selection operation being detected, then based on described stroke of selection operation, described webpage is determined the content that described user chooses;
Preserve module, the content for described user being chosen is kept at one and presets in document.
Preferably, described pre-set button shows for representing the mark content that described user chooses be kept in described default document.
Preferably, described first detection module, specifically for:
Detect and whether have the clicking operation clicking described pre-set button; Or
Detect and whether have the hover operation of mouse pointer in described pre-set button.
Preferably, described electronic equipment, also comprises:
Redirect module, for described the content that described user chooses is kept at one preset in document after, what redirect performed whether described detection have user to carry out on described webpage draws selection operation.
Preferably, when the content that described user chooses is the first content of text, described preservation module, comprising:
Adjustment unit, for based on pre-set text form corresponding to described default document, is adjusted to described pre-set text form by the first text formatting of described first content of text, obtains described first content of text with described pre-set text form;
Storage unit, for being kept at described first content of text with described pre-set text form in described default document.
Preferably, described adjustment unit, specifically for:
Detect and whether preserved the second content of text in described default document; If described second content of text detected, then the second text formatting of described second content of text is defined as described pre-set text form; Based on described pre-set text form, the first text formatting of described first content of text is adjusted to described pre-set text form, obtains described first content of text with described pre-set text form.
Preferably, described electronic equipment, also comprises:
Detection module, for described described first content of text with described pre-set text form is kept in described default document after, detect and whether have opening operation for opening described default document;
Opening module, if for described opening operation being detected, then opening described default document, so that described first content of text with described pre-set text form is displayed.
The technical scheme provided in the embodiment of the present application, at least has following technique effect or advantage:
1, in the embodiment of the present application, when user browses a webpage by browser, detect the trigger action whether had for triggering a pre-set button on browser interface, if trigger action detected, then detect stroke selection operation whether having user to carry out on webpage, if detect and draw selection operation, then on webpage, determining based on drawing selection operation the content that user chooses, the content that user chooses being kept at one and presetting in document.Visible, after user triggers this pre-set button (" collection " button), user, when browsing webpage and running into the content wanting to collect, only needing to choose the content of wanting to collect by drawing selection operation, can realize collecting this content.So efficiently solving user in prior art, when browsing webpage and running into the content wanting to collect, needs multiple operation steps could collect this content, the technical matters of complex operation.Achieve user when browsing webpage and running into the content wanting to collect, this content can be collected quickly and easily, improve the technique effect of collection efficiency.
2, in the embodiment of the present application, after content user chosen is kept in a default document, redirect performs stroke selection operation detecting and whether have user to carry out on described webpage, with user detected upper once draw selection operation time, selection operation can be drawn based on user next time, content user next time chosen is preserved in described default file, again triggers this pre-set button without the need to user, thus further increases collection efficiency.
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 process flow diagram of web page contents collecting method;
Fig. 2 shows a kind of according to an embodiment of the invention structural representation of electronic equipment.
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.
Embodiments provide a kind of web page contents collecting method and electronic equipment, in order to overcome or to solve in prior art user at least in part when browsing webpage and running into the content wanting to collect, need multiple operation steps could collect this content, the technical matters of complex operation.
Present embodiments provide a kind of web page contents collecting method, be applied in electronic equipment, this electronic equipment can be desktop computer, notebook computer, panel computer, smart mobile phone etc., and for this electronic equipment specifically which kind of electronic equipment, the present embodiment is not specifically limited.This electronic equipment comprises a display, and for displays image information, wherein, for desktop computer and notebook computer, this display can not have touch controllable function, and user can carry out man-machine interaction by mouse, keyboard; For panel computer and smart mobile phone, this display should have touch controllable function, and user can carry out man-machine interaction by the display (that is: touch-screen) with touch controllable function.Be provided with a browser in this electronic equipment, user can be surfed the Net by this browser.
A kind of web page contents collecting method introduced in the present embodiment, its executive agent is above-mentioned electronic equipment, is specifically as follows the browser be arranged in electronic equipment.
Present embodiments provide a kind of web page contents collecting method, as shown in Figure 1, comprising:
Step S101: when user browses a webpage by browser, detects the trigger action whether had for triggering a pre-set button on browser interface.
As the optional embodiment of one, in step S101, this pre-set button can be arranged on any position of browser interface, such as: in toolbar or in plug-in unit hurdle, or in sidebar, or on web page browsing region.
As the optional embodiment of one, described pre-set button shows for representing the mark content that described user chooses be kept in described default document.Such as: this pre-set button is " collection " button, " collection " two word is shown above, for representing that the function of this pre-set button is that content user chosen is collected.
As the optional embodiment of one, this pre-set button only can browse webpage effectively to current, that is: after this pre-set button is triggered, only open " drawing word collection " function (that is: step S102 ~ step S104) to the current webpage browsed.Or all webpages that this pre-set button can be opened browser are all effective, that is: for all webpages that browser is opened, all open " drawing word collection " function.In addition, after this pre-set button is triggered again, then close " drawing word collection " function.
As the optional embodiment of one, in step S101, this trigger action can be the clicking operation that user performs.
For example, when user uses desktop computer (or notebook computer) to browse webpage, user can click this pre-set button by the mouse be connected with desktop computer (or notebook computer), to trigger this pre-set button.Accordingly, desktop computer (or notebook computer) can detect user and whether click this pre-set button by mouse, if detect, user clicks this pre-set button, be then considered as the trigger action detected for triggering pre-set button.
For example, when user browses webpage by smart mobile phone (or panel computer), user can click this pre-set button by the touch-screen of smart mobile phone (or panel computer), to trigger this pre-set button.Accordingly, smart mobile phone (or panel computer) can obtain the position that user clicks, judge whether the position that user clicks belongs in the viewing area of pre-set button, if belong to, then determine that user clicks this pre-set button, be then considered as the trigger action detected for triggering pre-set button.
As the optional embodiment of one, in step S101, this trigger action can also be the hover operation of user's mouse beacon pointer in pre-set button.
For example, when user uses desktop computer (or notebook computer) to browse webpage, the mouse pointer that user can use mouse control to show over the display hovers, to trigger this pre-set button in this pre-set button.Now, such as, if electronic equipment detects this hover operation (that is: the mouse pointer time rested in this pre-set button is greater than a preset time value, stops more than 1 second), then the trigger action detected for triggering pre-set button can be considered as.
Step S102: if trigger action detected, then detect stroke selection operation whether having user to carry out on webpage.
For example, user use desktop computer (or notebook computer) browse webpage run into want collect content (such as: word, form, picture etc.) time, user by clicking the mouse left button mouse beacon pointer paddling on webpage, can choose will want the content of collecting.Accordingly, desktop computer (or notebook computer) can acquire user by mouse and draw selection operation.
For example, when user uses smart mobile phone (or panel computer) to browse webpage, user can directly carry out drawing selection operation to choose the content of this webpage being wanted collect on the touchscreen.Accordingly, smart mobile phone (or panel computer) can pass through to detect the position that acquisition user carry out drawing selection operation on the touchscreen, thus obtains stroke selection operation of user.
Step S103: draw selection operation if detect, then based on drawing selection operation, webpage is determined the content (such as: word, form, picture, etc.) that user chooses.
For example, desktop computer (or notebook computer) can detect the change of the left click event of mouse the position of combined mouse pointer, determines that user carries out drawing the content chosen of selection operation on this webpage.Smart mobile phone (or panel computer) can obtain user and carry out on the touchscreen drawing the position of selection operation by detecting, and based on the position of this stroke of selection operation determine user-selected in content.
Step S104: content user chosen is kept at one and presets in document.
For example, described default document can be a word document.This default document can be considered as one " collection originally ", for collecting the content (such as: word, form, picture, etc.) that user chooses on webpage.Specifically, a human-computer interaction interface can be provided to obtain the setting operation of user, from the local already present word document of electronic equipment, specify a word document to be this default document; Certainly also support that the newly-built word document of user is as this default document; Or automatically generate an acquiescence word document as this default document; Or using the current word document being in open mode as this default document, if when the multiple word document of front opening, a dialog box can be ejected, allow in user and select one of them as described default document.
As the optional embodiment of one, after execution of step S104, redirect performs step S102.
For example, after execution of step S104 (that is: the content that user chooses being kept to preset in document), redirect performs step S102 (that is: detecting stroke selection operation whether having user to carry out on described webpage), like this, user detected upper once draw selection operation time, selection operation can be drawn based on user next time, content user next time chosen is preserved in described default file, again trigger this pre-set button without the need to user, thus further increase collection efficiency.
As the optional embodiment of one, when the content that user chooses is the first content of text, in step S104, the content that described user chooses is kept at one and presets in document, comprising:
Based on the pre-set text form that described default document is corresponding, the first text formatting of the first content of text is adjusted to described pre-set text form, obtains first content of text with pre-set text form;
First content of text with pre-set text form is kept in described default document.
For example, can first the first content of text be copied in described default document, again based on described pre-set text form, the original text form (that is: the first text formatting) of the first content of text is adjusted to pre-set text form, finally obtains first content of text with pre-set text form.
For example, this pre-set text form defines text formatting and the paragraph format of the content of text be kept in this default document; Wherein, whether whether this text formatting define the font of word, font size, color, whether overstriking, tilt, underline, etc.; This paragraph format defines line space, paragraph spacing, indent, the alignment thereof (such as: left-justify, placed in the middle, Right Aligns, justify align) of every section of word, etc.
For example, this default document regulation itself has a text formatting, now, the text formatting that this default document itself can be specified is as described pre-set text form, the original text form (that is: the first text formatting) of the first text is adjusted to pre-set text form, obtains first content of text with pre-set text form.Such as: the text formatting that this default document itself defines the content of text be kept at wherein is: Chinese font " regular script _ GB2312 ", english font " TimesNewRoman ", font size " No. four ", " not overstriking ", " do not tilt ", " do not underline ", " justify align ", left side indentation " 0 character ", right side indentation " 0 character ", space before " 0 row ", space after " 0 row ", line-spacing " 1.5 times of line-spacings ", no matter what the text formatting that then the first content of text is original is, all unification is adjusted to the text formatting of this default document regulation itself.
For example, this default document itself does not specify any text formatting, whether the second content of text has been preserved before then detecting in this default document, this second content of text is the pre-editing of user, if the second content of text detected, then the text formatting (that is: the second text formatting) of the second content of text is defined as pre-set text form, the original text form (that is: the first text formatting) of the first text is adjusted to pre-set text form (that is: the text formatting of the second content of text), obtain first content of text with pre-set text form.Such as: user carried out text editing at this default document in advance, the text formatting that the content of text of its editor has is: Chinese font " Song typeface ", english font " TimesNewRoman ", font size " No. five ", " overstriking ", " do not tilt ", " do not underline ", " between two parties ", left side indentation " 0 character ", right side indentation " 0 character ", space before " 0 row ", space after " 0 row ", line-spacing " single-spaced ", the text formatting of the content of text then user's pre-edit crossed is as described pre-set text form, no matter what the original text formatting of the first content of text is, all unification is adjusted to the text formatting of the content of text that user's pre-edit is crossed.
As the optional embodiment of one, described described first content of text with described pre-set text form is kept in described default document after, also comprise:
Detect the opening operation whether had for opening described default document;
If opening operation detected, then open described default document, to be displayed by first content of text with described pre-set text form.
Citing will, one can be arranged for opening the button of this default document by a predeterminated position (such as: in toolbar or in sidebar or in web page browsing region) on browser interface, and can also show for representing the mark opening described default document on the button, (such as: " opening collection originally " button), when detecting that user clicks this " open collection this " button, then open this default document, all to be displayed by the full content wherein collected.Certainly, if user knows the path storing this default document, also can find this default document by this path, and open this default document.
In order to understand the method for content on collection webpage provided by the present invention better, below in conjunction with an embody rule scene, the present invention is described further.
When one user writes paper in a word document, online is needed to consult some data.Based on web page contents collecting method provided by the invention, when user sees that on a webpage content of text that oneself paper needs (such as: word, form) and when wanting collection text content, browser interface clicks " collection " button (that is: described pre-set button), then open " drawing word collection " function, user can perform stroke selection operation by mouse, choose wanting the content of text collected, browser then automatic content user chosen is kept in a default word document, wherein, this default word document can be the word document at the current paper place of writing that user specifies in advance, facilitate user like this and continue writing article.And, before content of text user chosen is kept at this word document, can based on the text formatting of the content of text of the pre-editing of user, the form of the content of text just collected is adjusted, make this two parts content of text have unified text formatting, eliminate the operation that user's content of text next to collection again carries out text formatting adjustment, saved the time of user, improve collection efficiency, substantially increase the speed of writing article.
Based on above-mentioned web page contents collecting method, present invention also offers a kind of electronic equipment, as shown in Figure 2, comprising:
First detection module 201, for when user browses a webpage by browser, detects the trigger action whether had for triggering a pre-set button on described browser interface;
Second detection module 202, if for described trigger action being detected, then detects stroke selection operation whether having user to carry out on described webpage;
Determination module 203, if for described stroke selection operation being detected, then based on described stroke of selection operation, described webpage is determined the content that described user chooses;
Preserve module 204, the content for described user being chosen is kept at one and presets in document.
As the optional embodiment of one, described pre-set button shows for representing the mark content that described user chooses be kept in described default document.
As the optional embodiment of one, described first detection module 201, specifically for:
Detect and whether have the clicking operation clicking described pre-set button; Or
Detect and whether have the hover operation of mouse pointer in described pre-set button.
As the optional embodiment of one, described electronic equipment, also comprises:
Redirect module, for described the content that described user chooses is kept at one preset in document after, what redirect performed whether described detection have user to carry out on described webpage draws selection operation.
As the optional embodiment of one, when the content that described user chooses is the first content of text, described preservation module 204, comprising:
Adjustment unit, for based on pre-set text form corresponding to described default document, is adjusted to described pre-set text form by the first text formatting of described first content of text, obtains described first content of text with described pre-set text form;
Storage unit, for being kept at described first content of text with described pre-set text form in described default document.
As the optional embodiment of one, described adjustment unit, specifically for:
Detect and whether preserved the second content of text in described default document; If described second content of text detected, then the second text formatting of described second content of text is defined as described pre-set text form; Based on described pre-set text form, the first text formatting of described first content of text is adjusted to described pre-set text form, obtains described first content of text with described pre-set text form.
As the optional embodiment of one, described electronic equipment, also comprises:
Detection module, for described described first content of text with described pre-set text form is kept in described default document after, detect and whether have opening operation for opening described default document;
Opening module, if for described opening operation being detected, then opening described default document, so that described first content of text with described pre-set text form is displayed.
The electronic equipment introduced due to the present embodiment is for implementing the device that in the embodiment of the present application, web page contents collecting method adopts, so based on the web page contents collecting method introduced in the embodiment of the present application, those skilled in the art can understand embodiment and its various version of the electronic equipment of the present embodiment, so introduce no longer in detail at this web page contents collecting method how realized in the embodiment of the present application for this electronic equipment.As long as those skilled in the art implement the device that in the embodiment of the present application, web page contents collecting method adopts, all belong to the application for protection scope.
The technical scheme provided in the embodiment of the present application, at least has following technique effect or advantage:
1, in the embodiment of the present application, when user browses a webpage by browser, detect the trigger action whether had for triggering a pre-set button on browser interface, if trigger action detected, then detect stroke selection operation whether having user to carry out on webpage, if detect and draw selection operation, then on webpage, determining based on drawing selection operation the content that user chooses, the content that user chooses being kept at one and presetting in document.Visible, after user triggers this pre-set button (" collection " button), user, when browsing webpage and running into the content wanting to collect, only needing to choose the content of wanting to collect by drawing selection operation, can realize collecting this content.So efficiently solving user in prior art, when browsing webpage and running into the content wanting to collect, needs multiple operation steps could collect this content, the technical matters of complex operation.Achieve user when browsing webpage and running into the content wanting to collect, this content can be collected quickly and easily, improve the technique effect of collection efficiency.
2, in the embodiment of the present application, after content user chosen is kept in a default document, redirect performs stroke selection operation detecting and whether have user to carry out on described webpage, with user detected upper once draw selection operation time, selection operation can be drawn based on user next time, content user next time chosen is preserved in described default file, again triggers this pre-set button without the need to user, thus further increases collection efficiency.
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 to comprise in other embodiment some included feature instead of further feature in this some embodiments, 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 that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all parts in gateway according to the embodiment of the present invention, proxy server, system.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.
The invention discloses, A1, a kind of web page contents collecting method, is characterized in that, comprising:
When user browses a webpage by browser, detect the trigger action whether had for triggering a pre-set button on described browser interface;
If described trigger action detected, then detect stroke selection operation whether having user to carry out on described webpage;
If described stroke selection operation detected, then based on described stroke of selection operation, described webpage is determined the content that described user chooses;
The content that described user chooses is kept at one to preset in document.
A2, method as described in A1, is characterized in that, described pre-set button shows for representing the mark content that described user chooses be kept in described default document.
A3, method as described in A1, it is characterized in that, whether described detection has the trigger action for triggering a pre-set button on described browser interface, comprising:
Detect and whether have the clicking operation clicking described pre-set button; Or
Detect and whether have the hover operation of mouse pointer in described pre-set button.
A4, method as described in A1, is characterized in that, described the content that described user chooses is kept at one preset in document after, also comprise:
Redirect performs stroke selection operation whether described detection has user to carry out on described webpage.
A5, method as described in A1, is characterized in that, when the content that described user chooses is the first content of text, describedly the content that described user chooses is kept at one and presets in document, comprising:
Based on the pre-set text form that described default document is corresponding, the first text formatting of described first content of text is adjusted to described pre-set text form, obtains described first content of text with described pre-set text form;
Described first content of text with described pre-set text form is kept in described default document.
A6, method as described in A5, it is characterized in that, the described pre-set text form corresponding based on described default document, is adjusted to described pre-set text form by the first text formatting of described first content of text, obtain described first content of text with described pre-set text form, comprising:
Detect and whether preserved the second content of text in described default document;
If described second content of text detected, then the second text formatting of described second content of text is defined as described pre-set text form;
Based on described pre-set text form, the first text formatting of described first content of text is adjusted to described pre-set text form, obtains described first content of text with described pre-set text form.
A7, method as described in A5, is characterized in that, described described first content of text with described pre-set text form is kept in described default document after, also comprise:
Detect the opening operation whether had for opening described default document;
If described opening operation detected, then open described default document, to be displayed by described first content of text with described pre-set text form.
B8, a kind of electronic equipment, is characterized in that, comprising:
First detection module, for when user browses a webpage by browser, detects the trigger action whether had for triggering a pre-set button on described browser interface;
Second detection module, if for described trigger action being detected, then detects stroke selection operation whether having user to carry out on described webpage;
Determination module, if for described stroke selection operation being detected, then based on described stroke of selection operation, described webpage is determined the content that described user chooses;
Preserve module, the content for described user being chosen is kept at one and presets in document.
B9, electronic equipment as described in B8, is characterized in that, described pre-set button shows for representing the mark content that described user chooses be kept in described default document.
B10, method as described in B8, is characterized in that, described first detection module, specifically for:
Detect and whether have the clicking operation clicking described pre-set button; Or
Detect and whether have the hover operation of mouse pointer in described pre-set button.
B11, electronic equipment as described in B8, it is characterized in that, described electronic equipment, also comprises:
Redirect module, for described the content that described user chooses is kept at one preset in document after, what redirect performed whether described detection have user to carry out on described webpage draws selection operation.
B12, electronic equipment as described in B8, it is characterized in that, when the content that described user chooses is the first content of text, described preservation module, comprising:
Adjustment unit, for based on pre-set text form corresponding to described default document, is adjusted to described pre-set text form by the first text formatting of described first content of text, obtains described first content of text with described pre-set text form;
Storage unit, for being kept at described first content of text with described pre-set text form in described default document.
B13, electronic equipment as described in B12, is characterized in that, described adjustment unit, specifically for:
Detect and whether preserved the second content of text in described default document; If described second content of text detected, then the second text formatting of described second content of text is defined as described pre-set text form; Based on described pre-set text form, the first text formatting of described first content of text is adjusted to described pre-set text form, obtains described first content of text with described pre-set text form.
B14, electronic equipment as described in B12, it is characterized in that, described electronic equipment, also comprises:
Detection module, for described described first content of text with described pre-set text form is kept in described default document after, detect and whether have opening operation for opening described default document;
Opening module, if for described opening operation being detected, then opening described default document, so that described first content of text with described pre-set text form is displayed.

Claims (10)

1. a web page contents collecting method, is characterized in that, comprising:
When user browses a webpage by browser, detect the trigger action whether had for triggering a pre-set button on described browser interface;
If described trigger action detected, then detect stroke selection operation whether having user to carry out on described webpage;
If described stroke selection operation detected, then based on described stroke of selection operation, described webpage is determined the content that described user chooses;
The content that described user chooses is kept at one to preset in document.
2. the method for claim 1, is characterized in that, described pre-set button shows for representing the mark content that described user chooses be kept in described default document.
3. the method for claim 1, is characterized in that, whether described detection has the trigger action for triggering a pre-set button on described browser interface, comprising:
Detect and whether have the clicking operation clicking described pre-set button; Or
Detect and whether have the hover operation of mouse pointer in described pre-set button.
4. the method for claim 1, is characterized in that, described the content that described user chooses is kept at one preset in document after, also comprise:
Redirect performs stroke selection operation whether described detection has user to carry out on described webpage.
5. the method for claim 1, is characterized in that, when the content that described user chooses is the first content of text, describedly the content that described user chooses is kept at one and presets in document, comprising:
Based on the pre-set text form that described default document is corresponding, the first text formatting of described first content of text is adjusted to described pre-set text form, obtains described first content of text with described pre-set text form;
Described first content of text with described pre-set text form is kept in described default document.
6. method as claimed in claim 5, it is characterized in that, the described pre-set text form corresponding based on described default document, is adjusted to described pre-set text form by the first text formatting of described first content of text, obtain described first content of text with described pre-set text form, comprising:
Detect and whether preserved the second content of text in described default document;
If described second content of text detected, then the second text formatting of described second content of text is defined as described pre-set text form;
Based on described pre-set text form, the first text formatting of described first content of text is adjusted to described pre-set text form, obtains described first content of text with described pre-set text form.
7. method as claimed in claim 5, is characterized in that, described described first content of text with described pre-set text form is kept in described default document after, also comprise:
Detect the opening operation whether had for opening described default document;
If described opening operation detected, then open described default document, to be displayed by described first content of text with described pre-set text form.
8. an electronic equipment, is characterized in that, comprising:
First detection module, for when user browses a webpage by browser, detects the trigger action whether had for triggering a pre-set button on described browser interface;
Second detection module, if for described trigger action being detected, then detects stroke selection operation whether having user to carry out on described webpage;
Determination module, if for described stroke selection operation being detected, then based on described stroke of selection operation, described webpage is determined the content that described user chooses;
Preserve module, the content for described user being chosen is kept at one and presets in document.
9. electronic equipment as claimed in claim 8, is characterized in that, described pre-set button shows for representing the mark content that described user chooses be kept in described default document.
10. method as claimed in claim 8, is characterized in that, described first detection module, specifically for:
Detect and whether have the clicking operation clicking described pre-set button; Or
Detect and whether have the hover operation of mouse pointer in described pre-set button.
CN201510639947.1A 2015-09-30 2015-09-30 Webpage content collecting method and electronic device Pending CN105260433A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510639947.1A CN105260433A (en) 2015-09-30 2015-09-30 Webpage content collecting method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510639947.1A CN105260433A (en) 2015-09-30 2015-09-30 Webpage content collecting method and electronic device

Publications (1)

Publication Number Publication Date
CN105260433A true CN105260433A (en) 2016-01-20

Family

ID=55100124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510639947.1A Pending CN105260433A (en) 2015-09-30 2015-09-30 Webpage content collecting method and electronic device

Country Status (1)

Country Link
CN (1) CN105260433A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106202223A (en) * 2016-06-28 2016-12-07 北京小米移动软件有限公司 Content collection method, device and for collecting the device of content in application program
CN106649525A (en) * 2016-10-19 2017-05-10 北京小米移动软件有限公司 Method and device for displaying webpage information
CN107967249A (en) * 2017-12-25 2018-04-27 重庆宝力优特科技有限公司 A kind of word storage method and device
CN108182432A (en) * 2017-12-28 2018-06-19 北京百度网讯科技有限公司 Information processing method and device
CN110032687A (en) * 2019-01-28 2019-07-19 阿里巴巴集团控股有限公司 A kind for the treatment of method and apparatus of web page contents
CN113010814A (en) * 2021-03-22 2021-06-22 掌阅科技股份有限公司 Webpage content processing method, computing device and computer storage medium
WO2022184024A1 (en) * 2021-03-01 2022-09-09 北京字跳网络技术有限公司 Electronic document processing method and apparatus, terminal, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079059A (en) * 2007-03-27 2007-11-28 腾讯科技(深圳)有限公司 System, method and browser for keeping web page content
CN102411469A (en) * 2010-09-17 2012-04-11 Lg电子株式会社 Method for displaying internet page and mobile terminal using the same
CN103870191A (en) * 2012-12-18 2014-06-18 腾讯科技(深圳)有限公司 Method and electronic equipment for saving webpage
CN104252308A (en) * 2013-06-28 2014-12-31 深圳市腾讯计算机系统有限公司 Method and device for storing webpage content
CN104346465A (en) * 2014-11-07 2015-02-11 北京奇虎科技有限公司 Method and device for saving web page elements, and browser client
CN104615700A (en) * 2015-01-27 2015-05-13 北京奇虎科技有限公司 Method for collecting webpage objects in browser, browser client side and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079059A (en) * 2007-03-27 2007-11-28 腾讯科技(深圳)有限公司 System, method and browser for keeping web page content
CN102411469A (en) * 2010-09-17 2012-04-11 Lg电子株式会社 Method for displaying internet page and mobile terminal using the same
CN103870191A (en) * 2012-12-18 2014-06-18 腾讯科技(深圳)有限公司 Method and electronic equipment for saving webpage
CN104252308A (en) * 2013-06-28 2014-12-31 深圳市腾讯计算机系统有限公司 Method and device for storing webpage content
CN104346465A (en) * 2014-11-07 2015-02-11 北京奇虎科技有限公司 Method and device for saving web page elements, and browser client
CN104615700A (en) * 2015-01-27 2015-05-13 北京奇虎科技有限公司 Method for collecting webpage objects in browser, browser client side and system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106202223A (en) * 2016-06-28 2016-12-07 北京小米移动软件有限公司 Content collection method, device and for collecting the device of content in application program
CN106649525A (en) * 2016-10-19 2017-05-10 北京小米移动软件有限公司 Method and device for displaying webpage information
CN107967249A (en) * 2017-12-25 2018-04-27 重庆宝力优特科技有限公司 A kind of word storage method and device
CN108182432A (en) * 2017-12-28 2018-06-19 北京百度网讯科技有限公司 Information processing method and device
US10963760B2 (en) 2017-12-28 2021-03-30 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for processing information
CN110032687A (en) * 2019-01-28 2019-07-19 阿里巴巴集团控股有限公司 A kind for the treatment of method and apparatus of web page contents
CN110032687B (en) * 2019-01-28 2023-08-01 创新先进技术有限公司 Webpage content processing method and device
WO2022184024A1 (en) * 2021-03-01 2022-09-09 北京字跳网络技术有限公司 Electronic document processing method and apparatus, terminal, and storage medium
CN115061601A (en) * 2021-03-01 2022-09-16 北京字跳网络技术有限公司 Electronic document processing method and device, terminal and storage medium
CN115061601B (en) * 2021-03-01 2024-05-07 北京字跳网络技术有限公司 Electronic document processing method, device, terminal and storage medium
CN113010814A (en) * 2021-03-22 2021-06-22 掌阅科技股份有限公司 Webpage content processing method, computing device and computer storage medium

Similar Documents

Publication Publication Date Title
US10706091B2 (en) User driven computerized selection, categorization, and layout of live content components
CN105260433A (en) Webpage content collecting method and electronic device
US9996227B2 (en) Apparatus and method for digital content navigation
US8078979B2 (en) Web page editor with element selection mechanism
US10503255B2 (en) Haptic feedback assisted text manipulation
US9645717B2 (en) Managing a selection mode for presented content
US20100257479A1 (en) Graphical User Interface with Dynamic Toolbar Search Functionality
WO2008154120A1 (en) Creating web clips
WO2014098798A1 (en) Progressively triggered auto-fill
US20140089772A1 (en) Automatically Creating Tables of Content for Web Pages
CN105279245A (en) Method for collecting contents on webpage and electronic device
CN102830928A (en) Method and device for acquiring text inquiry result and mobile equipment
JP2011511344A (en) Text editing method, computer program and device
US20100169362A1 (en) Palette for accessing document history
CN103164163A (en) Display adjustment method and display adjustment device
US20100306706A1 (en) Visual-editing toolbar menu while using text editor
US11288337B2 (en) Object selection in web page authoring
CN105183724A (en) Translation method and electronic device
CN105224175A (en) The method of content and electronic equipment on a kind of marking of web pages
CN103440107A (en) Method and device for processing touch operation of electronic device
US20150301993A1 (en) User interface for creation of content works
CN103870191A (en) Method and electronic equipment for saving webpage
US20150213148A1 (en) Systems and methods for browsing
KR20110028521A (en) Graphical user interface for non mouse-based activation of links
CN105138273B (en) A kind of method to make marks and electronic equipment

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

Application publication date: 20160120

RJ01 Rejection of invention patent application after publication