CN108881999B - Screen capture processing method and system - Google Patents
Screen capture processing method and system Download PDFInfo
- Publication number
- CN108881999B CN108881999B CN201810674593.8A CN201810674593A CN108881999B CN 108881999 B CN108881999 B CN 108881999B CN 201810674593 A CN201810674593 A CN 201810674593A CN 108881999 B CN108881999 B CN 108881999B
- Authority
- CN
- China
- Prior art keywords
- image
- layer
- layer image
- video
- screen capture
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4334—Recording operations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/44—Receiver circuitry for the reception of television signals according to analogue transmission standards
- H04N5/4448—Receiver circuitry for the reception of television signals according to analogue transmission standards for frame-grabbing
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The application provides a screen capture processing method and a screen capture processing system, and relates to the technical field of television application. The method comprises the following steps: receiving a screen capturing instruction; judging whether a UI layer exists on a current display interface of the terminal, and acquiring state information of a video player of the terminal; if the current display interface of the terminal has a UI layer, intercepting an image of the UI layer; judging the state information, and if the state information is true, intercepting a video layer image; and superposing the UI layer image and the video layer image to obtain a screen capture image. The technical scheme provided by the invention reduces occupied system resources and improves screen capture efficiency.
Description
Technical Field
The application relates to the technical field of television application, in particular to a screen capture processing method and system.
Background
What is commonly called a screen shot is what is directly captured by what is on the screen, similar to the function corresponding to the Print screen key on a computer, also called a "screen shot" function. Along with the development of the smart television, the smart television can also have a screen capture function, for example, when a user watches television, the user can capture a screen into a picture and then share the picture in the friend circle.
In the prior art, a method for acquiring a screen capture of a television screen is that when a screen capture instruction is received, a video layer and a UI layer are simultaneously captured, and then two images are synthesized, and if only the video layer has an image and the UI layer does not exist, only the image of the video layer is output. The operation method may occupy unnecessary resources of the whole machine (the video layer and the UI layer are simultaneously removed for screenshot in each screenshot even though the UI layer does not exist).
That is to say, if the traditional method is used for direct screen capture, the current interface tries to capture no matter whether a UI layer exists or not, and captures the video layer no matter whether a non-full-screen video window exists or not, and both of the situations are unnecessary, which additionally occupies system resources, wastes time, and reduces screen capture efficiency.
Disclosure of Invention
The application provides a screen capture processing method and a screen capture processing system, which are used for solving the technical problems of system resource waste, time waste and low screen capture efficiency of the conventional screen capture method.
A first aspect of an embodiment of the present application provides a screen capture processing method, which is applied to a terminal, and includes the following steps:
receiving a screen capturing instruction;
judging whether a UI layer exists on a current display interface of the terminal, and acquiring state information of a video player of the terminal;
if the current display interface of the terminal has a UI layer, intercepting an image of the UI layer;
judging the state information, and if the state information is true, intercepting a video layer image;
and superposing the UI layer image and the video layer image to obtain a screen capture image.
Further, when it is judged that the current display interface of the terminal does not have a UI layer and the state information of the video player of the terminal is obtained as true, the video layer image is taken as the screen capture image.
Further, when the current display interface of the terminal is judged to have a UI layer and the state information of the video player of the terminal is obtained as false, the UI layer image is used as the screen capture image.
Further, the overlaying the UI layer image with the video layer image as a screen capture image includes: and if the UI layer image has a transparency channel, adding pixel values of corresponding pixel points of the UI layer image and the video layer image to obtain the screen capture image.
Further, the overlaying the UI layer image with the video layer image as a screen capture image includes: and if the UI layer image has no transparency channel, taking the UI layer image as the screen capture image.
A second aspect of the embodiments of the present application provides a screen capture processing system, including:
the command receiving unit is used for receiving the screen capturing instruction;
the first judging unit is used for judging whether a UI layer exists on the current display interface of the terminal;
the image intercepting unit is used for intercepting the UI layer image;
the state information acquisition unit is used for acquiring the state information of a video player of the terminal;
a second judging unit, configured to judge whether the state information is true or false;
the image intercepting unit is also used for intercepting the video layer image;
and the image overlapping unit is used for overlapping the UI layer image and the video layer image to obtain a screen capture image.
Further, the system further comprises:
and the third judging unit is used for judging whether the UI layer image has a transparency channel.
A third aspect of embodiments of the present application provides a computer device, comprising a processor and a memory; the memory is used for storing a computer program; the processor is configured to execute the computer program stored in the memory, and implement the method steps of the screen capture processing described in any implementation manner of the first aspect.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, where the computer-readable storage medium includes an internal memory
A computer program is stored which, when being executed by a processor, carries out the method steps of the screen capture process according to any one of the implementations provided in the first aspect.
According to the screen capture processing method and the screen capture processing system, whether the UI layer exists or not and the playing state of the video player are judged, and when the video player is in the playing state and the UI layer exists at the same time, the video layer image and the UI layer image are obtained and overlapped to obtain the screen capture image. In the prior art, whether an image exists in a video layer and/or a UI layer or not, the image acquisition is tried, so that unnecessary system resources are occupied, and the screen capturing efficiency is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without any creative effort.
FIG. 1 is a schematic illustration of an implementation environment in accordance with the present invention;
fig. 2 is a flowchart of a screen capture processing method provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of a screenshot image including both a video layer and a UI layer according to an embodiment of the present application;
FIG. 4 is a schematic diagram of another screenshot image including both a video layer and a UI layer according to an embodiment of the present application
FIG. 5 is a schematic diagram of a screenshot image including only a UI layer according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a screenshot image including only video layers according to an embodiment of the present disclosure;
FIG. 7 is a complete flow diagram of a screen shot processing method in accordance with an exemplary embodiment of the present invention;
fig. 8 is a block diagram illustrating a screen shot processing system according to an exemplary embodiment.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
FIG. 1 is a schematic diagram illustrating an implementation environment to which the present invention relates, according to an exemplary embodiment. The implementation environment to which the present invention relates includes a smart display device 110. The intelligent display device 110 may obtain a screenshot image of the current interface by using the screenshot processing method provided by the present invention.
The implementation environment may also include a server 120, as desired. The server 120 may receive the screenshot image uploaded by the smart display device 110 and search for information related to the screenshot image to return to the smart display device 110.
It should be noted that the screen capture processing method of the present invention is not limited to deploying corresponding processing logic in the smart display device 110, and may also be processing logic deployed in other machines. For example, processing logic of the screen capture processing method is deployed in a terminal device with computing power, and the like.
Example 1
Referring to fig. 2, an embodiment of the present application illustrates a flowchart of a screen capture processing method. A screen capture processing method is applied to a terminal, and comprises the following steps:
step S201: and receiving a screen capturing instruction.
The terminal includes, but is not limited to, a network device with a screen capture function, such as a smart television, a mobile phone, a tablet computer, a notebook computer, and a desktop computer. In the present embodiment, the terminal is described by taking an intelligent electronic device as an example. In practical application, the smart television can be integrated with a voice recognition related functional module or an application program, and the screen capturing instruction is triggered when voice input of a user is recognized so as to execute screen capturing operation. Or, a module or a program with a voice recognition function is integrated in the remote control device, and the remote control device transmits a screen capture control signal to the intelligent television after recognizing the voice input so as to enable the intelligent television to execute the screen capture operation. The remote control equipment can be a smart phone, a tablet personal computer, a remote controller and the like which are in communication connection with the smart television; the screen capture instruction can also be a key screen capture instruction, a function key can be set on the remote control equipment matched with the smart television aiming at the function of quickly performing image recognition, and when a user operates the function key or certain function key combinations, the remote control equipment sends the screen capture instruction to the smart television, and the method is not limited in the application.
Step S202: and judging whether the current display interface of the terminal has a UI layer or not, and simultaneously acquiring the state information of a video player of the terminal.
The current interface refers to a display interface of a terminal, in this embodiment, a display interface of an intelligent television or an intelligent television set-top box. The intelligent television receives a screen capturing instruction sent by control equipment such as a remote controller and the like, executes subsequent screen capturing operation and acquires the currently displayed picture content. Judging whether the current display Interface has a UI (User Interface) layer, and acquiring the state information of a video player of the terminal while judging, wherein the video player refers to software capable of playing videos stored in a digital signal form, and the UI layer refers to a medium for interaction and information exchange between intelligent equipment and a User and is used for presenting data to the User or processing a window layer input by the User.
Step S203: and if the current display interface of the terminal has a UI layer, intercepting the image of the UI layer.
And if the current display interface of the terminal has the UI layer, the terminal intercepts the image of the UI layer at the moment so as to obtain the image of the UI layer.
Step S204: and judging the state information, and if the state information is true, intercepting the video layer image.
The terminal equipment judges whether the video player is in a playing state according to the state information of the video player, and if the state information is true, the terminal equipment indicates that the current interface plays the content and is in the playing state; if false is the playing state, it indicates that the current interface is not playing the content. And when the state information of the video player is true, intercepting the video image being played so as to obtain a video layer image.
Step S205: and superposing the UI layer image and the video layer image to obtain a screen capture image.
It should be noted that the images acquired by the video layer and the UI layer are two pictures with the same size. The superposition refers to stitching corresponding pixel points in two pictures with the same size. For example, the RGBA values of the corresponding pixel points of the two pictures are added to obtain a screen capture image. The screenshot image may be considered the screen content that the current interface is displaying.
Before the UI layer image and the video layer image are superposed, whether the UI layer image has a transparency channel is judged, wherein the transparency channel is characterized by having transparency (alpha) information besides an RGB (red, green and blue) color channel.
Specifically, when the terminal device determines that the video player is in a playing state, the image of the video layer is acquired, and when the terminal device determines that the UI layer exists, the image of the UI layer is acquired. And if the image acquired by the UI layer has a transparency channel, adding the pixel value of each pixel point of the image of the video layer and the RGBA (RGBA is a color space representing Red (Red) Green (Green) Blue (Blue) and Alpha, namely transparency/opacity) pixel value of each pixel point of the image of the UI layer to obtain the pixel value of each pixel point of the screenshot image.
And if the UI layer image has no transparency channel, taking the UI layer image as a screen capture image.
Wherein, the non-transparency channel means that the image acquired by the UI layer is opaque. In other words, occlusion may be caused to the video layer image. Therefore, the superposition of the video layer image and the UI layer image can directly use the pixel value of the UI layer image as the pixel value of the superposed image, namely, the UI layer image is used as the screen capture image.
Fig. 3 is an exemplary diagram of a screenshot image obtained by capturing a UI layer image and a video layer image and then superimposing the UI layer image and the video layer image when a UI layer is present on a current display interface of the terminal and the status information of the video player is "true". The method comprises the steps that a video player window is arranged at the upper left of a current display interface and used for playing video information, when the state information of a video player is judged to be true, a video layer image is intercepted, whether a UI layer exists in the current display interface is judged at the same time, when the UI layer exists, the UI layer image is intercepted, in the figure 3, the other parts except the video player window are the intercepted UI layer image, and finally, the video layer image and the UI layer image are overlapped to obtain the screenshot image shown in the figure 3.
Fig. 4 is another exemplary diagram of a screenshot image obtained by capturing a UI layer image and a video layer image and then superimposing the UI layer image and the video layer image when the current display interface of the terminal has a UI layer and the status information of the video player is "true". When a user watches a video, a message prompt box pops up to push a news headline, and when the terminal receives a screen capturing instruction, a UI layer image and a video layer image in a current display interface are captured and superposed to obtain a screen capturing image shown in fig. 4.
In the prior art, regardless of whether an image exists in a video layer and a UI layer, an attempt is made to intercept the image, which may occupy unnecessary system resources and reduce the screen-capturing efficiency. That is, when no UI layer exists or the video player does not play the video, the image acquisition operation of the corresponding layer may not be performed, thereby reducing occupied system resources and improving the screen capturing efficiency.
Example 2
The embodiment of the application provides a flow chart of a screen capture processing method. The method comprises the following steps:
step S201: and receiving a screen capturing instruction.
Step S202: and judging whether the current display interface of the terminal has a UI layer or not, and simultaneously acquiring the state information of a video player of the terminal.
Step S203: and if the current display interface of the terminal has a UI layer, intercepting the image of the UI layer.
For step S201, step S202, and step S203, refer to the content shown in embodiment 1 of the present application specifically, and the present application will not be described herein again.
Step S204': and judging the state information, and if the state information is false, not executing the image interception operation of the video layer.
When the state information of the video player is false, the current interface does not play the content, so that the image capturing operation of the video layer is not executed, thereby reducing occupied system resources and improving the screen capturing efficiency.
Step S206: and taking the UI layer image as a screen capture image.
Because the video content is not played on the current interface, the image interception operation of the video layer is not required to be executed, and the intercepted UI layer image is directly used as a screen-shot image.
In the case that the current display interface of the terminal only has the UI layer and the video player is in the false state, as shown in fig. 5, the captured UI layer image is directly used as the screen capture image without performing the previous image capture operation of the video.
To sum up, in the screen capture processing method provided in embodiment 2 of the present application, by determining whether a UI layer exists and a playing state of the video player, when the UI layer exists in the current display interface but the video player is in a non-playing state, only the UI layer image is acquired, and the UI layer image is used as the screen capture image. Namely, when the video player does not play the video, the image acquisition operation of the video layer can not be carried out, thereby reducing occupied system resources and improving the screen capture efficiency.
Example 3
The embodiment of the application provides a flow chart of a screen capture processing method. The method comprises the following steps:
step S201: and receiving a screen capturing instruction.
Step S202: and judging whether the current display interface of the terminal has a UI layer or not, and simultaneously acquiring the state information of a video player of the terminal.
For step S201 and step S202, refer to the content shown in embodiment 1 of the present application specifically, which will not be described herein again.
Step S203': and if the current display interface of the terminal has no UI layer, not executing the image interception operation of the UI layer.
The terminal equipment judges whether the current display interface has a UI layer, if the current display interface does not have the UI layer, the image capturing operation of the UI layer is not executed any more, so that occupied system resources are reduced, and the screen capturing efficiency is improved
Step S204: and judging the state information, and if the state information is true, intercepting the video layer image.
The terminal equipment judges whether the video player is in a playing state according to the state information of the video player, if the state information is the future, the terminal equipment indicates that the current interface is playing the content and is in the playing state, and intercepts the video image which is playing, so that the video layer image is obtained.
Step S207: and taking the video layer image as a screen capture image.
Because the current interface has no UI layer, the image interception operation of the UI layer is not required to be executed, and the intercepted video layer image is directly used as a screen-shot image.
As shown in fig. 6, in the case that the current display interface of the terminal has no UI layer and the status information of the video player is "true", the video layer image is captured as an example of the screen capture image. In this case, the captured video layer image is directly used as the screen capture image without performing the image capture operation of the UI layer.
To sum up, in the screen capture processing method provided in embodiment 3 of the present application, by determining whether a UI layer exists and a playing state of the video player, when the current display interface does not have a UI layer but the video player is in the playing state, only the video layer image is acquired, and the video layer image is used as the screen capture image. Namely, when the UI layer does not exist, the image acquisition operation of the UI layer can not be carried out, so that occupied system resources are reduced, and the screen capturing efficiency is improved.
Fig. 7 is a complete flow chart illustrating a screen shot processing method according to an exemplary embodiment of the present invention. After receiving a screen capture instruction, simultaneously judging whether a UI layer exists on a current display interface and acquiring state information of a video player, judging whether the state information is true, and processing the current display interface according to three conditions to obtain a screen capture image, wherein the three conditions are respectively: firstly, a UI layer is arranged on a current display interface, and the state information of a video player is true, a UI layer image and a video layer image are intercepted and superposed to obtain a screenshot image; secondly, a UI layer is arranged on the current display interface, but the state information of the video player is false, at the moment, only the UI layer image is intercepted, the interception operation of the video layer image is not executed, and the intercepted UI layer image is used as a screen-intercepting image; and thirdly, the current display interface has no UI layer, but the state information of the video player is more than tune, at the moment, only the video layer image is intercepted, the interception operation of the UI layer image is not executed, and the intercepted video layer image is used as a screen-shot image.
When the video player is in a playing state and the UI layer exists at the same time, if the image of the UI layer has a transparency channel, adding pixel values of corresponding pixels of the image intercepted by the video layer and the image intercepted by the UI layer to obtain the screenshot image.
Wherein, the transparency channel means that it has transparency (alpha) information in addition to RGB (red green blue) color channels. Specifically, when the terminal device determines that the video player is in a playing state, the image of the video layer is captured, and when the terminal device determines that the UI layer exists, the image of the UI layer is acquired. And if the image acquired by the UI layer has a transparency channel, adding the pixel value of each pixel point of the image acquired by the video layer and the RGBA pixel value of each pixel point of the image acquired by the UI layer to obtain the pixel value of each pixel point of the screenshot image.
When the video player is in a playing state and the UI layer exists at the same time, if the image of the UI layer does not have a transparency channel, the image acquired by the UI layer is used as a screen capture image obtained by overlapping the image acquired by the video layer and the image acquired by the UI layer.
Wherein, the non-transparency channel means that the image acquired by the UI layer is opaque. In other words, the image of the video layer is occluded. Therefore, the superposition of the image acquired by the video layer and the image acquired by the UI layer can directly use the pixel value of the image acquired by the UI layer as the pixel value of the superposed image, namely, the image of the UI layer is used as the screen capture image.
Example 4
An embodiment of the present application provides a screen capture processing system, configured to execute the method shown in embodiment 1, embodiment 2, or embodiment 3 of the present application, and as shown in fig. 8, the system includes:
the command receiving unit is used for receiving the screen capturing instruction;
the first judging unit is used for judging whether a UI layer exists on the current display interface of the terminal;
the image intercepting unit is used for intercepting the UI layer image;
the state information acquisition unit is used for acquiring the state information of a video player of the terminal;
a second judging unit, configured to judge whether the state information is true or false;
the image intercepting unit is also used for intercepting the video layer image;
and the image overlapping unit is used for overlapping the UI layer image and the video layer image to obtain a screen capture image.
Further, the system further comprises:
and the third judging unit is used for judging whether the UI layer image has a transparency channel. And when the UI layer image has a transparency channel, adding pixel values of corresponding pixels of the image intercepted by the video layer and the image intercepted by the UI layer to obtain the screenshot image. And when the UI layer image has no transparency channel, taking the image acquired by the UI layer as a screen capture image obtained by overlapping the image acquired by the video layer and the image acquired by the UI layer.
Optionally, the present invention further provides an electronic device, which can be used in the intelligent display device 110 in the implementation environment shown in fig. 1 to execute all or part of the steps of the screen capture processing method shown in any one of fig. 2 and 7. The electronic device includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the screen capture processing method described in the above exemplary embodiment.
The specific manner in which the processor of the electronic device performs operations in this embodiment has been described in detail in the embodiment related to the screen capture processing method, and will not be elaborated here.
In an exemplary embodiment, a storage medium is also provided that is a computer-readable storage medium, such as may be transitory and non-transitory computer-readable storage media, including instructions. The storage medium stores a computer program to complete the screen capture processing method.
The information searching method and system provided by the embodiment of the application comprise the following steps: receiving a screen capturing instruction; judging the terminal
Whether a UI layer exists in a current display interface or not is judged, and meanwhile, state information of a video player of the terminal is obtained; if the current display interface of the terminal has a UI layer, intercepting an image of the UI layer; judging the state information, and if the state information is true, intercepting a video layer image; and superposing the UI layer image and the video layer image to obtain a screen capture image. The technical scheme provided by the invention reduces occupied system resources and improves screen capture efficiency.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. 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 application. Thus, the present application 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.
It is to be understood that the present application is not limited to what has been described above, and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Claims (7)
1. A screen capture processing method is applied to a terminal and is characterized by comprising the following steps:
receiving a screen capturing instruction;
judging whether a UI layer exists on a current display interface of the terminal, and meanwhile, acquiring state information of a video player of the terminal, wherein the state information is used for representing whether the player is in a playing state;
a UI layer is arranged on a current display interface of the terminal, and when the state information represents that the player is playing contents, UI layer images are intercepted in response to the screen interception instruction and video layer images are intercepted; superposing the UI layer image and the video layer image to obtain a screen capture image;
when a UI layer is arranged on a current display interface of the terminal and state information of a video player of the terminal is acquired to indicate that the player does not play content, a UI layer image is captured in response to the screen capturing instruction and a video layer image is not captured, and the UI layer image is used as the screen capturing image; and when the current display interface of the terminal does not have a UI layer and the state information of the video player of the terminal is acquired to represent that the player is playing contents, intercepting a video layer image without intercepting the UI layer image in response to the screen interception instruction, and taking the video layer image as the screen interception image.
2. The screen capture processing method according to claim 1, wherein the superimposing the UI layer image and the video layer image as the screen capture image includes: and if the UI layer image has a transparency channel, adding pixel values of corresponding pixel points of the UI layer image and the video layer image to obtain the screen capture image.
3. The screen capture processing method according to claim 1, wherein the superimposing the UI layer image and the video layer image as the screen capture image includes: and if the UI layer image has no transparency channel and the size of the UI layer image is the same as that of the video layer image, taking the UI layer image as the screen capture image.
4. A screen shot processing system, comprising:
the command receiving unit is used for receiving a screen capturing instruction;
the first judging unit is used for judging whether a UI layer exists on a current display interface of the terminal;
the terminal comprises a state information acquisition unit, a state information acquisition unit and a state information processing unit, wherein the state information acquisition unit is used for acquiring the state information of a video player of the terminal, and the state information is used for representing whether the player is in a playing state or not;
a second judging unit, configured to judge whether the state information is true or false, where true indicates that the player does not play the content, and false indicates that the player does not play the content;
the image intercepting unit is used for responding to the screen intercepting instruction and intercepting a UI layer image and intercepting a video layer image to output to the image superposition unit when the current display interface of the terminal has a UI layer and the state information is true; when the current display interface of the terminal has a UI layer and the state information is false, capturing a UI layer image in response to the screen capturing instruction and the screen capturing instruction to output the UI layer image to an image superposition unit without capturing a video layer image; when the current display interface of the terminal does not have a UI layer and the state information is true, intercepting a video layer image in response to the screen capture instruction and outputting the video layer image to an image superposition unit without intercepting the UI layer image;
the image superposition unit is used for superposing the UI layer image and the video layer image to obtain a screen capture image when the UI layer image and the video layer image are received simultaneously; directly taking the UI layer image as the screen capture image when the UI layer image is received and the video layer image is not received; and when the video layer image is received and the UI layer image is not received, directly taking the video layer image as the screen capture image.
5. The screen capture processing system of claim 4, further comprising:
the third judging unit is used for judging whether the UI layer image has a transparency channel;
a fourth judging unit, configured to judge sizes of the UI layer image and the video layer image;
the image overlapping unit overlaps the UI layer image and the video layer image to obtain a screen capture image, and the image overlapping unit comprises: and the image superposition unit adds the pixel values of corresponding pixels of the UI layer image and the video layer image to obtain the screen capture image when the UI layer image has a transparency channel, or takes the UI layer image as the screen capture image when the UI layer image has no transparency channel and the UI layer image and the video layer image have the same size.
6. A computer device comprising a processor and a memory; the memory is used for storing a computer program; the processor, configured to execute the computer program stored in the memory, implements the method steps of the screen capture process of any of claims 1-3.
7. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method steps of the screen capture process of any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810674593.8A CN108881999B (en) | 2018-06-27 | 2018-06-27 | Screen capture processing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810674593.8A CN108881999B (en) | 2018-06-27 | 2018-06-27 | Screen capture processing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108881999A CN108881999A (en) | 2018-11-23 |
CN108881999B true CN108881999B (en) | 2021-11-05 |
Family
ID=64295886
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810674593.8A Active CN108881999B (en) | 2018-06-27 | 2018-06-27 | Screen capture processing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108881999B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111835957B (en) * | 2019-04-16 | 2021-07-06 | 西安诺瓦星云科技股份有限公司 | Video processing method, video processing device and video processing equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105867736A (en) * | 2016-03-29 | 2016-08-17 | 努比亚技术有限公司 | Multi-level interface screenshot device and method |
CN106020644A (en) * | 2016-05-13 | 2016-10-12 | 青岛海信移动通信技术股份有限公司 | Picture capturing method and terminal |
CN109561266A (en) * | 2016-07-26 | 2019-04-02 | 青岛海信电器股份有限公司 | The screenshotss method and TV of TV |
CN205901977U (en) * | 2016-08-15 | 2017-01-18 | 万象三维视觉科技(北京)有限公司 | Interactive display system of bore hole 3D augmented reality |
-
2018
- 2018-06-27 CN CN201810674593.8A patent/CN108881999B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108881999A (en) | 2018-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11450044B2 (en) | Creating and displaying multi-layered augemented reality | |
US10825130B2 (en) | Method and apparatus for displaying picture content in application, and storage medium | |
CN109407936B (en) | Screenshot method and related device | |
CN105657272A (en) | Terminal equipment and photographing method thereof | |
CN110795097B (en) | Page processing method and device, computer equipment and storage medium | |
US20220094846A1 (en) | Method for selecting image based on burst shooting and electronic device | |
US20220417417A1 (en) | Content Operation Method and Device, Terminal, and Storage Medium | |
CN107040808B (en) | Method and device for processing popup picture in video playing | |
CN111405339B (en) | Split screen display method, electronic equipment and storage medium | |
CN109005446A (en) | A kind of screenshotss processing method and processing device, electronic equipment, storage medium | |
CN111601012B (en) | Image processing method and device and electronic equipment | |
CN113628100B (en) | Video enhancement method, device, terminal and storage medium | |
US20140313360A1 (en) | Electronic device and method for operating the same | |
CN110798615A (en) | Shooting method, shooting device, storage medium and terminal | |
US9641768B2 (en) | Filter realization method and apparatus of camera application | |
US20230316529A1 (en) | Image processing method and apparatus, device and storage medium | |
CN107896306A (en) | The method and system that a kind of filter is taken pictures | |
CN105100870A (en) | Screenshot method and terminal equipment | |
CN108881999B (en) | Screen capture processing method and system | |
JP2018537870A (en) | Color gamut mapping method and apparatus | |
WO2023125273A1 (en) | Image display method of electronic equipment, image processing circuit and electronic equipment | |
WO2023125316A1 (en) | Video processing method and apparatus, electronic device, and medium | |
CN114363678A (en) | Screen projection method and equipment | |
CN112383708B (en) | Shooting method and device, electronic equipment and readable storage medium | |
CN111614901A (en) | Image shooting method and device, storage medium and terminal |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |