CN110989897A - Screenshot picture acquisition method and device, terminal device and storage medium - Google Patents

Screenshot picture acquisition method and device, terminal device and storage medium Download PDF

Info

Publication number
CN110989897A
CN110989897A CN201911151392.0A CN201911151392A CN110989897A CN 110989897 A CN110989897 A CN 110989897A CN 201911151392 A CN201911151392 A CN 201911151392A CN 110989897 A CN110989897 A CN 110989897A
Authority
CN
China
Prior art keywords
screenshot
chart
data
window
picture
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.)
Granted
Application number
CN201911151392.0A
Other languages
Chinese (zh)
Other versions
CN110989897B (en
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.)
Futuo Network Technology Shenzhen Co ltd
Original Assignee
Shenzhen Futu Network 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 Shenzhen Futu Network Technology Co Ltd filed Critical Shenzhen Futu Network Technology Co Ltd
Priority to CN201911151392.0A priority Critical patent/CN110989897B/en
Publication of CN110989897A publication Critical patent/CN110989897A/en
Application granted granted Critical
Publication of CN110989897B publication Critical patent/CN110989897B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a method and a device for acquiring a screenshot picture, terminal equipment and a storage medium, wherein the method is applied to a non-mobile terminal and comprises the following steps: acquiring screenshot operation of executing screen capture aiming at the non-mobile terminal; generating a chart control according to the screenshot operation; sending a first data request to a server by using a chart control, wherein the first data request is used for requesting chart data in target intercepted data corresponding to the screenshot operation; and drawing the received chart data by using the chart control to generate a first screen-cut picture. The embodiment of the application is applied to the non-mobile terminal, the data to be intercepted can be determined according to the requirements of the user, the customized screenshot picture inconsistent with the visible area of the display interface can be drawn according to the data to be intercepted, the content of the screenshot picture is richer and more attractive, the arrangement of the screenshot content is not limited by screen typesetting, the flexibility is higher, the screenshot requirements of the user can be met, and the user experience is improved.

Description

Screenshot picture acquisition method and device, terminal device and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for acquiring a screenshot picture, a terminal device, and a storage medium.
Background
At present, when a user shares content displayed in a display interface with other users, the related art generally adopts a screen capture function of equipment, only content visible in a desktop can be captured, the content of a screen capture picture is the same as that of a visible area of the display interface, typesetting content cannot be modified and changed, and the size of a screenshot is determined by dragging a mouse by the user; or the pictures are spliced through a mobile terminal such as a mobile phone to obtain the screenshot, but the method is mainly applied to the mobile terminal and the like.
The content arrangement of the screenshot pictures in the related technology is limited by screen composition, and the spliced pictures are mainly applied to the mobile terminal, so that the screenshot mode is not flexible enough, the user experience is reduced, and the requirements of the user on various screenshots cannot be met.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
In order to solve the technical problems that in the related art, the content arrangement of a screenshot picture is limited by screen composition, the screenshot obtained by splicing the pictures is mainly applied to a mobile terminal, the screenshot mode is not flexible enough, the user experience is reduced, and the requirements of the user on various screenshots cannot be met, the embodiment of the application provides a screenshot obtaining method, a screenshot obtaining device, terminal equipment and a storage medium.
In view of this, in a first aspect, an embodiment of the present application provides a method for acquiring a screenshot picture, which is applied to a non-mobile terminal, and the method includes the following steps:
acquiring screenshot operation of executing screen capture aiming at the non-mobile terminal;
generating a chart control according to the screenshot operation;
sending a first data request to a server by using the chart control, wherein the first data request is used for requesting chart data in target intercepted data corresponding to the screenshot operation;
and drawing the received chart data by using the chart control to generate a first screen-cut picture.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the method further includes:
creating a background window based on the screen of the non-mobile terminal;
based on the background window, creating a screenshot window according to a preset size;
creating a chart window based on the screenshot window by using the chart control;
and executing a hiding operation on the chart window.
With reference to the first aspect, in a second possible implementation manner of the first aspect, the sending, by the graph control, a first data request to a server includes:
acquiring identification information of the target intercepted data;
and sending the first data request to the server by using the chart control according to the identification information of the target intercepted data.
With reference to the first aspect, in a third possible implementation manner of the first aspect, the drawing, by using the chart control, the received chart data includes:
and receiving the chart data of the chart window sent by the server, and drawing the received chart data into the screenshot window by using the chart control.
With reference to the first aspect, in a fourth possible implementation manner of the first aspect, the method further includes:
sending a second data request to the server according to the identification information of the target intercepted data, wherein the second data request is used for requesting field data in the target intercepted data corresponding to the screenshot operation;
creating a field window based on the screenshot window;
drawing the received field data into the field window to generate a second screen capture picture.
With reference to the first aspect, in a fifth possible implementation manner of the first aspect, the method further includes:
acquiring screen identification information and screenshot time of the non-mobile terminal corresponding to the intercepting operation;
creating an identification window based on the screenshot window;
and drawing the screen identification information and the screenshot time into the identification window to generate a third screenshot picture.
With reference to the first aspect, in a sixth possible implementation manner of the first aspect, the method further includes:
acquiring sharing operation aiming at the first screenshot picture;
and sharing the first screen shot picture according to the sharing operation.
In a second aspect, an embodiment of the present application provides an apparatus for acquiring a screenshot picture, which is applied to a non-mobile terminal, and the apparatus includes:
the first acquisition unit is used for acquiring screenshot operation of executing screenshot aiming at the non-mobile terminal;
the generating unit is used for generating a chart control according to the screenshot operation;
a sending unit, configured to send a first data request to a server by using the chart control, where the first data request is used to request chart data in target intercepted data corresponding to the screenshot operation;
and the filling unit is used for drawing the received chart data by using the chart control to generate a first screenshot picture.
In a third aspect, an embodiment of the present application provides a terminal device, where the terminal device includes: at least one processor, memory, at least one network interface, and a user interface;
the at least one processor, memory, at least one network interface, and user interface are coupled together by a bus system;
the processor is used for executing the steps of the method for acquiring the screenshot picture according to the first aspect by calling the program or the instruction stored in the memory.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a screenshot obtaining program is stored on the computer-readable storage medium, and when the screenshot obtaining program is executed by a processor, the steps of the screenshot obtaining method according to the first aspect are implemented.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
according to the method for sharing the screenshot picture, screenshot operation of screenshot executed by the non-mobile terminal is obtained; generating a chart control according to the screenshot operation; sending a first data request to a server by using the chart control, wherein the first data request is used for requesting chart data in target intercepted data corresponding to the screenshot operation; and drawing the received chart data by using the chart control to generate a first screen-cut picture. The embodiment of the application is mainly applied to non-mobile terminals, such as application software at a desktop end, data to be intercepted can be determined according to requirements of users, customized screenshot pictures inconsistent with a visible area of a display interface can be drawn according to the data to be intercepted, the content of the screenshot pictures is richer and more attractive, the arrangement of the screenshot contents is not limited by screen typesetting, the flexibility is higher, the screenshot requirements of the users can be met, and the user experience is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a method for acquiring a screenshot picture according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another method for acquiring a screenshot provided in the embodiment of the present application;
fig. 3 is a schematic flowchart of another method for acquiring a screenshot provided in the embodiment of the present application;
fig. 4 is a schematic structural diagram of an apparatus for acquiring a screenshot picture according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a non-mobile terminal according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
A server implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The embodiment of the application provides a method for acquiring a screenshot picture, which is applied to a non-mobile terminal, for example, the method is applied to the field of stock software of the non-mobile terminal, and the method is different from the existing screenshot mode.
The embodiment of the application provides a method for acquiring a screenshot picture, which is applied to a non-mobile terminal, and as shown in fig. 1, the method can include the following steps:
s101, obtaining screenshot operation of executing screenshot aiming at the non-mobile terminal.
For example, the screenshot operation includes, but is not limited to, an operation in which the user clicks a screenshot button on the screen.
And S102, generating a chart control according to the screenshot operation.
S103, sending a first data request to a server by using the chart control, wherein the first data request is used for requesting chart data in target intercepted data corresponding to the screenshot operation.
For example, the chart data includes, but is not limited to, trend data for a certain type of stock.
And S104, drawing the received chart data by using the chart control to generate a first screenshot picture.
For example, the acquired tendency data of a certain type of stock can be drawn in the screenshot window, and the tendency data of the stock can be drawn in the screenshot window by using the chart control according to the information requirement of the user for browsing the stock in stock application software and starting from the requirement of the user for browsing the tendency data of the stock, so that a customized tendency chart inconsistent with the content of the screenshot visible region, namely a first screenshot picture, can be drawn.
Optionally, in the embodiment of the present application, the generated screenshot picture may also be sent to another user through one-key sharing, and the method further includes:
acquiring sharing operation aiming at the first screenshot picture;
and sharing the first screen shot picture according to the sharing operation.
The embodiment of the application is mainly applied to non-mobile terminals, such as application software at a desktop end, data to be intercepted can be determined according to requirements of users, customized screenshot pictures inconsistent with a visible area of a display interface can be drawn according to the data to be intercepted, the content of the screenshot pictures is richer and more attractive, the arrangement of the screenshot contents is not limited by screen typesetting, the flexibility is higher, the screenshot requirements of the users can be met, and the user experience is improved.
It should be noted that although fig. 1 describes a related scheme for acquiring a screenshot, it should be understood by those skilled in the art that the screenshot may also be acquired by continuing to adopt other manners.
In order to facilitate understanding of the embodiments of the present application, the following description will be given by way of specific examples.
Optionally, as shown in fig. 2, fig. 2 is a method for acquiring a screenshot provided in an embodiment of the present application, where the method includes:
s201, obtaining screenshot operation of executing screenshot aiming at the non-mobile terminal.
S202, creating a background window matched with the screen size of the non-mobile terminal.
In order to achieve the complete display of the screenshot content, the embodiment of the application includes, but is not limited to, creating a window with the same size as the screen as the background window.
And S203, based on the background window, creating a screenshot window according to a preset size.
For example, the preset size of the screenshot window created includes, but is not limited to, 750px by 800 px.
And S204, generating a chart control according to the screenshot operation.
And S205, creating a chart window by utilizing the chart control based on the screenshot window.
S206, executing the hiding operation of the chart window.
And S207, sending a first data request to a server by using the chart control, wherein the first data request is used for requesting chart data in target intercepted data corresponding to the screenshot operation.
And S208, receiving the chart data of the chart window sent by the server, and drawing the received chart data in the screenshot window by using the chart control to generate a first screenshot picture.
It should be noted that, in the embodiment of the present application, a background window is created first, and after the background window is created, the order of creating a screenshot window and a chart window (creating a chart window through a chart control) is not limited, and the screenshot window may be created first and then the chart window (creating a chart window through a chart control); the chart window can also be created first (by the chart control), and then the screenshot window can be created.
Optionally, the chart control requests the server for stock data of the stock through the identification code obtained by screenshot, for example, when a user captures related information of the stock for flight, the identification code obtained by screenshot is sent to the server, the server background is requested to send trend data of the stock for flight at one time, and the trend data is filled in a screenshot window to obtain a first screenshot picture. For another example, when the user clicks the screenshot button to obtain a screenshot of the Tencent stock, the screenshot identification code is sent to the server, the server background is requested to send all field data required by the Tencent stock at one time, and the field data is filled in a field window (a window created based on the screenshot window) to obtain a second screenshot. It should be noted that, in the embodiment of the present application, individual stock information of other stock types may also be obtained, which is not limited in the embodiment of the present application.
In order to realize the dragging of the one-key sharing screenshot, the method and the device use the nesting of the windows, use the background window as a parent window, and use the screenshot window as a child window.
Optionally, the background window is a window without a title bar and with the same size as the screen, and in order to achieve the screenshot effect, the transparency of the background window is adjusted according to the embodiment of the application, so that the effect of a gray semi-transparent mask is achieved.
When the user clicks to finish or saves the screenshot, the content of the screenshot window can be copied to the clipboard or the picture can be generated.
Because the screenshot window needs to be fixed in size (for example, 750px wide and 800px high), the screenshot window cannot be directly realized by using a screenshot mode, but chart drawing is performed through the embodiment of the present application, so that display of chart data can be controlled.
Because the normal chart control can be refreshed in real time according to the pushing of the server and has different response events according to the operation of a user mouse and the like, but the normal chart control cannot be refreshed in real time and cannot respond to the operation of the user as a screenshot, the first screenshot picture generated by filling the chart data is correspondingly processed, namely, the pushing, the global message, the window message and the like are not responded.
Optionally, the method further includes:
acquiring screen identification information and screenshot time of the non-mobile terminal corresponding to the intercepting operation;
based on the screenshot window, creating an identification window matched with the screen identification information and the screenshot time;
and drawing the screen identification information and the screenshot time into the identification window to generate a third screenshot picture.
For example, the screen identification information includes, but is not limited to, a logo of stock application software, the logo is drawn when the screenshot is drawn, the logo part of the stock application software is completed by loading a locally stored logo picture at the front-end capture time, the screenshot time is completed by converting at the front-end capture time, for example, at the moment when a user clicks a screenshot button, the current time is captured and cached, and each time the screenshot is required to be redrawn, the timestamp (digital format) is converted into a normal date format (e.g., XX month/XX day), and the converted timestamp is drawn on an identification window of the screenshot.
Optionally, as shown in fig. 3, fig. 3 is a method for acquiring a screenshot provided in an embodiment of the present application, where the method includes:
s301, obtaining screenshot operation of executing screenshot aiming at the non-mobile terminal.
S302, creating a background window matched with the screen size of the non-mobile terminal.
In order to achieve the complete display of the screenshot content, the embodiment of the application includes, but is not limited to, creating a window with the same size as the screen as the background window.
And S303, generating a chart control according to the screenshot operation.
And S304, based on the background window, creating a screenshot window according to a preset size.
For example, the preset size of the screenshot window created includes, but is not limited to, 750px by 800 px.
S305, creating a chart window by utilizing the chart control based on the screenshot window.
S306, executing the hiding operation of the chart window.
S307, sending a first data request to a server by using the chart control, wherein the first data request is used for requesting chart data in target intercepted data corresponding to the screenshot operation.
Optionally, the sending, by using the chart control, a first data request to a server includes:
acquiring identification information of the target intercepted data;
and sending the first data request to the server by using the chart control according to the identification information of the target intercepted data.
S308, receiving the chart data of the chart window sent by the server, and drawing the received chart data in the screenshot window by using the chart control to generate a first screenshot picture.
It should be noted that, in the embodiment of the present application, a background window is created first, and after the background window is created, the order of creating a screenshot window and a chart window (creating a chart window through a chart control) is not limited, and the screenshot window may be created first and then the chart window (creating a chart window through a chart control); the chart window can also be created first (by the chart control), and then the screenshot window can be created.
Optionally, the method further includes: sending a second data request to the server according to the identification information of the target intercepted data, wherein the second data request is used for requesting field data in the target intercepted data corresponding to the screenshot operation;
creating a field window based on the screenshot window;
drawing the received field data into the field window to generate a second screen capture picture.
Optionally, the chart control requests data from the server through the identification code obtained by screenshot, for example, when the user clicks a screenshot button to obtain a screenshot picture of the Tencent stock, the identification code obtained by screenshot is sent to the server, the server background is requested to send all field data required by the Tencent stock at one time, and the field data is filled in a field window to obtain a second screenshot picture. For example, the field data includes but is not limited to the highest price, the lowest price, the opening price, the yesterday's price, the volume of bargain, the market profitability, the total stock book, the total market value and other data of the Tencent stock, and the screenshot only needs to capture a moment of state, so that only fields need to be taken and displayed during screenshot, the fields can be sequentially drawn in a field window in a mode of five fields per line, the distance between the fields can be adjusted, and the like, so that the screenshot picture is convenient for a user to watch, the content of the screenshot picture is richer and more beautiful, the arrangement of the screenshot content is not limited by the screen layout, the screenshot picture has higher flexibility, the screenshot requirement of the user can be met, and the user experience is improved.
After a first screenshot picture (chart data, such as trend data of a stock), a second screenshot picture (field data, such as individual stock summary information of the stock) and a third screenshot picture (such as a stock application logo and screenshot time) are drawn, splicing the multiple pictures to obtain a final complete screenshot picture.
As shown in fig. 4, an embodiment of the present application further provides an apparatus for acquiring a screenshot, which is applied to a non-mobile terminal, and the apparatus includes:
a first obtaining unit 41, configured to obtain a screenshot operation performed on the non-mobile terminal;
the generating unit 42 is configured to generate a chart control according to the screenshot operation;
a sending unit 43, configured to send a first data request to a server by using the chart control, where the first data request is used to request chart data in target intercepted data corresponding to the screenshot operation;
and the filling unit 44 is configured to draw the received chart data by using the chart control, and generate a first screenshot picture.
An embodiment of the present application further provides a computer-readable storage medium, where a captured image obtaining program is stored on the computer-readable storage medium, and when the captured image obtaining program is executed by a processor, the steps of the captured image obtaining method according to each method embodiment are implemented, for example, including:
acquiring screenshot operation of executing screen capture aiming at the non-mobile terminal;
generating a chart control according to the screenshot operation;
sending a first data request to a server by using the chart control, wherein the first data request is used for requesting chart data in target intercepted data corresponding to the screenshot operation;
and drawing the received chart data by using the chart control to generate a first screen-cut picture.
Fig. 5 is a schematic structural diagram of a non-mobile terminal according to another embodiment of the present invention. The non-mobile terminal 500 shown in fig. 5 includes: at least one processor 501, memory 502, at least one network interface 504, and other user interfaces 503. The various components in the non-mobile terminal 500 are coupled together by a bus system 505. It is understood that the bus system 505 is used to enable connection communications between these components. The bus system 505 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 505 in FIG. 5.
The user interface 503 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It is to be understood that the memory 502 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (PROM), an erasable programmable Read-only memory (erasabprom, EPROM), an electrically erasable programmable Read-only memory (EEPROM), or a flash memory. The volatile memory may be a Random Access Memory (RAM) which functions as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (staticiram, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (syncronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced synchronous SDRAM (ESDRAM), synchronous link SDRAM (SLDRAM), and direct memory bus SDRAM (DRRAM). The memory 502 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 502 stores elements, executable units or data structures, or a subset thereof, or an expanded set thereof as follows: an operating system 5021 and application programs 5022.
The operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application 5022 includes various applications, such as a media player (MediaPlayer), a Browser (Browser), and the like, for implementing various application services. The program for implementing the method according to the embodiment of the present invention may be included in the application program 5022.
In the embodiment of the present invention, by calling a program or an instruction stored in the memory 502, specifically, a program or an instruction stored in the application 5022, the processor 501 is configured to execute the method steps provided by the method embodiments, for example, including:
acquiring screenshot operation of executing screen capture aiming at the non-mobile terminal;
generating a chart control according to the screenshot operation;
sending a first data request to a server by using the chart control, wherein the first data request is used for requesting chart data in target intercepted data to be intercepted, which corresponds to the screenshot operation screen of the non-mobile terminal;
and filling the target chart data to be intercepted, which is received by the chart control, into the chart control according to a preset rule, and acquiring and generating a first screenshot picture.
The method disclosed by the above-mentioned embodiments of the present invention may be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 501. The processor 501 may be a general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software elements in the decoding processor. The software elements may be located in ram, flash, rom, prom, or eprom, registers, among other storage media that are well known in the art. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502 and completes the steps of the method in combination with the hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units performing the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the units may be implemented in the same software and/or hardware or in a plurality of software and/or hardware when implementing the invention.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for apparatus or system embodiments, since they are substantially similar to method embodiments, they are described in relative terms, as long as they are described in partial descriptions of method embodiments. The above-described embodiments of the apparatus and system are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for acquiring a screenshot picture is applied to a non-mobile terminal, and is characterized by comprising the following steps:
acquiring screenshot operation of executing screen capture aiming at the non-mobile terminal;
generating a chart control according to the screenshot operation;
sending a first data request to a server by using the chart control, wherein the first data request is used for requesting chart data in target intercepted data corresponding to the screenshot operation;
and drawing the received chart data by using the chart control to generate a first screen-cut picture.
2. The method of claim 1, further comprising:
creating a background window based on the screen of the non-mobile terminal;
based on the background window, creating a screenshot window according to a preset size;
creating a chart window based on the screenshot window by using the chart control;
and executing a hiding operation on the chart window.
3. The method of claim 2, wherein sending a first data request to a server using the chart control comprises:
acquiring identification information of the target intercepted data;
and sending the first data request to the server by using the chart control according to the identification information of the target intercepted data.
4. The method of claim 3, wherein said drawing the received chart data with the chart control comprises:
and receiving the chart data of the chart window sent by the server, and drawing the received chart data into the screenshot window by using the chart control.
5. The method of claim 3, further comprising:
sending a second data request to the server according to the identification information of the target intercepted data, wherein the second data request is used for requesting field data in the target intercepted data corresponding to the screenshot operation;
creating a field window based on the screenshot window;
drawing the received field data into the field window to generate a second screen capture picture.
6. The method of claim 2, further comprising:
acquiring screen identification information and screenshot time of the non-mobile terminal corresponding to the intercepting operation;
creating an identification window based on the screenshot window;
and drawing the screen identification information and the screenshot time into the identification window to generate a third screenshot picture.
7. The method of claim 1, further comprising:
acquiring sharing operation aiming at the first screenshot picture;
and sharing the first screen shot picture according to the sharing operation.
8. The device for acquiring the screenshot picture is applied to a non-mobile terminal, and is characterized by comprising the following steps:
the first acquisition unit is used for acquiring screenshot operation of executing screenshot aiming at the non-mobile terminal;
the generating unit is used for generating a chart control according to the screenshot operation;
a sending unit, configured to send a first data request to a server by using the chart control, where the first data request is used to request chart data in target intercepted data corresponding to the screenshot operation;
and the filling unit is used for drawing the received chart data by using the chart control to generate a first screenshot picture.
9. A terminal device, characterized in that the terminal device comprises: at least one processor, memory, at least one network interface, and a user interface;
the at least one processor, memory, at least one network interface, and user interface are coupled together by a bus system;
the processor is used for executing the steps of the method for acquiring the screenshot picture according to any one of claims 1 to 7 by calling the program or the instructions stored in the memory.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a screen shot acquisition program, which when executed by a processor implements the steps of the screen shot acquisition method according to any one of claims 1 to 7.
CN201911151392.0A 2019-11-21 2019-11-21 Screenshot picture acquisition method and device, terminal device and storage medium Active CN110989897B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911151392.0A CN110989897B (en) 2019-11-21 2019-11-21 Screenshot picture acquisition method and device, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911151392.0A CN110989897B (en) 2019-11-21 2019-11-21 Screenshot picture acquisition method and device, terminal device and storage medium

Publications (2)

Publication Number Publication Date
CN110989897A true CN110989897A (en) 2020-04-10
CN110989897B CN110989897B (en) 2021-12-03

Family

ID=70085800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911151392.0A Active CN110989897B (en) 2019-11-21 2019-11-21 Screenshot picture acquisition method and device, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN110989897B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764857A (en) * 2021-01-21 2021-05-07 维沃移动通信有限公司 Information processing method and device and electronic equipment
CN112765526A (en) * 2021-02-05 2021-05-07 腾讯科技(深圳)有限公司 Page screenshot method and device, terminal equipment and medium
CN113760414A (en) * 2020-06-02 2021-12-07 北京字节跳动网络技术有限公司 Method and device for drawing graph

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101147379A (en) * 2005-01-24 2008-03-19 茨特里克斯系统公司 Systems and methods for performing caching of dynamically generated objects in a network
CN101253495A (en) * 2005-08-30 2008-08-27 微软公司 Electronic data snapshot generator
CN104238913A (en) * 2014-09-02 2014-12-24 北京金山安全软件有限公司 Screenshot method and device and electronic equipment
CN106325748A (en) * 2016-08-25 2017-01-11 华蓥伟创立电子科技有限公司 System and terminal for interactively presenting display content of computer
US20180074605A1 (en) * 2015-03-17 2018-03-15 Behr Process Corporation Paint Your Place Application For Optimizing Digital Painting Of An Image
CN108279966A (en) * 2018-02-13 2018-07-13 广东欧珀移动通信有限公司 Webpage capture method, apparatus, terminal and storage medium
CN109491744A (en) * 2018-11-06 2019-03-19 成都知道创宇信息技术有限公司 A kind of webpage capture system and method
CN110020231A (en) * 2017-07-25 2019-07-16 阿里巴巴集团控股有限公司 Webpage capture method and device thereof
CN110297681A (en) * 2019-06-24 2019-10-01 腾讯科技(深圳)有限公司 Image processing method, device, terminal and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101147379A (en) * 2005-01-24 2008-03-19 茨特里克斯系统公司 Systems and methods for performing caching of dynamically generated objects in a network
CN101253495A (en) * 2005-08-30 2008-08-27 微软公司 Electronic data snapshot generator
CN104238913A (en) * 2014-09-02 2014-12-24 北京金山安全软件有限公司 Screenshot method and device and electronic equipment
US20180074605A1 (en) * 2015-03-17 2018-03-15 Behr Process Corporation Paint Your Place Application For Optimizing Digital Painting Of An Image
CN106325748A (en) * 2016-08-25 2017-01-11 华蓥伟创立电子科技有限公司 System and terminal for interactively presenting display content of computer
CN110020231A (en) * 2017-07-25 2019-07-16 阿里巴巴集团控股有限公司 Webpage capture method and device thereof
CN108279966A (en) * 2018-02-13 2018-07-13 广东欧珀移动通信有限公司 Webpage capture method, apparatus, terminal and storage medium
CN109491744A (en) * 2018-11-06 2019-03-19 成都知道创宇信息技术有限公司 A kind of webpage capture system and method
CN110297681A (en) * 2019-06-24 2019-10-01 腾讯科技(深圳)有限公司 Image processing method, device, terminal and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113760414A (en) * 2020-06-02 2021-12-07 北京字节跳动网络技术有限公司 Method and device for drawing graph
CN113760414B (en) * 2020-06-02 2023-11-28 北京字节跳动网络技术有限公司 Method and device for drawing graph
CN112764857A (en) * 2021-01-21 2021-05-07 维沃移动通信有限公司 Information processing method and device and electronic equipment
WO2022156606A1 (en) * 2021-01-21 2022-07-28 维沃移动通信有限公司 Information processing method and apparatus, and electronic device
CN112765526A (en) * 2021-02-05 2021-05-07 腾讯科技(深圳)有限公司 Page screenshot method and device, terminal equipment and medium

Also Published As

Publication number Publication date
CN110989897B (en) 2021-12-03

Similar Documents

Publication Publication Date Title
CN110989897B (en) Screenshot picture acquisition method and device, terminal device and storage medium
US10754668B2 (en) Media file presentation method, client application, and plug-in
CN109460233B (en) Method, device, terminal equipment and medium for updating native interface display of page
CN108008871A (en) A kind of page generation method and device
US20170302747A1 (en) Card-type desktop implementation method, apparatus, and system
TW201723897A (en) Method, device, and system for displaying information associated with a web page
US20170300459A1 (en) Card-type desktop implementation method and apparatus
EP3242197B1 (en) Desktop sharing method and mobile terminal
WO2016107325A1 (en) Page resource loading method and device based on mobile terminal
JP6921647B2 (en) Client devices, image processing systems, image display methods and programs
WO2015158304A1 (en) Data processing method and apparatus
CN107169147B (en) Data processing method and device and electronic equipment
EP4080507A1 (en) Method and apparatus for editing object, electronic device and storage medium
CN109040767B (en) Live broadcast room loading method, system, server and storage medium
CN109684565A (en) The generation of Webpage correlation video and methods of exhibiting, device, system and electronic equipment
CN110262749B (en) Webpage operation method, device, container, equipment and medium
CN110874172B (en) Method, device, medium and electronic equipment for amplifying APP interface
CN114996613B (en) Method, apparatus, device and storage medium for forwarding works
CN111506848A (en) Webpage processing method, device, equipment and readable storage medium
TWI489370B (en) System and method for rendering widget
CN116934411A (en) Transaction order creation method, device, electronic equipment and readable storage medium
US20130159894A1 (en) Method for providing space market widget, market server and user device thereof
JP2019021255A (en) Digital publishing system, digital publishing method and computer program
CN110895592B (en) Link starting method, device, equipment and medium on mobile terminal
WO2013107032A1 (en) Shortened network address linking to image representation of web page

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211105

Address after: 518000 9th floor, unit 3, building C, Kexing Science Park, No. 15, Keyuan Road, Central District, Science Park, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Futuo Network Technology (Shenzhen) Co.,Ltd.

Address before: 518000 9th floor, unit 3, building C, Kexing Science Park, No. 15, Keyuan Road, Central District, Science Park, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: SHENZHEN FUTU NETWORK TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant