CN107797838A - A kind of screenshot method and device - Google Patents

A kind of screenshot method and device Download PDF

Info

Publication number
CN107797838A
CN107797838A CN201710806166.6A CN201710806166A CN107797838A CN 107797838 A CN107797838 A CN 107797838A CN 201710806166 A CN201710806166 A CN 201710806166A CN 107797838 A CN107797838 A CN 107797838A
Authority
CN
China
Prior art keywords
page
sectional drawing
user
page elements
focus
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
CN201710806166.6A
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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201710806166.6A priority Critical patent/CN107797838A/en
Publication of CN107797838A publication Critical patent/CN107797838A/en
Pending legal-status Critical Current

Links

Abstract

It is an object of the invention to provide a kind of screenshot method and device.Wherein, the page browsed to user carries out page structure parsing, to identify each page elements in the page;Operated according to the focus of the user on the page, determine the corresponding page elements of the focus operation;When user is to page elements triggering sectional drawing request, to the overall execution sectional drawing of the page elements.Compared with prior art, the present invention carries out sectional drawing based on web page element, it not only can quickly realize sectional drawing, the picture obtained can also completely intercept the full content of the page elements corresponding to the focus operation of user, such as all search results in search result column, no matter whether it is shown in current screen.

Description

A kind of screenshot method and device
Technical field
The present invention relates to browser technology field, and in particular to a kind of sectional drawing technology.
Background technology
Existing various sectional drawing scheme/instruments, are the direct interceptions to screen content, it is necessary to which user voluntarily drags mouse To select sectional drawing scope.However, even so, the sectional drawing obtained can not often meet user's needs, user may be also Secondary cutting or other processing operations are carried out to the sectional drawing could finally obtain required Target Photo.
In addition, if current screen fails the sectional drawing content that complete display user needs, user also needs to roll screen simultaneously Multiple sectional drawing obtains the content, and multiple sectional drawings obtained may be also needed to by splicing or other image procossing mode ability Obtain a complete content picture.Sometimes, splicing can not obtain a complete Target Photo.
The content of the invention
It is an object of the invention to provide a kind of screenshot method, device and computer equipment, computer-readable recording medium With computer program product.
According to an aspect of the invention, there is provided a kind of screenshot method, wherein, this method includes:
The page browsed to user carries out page structure parsing, to identify each page elements in the page;
Operated according to the focus of the user on the page, determine the corresponding page elements of the focus operation;
When user is to page elements triggering sectional drawing request, to the overall execution sectional drawing of the page elements.
According to an aspect of the present invention, a kind of sectional drawing device is additionally provided, wherein, the device includes:
The page for being browsed to user carries out page structure parsing, to identify the dress of each page elements in the page Put;
For being operated according to the focus of the user on the page, the corresponding page member of the focus operation is determined The device of element;
For when user is to page elements triggering sectional drawing request, to the overall execution sectional drawings of the page elements Device.
According to an aspect of the present invention, additionally provide a kind of computer equipment, including memory, processor and be stored in On memory and the computer program that can run on a processor, wherein, it is real during computer program described in the computing device A kind of now screenshot method according to an aspect of the present invention.
According to an aspect of the present invention, a kind of computer-readable recording medium is additionally provided, is stored thereon with computer Program, wherein, a kind of screenshot method according to an aspect of the present invention is realized when the computer program is executed by processor.
According to an aspect of the present invention, a kind of computer program product is additionally provided, when the computer program product A kind of screenshot method according to an aspect of the present invention is realized when being performed by computer equipment.
Compared with prior art, the present invention carries out sectional drawing based on web page element, not only can quickly realize sectional drawing, be obtained The picture obtained can also completely intercept the full content of the page elements corresponding to the focus operation of user, in search result column All search results, no matter whether it is shown in current screen.This obviously can bring more preferable Consumer's Experience.Thus institute The sectional drawing of acquisition also will not be excessive and further trimmed without user.Also, sectional drawing can be directly stored or use.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other Feature, objects and advantages will become more apparent upon:
Fig. 1 shows to be suitable to the block diagram for being used for realizing the exemplary computer system/server 12 of embodiment of the present invention;
Fig. 2 shows a kind of flow chart of screenshot method according to an embodiment of the invention;
Fig. 3 (a), Fig. 3 (b) and Fig. 3 (c) show a kind of sectional drawing effect diagram according to an example of the present invention;
Fig. 4 shows a kind of schematic diagram of sectional drawing device according to an embodiment of the invention.
Same or analogous reference represents same or analogous part in accompanying drawing.
Embodiment
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although operations are described as the processing of order by flow chart, therein to be permitted Multioperation can be implemented concurrently, concomitantly or simultaneously.In addition, the order of operations can be rearranged.When it The processing can be terminated when operation is completed, it is also possible to the additional step being not included in accompanying drawing.The processing It can correspond to method, function, code, subroutine, subprogram etc..
Alleged within a context " computer equipment ", refer to that numerical value meter can be performed by running preset program or instruction The intelligent electronic device of the predetermined process process such as calculation and/or logical calculated, it can include processor and memory, by processor The programmed instruction to prestore in memory is performed to perform to perform predetermined process process, or by hardware such as ASIC, FPGA, DSP Predetermined process process, or realized by said two devices combination.Computer equipment includes but is not limited to server, personal computer (PC), notebook computer, tablet personal computer, smart mobile phone etc..
The computer equipment is for example including user equipment and the network equipment.Wherein, the user equipment includes but unlimited In personal computer (PC), notebook computer, mobile terminal etc., the mobile terminal includes but is not limited to smart mobile phone, PDA Deng;The network equipment includes but is not limited to single network server, the server group of multiple webservers composition or is based on The cloud being made up of a large amount of computers or the webserver of cloud computing (Cloud Computing), wherein, cloud computing is distributed One kind of calculating, a super virtual computer being made up of the computer collection of a group loose couplings.Wherein, the computer is set It is standby can isolated operation realize the present invention, also can access network and pass through the interactive operation with other computer equipments in network To realize the present invention.Wherein, the network residing for the computer equipment includes but is not limited to internet, wide area network, Metropolitan Area Network (MAN), office Domain net, VPN etc..
It should be noted that the user equipment, the network equipment and network etc. are only for example, other are existing or from now on may be used The computer equipment or network that can occur such as are applicable to the present invention, should also be included within the scope of the present invention, and to draw It is incorporated herein with mode.
The method (some of them illustrated by flow) discussed herein below can by hardware, software, firmware, in Between part, microcode, hardware description language or its any combination implement.When with software, firmware, middleware or microcode come real Shi Shi, to implement the program code of necessary task or code segment can be stored in machine or computer-readable medium (such as Storage medium) in.(one or more) processor can implement necessary task.
Concrete structure and function detail disclosed herein are only representational, and are for describing showing for the present invention The purpose of example property embodiment.But the present invention can be implemented by many alternative forms, and it is not interpreted as It is limited only by the embodiments set forth herein.
Although it should be appreciated that may have been used term " first ", " second " etc. herein to describe unit, But these units should not be limited by these terms.It is used for the purpose of using these terms by a unit and another unit Make a distinction.For example, in the case of the scope without departing substantially from exemplary embodiment, it is single that first module can be referred to as second Member, and similarly second unit can be referred to as first module.Term "and/or" used herein above include one of them or Any and all combination of more listed associated items.
Term used herein above is not intended to limit exemplary embodiment just for the sake of description specific embodiment.Unless Context clearly refers else, otherwise singulative used herein above "one", " one " also attempt to include plural number.Should also When understanding, term " comprising " and/or "comprising" used herein above provide stated feature, integer, step, operation, The presence of unit and/or component, and do not preclude the presence or addition of other one or more features, integer, step, operation, unit, Component and/or its combination.
It should further be mentioned that in some replaces realization modes, the function/action being previously mentioned can be according to different from attached The order indicated in figure occurs.For example, depending on involved function/action, the two width figures shown in succession actually may be used Substantially simultaneously to perform or can perform in a reverse order sometimes.
The present invention is described in further detail below in conjunction with the accompanying drawings.
Fig. 1 shows the block diagram suitable for being used for the exemplary computer system/server 12 for realizing embodiment of the present invention. The computer system/server 12 that Fig. 1 is shown is only an example, should not be to the function and use range of the embodiment of the present invention Bring any restrictions.
As shown in figure 1, computer system/server 12 is showed in the form of universal computing device.Computer system/service The component of device 12 can include but is not limited to:One or more processor or processing unit 16, system storage 28, connection The bus 18 of different system component (including system storage 28 and processing unit 16).
Bus 18 represents the one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift For example, these architectures include but is not limited to industry standard architecture (ISA) bus, MCA (MAC) Bus, enhanced isa bus, VESA's (VESA) local bus and periphery component interconnection (PCI) bus.
Computer system/server 12 typically comprises various computing systems computer-readable recording medium.These media can be appointed What usable medium that can be accessed by computer system/server 12, including volatibility and non-volatile media, it is moveable and Immovable medium.
Memory 28 can include the computer system readable media of form of volatile memory, such as random access memory Device (RAM) 30 and/or cache memory 32.Computer system/server 12 may further include it is other it is removable/no Movably, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing Immovable, non-volatile magnetic media (Fig. 1 is not shown, commonly referred to as " hard disk drive ").Although not shown in Fig. 1, can To provide the disc driver being used for may move non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable non-volatile Property CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write CD drive.In these cases, it is each to drive Dynamic device can be connected by one or more data media interfaces with bus 18.Memory 28 can include at least one program Product, the program product have one group of (for example, at least one) program module, and these program modules are configured to perform the present invention The function of each embodiment.
Program/utility 40 with one group of (at least one) program module 42, such as memory 28 can be stored in In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs Module and routine data, the realization of network environment may be included in each or certain combination in these examples.Program mould Block 42 generally performs function and/or method in embodiment described in the invention.
Computer system/server 12 can also be (such as keyboard, sensing equipment, aobvious with one or more external equipments 14 Show device 24 etc.) communication, it can also enable a user to lead to the equipment that the computer system/server 12 interacts with one or more Letter, and/or any set with make it that the computer system/server 12 communicated with one or more of the other computing device Standby (such as network interface card, modem etc.) communicates.This communication can be carried out by input/output (I/O) interface 22.And And computer system/server 12 can also pass through network adapter 20 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network, such as internet) communication.As illustrated, network adapter 20 passes through bus 18 communicate with other modules of computer system/server 12.It should be understood that although not shown in Fig. 1, computer can be combined Systems/servers 12 use other hardware and/or software module, include but is not limited to:Microcode, device driver, at redundancy Manage unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 is stored in the program in memory 28 by operation, so as to perform various function application and data Processing.
For example, the various functions for performing the present invention and the computer program of processing, processing are stored with memory 28 When unit 16 performs corresponding computer program, the present invention is implemented in the identification that network-side is intended to incoming call.
The present invention described in detail below carries out concrete function/step of screenshotss based on page elements.
Fig. 2 shows method flow diagram according to an embodiment of the invention, and it specifically illustrates a kind of real by computer equipment Existing sectional drawing process.
Typically, for example various user equipmenies of computer equipment that the present invention is applicable.More specifically, the present invention can be with Realized by the browser in user equipment or browser plug-in.
Hereinafter, unless otherwise instructed, computer equipment is equal with browser and used.
As shown in Fig. 2 in step sl, the page that computer equipment browses to user carries out page structure parsing, to know Each page elements in the not described page;In step s 2, focus of the computer equipment according to the user on the page Operation, determine the corresponding page elements of the focus operation;In step s3, computer equipment is when user is to page member During element triggering sectional drawing request, to the overall execution sectional drawing of the page elements.
Specifically, in step sl, the page that computer equipment browses to user carries out page structure parsing, to identify page Each page elements in face.
Here, when user opens one or more pages by browser, browser can carry out page to each page Face structure elucidation, such as by parsing the dom tree of the page, to identify each page elements in the page.
Alternately, the partial page that the front page layout or user that browser only currently can also browsed to user are opened Face carries out page structure parsing, as long as always ensureing to provide the user to perform sheet to the front page layout that it is currently being browsed The sectional drawing scheme of invention.
For example, user is redirected in each Shipping Options Page of browser, it is clear when user jumps to current front page layout Device of looking at can carry out page structure parsing in real time to the front page layout, and then identify each page elements in the page.
It should be noted that the present invention is not limited the mode of page structure parsing, it is any to can be used for identifying the page The analysis mode of element goes for the present invention, so as to fall into the scope of patent protection of the present invention.
In step s 2, computer equipment operates according to focus of the user on the page, corresponding to true fixed-focus operation Page elements.
Because the screen of equipment limits, user can be browsed by sliding the page to full page content.Specific Page browsing during, user can perform focus operation to partial content, such as be operated by cursor of mouse or touch to page Certain content in face is paid close attention to, as cursor of mouse hover at certain content or finger long-press content at.
When the focus for detecting user operates, browser is the page elements that can determine that focus operation is corresponding.For example, The position operated according to user focus and the position of each page elements, browser can really the page corresponding to fixed-focus operation it is first Element.
Browser can be needed according to different applications come the level of page elements corresponding to setting fixed-focus operation.For example, Focus operation is when corresponding to an article paragraph, browser can select paragraph block conduct corresponding to page elements, can also Select page elements corresponding to the content blocks conduct of whole document.
For example, for example, referring to Fig. 3 (a), " I likes the musical works that user hovers cursor of mouse on the right side of the page You ", browser can determine that the corresponding page elements of focus operation are " relevant musical works " page block accordingly.Or Whole associated recommendation page block on the right side of the page can be operated corresponding page elements as the focus by browser, wherein wrapping Include " relevant musical works " sub-block and " related films and television programs " sub-block.
Preferably, operated in response to focus of the user on the page, it is right that computer equipment prompts the user with focus operation institute The page elements answered.
For example, the musical works " I Love You " that cursor of mouse hovers on the right side of the page referring still to Fig. 3 (a), user, clear Device of looking at is shown whole associated recommendation page block corresponding to focus operation as " choosing " element, to prompt user can " to choose " element to do further operation, such as sectional drawing this.
Here, the prompting of the page elements corresponding to focusing operation can be the correlation attribute information of the page elements.
For example, the musical works " I Love You " that cursor of mouse hovers on the right side of the page referring still to Fig. 3 (a), user, clear Device is look at using whole associated recommendation page block corresponding to focus operation as " choosing " element, and shows that it is related above element Attribute information, such as the mark and size of page block.
The prompting of the corresponding page elements of focusing operation can also be the option of operation to the page elements.
For example, user hovers cursor of mouse when the page somewhere, browser prompts the user with the " choosing of the page location In " page elements and the available action option corresponding to the page elements, such as sectional drawing, save as.
In step s3, when the corresponding page elements triggering sectional drawing request of user's focusing operation, computer equipment Sectional drawing is performed to full page element.
Here, the triggering mode of sectional drawing request can for example be click on the corresponding page elements of focus operation, selection should Sectional drawing option etc. corresponding to page elements.
Based on different sectional drawing function unlatching/implementations, the triggering mode of sectional drawing request is different.
For example, user after webpage is opened, can click on " sectional drawing " button in browser to activate based on page elements Sectional drawing function.Accordingly, browser carries out page structure parsing to user's browsing pages, to be operated in response to the focus of user, Its corresponding page elements is determined, and when user triggers sectional drawing request, as user clicks on the page elements, to full page member Element performs sectional drawing.
And for example, browser gives tacit consent to the unlatching of its " sectional drawing " function, and provides the sectional drawing based on page elements.Accordingly, Yong Hu When browsing webpage, browser carries out page structure parsing to user's browsing pages, to be operated in response to the focus of user, determines it Corresponding page elements, and when user triggers sectional drawing request, the sectional drawing option as corresponding to user selects the page elements, to whole Individual page elements perform sectional drawing.
When the corresponding page elements triggering sectional drawing request of user's focusing operation, browser extraction full page element And sectional drawing is performed to it.Browser select a father node as focus operate corresponding to page elements when, its subordinate it is each Child node can be by sectional drawing.
For example, coordinating refering to Fig. 3 (a) and (b), in Fig. 3 (a), browser determines page corresponding to the focus operation of user Face block, i.e., " choosing " element on the right side of the page, when detecting the sectional drawing request that user triggers to the page block, browser extraction The page block, i.e. father node " whole associated recommendation " page block, including " relevant musical works " sub-block and " related video display work Product " sub-block, sectional drawing is performed to the page block, so as to obtain sectional drawing result, as shown in Fig. 3 (b).
And for example, coordinate refering to Fig. 3 (a) and (c), in Fig. 3 (a), browser determines page corresponding to the focus operation of user Face block, i.e., the search result column on the left of the page, when detecting the sectional drawing request that user triggers to the page block, browser extraction The page block, i.e., whole search result column (including all search results in the page), performs sectional drawing, so as to obtain to it Sectional drawing result is obtained, as shown in Fig. 3 (c).Here, the sectional drawing result in Fig. 3 (c) not only includes what user saw on current screen It can not be presented in search result, in addition to current screen, it is necessary to other search results that scroll through pages can just be seen.
According to the sectional drawing scheme of the present invention, it carries out sectional drawing based on page elements, the reality on page elements this dimensions Show completely with easily sectional drawing scheme, the focus of user is operated into corresponding page elements and integrally carries out sectional drawing, so as to nothing Need user's roll screen to carry out multiple sectional drawing and also voluntarily to cut or splice after sectional drawing, mouse is voluntarily dragged without user To set sectional drawing scope.
Fig. 4 shows an apparatus in accordance with one embodiment of the invention schematic diagram, and it, which specifically illustrates one kind and is installed on computer, sets Standby sectional drawing device.
As shown in figure 4, sectional drawing device 400 is installed in computer equipment, and further comprise page parsing device 401, Element determining device 402 and sectional drawing performs device 403.Typically, sectional drawing device 400 is installed on as a separate functional blocks In browser.For example, sectional drawing device 400 can be used as browser plug-in.
Wherein, the page that page parsing device 401 browses to user carries out page structure parsing, to identify in the page Each page elements;Element determining device 402 operates according to the focus of the user on the page, determines the focus behaviour Make corresponding page elements;Sectional drawing performs device 403 is when user is to page elements triggering sectional drawing request, to the page The overall execution sectional drawing of surface element.
Specifically, the page that page parsing device 401 browses to user carries out page structure parsing, to identify in the page Each page elements.
Here, when user opens one or more pages by browser, page parsing device 401 can be to each page Face carries out page structure parsing, such as by parsing the dom tree of the page, to identify each page elements in the page.
Alternately, the front page layout or user that page parsing device 401 only currently can also browsed to user are beaten The partial page opened carries out page structure parsing, as long as always ensureing that the foreground for currently browsing it can be provided the user The page performs the sectional drawing scheme of the present invention.
For example, user is redirected in each Shipping Options Page of browser, and when user jumps to current front page layout, page Face resolver 401 can carry out page structure parsing in real time to the front page layout, and then identify the member of each page in the page Element.
It should be noted that the present invention is not limited the mode of page structure parsing, it is any to can be used for identifying the page The analysis mode of element goes for the present invention, so as to fall into the scope of patent protection of the present invention.
Afterwards, element determining device 402 operates according to focus of the user on the page, the page corresponding to true fixed-focus operation Surface element.
Because the screen of equipment limits, user can be browsed by sliding the page to full page content.Specific Page browsing during, user can perform focus operation to partial content, such as be operated by cursor of mouse or touch to page Certain content in face is paid close attention to, as cursor of mouse hover at certain content or finger long-press content at.
When the focus for detecting user operates, element determining device 402 is the page that can determine that focus operation is corresponding Element.For example, the position operated according to user focus and the position of each page elements, element determining device 402 can determine Page elements corresponding to focus operation.
Element determining device 402 can be needed according to different applications come the layer of page elements corresponding to setting fixed-focus operation Level.For example, when focus operation corresponds to an article paragraph, element determining device 402 can select the paragraph block as corresponding Page elements, can also select whole document content blocks be used as corresponding to page elements.
For example, for example, referring to Fig. 3 (a), " I likes the musical works that user hovers cursor of mouse on the right side of the page You ", element determining device 402 can determine that the corresponding page elements of focus operation are " relevant musical works " page accordingly Block.Or element determining device 402 can be using the whole associated recommendation page block on the right side of the page as corresponding to focus operation Page elements, including " relevant musical works " sub-block and " related films and television programs " sub-block.
Preferably, operated in response to focus of the user on the page, in element determining device 402 or sectional drawing device 400 Other devices prompt the user with the corresponding page elements of focus operation.
For example, the musical works " I Love You " that cursor of mouse hovers on the right side of the page referring still to Fig. 3 (a), user, member Plain determining device 402 shown whole associated recommendation page block corresponding to the focus operates as " choosing " element, with Prompting user " can choose " element to do further operation, such as sectional drawing this.
Here, the prompting of the page elements corresponding to focusing operation can be the correlation attribute information of the page elements.
For example, the musical works " I Love You " that cursor of mouse hovers on the right side of the page referring still to Fig. 3 (a), user, member Plain determining device 402 is using whole associated recommendation page block corresponding to the focus operates as " choosing " element, and above element Its correlation attribute information is shown, such as the mark and size of page block.
The prompting of the corresponding page elements of focusing operation can also be the option of operation to the page elements.
For example, user hovers cursor of mouse when the page somewhere, element determining device 402 prompts the user with the page position The available action option corresponding to " choosing " page elements and the page elements put, such as sectional drawing, save as.
Then, when the corresponding page elements triggering sectional drawing request of user's focusing operation, sectional drawing performs device 403 is right Full page element performs sectional drawing.
Here, the triggering mode of sectional drawing request can for example be click on the corresponding page elements of focus operation, selection should Sectional drawing option etc. corresponding to page elements.
Based on different sectional drawing function unlatching/implementations, the triggering mode of sectional drawing request is different.
For example, user after webpage is opened, can click on " sectional drawing " button in browser to activate based on page elements Sectional drawing function.Accordingly, the activation device (not shown) in sectional drawing device 400 is based on the sectional drawing function.Page parsing device 401 User's browsing pages are carried out with page structure parsing, element determining device 402 operates in response to the focus of user, determines that it is corresponding Page elements, and when user triggers sectional drawing request, as user clicks on the page elements, sectional drawing performs device 403 is to whole Individual page elements perform sectional drawing.
And for example, browser gives tacit consent to the unlatching of its " sectional drawing " function, and provides the sectional drawing based on page elements.Accordingly, Yong Hu When browsing webpage, page parsing device 401 carries out page structure parsing to user's browsing pages, and element determining device 402 responds Operated in the focus of user, determine its corresponding page elements, and when user triggers sectional drawing request, as user selects the page Sectional drawing option corresponding to surface element, sectional drawing performs device 403 perform sectional drawing to full page element.
When the corresponding page elements triggering sectional drawing request of user's focusing operation, sectional drawing performs device 403 is extracted whole Individual page elements simultaneously perform sectional drawing to it.A father node is selected as page corresponding to focus operation in element determining device 402 During surface element, each child node of its subordinate can perform sectional drawing by sectional drawing performs device 403.
For example, coordinating refering to Fig. 3 (a) and (b), in Fig. 3 (a), element determining device 402 determines the focus operation of user Corresponding page block, i.e., " choosing " element on the right side of the page, when detecting the sectional drawing request that user triggers to the page block, cut Figure performs device 403 extracts the page block, i.e. father node " whole associated recommendation " page block, including " relevant musical works " Sub-block and " related films and television programs " sub-block, sectional drawing is performed to the page block, so as to obtain sectional drawing result, as shown in Fig. 3 (b).
And for example, coordinate refering to Fig. 3 (a) and (c), in Fig. 3 (a), element determining device 402 determines the focus operation of user Corresponding page block, i.e., the search result column on the left of the page, when detecting the sectional drawing request that user triggers to the page block, cut Figure performs device 403 extracts the page block, i.e., whole search result column (including all search results in the page) is right It performs sectional drawing, so as to obtain sectional drawing result, as shown in Fig. 3 (c).Here, the sectional drawing result in Fig. 3 (c) not only includes user The search result seen on current screen, in addition to can not be presented in current screen, it is necessary to scroll through pages can just see its His search result.
According to the sectional drawing scheme of the present invention, it carries out sectional drawing based on page elements, the reality on page elements this dimensions Show completely with easily sectional drawing scheme, the focus of user is operated into corresponding page elements and integrally carries out sectional drawing, so as to nothing Need user's roll screen to carry out multiple sectional drawing and also voluntarily to cut or splice after sectional drawing, mouse is voluntarily dragged without user To set sectional drawing scope.
It should be noted that the present invention can be carried out in the assembly of software and/or software and hardware, for example, can adopt With application specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In one embodiment In, software program of the invention can realize steps described above or function by computing device.Similarly, it is of the invention Software program (including related data structure) can be stored in computer readable recording medium storing program for performing, for example, RAM memory, Magnetically or optically driver or floppy disc and similar devices.In addition, some steps or function of the present invention can employ hardware to realize, example Such as, coordinate as with processor so as to perform the circuit of each step or function.
In addition, the part of the present invention can be applied to computer program product, such as computer program instructions, when its quilt When computer performs, by the operation of the computer, the method according to the invention and/or technical scheme can be called or provided. And the programmed instruction of the method for the present invention is called, it is possibly stored in fixed or moveable recording medium, and/or pass through Broadcast or the data flow in other signal bearing medias and be transmitted, and/or be stored according to described program instruction operation In the working storage of computer equipment.Here, including a device according to one embodiment of present invention, the device includes using Memory in storage computer program instructions and processor for execute program instructions, wherein, when the computer program refers to When order is by the computing device, method and/or skill of the plant running based on foregoing multiple embodiments according to the present invention are triggered Art scheme.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power Profit requires rather than described above limits, it is intended that all in the implication and scope of the equivalency of claim by falling Change is included in the present invention.Any reference in claim should not be considered as to the involved claim of limitation.This Outside, it is clear that the word of " comprising " one is not excluded for other units or step, and odd number is not excluded for plural number.That is stated in system claims is multiple Unit or device can also be realized by a unit or device by software or hardware.The first, the second grade word is used for table Show title, and be not offered as any specific order.

Claims (17)

1. a kind of screenshot method, wherein, this method includes:
The page browsed to user carries out page structure parsing, to identify each page elements in the page;
Operated according to the focus of the user on the page, determine the corresponding page elements of the focus operation;
When user is to page elements triggering sectional drawing request, to the overall execution sectional drawing of the page elements.
2. according to the method for claim 1, wherein, this method also includes:
Operated in response to the focus, the page elements are prompted to the user.
3. according to the method for claim 2, wherein, the prompting includes the correlation attribute information of the page elements.
4. according to the method for claim 2, wherein, the prompting includes the option of operation to the page elements.
5. according to the method for claim 4, wherein, the option of operation includes shot operation option.
6. according to the method in any one of claims 1 to 3, wherein, the triggering mode of the sectional drawing request includes clicking on The page elements.
7. according to the method for claim 6, wherein, before page structure parsing is carried out, this method also includes:
Activate the sectional drawing function to page elements.
8. a kind of sectional drawing device, wherein, the device includes:
The page for being browsed to user carries out page structure parsing, to identify the device of each page elements in the page;
For being operated according to the focus of the user on the page, the corresponding page elements of the focus operation are determined Device;
For when user to the page elements triggering sectional drawing request when, to the dress of the overall execution sectional drawing of the page elements Put.
9. device according to claim 8, wherein, the device also includes:
For being operated in response to the focus, the device of the page elements is prompted to the user.
10. device according to claim 9, wherein, the correlation attribute information for prompting to include the page elements.
11. device according to claim 9, wherein, the prompting includes the option of operation to the page elements.
12. device according to claim 11, wherein, the option of operation includes shot operation option.
13. the device according to any one of claim 8 to 10, wherein, the triggering mode of the sectional drawing request includes point Hit the page elements.
14. according to the method for claim 13, wherein, the device also includes:
For activating the device to the sectional drawing function of page elements.
15. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, wherein, realized described in the computing device during computer program as any one of claim 1 to 7 Method.
16. a kind of computer-readable recording medium, is stored thereon with computer program, wherein, the computer program is processed The method as any one of claim 1 to 7 is realized when device performs.
17. a kind of computer program product, realize that right such as will when the computer program product is performed by computer equipment Seek the method any one of 1 to 7.
CN201710806166.6A 2017-09-08 2017-09-08 A kind of screenshot method and device Pending CN107797838A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710806166.6A CN107797838A (en) 2017-09-08 2017-09-08 A kind of screenshot method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710806166.6A CN107797838A (en) 2017-09-08 2017-09-08 A kind of screenshot method and device

Publications (1)

Publication Number Publication Date
CN107797838A true CN107797838A (en) 2018-03-13

Family

ID=61532260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710806166.6A Pending CN107797838A (en) 2017-09-08 2017-09-08 A kind of screenshot method and device

Country Status (1)

Country Link
CN (1) CN107797838A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111090375A (en) * 2019-11-21 2020-05-01 深圳前海环融联易信息科技服务有限公司 Intelligent webpage screenshot method and device, computer equipment and storage medium
CN111382386A (en) * 2020-03-03 2020-07-07 上海掌门科技有限公司 Method and equipment for generating webpage screenshot
CN111522613A (en) * 2020-04-16 2020-08-11 维沃移动通信有限公司 Screen capturing method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710936A (en) * 2009-12-16 2010-05-19 中兴通讯股份有限公司 IPTV printscreen realization method and device based on set-top box
CN102521284A (en) * 2011-11-28 2012-06-27 优视科技有限公司 Page screenshot processing method and device based on mobile terminal browser
CN103365862A (en) * 2012-03-28 2013-10-23 北京百度网讯科技有限公司 Method and equipment for generating pictures corresponding to pages
CN104750495A (en) * 2015-04-08 2015-07-01 魅族科技(中国)有限公司 Screenshot method and device
CN104834753A (en) * 2015-05-28 2015-08-12 百度在线网络技术(北京)有限公司 Webpage screenshot generating method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710936A (en) * 2009-12-16 2010-05-19 中兴通讯股份有限公司 IPTV printscreen realization method and device based on set-top box
CN102521284A (en) * 2011-11-28 2012-06-27 优视科技有限公司 Page screenshot processing method and device based on mobile terminal browser
CN103365862A (en) * 2012-03-28 2013-10-23 北京百度网讯科技有限公司 Method and equipment for generating pictures corresponding to pages
CN104750495A (en) * 2015-04-08 2015-07-01 魅族科技(中国)有限公司 Screenshot method and device
CN104834753A (en) * 2015-05-28 2015-08-12 百度在线网络技术(北京)有限公司 Webpage screenshot generating method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111090375A (en) * 2019-11-21 2020-05-01 深圳前海环融联易信息科技服务有限公司 Intelligent webpage screenshot method and device, computer equipment and storage medium
CN111382386A (en) * 2020-03-03 2020-07-07 上海掌门科技有限公司 Method and equipment for generating webpage screenshot
CN111522613A (en) * 2020-04-16 2020-08-11 维沃移动通信有限公司 Screen capturing method and electronic equipment
WO2021208890A1 (en) * 2020-04-16 2021-10-21 维沃移动通信有限公司 Screen capturing method and electronic device
CN111522613B (en) * 2020-04-16 2024-03-22 维沃移动通信有限公司 Screen capturing method and electronic equipment

Similar Documents

Publication Publication Date Title
US9760541B2 (en) Systems and methods for delivery techniques of contextualized services on mobile devices
US9152529B2 (en) Systems and methods for dynamically altering a user interface based on user interface actions
US8275920B2 (en) Event handling in an integrated execution environment
US8862574B2 (en) Providing a search-result filters toolbar
US20090199127A1 (en) Previewing target display areas
US10353721B2 (en) Systems and methods for guided live help
US20140082533A1 (en) Navigation Interface for Electronic Content
US20090231285A1 (en) Interpreting ambiguous inputs on a touch-screen
US20110248939A1 (en) Apparatus and method for sensing touch
US20120110453A1 (en) Display of Image Search Results
WO2014008449A2 (en) Dynamic template galleries
CN107797838A (en) A kind of screenshot method and device
US8584001B2 (en) Managing bookmarks in applications
CN107368568A (en) A kind of method, apparatus, equipment and storage medium for taking down notes generation
US9910916B1 (en) Digital content excerpt identification
US20160300292A1 (en) Product navigation tool
US20140351750A1 (en) Method and system for operating electronic device
US10891320B1 (en) Digital content excerpt identification
EP3210101B1 (en) Hit-test to determine enablement of direct manipulations in response to user actions
KR20220043488A (en) Method for providing analysis results of music related content and computer-readable recording medium
US10380226B1 (en) Digital content excerpt identification
KR102607064B1 (en) Method for providing analysis results of music related content and computer-readable recording medium
JP5598460B2 (en) Search system, search system control method, and program thereof
CN109074374A (en) It selects to obtain context-related information using gesture
US20140108926A1 (en) Using metadata

Legal Events

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

Application publication date: 20180313

RJ01 Rejection of invention patent application after publication