WO2017206739A1 - 一种截图方法及装置 - Google Patents

一种截图方法及装置 Download PDF

Info

Publication number
WO2017206739A1
WO2017206739A1 PCT/CN2017/085128 CN2017085128W WO2017206739A1 WO 2017206739 A1 WO2017206739 A1 WO 2017206739A1 CN 2017085128 W CN2017085128 W CN 2017085128W WO 2017206739 A1 WO2017206739 A1 WO 2017206739A1
Authority
WO
WIPO (PCT)
Prior art keywords
screenshot
page
event
dynamic
time
Prior art date
Application number
PCT/CN2017/085128
Other languages
English (en)
French (fr)
Inventor
叶林清
Original Assignee
广州市动景计算机科技有限公司
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 广州市动景计算机科技有限公司 filed Critical 广州市动景计算机科技有限公司
Publication of WO2017206739A1 publication Critical patent/WO2017206739A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present invention relates to the field of Internet technologies, and more particularly, to a screenshot method and apparatus.
  • a method for taking a screenshot of a webpage including: if the webpage to be intercepted is completely displayed on the display screen, the display screen is screenshotd to obtain a image of the webpage to be intercepted. If the webpage to be intercepted is not completely displayed in the display screen, the screenshot is first taken to obtain a picture of the content of some webpages in the webpage to be intercepted. Then, by scrolling, scroll the webpage content that is not displayed in the webpage to be displayed on the display screen, and then take a screenshot of the display screen to obtain a picture of another part of the webpage content in the webpage to be intercepted. So follow the above steps until the picture of all the webpage content in the webpage to be intercepted is intercepted.
  • a screenshot corresponding to the new page may be automatically intercepted.
  • manual intervention can be avoided in accordance with embodiments of the present invention. In this way, the efficiency of the screenshot and/or the accuracy of the screenshot can be improved.
  • an embodiment of the present invention provides a screenshot method, where the method includes:
  • Dynamic screenshot data is generated according to the initial screenshot and the screenshot corresponding to the new page generated by each of the page change trigger events.
  • the embodiment of the present invention provides the first possible implementation manner of the foregoing first aspect, wherein the page change trigger event includes a scroll event; the real-time monitoring page change trigger event, each time the page is monitored When the change triggers the event, the screenshot corresponding to the new page generated by the page change trigger event is intercepted, including:
  • the embodiment of the present invention provides the second possible implementation manner of the foregoing first aspect, wherein the page change triggering event includes a link click event; the real-time monitoring page change trigger event, each time monitoring When the page change triggers the event, the screenshot corresponding to the new page generated by the page change trigger event is intercepted, including:
  • the embodiment of the present invention provides a third possible implementation manner of the foregoing first aspect, wherein the Each time the page change triggers an event corresponding to the new page generated by the screenshot, generating dynamic screenshot data, including:
  • the present invention is implemented
  • the fourth possible implementation manner of the foregoing first aspect is provided, wherein the dynamic screenshot data is generated according to the screenshot corresponding to the start screenshot and the new page generated by each of the page change trigger events.
  • the screenshot corresponding to the initial screenshot and each new page generated by the page change trigger event is spliced into a static image according to the order of the interception time, and the static image is used as the dynamic screenshot data.
  • the embodiment of the present invention provides the fifth possible implementation manner of the foregoing first aspect, wherein the method further includes:
  • the screenshot corresponding to the page is intercepted again as a screenshot corresponding to the link click event.
  • the embodiment of the present invention provides the sixth possible implementation manner of the foregoing first aspect, wherein the method further includes:
  • the dynamic screenshot data is generated according to the initial screenshot, the screenshot corresponding to the link click event, and the screenshot corresponding to the new page.
  • the embodiment of the present invention provides the seventh possible implementation manner of the foregoing first aspect, wherein, according to the initial screenshot, the link click event
  • the screenshot and the screenshot corresponding to the new page generate dynamic screenshot data, including:
  • the static image is spliced into a static image according to the sequence of the interception time, and the static image is used as the dynamic screenshot data.
  • an embodiment of the present invention provides a screenshot device, where the device includes:
  • the intercepting module is configured to intercept a screenshot corresponding to the current page as a starting screenshot when receiving the dynamic screenshot instruction;
  • a monitoring module configured to monitor a page change trigger event in real time until receiving a stop screenshot instruction
  • An intercepting module configured to intercept a screenshot corresponding to a new page generated by the page change triggering event each time the monitoring module detects a page change triggering event;
  • a generating module configured to generate dynamic screenshot data according to the initial screenshot and the screenshot corresponding to the new page generated by each of the page change trigger events.
  • the embodiment of the present invention provides the first possible implementation manner of the foregoing second aspect, wherein the page change triggering event includes a rolling event;
  • the monitoring module is configured to monitor in real time whether the input device and the scroll bar in the current screen trigger a scroll event
  • the intercepting module is configured to: when the monitoring module detects that the input device triggers a scrolling event, or each time the monitoring module detects that the scroll bar in the current screen triggers a scrolling event, intercepting the current screen displayed after the page scrolling A screenshot of the new page.
  • the embodiment of the present invention provides the second possible implementation manner of the foregoing second aspect, wherein the page change triggering event includes a link click event;
  • the monitoring module is configured to perform real-time monitoring on a link included in a page displayed on the current screen
  • the intercepting module comprises:
  • a loading unit configured to load a new page corresponding to the link click event each time the monitoring module detects a link trigger link click event in the page;
  • An intercepting unit configured to intercept a screenshot corresponding to the new page loaded in the current screen.
  • the embodiment of the present invention provides the third possible implementation manner of the foregoing second aspect, wherein the generating module is configured to perform The initial screenshot and the screenshot corresponding to the new page generated by the page change trigger event are generated in the order of the interception time, and the dynamic graph is used as the dynamic screenshot data.
  • the embodiment of the present invention provides the fourth possible implementation manner of the foregoing second aspect, wherein the generating module is used to The screenshots corresponding to the initial screenshot and the new page generated by each of the page change trigger events are spliced into a static image according to the order of the interception time, and the static image is taken as the dynamic screenshot data.
  • the embodiment of the present invention provides the foregoing second A fifth possible implementation of the aspect, wherein the device further comprises:
  • a status detecting module configured to detect, when the monitoring module detects that the page generates a link click event, whether the display status of the clicked link changes
  • the intercepting module is further configured to: when the state detecting module detects that the display state of the clicked link is changed, intercept the screenshot corresponding to the page as a screenshot corresponding to the link click event.
  • the embodiment of the present invention provides the sixth possible implementation manner of the foregoing second aspect, where
  • the generating module is further configured to generate dynamic screenshot data according to the initial screenshot, the screenshot corresponding to the link click event, and the screenshot corresponding to the new page when receiving the stop screenshot instruction.
  • the embodiment of the present invention provides the seventh possible implementation manner of the foregoing second aspect, where
  • the generating module is further configured to generate a dynamic image according to the initial screenshot, the screenshot corresponding to the link click event, and the screenshot corresponding to the new page, in the order of the interception time, and use the dynamic graph as a dynamic Screenshot data; or,
  • the generating module is further configured to, according to the initial screenshot, the screenshot corresponding to the link click event, and the screenshot corresponding to the new page, splicing into a static image according to a sequence of intercepting time, and the static
  • the graph is used as dynamic screenshot data.
  • an embodiment of the present invention provides a screenshot device, where the device includes: a processor, a memory, a bus, and a communication interface, where the processor, the communication interface, and the memory are connected by using the bus;
  • the memory is used to store a program
  • the processor configured to invoke a program stored in the memory by the bus, to perform the method of the first aspect.
  • the screenshot corresponding to the current page is intercepted as a starting screenshot; the real-time monitoring page change trigger event is up to Receiving a stop screenshot instruction; each time a page change trigger event is detected, a screenshot corresponding to a new page generated by the page change trigger event is intercepted; and a screen corresponding to the new page generated by the trigger event is triggered according to the initial screenshot and each page change event Screenshot to generate dynamic screenshot data.
  • the real-time monitoring of the page change triggering event occurs when the page change triggering event is generated to generate a new page.
  • the screenshot corresponding to the new page may be automatically intercepted. In scenarios where multiple screen shots are required, such as page scrolling or page jumps, manual intervention can be avoided in accordance with embodiments of the present invention. In this way, the efficiency of the screenshot and/or the accuracy of the screenshot can be improved.
  • FIG. 1A is a flowchart of a screenshot method provided by Embodiment 1 of the present invention.
  • FIG. 1B is a schematic diagram of a dynamic screenshot button provided by Embodiment 1 of the present invention.
  • FIG. 1C is a schematic diagram of another dynamic screenshot button provided by Embodiment 1 of the present invention.
  • FIG. 1D is a schematic diagram of a dynamic screenshot data provided by Embodiment 1 of the present invention.
  • FIG. 1E is a schematic diagram of another dynamic screenshot data provided by Embodiment 1 of the present invention.
  • FIG. 2 is a schematic structural diagram of a screenshot device according to Embodiment 2 of the present invention.
  • FIG. 3 is a schematic structural diagram of a screenshot device according to Embodiment 3 of the present invention.
  • an embodiment of the present invention provides a screenshot method and apparatus, which are described below by way of embodiments.
  • An embodiment of the present invention provides a screenshot method, and the execution body of the method may be a browser client.
  • the dynamic screenshot button can be provided in the browser client.
  • the screenshot method provided by the embodiment of the present invention can automatically capture the screenshot corresponding to the new page when the page changes.
  • manual intervention can be avoided in accordance with embodiments of the present invention. In this way, the efficiency of the screenshot and/or the accuracy of the screenshot can be improved.
  • the method includes the following steps:
  • Step 101 When receiving the dynamic screenshot instruction, intercept the screenshot corresponding to the current page as the starting screenshot.
  • the dynamic screenshot button may be a separate button set in the toolbar of the browser client.
  • the screenshot button is usually set in the toolbar of the current browser client.
  • Embodiments of the present invention may also add a pull-down option for a dynamic screenshot to a drop-down list of an existing screenshot button, and use the drop-down option as the dynamic screenshot button as shown in FIG. 1C.
  • the user can click the dynamic screenshot button to submit a dynamic screenshot instruction to the browser client.
  • the browser client receives the dynamic screenshot instruction, the screen capture operation is performed on the current terminal screen, and the screenshot corresponding to the current page is obtained, and the screenshot is taken as the initial screenshot of the dynamic screenshot.
  • the browser client also stores the initial screenshot of the dynamic screenshot capture and its corresponding interception time.
  • Step 102 Real-time monitoring the page change trigger event until receiving the stop screenshot instruction, and each time the page change trigger event is detected, intercepting the screenshot corresponding to the new page generated by the page change trigger event.
  • the above page change trigger events include scroll events.
  • the scrolling event can be triggered by a scroll bar in the terminal screen or by an input device, which can be a keyboard or a mouse.
  • a scroll event can be triggered by an up or down button on the keyboard, or a scrolling event can be triggered by a scroll wheel on the mouse.
  • the embodiment of the present invention automatically intercepts the screenshot corresponding to the changed page by monitoring the rolling event in real time and changing the content of the page displayed on the terminal screen. .
  • the real-time monitoring of rolling events and the specific process of automatically implementing dynamic screenshots include:
  • Multiple scroll events may be monitored before the browser client receives a stop screenshot instruction. For each of the monitored scroll events, the screenshot corresponding to the new page after the page scrolling is automatically intercepted as described above. That is, the browser client can intercept multiple screenshots during the time period when the dynamic screenshot instruction is received until the stop screenshot instruction is received.
  • the page change triggering event further includes a link click event.
  • the page content displayed on the terminal screen usually includes multiple links.
  • the browser client jumps to display the page corresponding to the clicked link, and the page content displayed on the terminal screen changes.
  • the embodiment of the invention automatically monitors the link click event and automatically intercepts the screenshot corresponding to the page after the jump occurs when the page jump occurs.
  • the real-time monitoring of link click events and the automatic process of automatically implementing dynamic screenshots include:
  • the link included in the page displayed in the current screen is monitored in real time; each time the link in the page is triggered to trigger the link click event, the new page corresponding to the link click event is loaded; and the screenshot corresponding to the new page loaded in the current screen is intercepted.
  • the user may perform a continuous jump of the page by clicking the link multiple times.
  • the browser client will monitor multiple link click events. For each detected link click event, the page will be automatically intercepted as described above.
  • the screenshot corresponding to the page That is, the browser client can intercept multiple screenshots during the time period when the dynamic screenshot instruction is received until the stop screenshot instruction is received.
  • the page change triggering event is not limited to the scroll event and the link click event, and any other event that causes the page content displayed in the current screen to be changed belongs to the embodiment of the present invention.
  • the page change triggers the event. For example, if the user clicks the drop-down button in the current page, causing the drop-down button to expand the display drop-down option, the click event of the drop-down button also belongs to a page change trigger event.
  • the browser client also stores a screenshot corresponding to the new page generated by each page change trigger event, and an interception time corresponding to each screenshot.
  • the user can submit the stop screenshot instruction by clicking the exit button on the keyboard, or submit the stop screenshot instruction by clicking the dynamic screenshot button in the toolbar again.
  • the browser client receives the stop screenshot instruction, the monitoring of the page change trigger event is stopped, and the dynamic screenshot data corresponding to the dynamic screenshot is generated by the following step 103.
  • Step 103 Generate dynamic screenshot data according to the screenshot of the new page generated by the initial screenshot and each page change trigger event.
  • Dynamic screenshot data includes various data formats such as dynamic graphs and static graphs.
  • the data formats are different, and the way to generate dynamic screenshot data is different.
  • the data format of the dynamic screenshot data is a dynamic image
  • the dynamic screenshot data is generated by the following methods, including:
  • the dynamic graph is generated according to the order of the interception time, and the dynamic graph is used as the dynamic screenshot data.
  • the browser client When receiving the stop screenshot instruction, the browser client obtains the stored initial screenshot and its corresponding interception time, and the screenshot corresponding to the new page generated by each page change trigger event and the interception corresponding to each screenshot. Time, according to the initial screenshot and the interception time corresponding to each screenshot, all the pictures captured during the dynamic screenshot are grouped into a sequence of pictures according to the order of interception time, and then the picture sequence is converted into a dynamic picture according to the preset frame rate. , the dynamic graph is taken as dynamic screenshot data.
  • the above preset frame rate may be 5 frames per second or 10 frames per second, and the like.
  • the embodiment of the present invention does not specifically limit the specific frame rate for generating a dynamic graph. In actual applications, the actual value of the preset frame rate can be customized according to requirements.
  • the dynamic screenshot data is generated by the following methods, including:
  • the screen shot corresponding to the new page generated by the initial screenshot and each page change trigger event is spliced into a static image in the order of the interception time, and the static image is taken as the dynamic screenshot data.
  • the browser client When receiving the stop screenshot instruction, the browser client obtains the stored initial screenshot and its corresponding interception time, and the screenshot corresponding to the new page generated by each page change trigger event and the interception corresponding to each screenshot.
  • Time according to the initial screenshot and the interception time corresponding to each screenshot, all the pictures captured during the dynamic screenshot are grouped into a sequence of pictures according to the order of interception time, and then the picture sequence is spliced into one according to the preset position order.
  • Static graph the static graph is taken as dynamic screenshot data.
  • the above preset position order may be in order from top to bottom or left to right.
  • the embodiment of the present invention does not specifically limit the specific position sequence of generating a static image. In an actual application, the preset position may be customized according to requirements.
  • an arrow for indicating the chronological order of the interception may be added between two adjacent screenshots.
  • the screenshot data in the dynamic screenshot data is a screenshot taken when the dynamic screenshot instruction is received
  • the screenshot b is a screenshot corresponding to the content of the new page after the scrolling event is monitored
  • Screenshot c is a screenshot corresponding to the new page generated by the link "Sports" in the screenshot b.
  • the arrow between the screenshots a and b indicates that the interception time of the screenshot a is earlier than the interception time of the screenshot b
  • the arrow between the screenshots b and c indicates that the interception time of the screenshot b is earlier than the interception time of the screenshot c.
  • embodiments of the present invention are more vivid in detecting link click events. Indicates the jump relationship between the two screenshots before and after the page jump. Before intercepting the screenshot corresponding to the new page after the page jump, the screenshot corresponding to the link click event is intercepted by the following methods, including:
  • the browser client When it is detected that the page generates a link click event, it is detected whether the display state of the clicked link is changed; when it is detected that the display state of the clicked link is changed, the screenshot corresponding to the page is intercepted again as a screenshot corresponding to the link click event. .
  • the browser client also stores a screenshot corresponding to the link click event and an interception time corresponding to the screenshot.
  • the dynamic screenshot data is generated by:
  • the dynamic screenshot data is generated according to the screenshot of the start screenshot, the screenshot corresponding to the link click event, and the screenshot corresponding to the new page.
  • the data form of the dynamic screenshot data includes various data forms such as dynamic maps and static maps.
  • the data form of the dynamic screenshot data is a dynamic image, according to the start screenshot, the screenshot corresponding to the link click event, and the screenshot corresponding to the new page, the dynamic map is generated according to the order of the interception time, and the dynamic graph is used as the dynamic screenshot data.
  • the specific process of generating a dynamic graph is the same as the operation of generating a dynamic graph in the above, and will not be described here.
  • the static image is spliced into a static image according to the order of the interception time, and the static image is taken as a dynamic screenshot. data.
  • the specific process of generating a static image is the same as the operation of generating a static image in the above, and will not be described here.
  • the page change trigger event corresponding to the page change is also performed as described above. Screenshots and generate dynamic interception data as described above.
  • the dynamic screenshot data is different from the dynamic screenshot data shown in FIG. 1D in that a screenshot d is added between the screenshots b and c, and the screenshot d is a link in the screenshot b is detected.
  • the screenshot of the link click event triggered by the link "Sports” is intercepted.
  • Screenshot d links to "sports” This "sports” changes to text with bold underscores.
  • the arrow between the screenshots b and d indicates that the interception time of the screenshot b is earlier than the interception time of the screenshot d
  • the arrow between the screenshots d and c indicates that the interception time of the screenshot d is earlier than the interception time of the screenshot c.
  • the dynamic screenshot data is also stored.
  • the data format of the dynamic screenshot data is dynamic In the figure, the user's friend can play the multiple screenshots included in the dynamic screenshot by clicking the dynamic screenshot data.
  • the data form of the dynamic screenshot data is a static image, the user's friends can browse a plurality of screenshots shared by the user according to the order of the screenshots in the dynamic screenshot data.
  • the browsing process action of the user can be completely recorded.
  • a trajectory dynamic screenshot of the entire continuous browsing process can be automatically generated.
  • manual intervention during the screenshot process can be avoided. In this way, the efficiency and/or accuracy of the screenshots can be improved.
  • the screenshot corresponding to the current page is intercepted as the initial screenshot; the page change trigger event is monitored in real time until the stop screenshot instruction is received; each time the page change trigger event is detected The screenshot corresponding to the new page generated by the page change trigger event is intercepted; the dynamic screenshot data is generated according to the screenshot corresponding to the new screenshot generated by the initial screenshot and each page change trigger event.
  • a screenshot corresponding to the new page may be automatically intercepted. In scenarios where multiple screen shots are required, such as page scrolling or page jumps, manual intervention can be avoided in accordance with embodiments of the present invention. In this way, the efficiency of the screenshot and/or the accuracy of the screenshot can be improved.
  • An embodiment of the present invention provides a screenshot device for performing the screenshot method provided in Embodiment 1 above.
  • the device provides a dynamic screenshot button for the user.
  • the screenshot device can automatically capture the screenshot corresponding to the new page when the page changes. Scenes that require multiple screen shots, such as page scrolling or page jumps
  • manual intervention can be avoided. In this way, the efficiency of the screenshot and/or the accuracy of the screenshot can be improved.
  • the device specifically includes:
  • the intercepting module 201 is configured to intercept a screenshot corresponding to the current page as a starting screenshot when receiving the dynamic screenshot instruction.
  • the monitoring module 202 is configured to monitor the page change trigger event in real time until receiving the stop screenshot instruction.
  • the intercepting module 201 is configured to intercept a screenshot corresponding to the new page generated by the page change triggering event when the monitoring module 202 detects the page change triggering event.
  • the generating module 203 is configured to generate dynamic screenshot data according to the screenshot corresponding to the initial screenshot and the new page generated by each page change trigger event.
  • the page change triggering event includes a scrolling event.
  • the scrolling event can be triggered by a scroll bar in the terminal screen or by an input device, which can be a keyboard or a mouse, such as a scrolling event triggered by an up or down button on the keyboard, or by a scroll wheel on the mouse. Trigger a scrolling event.
  • the monitoring module 202 is configured to monitor in real time whether the input device and the scroll bar in the current screen trigger a scroll event.
  • the intercepting module 201 is configured to monitor, by each monitoring module 202, that the input device triggers a scrolling event, or each time the monitoring module 202 detects that the scroll bar in the current screen triggers a scrolling event, intercepting the new page displayed in the current screen after the page scrolling Screenshot of the.
  • the page change triggering event includes a link click event.
  • the page content displayed on the terminal screen usually includes multiple links.
  • the browser client jumps to display the page corresponding to the clicked link, and the page content displayed on the terminal screen changes.
  • the monitoring module 202 is configured to perform real-time monitoring on the links included in the page displayed in the current screen.
  • the intercepting module 201 comprises:
  • a loading unit configured to load a new page corresponding to the link click event when the monitoring module detects that the link in the page triggers the link click event
  • An intercepting unit for intercepting a screenshot corresponding to a new page loaded in the current screen.
  • the data form of the dynamic screenshot data includes various data forms such as a dynamic map and a static map.
  • the generating module 203 is configured to generate a dynamic image according to the sequence of the interception time according to the screen shot corresponding to the new screenshot generated by the initial screenshot and each page change trigger event, and Dynamic graphs are used as dynamic screenshot data.
  • the generating module 203 is configured to splicing the screenshot corresponding to the new page generated by the initial screenshot and each page change triggering event into a static sequence according to the order of the interception time.
  • the static image as dynamic screenshot data.
  • the status detection module detects the status of the clicked link as follows.
  • the status detection module is configured to detect whether the display status of the clicked link changes when the monitoring module detects that the page generates a link click event.
  • the intercepting module 201 is further configured to: when the state detecting module detects that the display state of the clicked link is changed, intercept the screenshot corresponding to the page as the screenshot corresponding to the link click event.
  • the generating module 203 is further configured to generate a dynamic according to the screenshot of the initial screenshot, the link click event, and the screenshot corresponding to the new page when receiving the stop screenshot instruction. Screenshot data.
  • the generating module 203 is further configured to generate a dynamic image according to the sequence of the interception time according to the initial screenshot, the screenshot corresponding to the link click event, and the screenshot corresponding to the new page. , the dynamic map as dynamic screenshot data.
  • the generating module 203 is further configured to, according to the initial screenshot, the screenshot corresponding to the link click event, and the screenshot corresponding to the new page, splicing into a static image according to the sequence of the interception time. , the static image as dynamic screenshot data.
  • the screenshot corresponding to the current page is intercepted as the initial screenshot; the page change trigger event is monitored in real time until the stop intercept is received. a map instruction; each time a page change trigger event is detected, a screenshot corresponding to a new page generated by the page change trigger event is intercepted; and a screenshot corresponding to the new page generated by the start screenshot and each page change trigger event is generated.
  • Dynamic screenshot data By performing real-time monitoring on the page change triggering event, when a page change triggering event occurs to generate a new page, according to an embodiment of the present invention, a screenshot corresponding to the new page may be automatically intercepted. In scenarios where multiple screen shots are required, such as page scrolling or page jumps, manual intervention can be avoided in accordance with embodiments of the present invention. In this way, the efficiency of the screenshot and/or the accuracy of the screenshot can be improved.
  • an embodiment of the present invention provides a screenshot device, which is used to execute the screenshot method provided in Embodiment 1, and the device specifically includes: a processor 301, a memory 302, a bus 303, and a communication interface 304, and a processor. 301.
  • the communication interface 304 and the memory 302 are connected by a bus 303.
  • the memory 302 is used to store a program
  • the processor 301 is configured to invoke the program stored in the memory 302 through the bus 303 to execute the screenshot method provided in Embodiment 1.
  • the processor 301 intercepts the screenshot corresponding to the current page as the initial screenshot when receiving the dynamic screenshot instruction; monitors the page change trigger event in real time until receiving the stop screenshot instruction; each monitoring When the page change trigger event is triggered, the screenshot corresponding to the new page generated by the page change trigger event is intercepted; the dynamic screenshot data is generated according to the screenshot corresponding to the new screenshot generated by the start screenshot and each page change trigger event.
  • the screenshot corresponding to the current page is intercepted as the initial screenshot; the page change trigger event is monitored in real time until the stop screenshot instruction is received; each time the page change trigger event is detected
  • the screenshot corresponding to the new page generated by the page change trigger event is intercepted; the dynamic screenshot data is generated according to the screenshot corresponding to the new screenshot generated by the initial screenshot and each page change trigger event.
  • Real-time monitoring of page change trigger events when a page change trigger event occurs to generate a new page, according to the present invention
  • the screenshot corresponding to the new page can be automatically intercepted. In scenarios where multiple screen shots are required, such as page scrolling or page jumps, manual intervention can be avoided in accordance with embodiments of the present invention. In this way, the efficiency of the screenshot and/or the accuracy of the screenshot can be improved.
  • the screenshot device provided by the embodiment of the present invention may be specific hardware on the device or software or firmware installed on the device.
  • the implementation principle and the technical effects of the device provided by the embodiments of the present invention are the same as those of the foregoing method embodiments.
  • a person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working processes of the foregoing system, the device and the unit can refer to the corresponding processes in the foregoing method embodiments, and details are not described herein again.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some communication interface, device or unit, and may be electrical, mechanical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in the embodiment provided by the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to make a computer device (which can be a personal computer, The server, or network device, etc.) performs all or part of the steps of the method described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种截图方法及装置,其中,该方法包括:当接收到动态截图指令时,截取当前页面对应的屏幕截图作为起始截图(101);实时监测页面变化触发事件直至接收到停止截图指令,每次监测到页面变化触发事件时,截取页面变化触发事件所产生的新页面对应的屏幕截图(102);根据起始截图及每次页面变化触发事件所产生的新页面对应的屏幕截图,生成动态截图数据(103)。通过对页面变化触发事件进行实时监测,在发生页面变化触发事件以产生新页面时,可以自动截取新页面对应的屏幕截图。

Description

一种截图方法及装置 技术领域
本发明涉及互联网技术领域,更具体地,本发明涉及一种截图方法及装置。
背景技术
目前,当用户通过浏览器客户端浏览到自己感兴趣的网页时,可能想要对该网页进行截图,并将截取的图片分享给好友。
当前,在相关技术中提供了一种对网页进行截图的方法,包括:若待截取网页完整的显示在显示屏幕中,则对显示屏幕进行截图,得到待截取网页的图片。若待截取网页未完整显示在显示屏幕中,则先对显示屏幕进行截图,得到待截取网页中部分网页内容的图片。然后通过滚动操作将待截取网页中未显示的网页内容滚动至显示屏幕中,再对显示屏幕进行截图,得到待截取网页中另一部分网页内容的图片。如此按照上述操作直至截取到待截取网页中所有网页内容的图片。
在相关技术中每次只能对显示屏幕中当前显示的内容进行截图。对于大于显示屏幕的网页内容,这需要用户滚动网页进行多次截图操作,导致整个过程中人工干预过多。此外,这种操作繁琐、效率低下。此外,这容易出现重复截取网页内容或漏截网页内容的情况。
发明内容
有鉴于此,本发明的实施例的一个目的在于提供一种截图方法及装置。在发生页面变化触发事件以产生新页面时,根据本发明的实施例,可以自动截取新页面对应的屏幕截图。在页面滚动或页面跳转等需多屏截图的场景中,根据本发明的实施例,可以避免人工干预。这样,可以提高截图效率和/或截图的准确性。
第一方面,本发明实施例提供了一种截图方法,所述方法包括:
当接收到动态截图指令时,截取当前页面对应的屏幕截图作为起始截图;
实时监测页面变化触发事件直至接收到停止截图指令;每次监测到页面变化触发事件时,截取所述页面变化触发事件所产生的新页面对应的屏幕截图;
根据所述起始截图及每次所述页面变化触发事件所产生的新页面对应的屏幕截图,生成动态截图数据。
结合第一方面,本发明实施例提供了上述第一方面的第一种可能的实现方式,其中,所述页面变化触发事件包括滚动事件;所述实时监测页面变化触发事件,每次监测到页面变化触发事件时,截取所述页面变化触发事件所产生的新页面对应的屏幕截图,包括:
实时监测输入设备及当前屏幕中的滚动条是否触发滚动事件;
每次监测到输入设备触发滚动事件,或者每次监测到当前屏幕中的滚动条触发滚动事件时,截取页面滚动后当前屏幕中显示的新页面对应的屏幕截图。
结合第一方面,本发明实施例提供了上述第一方面的第二种可能的实现方式,其中,所述页面变化触发事件包括链接点击事件;所述实时监测页面变化触发事件,每次监测到页面变化触发事件时,截取所述页面变化触发事件所产生的新页面对应的屏幕截图,包括:
对当前屏幕中显示的页面包括的链接进行实时监测;
每次监测到所述页面中的链接触发链接点击事件时,加载所述链接点击事件对应的新页面;
截取当前屏幕中加载的所述新页面对应的屏幕截图。
结合第一方面及第一方面的第一和第二种可能的实现方式,本发明实施例提供了上述第一方面的第三种可能的实现方式,其中,所述根据所述起始截图及每次所述页面变化触发事件所产生的新页面对应的屏幕截图,生成动态截图数据,包括:
根据所述起始截图及每次所述页面变化触发事件所产生的新页面对应的屏幕截图,按照截取时间的先后顺序生成动态图,将所述动态图作为动态截图数据。
结合第一方面及第一方面的第一和第二种可能的实现方式,本发明实施 例提供了上述第一方面的第四种可能的实现方式,其中,所述根据所述起始截图及每次所述页面变化触发事件所产生的新页面对应的屏幕截图,生成动态截图数据,包括:
将所述起始截图及每次所述页面变化触发事件所产生的新页面对应的屏幕截图,按照截取时间的先后顺序拼接为一幅静态图,将所述静态图作为动态截图数据。
结合第一方面的第二种可能的实现方式,本发明实施例提供了上述第一方面的第五种可能的实现方式,其中,所述方法还包括:
当监测到所述页面产生链接点击事件时,检测被点击的链接的显示状态是否发生改变;
当检测到所述被点击的链接的显示状态发生改变时,再次截取所述页面对应的屏幕截图作为所述链接点击事件对应的截图。
结合第一方面的第五种可能的实现方式,本发明实施例提供了上述第一方面的第六种可能的实现方式,其中,所述方法还包括:
当接收到停止截图指令时,根据所述起始截图、所述链接点击事件对应的截图及所述新页面对应的屏幕截图,生成动态截图数据。
结合第一方面的第六种可能的实现方式,本发明实施例提供了上述第一方面的第七种可能的实现方式,其中,所述根据所述起始截图、所述链接点击事件对应的截图及所述新页面对应的屏幕截图,生成动态截图数据,包括:
根据所述起始截图、所述链接点击事件对应的截图及所述新页面对应的屏幕截图,按照截取时间的先后顺序生成动态图,将所述动态图作为动态截图数据;或者,
根据所述起始截图、所述链接点击事件对应的截图及所述新页面对应的屏幕截图,按照截取时间的先后顺序拼接为一幅静态图,将所述静态图作为动态截图数据。
第二方面,本发明实施例提供了一种截图装置,所述装置包括:
截取模块,用于当接收到动态截图指令时,截取当前页面对应的屏幕截图作为起始截图;
监测模块,用于实时监测页面变化触发事件直至接收到停止截图指令;
截取模块,用于每次所述监测模块监测到页面变化触发事件时,截取所述页面变化触发事件所产生的新页面对应的屏幕截图;
生成模块,用于根据所述起始截图及每次所述页面变化触发事件所产生的新页面对应的屏幕截图,生成动态截图数据。
结合第二方面,本发明实施例提供了上述第二方面的第一种可能的实现方式,其中,所述页面变化触发事件包括滚动事件;
所述监测模块,用于实时监测输入设备及当前屏幕中的滚动条是否触发滚动事件;
所述截取模块,用于每次所述监测模块监测到输入设备触发滚动事件,或者每次所述监测模块监测到当前屏幕中的滚动条触发滚动事件时,截取页面滚动后当前屏幕中显示的新页面对应的屏幕截图。
结合第二方面,本发明实施例提供了上述第二方面的第二种可能的实现方式,其中,所述页面变化触发事件包括链接点击事件;
所述监测模块,用于对当前屏幕中显示的页面包括的链接进行实时监测;
相应地,所述截取模块包括:
加载单元,用于每次所述监测模块监测到所述页面中的链接触发链接点击事件时,加载所述链接点击事件对应的新页面;
截取单元,用于截取当前屏幕中加载的所述新页面对应的屏幕截图。
结合第二方面及第二方面的第一和第二种可能的实现方式,本发明实施例提供了上述第二方面的第三种可能的实现方式,其中,所述生成模块,用于根据所述起始截图及每次所述页面变化触发事件所产生的新页面对应的屏幕截图,按照截取时间的先后顺序生成动态图,将所述动态图作为动态截图数据。
结合第二方面及第二方面的第一和第二种可能的实现方式,本发明实施例提供了上述第二方面的第四种可能的实现方式,其中,所述生成模块,用于将所述起始截图及每次所述页面变化触发事件所产生的新页面对应的屏幕截图,按照截取时间的先后顺序拼接为一幅静态图,将所述静态图作为动态截图数据。
结合第二方面的第二种可能的实现方式,本发明实施例提供了上述第二 方面的第五种可能的实现方式,其中,所述装置还包括:
状态检测模块,用于当所述监测模块监测到所述页面产生链接点击事件时,检测被点击的链接的显示状态是否发生改变;
所述截取模块,还用于当所述状态检测模块检测到所述被点击的链接的显示状态发生改变时,再次截取所述页面对应的屏幕截图作为所述链接点击事件对应的截图。
结合第二方面的第五种可能的实现方式,本发明实施例提供了上述第二方面的第六种可能的实现方式,其中,
所述生成模块,还用于当接收到停止截图指令时,根据所述起始截图、所述链接点击事件对应的截图及所述新页面对应的屏幕截图,生成动态截图数据。
结合第二方面的第六种可能的实现方式,本发明实施例提供了上述第二方面的第七种可能的实现方式,其中,
所述生成模块,还用于根据所述起始截图、所述链接点击事件对应的截图及所述新页面对应的屏幕截图,按照截取时间的先后顺序生成动态图,将所述动态图作为动态截图数据;或者,
所述生成模块,还用于根据所述起始截图、所述链接点击事件对应的截图及所述新页面对应的屏幕截图,按照截取时间的先后顺序拼接为一幅静态图,将所述静态图作为动态截图数据。
第三方面,本发明实施例提供了一种截图装置,所述装置包括:处理器、存储器、总线和通信接口,所述处理器、所述通信接口和所述存储器通过所述总线连接;
所述存储器用于存储程序;
所述处理器,用于通过所述总线调用存储在所述存储器中的程序,执行第一方面所述的方法。
在本发明的实施例提供的方法及装置中,当接收到动态截图指令时,截取当前页面对应的屏幕截图作为起始截图;实时监测页面变化触发事件直至接 收到停止截图指令;每次监测到页面变化触发事件时,截取页面变化触发事件所产生的新页面对应的屏幕截图;根据起始截图及每次页面变化触发事件所产生的新页面对应的屏幕截图,生成动态截图数据。通过对页面变化触发事件进行实时监测,发生在页面变化触发事件以产生新页面时,根据本发明的实施例,可以自动截取新页面对应的屏幕截图。在页面滚动或页面跳转等需多屏截图的场景中,根据本发明的实施例,可以避免人工干预。这样,可以提高截图效率和/或截图的准确性。
为使本发明的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。
图1A示出了本发明实施例1所提供的一种截图方法的流程图;
图1B示出了本发明实施例1所提供的一种动态截图按钮的示意图;
图1C示出了本发明实施例1所提供的另一种动态截图按钮的示意图;
图1D示出了本发明实施例1所提供的一种动态截图数据的示意图;
图1E示出了本发明实施例1所提供的另一种动态截图数据的示意图;
图2示出了本发明实施例2所提供的一种截图装置的结构示意图;
图3示出了本发明实施例3所提供的一种截图装置的结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本发明的实施例的详细描 述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。
相关技术中每次只能对显示屏幕中当前显示的内容进行截图。对大于显示屏幕的网页内容,这需要用户滚动网页进行多次截图操作,导致整个过程中人工干预过多。此外,这种操作繁琐、效率低下。此外,这容易出现重复截取网页内容或漏截网页内容的情况。基于此,本发明的实施例提供了一种截图方法及装置,下面通过实施例进行描述。
实施例1
本发明的实施例提供了一种截图方法,该方法的执行主体可以为浏览器客户端。可以在浏览器客户端提供动态截图按钮,当用户点击动态截图按钮以触发动态截图操作时,通过本发明的实施例提供的截图方法,在页面变化时,可以自动截取新页面对应的屏幕截图。在页面滚动或页面跳转等需多屏截图的场景中,根据本发明的实施例,可以避免人工干预。这样,可以提高截图效率和/或截图的准确性。
参见图1A,该方法包括以下步骤:
步骤101:当接收到动态截图指令时,截取当前页面对应的屏幕截图作为起始截图。
如图1B所示,上述动态截图按钮可以为设置在浏览器客户端的工具栏中的单独按钮。另外,当前浏览器客户端的工具栏中通常设置有截图按钮。本发明的实施例还可以在现有截图按钮的下拉列表中添加动态截图的下拉选项,并将该下拉选项作为上述动态截图按钮,如图1C所示。
当用户想要截取的页面无法在终端屏幕中一次性完整显示时,用户可以点击上述动态截图按钮来向浏览器客户端提交动态截图指令。当浏览器客户端接收到动态截图指令时,对当前的终端屏幕进行截屏操作,得到当前页面对应的屏幕截图,并将该屏幕截图作为此次动态截图的起始截图。
在本发明的实施例中,浏览器客户端还存储此次动态截图截取的起始截图及其对应的截取时间。
步骤102:实时监测页面变化触发事件直至接收到停止截图指令,每次监测到页面变化触发事件时,截取页面变化触发事件所产生的新页面对应的屏幕截图。
上述页面变化触发事件包括滚动事件。滚动事件可以由终端屏幕中的滚动条触发,也可以由输入设备触发,输入设备可以为键盘或鼠标。例如可以通过键盘上的上键或下键来触发滚动事件,或者通过鼠标上的滚动轮来触发滚动事件。当发生滚动事件时,终端屏幕中显示的页面内容将发生改变,本发明的实施例通过对滚动事件实时监测,并在终端屏幕显示的页面内容发生改变时自动截取改变后的页面对应的屏幕截图。对滚动事件的实时监测及自动实现动态截图的具体过程包括:
实时监测输入设备及当前屏幕中的滚动条是否触发滚动事件;每次监测到输入设备触发滚动事件,或者每次监测到当前屏幕中的滚动条触发滚动事件时,截取页面滚动后当前屏幕中显示的新页面对应的屏幕截图。
在浏览器客户端接收到停止截图指令之前,可能会监测到多次滚动事件。对于每次监测到的滚动事件,都按照上述方式自动截取页面滚动后新页面对应的屏幕截图。即在接收到动态截图指令至接收到停止截图指令的时间段中,浏览器客户端可以截取多幅截图。
在本发明的实施例中,页面变化触发事件还包括链接点击事件。终端屏幕显示的页面内容中通常包含多个链接,当用户点击其中一个链接时,浏览器客户端跳转显示被点击的链接对应的页面,此时终端屏幕显示的页面内容发生了改变。本发明的实施例通过对链接点击事件实时监测,并在发生页面跳转时自动截取跳转后的页面对应的屏幕截图。对链接点击事件的实时监测及自动实现动态截图的具体过程包括:
对当前屏幕中显示的页面包括的链接进行实时监测;每次监测到页面中的链接触发链接点击事件时,加载链接点击事件对应的新页面;截取当前屏幕中加载的新页面对应的屏幕截图。
在浏览器客户端接收到停止截图指令之前,用户可能通过多次点击链接进行页面的连续跳转。此时浏览器客户端将会监测到多次链接点击事件,对于每次监测到的链接点击事件,都按照上述方式自动截取页面跳转后新 页面对应的屏幕截图。即在接收到动态截图指令至接收到停止截图指令的时间段中,浏览器客户端可以截取多幅截图。
在本发明的实施例中,页面变化触发事件并不限制于滚动事件和链接点击事件两种,其他任何导致当前屏幕中显示的页面内容发生改变的事件,均属于本发明的实施例所述的页面变化触发事件。例如,用户点击当前页面中的下拉按钮,致使该下拉按钮展开显示下拉选项,则该下拉按钮的点击事件也属于一种页面变化触发事件。
在动态截图过程中,对于任意一种页面变化触发事件,只要浏览器客户端监测到该页面变化触发事件,就自动截取该页面变化触发事件所产生的新页面对应的屏幕截图。
在本发明的实施例中,浏览器客户端还存储每次页面变化触发事件所产生的新页面对应的屏幕截图、及每个屏幕截图对应的截取时间。
当用户需要停止动态截图时,用户可以通过点击键盘上的退出按键来提交停止截图指令,或者通过再次点击工具栏中的动态截图按钮来提交停止截图指令。当浏览器客户端接收到停止截图指令时,停止监测页面变化触发事件,并通过如下步骤103来生成此次动态截图对应的动态截图数据。
步骤103:根据起始截图及每次页面变化触发事件所产生的新页面对应的屏幕截图,生成动态截图数据。
动态截图数据包括动态图和静态图等多种数据形式,数据形式不同,生成动态截图数据的方式也不同。当动态截图数据的数据形式为动态图时,通过如下方式来生成动态截图数据,具体包括:
根据起始截图及每次页面变化触发事件所产生的新页面对应的屏幕截图,按照截取时间的先后顺序生成动态图,将动态图作为动态截图数据。
当接收到停止截图指令时,浏览器客户端获取已存储的起始截图及其对应的截取时间,以及每次页面变化触发事件所产生的新页面对应的屏幕截图及每个屏幕截图对应的截取时间,根据起始截图及每个屏幕截图对应的截取时间,按照截取时间的先后顺序将此次动态截图过程中截取的所有图片组成图片序列,然后根据预设帧率将图片序列转换为动态图,将该动态图作为动态截图数据。
上述预设帧率可以为每秒5帧或每秒10帧等。本发明的实施例并不具体限定生成动态图的具体帧率,实际应用中可根据需求自定义预设帧率的实际数值。
当动态截图数据的数据形式为静态图时,通过如下方式来生成动态截图数据,具体包括:
将起始截图及每次页面变化触发事件所产生的新页面对应的屏幕截图,按照截取时间的先后顺序拼接为一幅静态图,将静态图作为动态截图数据。
当接收到停止截图指令时,浏览器客户端获取已存储的起始截图及其对应的截取时间,以及每次页面变化触发事件所产生的新页面对应的屏幕截图及每个屏幕截图对应的截取时间,根据起始截图及每个屏幕截图对应的截取时间,按照截取时间的先后顺序将此次动态截图过程中截取的所有图片组成图片序列,然后按照预设位置顺序将图片序列拼接为一幅静态图,将该静态图作为动态截图数据。
上述预设位置顺序可以为按照从上到下或从左到右的顺序。本发明的实施例并不具体限定生成静态图的具***置顺序,实际应用中可根据需求自定义预设位置顺。
在本发明的实施例中,生成上述静态图时还可以在相邻的两幅截图之间添加用于表示截取时间先后顺序的箭头。
为了便于理解本发明的实施例提供的动态截图过程,下面结合附图进行说明。如图1D所示的动态截图数据,该动态截图数据中截图a为接收到动态截图指令时截取的起始截图,截图b为监测到滚动事件时截取的页面滚动后新页面内容对应的屏幕截图,截图c为监测到截图b中链接“体育”所产生的新页面对应的屏幕截图。其中,截图a和b之间的箭头表示截图a的截取时间早于截图b的截取时间,截图b和c之间的箭头表示截图b的截取时间早于截图c的截取时间。
由于现有的网页中当某个链接被点击时,该链接的显示状态将会发生改变,如该链接的背景颜色发生改变,或者该链接的文本变为带有下划线的文本等。因此本发明的实施例在监测到链接点击事件时,为了更鲜明地 表示页面跳转前后两幅截图之间的跳转关系,在截取页面跳转后的新页面对应的屏幕截图之前,还通过如下方式来截取链接点击事件对应的屏幕截图,具体包括:
当监测到页面产生链接点击事件时,检测被点击的链接的显示状态是否发生改变;当检测到被点击的链接的显示状态发生改变时,再次截取页面对应的屏幕截图作为链接点击事件对应的截图。浏览器客户端还存储该链接点击事件对应的截图及该截图对应的截取时间。
通过上述方式截取链接点击事件对应的截图之后,通过如下方式来生成动态截图数据,包括:
当接收到停止截图指令时,根据起始截图、链接点击事件对应的截图及新页面对应的屏幕截图,生成动态截图数据。
同样地,动态截图数据的数据形式包括动态图和静态图等多种数据形式。当动态截图数据的数据形式为动态图时,根据起始截图、链接点击事件对应的截图及新页面对应的屏幕截图,按照截取时间的先后顺序生成动态图,将动态图作为动态截图数据。生成动态图的具体过程与上文中生成动态图的操作相同,在此不再赘述。
当动态截图数据的数据形式为静态图时,根据起始截图、链接点击事件对应的截图及新页面对应的屏幕截图,按照截取时间的先后顺序拼接为一幅静态图,将静态图作为动态截图数据。生成静态图的具体过程与上文中生成静态图的操作相同,在此不再赘述。
对于除链接点击事件外的其他能够致使页面中某一部分的显示状态发生改变的页面变化触发事件,在截取页面变化所产生的新页面对应的屏幕截图之前,同样按照上述方式截取页面变化触发事件对应的截图,并按照上述方式生成动态截取数据。
为了便于理解上述截取了链接点击事件对应的截图的截图过程,下面结合附图进行说明。如图1E所示的动态截图数据,该动态截图数据与图1D所示的动态截图数据的不同之处在于,在截图b和c之间增加了截图d,截图d为检测到截图b中链接“体育”的显示状态发生改变时,截取的链接“体育”触发的链接点击事件对应的截图。截图d中链接“体育”的文 本“体育”变化为带有加粗下划线的文本。另外,截图b和d之间的箭头表示截图b的截取时间早于截图d的截取时间,截图d和c之间的箭头表示截图d的截取时间早于截图c的截取时间。
本发明的实施例通过上述步骤101-103的操作生成动态截图数据之后,还存储该动态截图数据,当用户将该动态截图数据分享到社交应用中时,若该动态截图数据的数据形式为动态图,则该用户的好友可以通过点击该动态截图数据来播放该动态截图包含的多幅截图。若该动态截图数据的数据形式为静态图,则该用户的好友可以按照该动态截图数据中截图的排列顺序来浏览用户分享的多幅截图。
通过本发明的实施例提供的截图方法,可以完整记录用户的浏览过程动作。根据本发明的实施例,可以自动生成整个连续浏览过程的轨迹动态截图。根据本发明的实施例,可以避免截图过程中的人工干预。这样,可以提高了截图的效率和/或准确性。此外,根据本发明的实施例,还可以使得教程式或指引式的截图分享更加有趣,给用户更多的选择。
在本发明的实施例中,当接收到动态截图指令时,截取当前页面对应的屏幕截图作为起始截图;实时监测页面变化触发事件直至接收到停止截图指令;每次监测到页面变化触发事件时,截取页面变化触发事件所产生的新页面对应的屏幕截图;根据起始截图及每次页面变化触发事件所产生的新页面对应的屏幕截图,生成动态截图数据。通过对页面变化触发事件进行实时监测,在发生页面变化触发事件以产生新页面时,根据本发明的实施例,可以自动截取新页面对应的屏幕截图。在页面滚动或页面跳转等需多屏截图的场景中,根据本发明的实施例,可以避免人工干预。这样,可以提高截图效率和/或截图的准确性。
实施例2
本发明的实施例提供了一种截图装置,该装置用于执行上述实施例1提供的截图方法。该装置为用户提供了动态截图按钮,当用户点击动态截图按钮触发动态截图操作时,该截图装置在页面变化的情况下,可以自动截取新页面对应的屏幕截图。在页面滚动或页面跳转等需多屏截图的场景 中,根据本发明的实施例,可以避免人工干预。这样,可以提高截图效率和/或截图的准确性。
参见图2,该装置具体包括:
截取模块201,用于当接收到动态截图指令时,截取当前页面对应的屏幕截图作为起始截图。
监测模块202,用于实时监测页面变化触发事件直至接收到停止截图指令。
截取模块201,用于每次监测模块202监测到页面变化触发事件时,截取页面变化触发事件所产生的新页面对应的屏幕截图。
生成模块203,用于根据起始截图及每次页面变化触发事件所产生的新页面对应的屏幕截图,生成动态截图数据。
在本发明的实施例中,页面变化触发事件包括滚动事件。滚动事件可以由终端屏幕中的滚动条触发,也可以由输入设备触发,输入设备可以为键盘或鼠标,如通过键盘上的上键或下键来触发滚动事件,或者通过鼠标上的滚动轮来触发滚动事件。
监测模块202,用于实时监测输入设备及当前屏幕中的滚动条是否触发滚动事件。
截取模块201,用于每次监测模块202监测到输入设备触发滚动事件,或者每次监测模块202监测到当前屏幕中的滚动条触发滚动事件时,截取页面滚动后当前屏幕中显示的新页面对应的屏幕截图。
在本发明的实施例中,页面变化触发事件包括链接点击事件。终端屏幕显示的页面内容中通常包含多个链接,当用户点击其中一个链接时浏览器客户端跳转显示被点击的链接对应的页面,此时终端屏幕显示的页面内容发生了改变。
监测模块202,用于对当前屏幕中显示的页面包括的链接进行实时监测。
相应地,截取模块201包括:
加载单元,用于每次监测模块监测到页面中的链接触发链接点击事件时,加载链接点击事件对应的新页面;
截取单元,用于截取当前屏幕中加载的新页面对应的屏幕截图。
在本发明的实施例中,动态截图数据的数据形式包括动态图和静态图等多种数据形式。当动态截图数据的数据形式为动态图时,生成模块203,用于根据起始截图及每次页面变化触发事件所产生的新页面对应的屏幕截图,按照截取时间的先后顺序生成动态图,将动态图作为动态截图数据。
当动态截图数据的数据形式为静态图时,生成模块203,用于将起始截图及每次页面变化触发事件所产生的新页面对应的屏幕截图,按照截取时间的先后顺序拼接为一幅静态图,将静态图作为动态截图数据。
现有的网页中当某个链接被点击时,该链接的显示状态将会发生改变,如该链接的背景颜色发生改变,或者该链接的文本变为带有下划线的文本等。因此本发明的实施例在监测到链接点击事件时,为了更鲜明地表示页面跳转前后两幅截图之间的跳转关系,在截取页面跳转后的新页面对应的屏幕截图之前,还通过如下状态检测模块来检测被点击的链接的状态。
状态检测模块,用于当监测模块监测到页面产生链接点击事件时,检测被点击的链接的显示状态是否发生改变。
截取模块201,还用于当状态检测模块检测到被点击的链接的显示状态发生改变时,再次截取页面对应的屏幕截图作为链接点击事件对应的截图。
当截取模块201截取了链接点击事件对应的截图后,生成模块203,还用于当接收到停止截图指令时,根据起始截图、链接点击事件对应的截图及新页面对应的屏幕截图,生成动态截图数据。
同样地,当动态截图数据的数据形式为动态图时,生成模块203,还用于根据起始截图、链接点击事件对应的截图及新页面对应的屏幕截图,按照截取时间的先后顺序生成动态图,将动态图作为动态截图数据。
当动态截图数据的数据形式为静态图时,生成模块203,还用于根据起始截图、链接点击事件对应的截图及新页面对应的屏幕截图,按照截取时间的先后顺序拼接为一幅静态图,将静态图作为动态截图数据。
在本发明的实施例中,当接收到动态截图指令时,截取当前页面对应的屏幕截图作为起始截图;实时监测页面变化触发事件直至接收到停止截 图指令;每次监测到页面变化触发事件时,截取页面变化触发事件所产生的新页面对应的屏幕截图;根据起始截图及每次页面变化触发事件所产生的新页面对应的屏幕截图,生成动态截图数据。通过对页面变化触发事件进行实时监测,在发生页面变化触发事件以产生新页面时,根据本发明的实施例,可以自动截取新页面对应的屏幕截图。在页面滚动或页面跳转等需多屏截图的场景中,根据本发明的实施例,可以避免人工干预。这样,可以提高截图效率和/或截图的准确性。
实施例3
参见图3,本发明的实施例提供了一种截图装置,该装置用于执行实施例1提供的截图方法,该装置具体包括:处理器301、存储器302、总线303和通信接口304,处理器301、通信接口304和存储器302通过总线303连接;
存储器302用于存储程序;
处理器301,用于通过总线303调用存储在存储器302中的程序,执行实施例1提供的截图方法。
处理器301在执行实施例1提供的截图方法时,当接收到动态截图指令时,截取当前页面对应的屏幕截图作为起始截图;实时监测页面变化触发事件直至接收到停止截图指令;每次监测到页面变化触发事件时,截取页面变化触发事件所产生的新页面对应的屏幕截图;根据起始截图及每次页面变化触发事件所产生的新页面对应的屏幕截图,生成动态截图数据。
处理器301执行实施例1提供的方法的执行细节与实施例1中描述的内容相同,在此不再赘述。
在本发明的实施例中,当接收到动态截图指令时,截取当前页面对应的屏幕截图作为起始截图;实时监测页面变化触发事件直至接收到停止截图指令;每次监测到页面变化触发事件时,截取页面变化触发事件所产生的新页面对应的屏幕截图;根据起始截图及每次页面变化触发事件所产生的新页面对应的屏幕截图,生成动态截图数据。通过对页面变化触发事件进行实时监测,在发生页面变化触发事件以产生新页面时,根据本发明的 实施例,可以自动截取新页面对应的屏幕截图。在页面滚动或页面跳转等需多屏截图的场景中,根据本发明的实施例,可以避免人工干预。这样,可以提高截图效率和/或截图的准确性。
本发明的实施例所提供的截图装置可以为设备上的特定硬件或者安装于设备上的软件或固件等。本发明的实施例所提供的装置,其实现原理及产生的技术效果和前述方法实施例相同,为简要描述,装置实施例部分未提及之处,可参考前述方法实施例中相应内容。所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,前述描述的***、装置和单元的具体工作过程,均可以参考上述方法实施例中的对应过程,在此不再赘述。
在本发明所提供的实施例中,应该理解到,所揭露装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明提供的实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释,此外,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。
最后应说明的是:以上所述实施例,仅为本发明的具体实施方式,用以说明本发明的技术方案,而非对其限制,本发明的保护范围并不局限于此,尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本发明实施例技术方案的精神和范围。都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。

Claims (17)

  1. 一种截图方法,其特征在于,所述方法包括:
    当接收到动态截图指令时,截取当前页面对应的屏幕截图作为起始截图;
    实时监测页面变化触发事件直至接收到停止截图指令;每次监测到页面变化触发事件时,截取所述页面变化触发事件所产生的新页面对应的屏幕截图;
    根据所述起始截图及每次所述页面变化触发事件所产生的新页面对应的屏幕截图,生成动态截图数据。
  2. 根据权利要求1所述的方法,其特征在于,所述页面变化触发事件包括滚动事件;所述实时监测页面变化触发事件,每次监测到页面变化触发事件时,截取所述页面变化触发事件所产生的新页面对应的屏幕截图,包括:
    实时监测输入设备及当前屏幕中的滚动条是否触发滚动事件;
    每次监测到输入设备触发滚动事件,或者每次监测到当前屏幕中的滚动条触发滚动事件时,截取页面滚动后当前屏幕中显示的新页面对应的屏幕截图。
  3. 根据权利要求1或2所述的方法,其特征在于,所述页面变化触发事件包括链接点击事件;所述实时监测页面变化触发事件,每次监测到页面变化触发事件时,截取所述页面变化触发事件所产生的新页面对应的屏幕截图,包括:
    对当前屏幕中显示的页面包括的链接进行实时监测;
    每次监测到所述页面中的链接触发链接点击事件时,加载所述链接点击事件对应的新页面;
    截取当前屏幕中加载的所述新页面对应的屏幕截图。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述根据所 述起始截图及每次所述页面变化触发事件所产生的新页面对应的屏幕截图,生成动态截图数据,包括:
    根据所述起始截图及每次所述页面变化触发事件所产生的新页面对应的屏幕截图,按照截取时间的先后顺序生成动态图,将所述动态图作为动态截图数据。
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,所述根据所述起始截图及每次所述页面变化触发事件所产生的新页面对应的屏幕截图,生成动态截图数据,包括:
    将所述起始截图及每次所述页面变化触发事件所产生的新页面对应的屏幕截图,按照截取时间的先后顺序拼接为一幅静态图,将所述静态图作为动态截图数据。
  6. 根据权利要求1-5中任一项所述的方法,其特征在于,所述方法还包括:
    当监测到所述页面产生链接点击事件时,检测被点击的链接的显示状态是否发生改变;
    当检测到所述被点击的链接的显示状态发生改变时,再次截取所述页面对应的屏幕截图作为所述链接点击事件对应的截图。
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,所述方法还包括:
    当接收到停止截图指令时,根据所述起始截图、所述链接点击事件对应的截图及所述新页面对应的屏幕截图,生成动态截图数据。
  8. 根据权利要求7所述的方法,其特征在于,所述根据所述起始截图、所述链接点击事件对应的截图及所述新页面对应的屏幕截图,生成动态截图数据,包括:
    根据所述起始截图、所述链接点击事件对应的截图及所述新页面对应 的屏幕截图,按照截取时间的先后顺序生成动态图,将所述动态图作为动态截图数据;或者,
    根据所述起始截图、所述链接点击事件对应的截图及所述新页面对应的屏幕截图,按照截取时间的先后顺序拼接为一幅静态图,将所述静态图作为动态截图数据。
  9. 一种截图装置,其特征在于,所述装置包括:
    截取模块,用于当接收到动态截图指令时,截取当前页面对应的屏幕截图作为起始截图;
    监测模块,用于实时监测页面变化触发事件直至接收到停止截图指令;
    截取模块,用于每次所述监测模块监测到页面变化触发事件时,截取所述页面变化触发事件所产生的新页面对应的屏幕截图;
    生成模块,用于根据所述起始截图及每次所述页面变化触发事件所产生的新页面对应的屏幕截图,生成动态截图数据。
  10. 根据权利要求9所述的装置,其特征在于,所述页面变化触发事件包括滚动事件;
    所述监测模块,用于实时监测输入设备及当前屏幕中的滚动条是否触发滚动事件;
    所述截取模块,用于每次所述监测模块监测到输入设备触发滚动事件,或者每次所述监测模块监测到当前屏幕中的滚动条触发滚动事件时,截取页面滚动后当前屏幕中显示的新页面对应的屏幕截图。
  11. 根据权利要求9或10所述的装置,其特征在于,所述页面变化触发事件包括链接点击事件;
    所述监测模块,用于对当前屏幕中显示的页面包括的链接进行实时监测;
    相应地,所述截取模块包括:
    加载单元,用于每次所述监测模块监测到所述页面中的链接触发链接 点击事件时,加载所述链接点击事件对应的新页面;
    截取单元,用于截取当前屏幕中加载的所述新页面对应的屏幕截图。
  12. 根据权利要求9-11任一项所述的装置,其特征在于,所述生成模块,用于根据所述起始截图及每次所述页面变化触发事件所产生的新页面对应的屏幕截图,按照截取时间的先后顺序生成动态图,将所述动态图作为动态截图数据。
  13. 根据权利要求9-12任一项所述的装置,其特征在于,所述生成模块,用于将所述起始截图及每次所述页面变化触发事件所产生的新页面对应的屏幕截图,按照截取时间的先后顺序拼接为一幅静态图,将所述静态图作为动态截图数据。
  14. 根据权利要求9-13中任一项所述的装置,其特征在于,所述装置还包括:
    状态检测模块,用于当所述监测模块监测到所述页面产生链接点击事件时,检测被点击的链接的显示状态是否发生改变;
    所述截取模块,还用于当所述状态检测模块检测到所述被点击的链接的显示状态发生改变时,再次截取所述页面对应的屏幕截图作为所述链接点击事件对应的截图。
  15. 根据权利要求9-14中任一项所述的装置,其特征在于,
    所述生成模块,还用于当接收到停止截图指令时,根据所述起始截图、所述链接点击事件对应的截图及所述新页面对应的屏幕截图,生成动态截图数据。
  16. 根据权利要求15所述的装置,其特征在于,
    所述生成模块,还用于根据所述起始截图、所述链接点击事件对应的截图及所述新页面对应的屏幕截图,按照截取时间的先后顺序生成动态图, 将所述动态图作为动态截图数据;或者,
    所述生成模块,还用于根据所述起始截图、所述链接点击事件对应的截图及所述新页面对应的屏幕截图,按照截取时间的先后顺序拼接为一幅静态图,将所述静态图作为动态截图数据。
  17. 一种截图装置,其特征在于,所述装置包括:处理器、存储器、总线和通信接口,所述处理器、所述通信接口和所述存储器通过所述总线连接;
    所述存储器用于存储程序;
    所述处理器,用于通过所述总线调用存储在所述存储器中的程序,执行所述权利要求1-8任一项所述的方法。
PCT/CN2017/085128 2016-06-01 2017-05-19 一种截图方法及装置 WO2017206739A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610389352.XA CN107450900B (zh) 2016-06-01 2016-06-01 一种截图方法及装置
CN201610389352.X 2016-06-01

Publications (1)

Publication Number Publication Date
WO2017206739A1 true WO2017206739A1 (zh) 2017-12-07

Family

ID=60479714

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/085128 WO2017206739A1 (zh) 2016-06-01 2017-05-19 一种截图方法及装置

Country Status (2)

Country Link
CN (1) CN107450900B (zh)
WO (1) WO2017206739A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109101163A (zh) * 2018-07-12 2018-12-28 Oppo(重庆)智能科技有限公司 长截屏的方法、装置及移动终端
WO2020119064A1 (zh) * 2018-12-13 2020-06-18 平安科技(深圳)有限公司 互联网信息链式存储方法、装置、计算机设备及存储介质
CN112256990A (zh) * 2020-09-01 2021-01-22 北京沃东天骏信息技术有限公司 一种图像处理方法及装置、计算机可读存储介质
CN112650872A (zh) * 2020-12-15 2021-04-13 歌尔光学科技有限公司 动态图片播放方法、装置、设备及计算机可读存储介质
CN112667130A (zh) * 2020-12-23 2021-04-16 网易(杭州)网络有限公司 游戏截图方法、装置及电子设备

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309221B (zh) * 2018-12-12 2024-01-12 阿里巴巴集团控股有限公司 页面处理方法、装置及设备
CN110096203B (zh) * 2019-04-29 2021-06-25 维沃移动通信有限公司 一种截图方法及移动终端
CN110308961B (zh) * 2019-07-02 2023-03-31 广州小鹏汽车科技有限公司 一种车载终端的主题场景切换方法及装置
CN111046313B (zh) * 2019-11-21 2023-08-29 深圳前海环融联易信息科技服务有限公司 一种网页的智能截图方法、装置、计算机设备及存储介质
CN114064144B (zh) * 2021-11-12 2024-03-22 南京论之语网络技术有限公司 一种跨应用数据获取的通信插件以及通信方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279692A (zh) * 2010-06-11 2011-12-14 腾讯科技(深圳)有限公司 拖拽对象时实现预览的方法、客户端
CN103927178A (zh) * 2014-04-18 2014-07-16 长沙裕邦软件开发有限公司 一种截图方法及截图装置
CN104615343A (zh) * 2013-11-04 2015-05-13 中兴通讯股份有限公司 一种终端截图的方法及装置
CN105094617A (zh) * 2015-08-24 2015-11-25 北京锤子数码科技有限公司 一种截屏方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099881B (zh) * 2012-06-28 2019-05-31 北京奇虎科技有限公司 即时通信中的信息共享方法及装置
US9251435B2 (en) * 2013-09-20 2016-02-02 Oracle International Corporation Screenshot database for application verification

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279692A (zh) * 2010-06-11 2011-12-14 腾讯科技(深圳)有限公司 拖拽对象时实现预览的方法、客户端
CN104615343A (zh) * 2013-11-04 2015-05-13 中兴通讯股份有限公司 一种终端截图的方法及装置
CN103927178A (zh) * 2014-04-18 2014-07-16 长沙裕邦软件开发有限公司 一种截图方法及截图装置
CN105094617A (zh) * 2015-08-24 2015-11-25 北京锤子数码科技有限公司 一种截屏方法及装置

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109101163A (zh) * 2018-07-12 2018-12-28 Oppo(重庆)智能科技有限公司 长截屏的方法、装置及移动终端
CN109101163B (zh) * 2018-07-12 2020-11-27 Oppo(重庆)智能科技有限公司 长截屏的方法、装置及移动终端
WO2020119064A1 (zh) * 2018-12-13 2020-06-18 平安科技(深圳)有限公司 互联网信息链式存储方法、装置、计算机设备及存储介质
CN112256990A (zh) * 2020-09-01 2021-01-22 北京沃东天骏信息技术有限公司 一种图像处理方法及装置、计算机可读存储介质
CN112256990B (zh) * 2020-09-01 2023-09-26 北京沃东天骏信息技术有限公司 一种图像处理方法及装置、计算机可读存储介质
CN112650872A (zh) * 2020-12-15 2021-04-13 歌尔光学科技有限公司 动态图片播放方法、装置、设备及计算机可读存储介质
CN112667130A (zh) * 2020-12-23 2021-04-16 网易(杭州)网络有限公司 游戏截图方法、装置及电子设备

Also Published As

Publication number Publication date
CN107450900A (zh) 2017-12-08
CN107450900B (zh) 2021-01-29

Similar Documents

Publication Publication Date Title
WO2017206739A1 (zh) 一种截图方法及装置
KR102081842B1 (ko) 자동 가이드식 이미지 캡쳐 및 프레젠테이션
US10762277B2 (en) Optimization schemes for controlling user interfaces through gesture or touch
US9065793B2 (en) Rendering web content using pre-caching
US10965766B2 (en) Synchronized console data and user interface playback
US20170223124A1 (en) Determining relevant content for keyword extraction
WO2016127811A1 (zh) 一种信息处理方法及终端、计算机存储介质
JP2015503152A (ja) ウェブページのレンダリング時間の測定
CN107679214B (zh) 链接定位方法、装置、终端与计算机可读存储介质
WO2021184896A1 (zh) 一种页面截图方法及装置
US11087348B2 (en) Methods and systems for testing and applying codes to electronic shopping carts
US20220286524A1 (en) Network latency detection
US20220020047A1 (en) Automated testing of multiple on-line coupons
CN105279431B (zh) 一种移动设备中操作信息的记录方法、装置和***
CN106873844A (zh) 图片查看方法及装置
US20140297836A1 (en) Tracking usage metrics for a mobile application
WO2017148349A1 (zh) 一种浏览网页中缩略图的方法及装置
JP6505849B2 (ja) 要素識別子の生成
CN105278977A (zh) 一种网页组件的加载方法和装置
US10282395B2 (en) Handling timer-based resizing events based on activity detection
JP2017535855A (ja) 視覚的表示方法及び装置
WO2017133229A1 (zh) 一种移动终端的图片显示方法和装置
US20180189118A1 (en) Systems and methods for transforming applications
JP2017533501A (ja) ユーザアクションに応答して直接操作の有効化を決定するためのヒットテスト
US11947899B2 (en) Determining text visibility during user sessions

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17805684

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17805684

Country of ref document: EP

Kind code of ref document: A1