CN109005446A - A kind of screenshotss processing method and processing device, electronic equipment, storage medium - Google Patents

A kind of screenshotss processing method and processing device, electronic equipment, storage medium Download PDF

Info

Publication number
CN109005446A
CN109005446A CN201810679983.4A CN201810679983A CN109005446A CN 109005446 A CN109005446 A CN 109005446A CN 201810679983 A CN201810679983 A CN 201810679983A CN 109005446 A CN109005446 A CN 109005446A
Authority
CN
China
Prior art keywords
layer
image
user interface
screenshotss
interface windows
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810679983.4A
Other languages
Chinese (zh)
Inventor
高斯太
宋虎
付延松
鲍姗娟
于芝涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Poly Polytron Technologies Inc
Juhaokan Technology Co Ltd
Original Assignee
Poly Polytron Technologies Inc
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 Poly Polytron Technologies Inc filed Critical Poly Polytron Technologies Inc
Priority to CN201810679983.4A priority Critical patent/CN109005446A/en
Publication of CN109005446A publication Critical patent/CN109005446A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/4448Receiver circuitry for the reception of television signals according to analogue transmission standards for frame-grabbing

Landscapes

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

Abstract

Present invention discloses a kind of screenshotss processing method and processing device, electronic equipment, computer readable storage medium, the program includes: to receive screenshotss instruction, and screenshotss instruction is used to indicate the display picture of terminal device interception current interface;Screenshotss instruction is responded, the window information of current interface is obtained;According to window information, judge current interface with the presence or absence of user interface windows layer;When knowing that video player is in normal playing status and exists simultaneously user interface windows layer, video playback window layer acquired image and user interface windows layer acquired image are overlapped, screenshotss image is obtained.Technical solution provided by the invention reduces the system resource of occupancy, improves screenshotss efficiency.

Description

A kind of screenshotss processing method and processing device, electronic equipment, storage medium
Technical field
The present invention relates to intelligent display technical field, in particular to a kind of screenshotss processing method and processing device, electronics set, calculate Machine readable storage medium storing program for executing.
Background technique
Commonly referred screenshotss are that have what what just directly intercepts on screen, are similar to Print screen on computer Function corresponding to (screenshotss) key, also referred to as " Snipping Tool " function.With the development of smart television, smart television can also have Then standby screenshotss function, such as user can share screen interception into the circle of friends of oneself at picture when seeing TV.
The way that the prior art obtains video screen screenshot is, when receiving screenshot instruction, while to video layer and use Family boundary layer carries out screenshotss, then two images are synthesized, if only video layer has image, user interface layer is not present, then only Export video tomographic image.This operating method, may occupying unnecessary complete machine resource, (each screenshot will remove video simultaneously Layer and user interface layer carry out screenshot, even if there be no user interface layer).
That is, current interface all can with or without user interface layer if using conventional methods direct screenshotss Remove to try to obtain user interface tomographic image, no matter non-full frame video layer either with or without content can all intercept video tomographic image, and this Be either way it is non-essential, by additional occupying system resources, waste time, reduce screenshotss efficiency.
Summary of the invention
In order to solve the problems, such as existing screenshotss method waste system resource, waste time, screenshotss low efficiency, the present invention is provided Another screenshotss processing method.
On the one hand, the present invention provides a kind of screenshotss processing methods, which comprises
Screenshotss instruction is received, the screenshotss instruction is used to indicate the display picture of terminal device interception current interface;
The screenshotss instruction is responded, the window information of current interface is obtained;
According to the window information, judge current interface with the presence or absence of user interface windows layer;
When knowing that video player is in normal playing status and exists simultaneously the user interface windows layer, by video Broadcast window layer acquired image and the user interface windows layer acquired image are overlapped, and obtain screenshotss image.
Optionally, described to know that video player is in normal playing status and exists simultaneously the user interface windows When layer, video playback window layer acquired image and the user interface windows layer acquired image are overlapped, cut Before screen image, the method also includes:
Obtain the status information of video player;
According to the status information of the video player, judge whether the video player is in normal playing status;
When judgement, which obtains the video player, is in normal playing status, the corresponding view of the video player is obtained The image of frequency broadcast window layer.
Optionally, described to know that video player is in normal playing status and exists simultaneously the user interface windows When layer, video playback window layer acquired image and the user interface windows layer acquired image are overlapped, cut Before screen image, the method also includes:
When judgement knows that current interface there are when user interface windows layer, obtains the image of the user interface windows layer.
Optionally, described to know that video player is in normal playing status and exists simultaneously the user interface windows When layer, video playback window layer acquired image and the user interface windows layer acquired image are overlapped, cut Screen image includes:
When knowing that video player is in normal playing status and exists simultaneously the user interface windows layer, if described The image of user interface windows layer has transparency channel, then by the video playback window layer obtain image and it is described apply journey The image that sequence window obtains carries out the addition of corresponding pixel points pixel value, obtains the screenshotss image.
Optionally, described to know that video player is in normal playing status and exists simultaneously the user interface windows When layer, video playback window layer acquired image and the user interface windows layer acquired image are overlapped, cut Screen image includes:
When knowing that video player is in normal playing status and exists simultaneously the user interface windows layer, if described The image of user interface windows layer is without transparency channel, then the image obtained the user interface windows layer is as the video Broadcast window layer acquired image and the superimposed obtained screenshotss image of user interface windows layer acquired image.
Optionally, described according to the window information, after judging that current interface whether there is user interface windows layer, institute State method further include:
If knowing, video player is in normal playing status but there is no the user interface windows layers, only obtains institute State the image of video playback window layer corresponding to video player.
Optionally, described according to the window information, after judging that current interface whether there is user interface windows layer, institute State method further include:
When knowing that video player is not at broadcast state but there are when the user interface windows layer, then only obtain described in The image of user interface windows layer.
Optionally, the method also includes:
Target identification is carried out to the screenshotss image and shows the search result to the target.
On the other hand, the present invention also provides a kind of screenshotss processing unit, described device includes:
Command reception module, for receiving screenshotss instruction, the screenshotss instruction is used to indicate terminal device interception and works as prezone The display picture in face;
Data obtaining module obtains the window information of current interface for responding the screenshotss instruction;
Window judgment module, for judging current interface with the presence or absence of user interface windows layer according to the window information;
Image overlay module, for when knowing that video player is in normal playing status and exists simultaneously user circle When the Window layer of face, video playback window layer acquired image and the user interface windows layer acquired image are overlapped, Obtain screenshotss image.
In addition, the present invention also provides a kind of electronic equipment, the electronic equipment includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to executing above-mentioned screenshotss processing method.
Further, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediums It is stored with computer program, the computer program can be executed above-mentioned screenshotss processing method by processor.
The technical solution that the embodiment of the present invention provides can include the following benefits:
The technical solution that the above exemplary embodiments of the present invention provide, by judge whether there is user interface windows layer with And the broadcast state of video player, when video player is in normal condition and exists simultaneously user interface windows layer, The image of the image and user interface windows layer that obtain video playback window layer is overlapped, and obtains screenshotss image.The prior art Regardless of video window layer and user interface windows layer whether there is image, all need to attempt to go to obtain image, thus can occupy need not The system resource wanted and the efficiency for reducing screenshotss, the present invention is when there is no user interface windows layers or video player not to locate When broadcast state, it can be mentioned without the image acquisition operations of corresponding Window layer it is possible thereby to reduce the system resource of occupancy High screenshotss efficiency.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited Invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and in specification together principle for explaining the present invention.
Fig. 1 is the schematic diagram of related implementation environment according to the present invention;
Fig. 2 is a kind of block diagram of device shown according to an exemplary embodiment;
Fig. 3 is a kind of flow chart of screenshotss processing method shown according to an exemplary embodiment;
Fig. 4 is a kind of display interface effect picture of video playback window layer;
Fig. 5 is a kind of display interface effect picture of user interface windows layer;
Fig. 6, which is a kind of, not only to have been included video playback window layer but also had included the display interface schematic diagram of user interface windows layer;
Fig. 7 is a kind of screenshotss processing method on the basis of Fig. 3 corresponding embodiment shown in another exemplary embodiment Flow chart;
Fig. 8, which is another, not only to have been included video playback window layer but also had included the display interface schematic diagram of user interface windows layer;
Fig. 9 is that the status information of video player is false but the display interface schematic diagram there are user interface windows layer;
Figure 10 is the entire flow figure of the screenshotss processing method shown in an exemplary embodiment of the invention;
Figure 11 is a kind of block diagram of screenshotss processing unit shown according to an exemplary embodiment.
Specific embodiment
Here will the description is performed on the exemplary embodiment in detail, the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Fig. 1 is implementation environment schematic diagram according to the present invention shown according to an exemplary embodiment.Involved by the present invention And implementation environment include intelligent display device 110.Intelligent display device 110 can use screenshotss processing side provided by the invention Method obtains the screenshotss image of current interface.
As needed, which can also include server 120.Server 120 can receive intelligent display device The 110 screenshotss images uploaded, and search out information relevant to screenshotss image and be back to intelligent display device 110.
It should be noted that screenshotss processing method of the present invention, be not limited to dispose corresponding place in intelligent display device 110 Logic is managed, the processing logic being deployed in other machines is also possible to.For example, in the middle part of the terminal device for having computing capability Affix one's name to the processing logic etc. of screenshotss processing method.
Fig. 2 is a kind of block diagram of device 200 shown according to an exemplary embodiment.For example, device 200 can be Fig. 1 Intelligent display device 110 in shown implementation environment.Intelligent display device such as can be various smart home devices, such as intelligence Energy TV, smart television set top box etc..
Referring to Fig. 2, device 200 may include following one or more components: processing component 202, memory 204, power supply Component 206, multimedia component 208, audio component 210, sensor module 214 and communication component 216.
The integrated operation of the usual control device 200 of processing component 202, such as with display, telephone call, data communication, phase Machine operation and the associated operation of record operation etc..Processing component 202 may include one or more processors 218 to execute Instruction, to complete all or part of the steps of following methods.In addition, processing component 202 may include one or more modules, Convenient for the interaction between processing component 202 and other assemblies.For example, processing component 202 may include multi-media module, with convenient Interaction between multimedia component 208 and processing component 202.
Memory 204 is configured as storing various types of data to support the operation in device 200.These data are shown Example includes the instruction of any application or method for operating on the device 200.Memory 204 can be by any kind of Volatibility or non-volatile memory device or their combination are realized, such as static random access memory (Static Random Access Memory, abbreviation SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read Only Memory, abbreviation EPROM), programmable read only memory (Programmable Red- Only Memory, abbreviation PROM), read-only memory (Read-Only Memory, abbreviation ROM), magnetic memory, flash Device, disk or CD.One or more modules are also stored in memory 204, which is configured to by this One or more processors 218 execute, to complete all or part of step in any shown method of following Fig. 3, Fig. 7, Figure 10 Suddenly.
Power supply module 206 provides electric power for the various assemblies of device 200.Power supply module 206 may include power management system System, one or more power supplys and other with for device 200 generate, manage, and distribute the associated component of electric power.
Multimedia component 208 includes the screen of one output interface of offer between described device 200 and user.One In a little embodiments, screen may include liquid crystal display (Liquid Crystal Display, abbreviation LCD) and touch panel. If screen includes touch panel, screen may be implemented as touch screen, to receive input signal from the user.Touch panel Including one or more touch sensors to sense the gesture on touch, slide, and touch panel.The touch sensor can be with The boundary of a touch or slide action is not only sensed, but also detects duration associated with the touch or slide operation and pressure Power.Screen can also include display of organic electroluminescence (Organic Light Emitting Display, abbreviation OLED).
Audio component 210 is configured as output and/or input audio signal.For example, audio component 210 includes a Mike Wind (Microphone, abbreviation MIC), when device 200 is in operation mode, such as call model, logging mode and speech recognition mould When formula, microphone is configured as receiving external audio signal.The received audio signal can be further stored in memory 204 or via communication component 216 send.In some embodiments, audio component 210 further includes a loudspeaker, for exporting Audio signal.
Sensor module 214 includes one or more sensors, and the state for providing various aspects for device 200 is commented Estimate.For example, sensor module 214 can detecte the state that opens/closes of device 200, the relative positioning of component, sensor group Part 214 can be with the position change of 200 1 components of detection device 200 or device and the temperature change of device 200.Some In embodiment, which can also include Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 216 is configured to facilitate the communication of wired or wireless way between device 200 and other equipment.Device 200 can access the wireless network based on communication standard, such as WiFi (WIreless-Fidelity, Wireless Fidelity).Show at one In example property embodiment, communication component 216 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel Relevant information.In one exemplary embodiment, the communication component 216 further includes near-field communication (Near Field Communication, abbreviation NFC) module, to promote short range communication.For example, radio frequency identification (Radio can be based in NFC module Frequency Identification, abbreviation RFID) technology, Infrared Data Association (Infrared Data Association, abbreviation IrDA) technology, ultra wide band (Ultra Wideband, abbreviation UWB) technology, Bluetooth technology and other skills Art is realized.
In the exemplary embodiment, device 200 can be by one or more application specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), it is digital signal processor, digital signal processing appts, programmable Logical device, field programmable gate array, controller, microcontroller, microprocessor or other electronic components are realized, for executing Following methods.
Fig. 3 is a kind of flow chart of screenshotss processing method shown according to an exemplary embodiment.The screenshotss processing method The scope of application and executing subject, for example, intelligent display device 110 of this method for implementation environment shown in Fig. 1.Such as Fig. 3 institute Show, can be executed, be may comprise steps of by mobile terminal 110.
In the step 310, screenshotss instruction is received, the screenshotss instruction is used to indicate the aobvious of terminal device interception current interface Show picture;
Wherein, terminal device can be the intelligent display device 110 in implementation environment shown in Fig. 1, such as smart television, intelligence Energy TV set-top box etc..Current interface refers to the display interface of smart television or smart television set top box.Screenshotss instruction can be The control such as remote controler equipment is sent out, and terminal device receives the screenshotss instruction that the control equipment such as remote controler issues, triggering terminal Equipment executes subsequent screenshotss operation, obtains the image content being currently displaying.
In a step 330, the screenshotss instruction is responded, the window information of current interface is obtained.
Wherein, window information refers to the Window layer that the current interface of window manager record is included.Terminal device response The screenshotss instruction received, can obtain the window information of current interface from window manager.
In step 350, according to the window information, judge current interface with the presence or absence of user interface windows layer.
Wherein, window is most important part in display interface.It is square corresponding with an application program on screen Shape region is the visual interface between user and the application program for generating the window.When there are multiple windows, have from top to bottom There is certain display order, the level where each window is properly termed as Window layer.Video playback window layer refers to for playing The Window layer of video, as shown in figure 4, being a kind of display interface of video playback window layer.User interface windows layer is that intelligence is set The standby medium interacted between user with information exchange, for data being presented to the user or being handled the window of user's input Layer, is a kind of display interface of user interface windows layer as shown in Figure 5.As shown in fig. 6, be not only comprising video playback window layer but also A kind of display interface schematic diagram comprising user interface windows layer.Specifically, terminal device indicated according to window information it is current The Window layer that interface is included judges current interface with the presence or absence of user interface windows layer.
If it is judged that there are user interface windows layer, the image of the available user interface windows layer of terminal device.It needs Even if it is noted that since there are video playing layers, but not can determine that video playing layer is rendered with the presence or absence of player Video frame.As shown in fig. 6, current interface had not only had the control of other applications, but also had non-full frame video playback window, But the non-full frame broadcast window, which may be playing, may also not have content.That is, even if there are video playing windows Mouth layer, there may be images may also not have content for the Window layer.Thus the present invention is broadcast not by judging whether there is video Window layer is put to decide whether the image of acquisition video playback window layer, but passes through the broadcast state of acquisition video player Information, judges whether video player is in normal playing status, just obtains when video player is in normal playing status The image of video playback window layer, otherwise directly using the image of user interface windows layer as screenshotss image.
In step 370, when knowing that video player is in normal playing status and exists simultaneously the user interface When mouth layer, video playback window layer acquired image and the user interface windows layer acquired image are overlapped, obtained Screenshotss image.
It should be noted that the image that video playback window layer and user interface windows layer obtain is that size is two identical Picture.Superposition, which refers to, presses the corresponding pixel points in the picture of two same sizes.Such as two pictures are corresponded into picture The RGBA value of vegetarian refreshments is added, and screenshotss image is obtained.Screenshotss image may be considered in the picture that current interface is being shown Hold.
Specifically, terminal device (can be broadcast by obtaining video player status information in broadcast state or be not at Put state), judge whether video player is in normal playing status.When video player is in normal playing status, obtain Take the image of video playback window layer.When obtaining obtaining user interface there are when user interface windows layer according to window information The image of mouth layer.When user interface windows layer is not present, the image for obtaining user interface windows layer is no longer removed, video playing is worked as When device is not at broadcast state, the image of video playback window layer is no longer obtained.Normal playing status is in video player And when existing simultaneously user interface windows layer, what the image and video playback window layer for just obtaining user interface windows layer obtained Image is overlapped, and obtains screenshotss image.
The prior art whether there is image regardless of video window layer and user interface windows layer, all need to attempt that acquisition is gone to scheme Thus picture can occupy unnecessary system resource and reduce the efficiency of screenshotss, the above exemplary embodiments of the present invention provide Technical solution work as video playing by judging whether there is the broadcast state of user interface windows layer and video player When device is in normal condition and exists simultaneously user interface windows layer, the image and user interface of video playback window layer are just obtained The image of Window layer is overlapped, and obtains screenshotss image.I.e. when there is no user interface windows layers or video player to be not at When broadcast state, the system resource of occupancy can be thus reduced, screenshotss are improved without the image acquisition operations of corresponding Window layer Efficiency.
In a kind of exemplary embodiment, as shown in fig. 7, method provided by the invention is also wrapped before above-mentioned steps 370 Include following steps:
In step 361, the status information of video player is obtained;
Wherein, the status information of video player includes that true (indicating in normal playing status) and false (are indicated not In broadcast state).The status information of video player is used to indicate whether current interface is playing content.
In step 362, according to the status information of the video player, judge whether the video player is in just Normal broadcast state;
Terminal device judges whether video player is in normal play shape according to the status information of video player device State indicates that current interface is playing content, is in normal playing status if status information is ture;If broadcast state When false, indicate current interface not in broadcasting content.
In step 363, when judgement, which obtains the video player, is in normal playing status, obtains the video and broadcast Put the image of video playback window layer corresponding to device.
Specifically, if the status information of video player is ture, terminal device, which judges to obtain video player, to be in Normal playing status obtains the image that video player is rendered in video playback window layer.Opposite, if video player Status information is false, and terminal device, which judges to obtain video player, is not at broadcast state, then does not execute video playback window The image acquisition operations of layer.
If shown in 8, in video display process, there is message notifying frame, the status information of video player is at this time True, and user interface windows layer is existed simultaneously, terminal device carries out mixing screenshot, that is, obtains the image of video playback window layer With the image of user interface windows layer, then two images are overlapped.
In a kind of exemplary embodiment, before above-mentioned steps 370, method provided by the invention further includes following step It is rapid:
When judgement knows that current interface there are when user interface windows layer, obtains the image of the user interface windows layer.
Specifically, window information of the terminal device according to acquisition, judging current interface, there is no user interface windows layers When, then no longer execute the image acquisition operations of user interface windows layer.It is when window information indicates that there are user interface windows layers, Just execute the image acquisition operations of user interface windows layer.
In a kind of exemplary embodiment, after above-mentioned steps 350, method provided by the invention can also include following Step:
If knowing, video player is in normal playing status but there is no the user interface windows layers, only obtains institute State the image of video playback window layer corresponding to video player.
That is, terminal device knows that video player is in normal play shape according to the status information of video player State, but know that current interface there is no when user interface windows layer, then obtains video player in video according to window information The image of broadcast window layer rendering, the image acquisition operations without executing user interface windows layer.
In a kind of exemplary embodiment, after above-mentioned steps 350, method provided by the invention can also include following Step:
When knowing that video player is not at broadcast state but there are when the user interface windows layer, then only obtain described in The image of user interface windows layer.
That is, terminal device knows that video player is not at broadcasting shape according to the status information of video player State, but current interface is known according to window information there are user interface windows layers, then execute the image of user interface windows layer Operation is obtained, does not execute the image acquisition operations of video playback window layer.As shown in figure 9, at this time without playing video, video is broadcast The status information for putting device is false, but there are user interface windows layer, the image that terminal device executes user interface windows layer is obtained Extract operation, but the image acquisition operations of video playback window layer are not executed.
In a kind of exemplary embodiment, screenshotss processing method provided by the invention is further comprising the steps of:
Target identification is carried out to the screenshotss image and shows the search result to the target.
Specifically, terminal device can analyze screenshotss image using existing image analysis algorithm, identifies and cut Targets such as personage, article in screen image, and then scanned for according to the image of the personage or article show personage or article Search result.
Figure 10 is the entire flow figure of the screenshotss processing method shown in an exemplary embodiment of the invention.As shown in Figure 10, In step 1001, terminal device receives screenshotss instruction;
In step 1002, terminal device judges whether current interface has user interface windows layer (i.e. UI layers);
In step 1003, when there are UI layers, UI layers of picture is obtained;
In step 1003 ' in, when being not present UI layers, obtain the status information of video player;
In step 1004, judge whether the status information of video player is " True ".
In step 1005, when the status information of video player is " True ", the figure of video playback window layer is obtained Piece;
In step 1006, picture and UI layer picture obtained that video playback window layer obtains are superimposed as a figure Piece, for searching for information relevant to the picture (i.e. to scheme to search figure).
In step 1005 ' in, when the status information of video player is not " True ", the picture that UI layers obtain is used for To scheme to search figure.
In a kind of exemplary embodiment, above-mentioned steps 370 are specifically included:
When knowing that video player is in normal playing status and exists simultaneously the user interface windows layer, if described The image of user interface windows layer has transparency channel, then by the video playback window layer obtain image and it is described apply journey The image that sequence window obtains carries out the addition of corresponding pixel points pixel value, obtains the screenshotss image.
Wherein, transparency channel refers to also has transparency (alpha) information other than RGB (RGB) Color Channel. Specifically, the image of video playback window layer is obtained when terminal device judges that video player is in normal playing status, When terminal device is judged to obtain the image of user interface windows layer there are when user interface windows layer.If user interface The image that mouth layer obtains has transparency channel, then by the pixel value and use of each pixel of video playback window layer acquired image The RGBA pixel value of each pixel of family interfaces windows layer acquired image is added, and the pixel of each pixel of screenshotss image is obtained Value.
In a kind of exemplary embodiment, above-mentioned steps 370 are specifically included:
When knowing that video player is in normal playing status and exists simultaneously the user interface windows layer, if described The image of user interface windows layer is without transparency channel, then the image obtained the user interface windows layer is as the video Broadcast window layer acquired image and the superimposed obtained screenshotss image of user interface windows layer acquired image.
Wherein, the image that no transparency channel refers to that user interface windows layer obtains is opaque.It in other words, can be right The image of video playback window layer causes to block.Video playback window layer acquired image and user interface windows layer institute as a result, Obtain the superposition of image, can directly using the pixel value of application window acquired image as the pixel value of superimposed image, The image that user interface windows layer obtains is obtained as video playback window layer acquired image and user interface windows layer Take the superimposed obtained screenshotss image of image.
Following is apparatus of the present invention embodiment, can be used for executing section that the above-mentioned intelligent display device 110 of the present invention executes Shield processing method embodiment.For undisclosed details in apparatus of the present invention embodiment, screenshotss processing method of the present invention is please referred to Embodiment.
Figure 11 is a kind of block diagram of screenshotss processing unit shown according to an exemplary embodiment, which can With in the intelligent display device 110 for implementation environment shown in Fig. 1, execute Fig. 3, Fig. 7, Figure 10 it is any shown in screenshotss processing side The all or part of step of method.As shown in figure 11, which includes but is not limited to: command reception module 1110, acquisition of information Module 1130, window judgment module 1150 and image overlay module 1170.
Command reception module 1110, for receiving screenshotss instruction, the screenshotss instruction is used to indicate terminal device interception and works as The display picture of front interface;
Data obtaining module 1130 obtains the window information of current interface for responding the screenshotss instruction;
Window judgment module 1150, for judging current interface with the presence or absence of user interface according to the window information Mouth layer;
Image overlay module 1170, for when knowing that video player is in normal playing status and exists simultaneously the use When the interfaces windows layer of family, video playback window layer acquired image and the user interface windows layer acquired image are folded Add, obtains screenshotss image.
The function of modules and the realization process of effect are specifically detailed in right in above-mentioned screenshotss processing method in above-mentioned apparatus The realization process of step is answered, details are not described herein.
Command reception module 1110 such as can be some physical structure communication component 216 in Fig. 2.
Data obtaining module 1130, window judgment module 1150 and image overlay module 1170 are also possible to function mould Block, for executing the correspondence step in above-mentioned screenshotss processing method.It is appreciated that these modules can by hardware, software or The two is in conjunction with realizing.When realizing in hardware, these modules may be embodied as one or more hardware modules, such as one A or multiple specific integrated circuits.When being realized with software mode, these modules be may be embodied as in one or more processors One or more computer programs of upper execution, such as the journey of storage in memory 204 performed by the processor 218 of Fig. 2 Sequence.
Optionally, the present invention also provides a kind of electronic equipment, which can be used for the intelligence of implementation environment shown in Fig. 1 Can show in equipment 110, execute Fig. 3, Fig. 7, Figure 10 it is any shown in screenshotss processing method all or part of step.It is described Electronic equipment includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to executing screenshotss processing method described in the above exemplary embodiments.
The processor of electronic equipment executes the concrete mode of operation in the related screenshotss processing method in the embodiment Embodiment in perform detailed description, no detailed explanation will be given here.
In the exemplary embodiment, a kind of storage medium is additionally provided, which is computer readable storage medium, It such as can be the provisional and non-transitorycomputer readable storage medium for including instruction.The storage medium is stored with computer Program, the computer program can be executed by the processor 218 of device 200 to complete above-mentioned screenshotss processing method.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and change can executed without departing from the scope.The scope of the present invention is limited only by the attached claims.

Claims (11)

1. a kind of screenshotss processing method, which is characterized in that the described method includes:
Screenshotss instruction is received, the screenshotss instruction is used to indicate the display picture of terminal device interception current interface;
The screenshotss instruction is responded, the window information of current interface is obtained;
According to the window information, judge current interface with the presence or absence of user interface windows layer;
When knowing that video player is in normal playing status and exists simultaneously the user interface windows layer, by video playing Window layer acquired image and the user interface windows layer acquired image are overlapped, and obtain screenshotss image.
2. the method according to claim 1, wherein described ought know that video player is in normal playing status And when existing simultaneously the user interface windows layer, by video playback window layer acquired image and the user interface windows layer Acquired image is overlapped, before obtaining screenshotss image, the method also includes:
Obtain the status information of video player;
According to the status information of the video player, judge whether the video player is in normal playing status;
When judgement, which obtains the video player, is in normal playing status, obtains video corresponding to the video player and broadcast Put the image of Window layer.
3. the method according to claim 1, wherein described ought know that video player is in normal playing status And when existing simultaneously the user interface windows layer, by video playback window layer acquired image and the user interface windows layer Acquired image is overlapped, before obtaining screenshotss image, the method also includes:
When judgement knows that current interface there are when user interface windows layer, obtains the image of the user interface windows layer.
4. the method according to claim 1, wherein described ought know that video player is in normal playing status And when existing simultaneously the user interface windows layer, by video playback window layer acquired image and the user interface windows layer Acquired image is overlapped, and is obtained screenshotss image and is included:
When knowing that video player is in normal playing status and exists simultaneously the user interface windows layer, if the user The image of interfaces windows layer has transparency channel, then the image and the application program window obtained the video playback window layer The image that mouth obtains carries out the addition of corresponding pixel points pixel value, obtains the screenshotss image.
5. the method according to claim 1, wherein described ought know that video player is in normal playing status And when existing simultaneously the user interface windows layer, by video playback window layer acquired image and the user interface windows layer Acquired image is overlapped, and is obtained screenshotss image and is included:
When knowing that video player is in normal playing status and exists simultaneously the user interface windows layer, if the user The image of interfaces windows layer is without transparency channel, then the image obtained the user interface windows layer is as screenshotss image.
6. judging that current interface is the method according to claim 1, wherein described according to the window information After the no layer there are user interface windows, the method also includes:
If knowing, video player is in normal playing status but there is no the user interface windows layers, only obtains the view The image of video playback window layer corresponding to frequency player.
7. judging that current interface is the method according to claim 1, wherein described according to the window information After the no layer there are user interface windows, the method also includes:
When knowing that video player is not at broadcast state but there are when the user interface windows layer, then the user is only obtained The image of interfaces windows layer.
8. the method according to claim 1, wherein the method also includes:
Target identification is carried out to the screenshotss image and shows the search result to the target.
9. a kind of screenshotss processing unit, which is characterized in that described device includes:
Command reception module, for receiving screenshotss instruction, the screenshotss instruction is used to indicate terminal device interception current interface Show picture;
Data obtaining module obtains the window information of current interface for responding the screenshotss instruction;
Window judgment module, for judging current interface with the presence or absence of user interface windows layer according to the window information;
Image overlay module, for when knowing that video player is in normal playing status and exists simultaneously the user interface When mouth layer, video playback window layer acquired image and the user interface windows layer acquired image are overlapped, obtained Screenshotss image.
10. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to perform claim requires screenshotss processing method described in 1-8 any one.
11. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence, the computer program can be executed as processor and complete screenshotss processing method described in claim 1-8 any one.
CN201810679983.4A 2018-06-27 2018-06-27 A kind of screenshotss processing method and processing device, electronic equipment, storage medium Pending CN109005446A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810679983.4A CN109005446A (en) 2018-06-27 2018-06-27 A kind of screenshotss processing method and processing device, electronic equipment, storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810679983.4A CN109005446A (en) 2018-06-27 2018-06-27 A kind of screenshotss processing method and processing device, electronic equipment, storage medium

Publications (1)

Publication Number Publication Date
CN109005446A true CN109005446A (en) 2018-12-14

Family

ID=64601634

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810679983.4A Pending CN109005446A (en) 2018-06-27 2018-06-27 A kind of screenshotss processing method and processing device, electronic equipment, storage medium

Country Status (1)

Country Link
CN (1) CN109005446A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096326A (en) * 2019-04-30 2019-08-06 维沃移动通信有限公司 A kind of screenshotss method, terminal device and computer readable storage medium
CN110231905A (en) * 2019-05-07 2019-09-13 华为技术有限公司 A kind of screenshotss method and electronic equipment
WO2021013147A1 (en) * 2019-07-23 2021-01-28 杭州海康威视数字技术股份有限公司 Video processing method, device, terminal, and storage medium
CN112732089A (en) * 2021-01-18 2021-04-30 海信视像科技股份有限公司 Virtual reality equipment and quick interaction method
CN113347413A (en) * 2021-06-25 2021-09-03 海信视像科技股份有限公司 Window position detection method and display device
CN113723397A (en) * 2020-05-26 2021-11-30 华为技术有限公司 Screen capturing method and electronic equipment
WO2022111730A1 (en) * 2020-11-30 2022-06-02 维沃移动通信有限公司 Image processing method and apparatus, and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
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
CN106060622A (en) * 2016-07-26 2016-10-26 青岛海信电器股份有限公司 Television screenshot method and television
CN205901977U (en) * 2016-08-15 2017-01-18 万象三维视觉科技(北京)有限公司 Interactive display system of bore hole 3D augmented reality

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
CN106060622A (en) * 2016-07-26 2016-10-26 青岛海信电器股份有限公司 Television screenshot method and television
US20180033172A1 (en) * 2016-07-26 2018-02-01 Hisense Electric Co., Ltd. Method for generating screenshot image on television terminal and associated television
CN205901977U (en) * 2016-08-15 2017-01-18 万象三维视觉科技(北京)有限公司 Interactive display system of bore hole 3D augmented reality

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096326A (en) * 2019-04-30 2019-08-06 维沃移动通信有限公司 A kind of screenshotss method, terminal device and computer readable storage medium
CN110096326B (en) * 2019-04-30 2021-08-17 维沃移动通信有限公司 Screen capturing method, terminal equipment and computer readable storage medium
CN110231905A (en) * 2019-05-07 2019-09-13 华为技术有限公司 A kind of screenshotss method and electronic equipment
CN110231905B (en) * 2019-05-07 2021-02-09 华为技术有限公司 Screen capturing method and electronic equipment
US11669242B2 (en) 2019-05-07 2023-06-06 Huawei Technologies Co., Ltd. Screenshot method and electronic device
WO2021013147A1 (en) * 2019-07-23 2021-01-28 杭州海康威视数字技术股份有限公司 Video processing method, device, terminal, and storage medium
CN113723397A (en) * 2020-05-26 2021-11-30 华为技术有限公司 Screen capturing method and electronic equipment
CN113723397B (en) * 2020-05-26 2023-07-25 华为技术有限公司 Screen capturing method and electronic equipment
WO2022111730A1 (en) * 2020-11-30 2022-06-02 维沃移动通信有限公司 Image processing method and apparatus, and electronic device
CN112732089A (en) * 2021-01-18 2021-04-30 海信视像科技股份有限公司 Virtual reality equipment and quick interaction method
CN113347413A (en) * 2021-06-25 2021-09-03 海信视像科技股份有限公司 Window position detection method and display device

Similar Documents

Publication Publication Date Title
CN109005446A (en) A kind of screenshotss processing method and processing device, electronic equipment, storage medium
US10958850B2 (en) Electronic device and method for capturing image by using display
EP3690625B1 (en) Method and device for dynamically displaying icon according to background image
EP3329352B1 (en) User terminal apparatus and controlling method thereof
US20170235435A1 (en) Electronic device and method of application data display therefor
US10564833B2 (en) Method and apparatus for controlling devices
US9247199B2 (en) Method of providing information-of-users' interest when video call is made, and electronic apparatus thereof
US10181203B2 (en) Method for processing image data and apparatus for the same
WO2020155014A1 (en) Smart home device sharing system and method, and electronic device
AU2015343983A1 (en) Electronic device and method for providing filter in electronic device
CN104298547A (en) Terminal setting method and device
WO2019105457A1 (en) Image processing method, computer device and computer readable storage medium
CN104636106A (en) Picture displaying method and device and terminal device
CN106204552B (en) A kind of detection method and device of video source
US10055813B2 (en) Electronic device and operation method thereof
US20160381291A1 (en) Electronic device and method for controlling display of panorama image
CN103543910A (en) Desktop wallpaper previewing method and desktop wallpaper previewing system
CN104391711A (en) Method and device for setting screen protection
CN105404438A (en) Background fuzzy method and apparatus and terminal device
JP2017505081A (en) Method and apparatus for prompting device connection
CN104484867A (en) Picture processing method and device
CN107767838B (en) Color gamut mapping method and device
CN104935613A (en) Scene synchronization method, terminal, server and system
CN110209445B (en) Information reminding method, device, terminal and storage medium
CN108093177A (en) Image acquiring method, device, storage medium and electronic equipment

Legal Events

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

Application publication date: 20181214

RJ01 Rejection of invention patent application after publication