[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN104850327A - Screen capture method and device of mobile terminal and electronic equipment - Google Patents

Screen capture method and device of mobile terminal and electronic equipment Download PDF

Info

Publication number
CN104850327A
CN104850327A CN201510280284.9A CN201510280284A CN104850327A CN 104850327 A CN104850327 A CN 104850327A CN 201510280284 A CN201510280284 A CN 201510280284A CN 104850327 A CN104850327 A CN 104850327A
Authority
CN
China
Prior art keywords
bitmap
screenshot capture
screen
instruction
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510280284.9A
Other languages
Chinese (zh)
Other versions
CN104850327B (en
Inventor
肖政东
刘山荣
贺聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi 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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510280284.9A priority Critical patent/CN104850327B/en
Publication of CN104850327A publication Critical patent/CN104850327A/en
Application granted granted Critical
Publication of CN104850327B publication Critical patent/CN104850327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a screen capture method and device of a mobile terminal and electronic equipment. The method includes: receiving a screen capture instruction which contains target image layer information selected by a user from all screen display image layers; acquiring the cache data corresponding to the target image layer; generating a bitmap according to the cache data. By the method, the image layer required to be cut out can be selected during screen capture, and user experience can be increased favorably.

Description

The screenshot method of mobile terminal and device, electronic equipment
Technical field
The disclosure relates to field of terminal technology, particularly relates to screenshot method and device, the electronic equipment of mobile terminal.
Background technology
In the process using mobile terminal, user wishes that carrying out record to the displaying contents on screen preserves sometimes, or sends to other users.Therefore, provide the screenshot capture scheme to mobile terminal in correlation technique, namely user can pass through as press simultaneously the modes such as the multiple physical button on mobile terminal, carries out shot operation to the displaying contents on screen.
Summary of the invention
The disclosure provides screenshot method and device, the electronic equipment of mobile terminal, to solve the deficiency in correlation technique.
According to the first aspect of disclosure embodiment, a kind of screenshot method of mobile terminal is provided, comprises:
Receive screenshot capture instruction, in described screenshot capture instruction, comprise the information of the target layer that user chooses from all screen display layer;
Obtain and correspond to the data cached of described target layer;
According to described data cached, generate bitmap.
Optionally, described acquisition corresponds to the data cached of described target layer, comprising:
Intercept and capture the display data on the screen mailing to Surfaceflinger service from shared drive;
From described display data on the screen, extract and correspond to the data cached of described target layer.
Optionally, the instruction of described reception screenshot capture, comprising:
When receiving screenshot capture enabled instruction, record is shown in the current interface of terminal screen;
According to the application switching command received, the displaying contents of described terminal screen is switched to target interface;
Receive described screenshot capture instruction, described screenshot capture instruction is used for carrying out sectional drawing to the screen content comprising described target interface.
Optionally, also comprise:
After receiving described screenshot capture instruction, the displaying contents of described terminal screen is switched back described current interface.
Optionally, also comprise:
If comprise input frame in described current interface, then described bitmap is affixed in described input frame.
Optionally, also comprise:
By described bitmap display in terminal screen;
Instruction is chosen in region according to receiving, determines the intercepting region to described bitmap;
According to described intercepting region, from described bitmap, intercept corresponding sectional drawing.
Optionally, described according to described intercepting region, from described bitmap, intercept corresponding sectional drawing, comprising:
Obtain the characterising parameter in described intercepting region;
Described characterising parameter is converted in the coordinate system residing for described bitmap, to determine the relative position relation between described screenshot area and described bitmap;
According to described relative position relation, from described bitmap, intercept described sectional drawing.
According to the second aspect of disclosure embodiment, a kind of screenshot capture device of mobile terminal is provided, comprises:
Receiving element, receives screenshot capture instruction, comprises the information of the target layer that user chooses from all screen display layer in described screenshot capture instruction;
Acquiring unit, obtains and corresponds to the data cached of described target layer;
Generation unit, according to described data cached, generates bitmap.
Optionally, described acquiring unit comprises:
Data acquisition subelement, intercepts and captures the display data on the screen mailing to Surfaceflinger service from shared drive;
Data extract subelement, from described display data on the screen, extract and correspond to the data cached of described target layer.
Optionally, described receiving element comprises:
Interface record subelement, when receiving screenshot capture enabled instruction, record is shown in the current interface of terminal screen;
Changing interface subelement, according to the application switching command received, switches to target interface by the displaying contents of described terminal screen;
Screenshot capture subelement, receives described screenshot capture instruction, and described screenshot capture instruction is used for carrying out sectional drawing to the screen content comprising described target interface.
Optionally, also comprise:
Recovery unit, after receiving described screenshot capture instruction, switches back described current interface by the displaying contents of described terminal screen.
Optionally, also comprise:
Application unit, if comprise input frame in described current interface, then affixes to described bitmap in described input frame.
Optionally, also comprise:
Display unit, by described bitmap display in terminal screen;
Determining unit, instruction is chosen in the region according to receiving, and determines the intercepting region to described bitmap;
Interception unit, according to described intercepting region, intercepts corresponding sectional drawing from described bitmap.
Optionally, described interception unit comprises:
Parameter acquiring subelement, obtains the characterising parameter in described intercepting region;
Parameter Switch subelement, is converted to described characterising parameter in the coordinate system residing for described bitmap, to determine the relative position relation between described screenshot area and described bitmap;
Picture intercepts subelement, according to described relative position relation, from described bitmap, intercepts described sectional drawing.
According to the third aspect of disclosure embodiment, a kind of electronic equipment is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive screenshot capture instruction, in described screenshot capture instruction, comprise the information of the target layer that user chooses from all screen display layer;
Obtain and correspond to the data cached of described target layer;
According to described data cached, generate bitmap.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
From above-described embodiment, the selection information of the disclosure by comprising in screenshot capture instruction target layer, make mobile terminal when performing shot operation, just screen display content is not extracted completely, but based on the actual demand of user, only intercept part layer wherein, make screen shot operation more pointed, contribute to the experience promoting user.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Figure 1A is the schematic diagram in correlation technique, mobile terminal being carried out to screenshot capture.
Figure 1B is the decomposing schematic representation of the layer that the screenshot capture in Figure 1A comprises.
Fig. 2 is the structural representation that mobile terminal in correlation technique realizes the systemic-function of screenshot capture.
Fig. 3 is the process flow diagram of the screenshot method of a kind of mobile terminal according to the disclosure one exemplary embodiment.
Fig. 4 is the process flow diagram of the screenshot method of another kind of mobile terminal according to the disclosure one exemplary embodiment.
Fig. 5-9 is a kind of schematic diagram mobile terminal being carried out to screenshot capture according to the disclosure one exemplary embodiment.
Figure 10 is the structural representation that a kind of mobile terminal according to the disclosure one exemplary embodiment realizes the systemic-function of screenshot capture.
Figure 11-12 is a kind of schematic diagram mobile terminal being carried out to screenshot capture according to the disclosure one exemplary embodiment.
Figure 13-19 is block diagrams of the screenshot capture device of a kind of mobile terminal according to the disclosure one exemplary embodiment.
Figure 20 is the structural representation of the device of the screenshot capture of a kind of mobile terminal according to the disclosure one exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Figure 1A is the schematic diagram in correlation technique, mobile terminal being carried out to screenshot capture, as shown in Figure 1A, left side is the interface schematic diagram of mobile terminal, when user needs to perform screenshot capture to this mobile terminal, be merely able to all displaying contents in the screen to mobile terminal and carry out sectional drawing together, obtain the screenshot capture shown in right side.
But in fact the screen content in Figure 1A is not an entirety at first; For example, as shown in Figure 1B, the screen display content of mobile terminal can be divided into multiple layer such as anchor icon bottom desktop background, status bar, window member, desktop icons, desktop, and these are data cached is co-located in the shared drive shown in Fig. 2; When user needs to perform screenshot capture, served by the Surfaceflinger in mobile terminal and extract above-mentioned data cached from shared drive, and by after combining corresponding data cached of All Layers, just obtain final screenshot capture.
But in the screenshot capture that correlation technique provides, user may only wish to intercept one of them or several layer, and does not need All Layers, then in fact other layer belong to the useless even interference element in screenshot capture.
Therefore, the disclosure by improving the screenshot capture process of mobile terminal, to solve the above-mentioned technical matters existed in correlation technique.
Fig. 3 is the process flow diagram of the screenshot method of a kind of mobile terminal according to an exemplary embodiment, and as shown in Figure 3, the method is used for, in mobile terminal, can comprising the following steps.
In step 302, receive screenshot capture instruction, in described screenshot capture instruction, comprise the information of the target layer that user chooses from all screen display layer.
In the present embodiment, when receiving screenshot capture enabled instruction, the current interface being shown in terminal screen can be recorded; According to the application switching command received, the displaying contents of described terminal screen is switched to target interface; Receive described screenshot capture instruction, described screenshot capture instruction is used for carrying out sectional drawing to the screen content comprising described target interface.In this embodiment, user in current interface, can perform the screen shot operation to arbitrary interface, is automatically associated between current interface with target interface, and without the need to user's manual switchover.
Further, after receiving described screenshot capture instruction, the displaying contents of described terminal screen can be switched back described current interface, thus be convenient to user and in current interface, screenshot capture operated or process, especially current interface belong to as instant messaging apply time, make screen shot operation more meet instant messaging application timeliness demand.
Further, if comprise input frame in described current interface, then described bitmap is affixed in described input frame.In this embodiment, by the direct stickup to bitmap, user operation is simplified; Especially for instant messaging application, it may be greatly content as instant messaging that the screenshot capture behavior of user has, and thus meets the timeliness demand of instant messaging application.
In step 304, acquisition corresponds to the data cached of described target layer.
In the present embodiment, by intercepting and capturing the display data on the screen mailing to Surfaceflinger service from shared drive, and from described display data on the screen, can extract and correspond to the data cached of described target layer.In this embodiment, by the intercepting and capturing to display data on the screen, when avoiding Surfaceflinger service to process these data, All Layers is combined; And correspond to the data cached of target layer by extracting, guarantee in the screenshot capture finally obtained, only comprise the content of target layer, and eliminate the content of other layer.
Within step 306, according to described data cached, generate bitmap.
In the present embodiment, can also by described bitmap display in terminal screen; Instruction is chosen in region according to receiving, determines the intercepting region to described bitmap; According to described intercepting region, from described bitmap, intercept corresponding sectional drawing.In this embodiment, user can directly intercept the region that oneself needs, and avoids in screenshot capture, comprise unwanted content; Meanwhile, do not need to carry out region intercepting separately after screenshot capture yet, contribute to simplifying user operation.
Wherein, can by obtaining the characterising parameter in described intercepting region; Described characterising parameter is converted in the coordinate system residing for described bitmap, to determine the relative position relation between described screenshot area and described bitmap; According to described relative position relation, from described bitmap, intercept described sectional drawing.
From above-described embodiment, the selection information of the disclosure by comprising in screenshot capture instruction target layer, make mobile terminal when performing shot operation, just screen display content is not extracted completely, but based on the actual demand of user, only intercept part layer wherein, make screen shot operation more pointed, contribute to the experience promoting user.
Fig. 4 is the process flow diagram of the screenshot method of another kind of mobile terminal according to the disclosure one exemplary embodiment, and as shown in Figure 4, the method is applied to mobile terminal, can comprise the following steps.
In step 402, mobile terminal receives screenshot capture enabled instruction.
In the present embodiment, mobile terminal can judge whether to receive screenshot capture enabled instruction in several ways, such as screen detects physical button of certain or certain combination on the touch sliding trace of predetermined pattern, mobile terminal is pressed, mobile terminal is rocked, the disclosure does not limit this.
For example, as an exemplary embodiment, as shown in Figure 5, can show a mark on mobile terminals, this mark is suspended on other displaying contents in screen, and user can drag at random and change the display position of this mark.So, after user triggers this mark, the choice menus shown in Fig. 5 can be shown, so when after the mobile terminal option that detects that user chooses " sectional drawing ", can be judged to have received screenshot capture enabled instruction.
In step 404, according to the user operation detected, target interface is switched to from current interface.
In the present embodiment, as shown in Figure 6, the menu as " please turn over to target interface, make a choice: cancel/choose layer " can be shown on mobile terminal screen, then user by application switching command, can switch to target interface from current interface.For example, such as Fig. 6 is current interface, this current interface is the interface of instant messaging application, and Fig. 7 is target interface, this target interface is the main interface of desktop, then user directly under the current interface shown in Fig. 6, can complete changing interface by " homepage " key clicked in the middle of below mobile terminal, then when mobile terminal detects this clicking operation, can think receive user input application switching command.
In a step 406, all screen display layer are shown on the screen of the mobile terminal.
In the present embodiment, after switching to target interface, user can by clicking " choosing layer " option shown in Fig. 7, recall the menu shown in Fig. 8, in this menu, comprise the All Layers comprised in the target interface such as " status bar ", " desktop background ", " window member ", " desktop icons ", " bottom desktop anchor icon ".
Certainly, if current interface is the target interface needed for user, then user by clicking " choosing layer " option shown in Fig. 6, can recall the menu shown in Fig. 8.
In a step 408, the selection according to user operates, and chooses target layer.
In the present embodiment, user, by the menu shown in Fig. 8, directly chooses required target layer, such as " desktop background "; Certainly, target layer can comprise multiple layer, and such as in fig .9, user have selected " desktop background " and " window member ".The disclosure does not limit the layer count that user can choose.
In step 410, mobile terminal receives screenshot capture instruction.
As an exemplary embodiment, can not step 402-408 be comprised in technical scheme of the present disclosure, then, after user directly sends screenshot capture instruction, screen shot operation can be carried out to current interface.In this embodiment, mobile terminal can judge whether to receive screenshot capture instruction by any-mode, such as similar with the screenshot capture enabled instruction in step 402, as touch track figure, physical button are pressed, also can be different from screenshot capture enabled instruction; Repeat no more herein.
As another exemplary embodiment, if comprise step 402-408, then mobile terminal is after receiving screenshot capture instruction, really starts to perform corresponding screen shot operation, will be described below in step 412-416.In this embodiment, mobile terminal still can judge whether to receive screenshot capture instruction by any-mode; As an illustrative embodiments, in the interface shown in Fig. 8 or Fig. 9, after user clicks " completing ", can be judged to receive screenshot capture instruction, perform corresponding screen shot operation.
As shown in Figure 8, when user only have chosen " desktop background ", in the screenshot capture that right side generates, only comprise the layer displaying contents of this " desktop background "; As shown in Figure 9, when user have chosen " desktop background " and " window member " simultaneously, the screenshot capture that right side generates is the combination of the layer displaying contents of " desktop background " and " window member ", and user according to the actual requirements, can carry out combination in any to multiple layer.
Optionally, in step 404A, mobile terminal can after step 404, record current interface; And in step 404B, mobile terminal after step 410, returns to current interface automatically.So, especially for the instant messaging process shown in Fig. 5, auto-associating and switching can be completed between current interface and target interface, contribute to simplifying user operation, promoting Consumer's Experience.
In step 412, the data being sent to Surfaceflinger service by shared content are intercepted and captured.
As an exemplary embodiment, as shown in Figure 10, after mobile terminal detects screenshot capture instruction, can to shared drive be sent to Surfaceflinger service data intercept and capture, then avoid these data to be carried out the screenshot capture be combined as shown in Figure 1A by Surfaceflinger service.Contrary, these data can not be sent to Surfaceflinger, but are sent to region of memory, and wait operation according to user to choosing of layer, the screenshot capture of generation needed for the disclosure.
In step 414, go out corresponding to target layer from the extracting data intercepted and captured data cached.
In the present embodiment, according to the target layer of the target interface that user chooses in a step 408, mobile terminal, from corresponding data cached of extracting data intercepted and captured, such as Fig. 8, only need to extract and corresponds to the data cached of " desktop background " layer; And for Fig. 9, need extraction to correspond to the data cached of " desktop background " and " window member " layer.
In step 416, data cached according to what extract, generate corresponding bitmap.
In step 418, by generate bitmap display on terminal screen.
In the present embodiment, mobile terminal generate bitmap, complete shot operation after, can arbitrary interface be switched to, " current interface " before such as returning, or rest on " target interface " etc., wait for user perform other operation; Or, by the bitmap display of generation on terminal screen, for user, this bitmap can also be processed.
At step 420 which, according to the user's intercept operation received, the bitmap shown is determined intercept region.
In the present embodiment, mobile terminal can choose instruction according to the region received, and determines the intercepting region to bitmap.Than as shown in figure 11, the icon corresponding to four summits intercepting region can be shown on a terminal screen, if then user does not need to intercept, then can directly click " completing ", then be defaulted as and receive region and choose instruction; If user needs to intercept, then by dragging this icon, then, when detecting that icon is dragged, can be judged to be that receiving region chooses instruction.Intercepting region by determining on the bitmap shown, only to intercept sectional drawing corresponding to this region, and eliminating other unwanted displaying contents in bitmap.
In step 422, according to intercepting region, corresponding sectional drawing is intercepted from bitmap.
In the present embodiment, this characterising parameter can by obtaining the characterising parameter intercepting region, and be converted in the coordinate system residing for bitmap, to determine the relative position relation between screenshot area and bitmap by mobile terminal, then according to relative position relation, from bitmap, corresponding sectional drawing is intercepted.
For example, for the rectangle shown in Figure 11, the characterising parameter intercepting region can comprise: the coordinate on four summits; Or, the coordinate on the length of side and arbitrary summit, thus the intercepting region of this rectangle can be described out in the coordinate system residing for bitmap.Certainly, " rectangle " only for illustrating, the disclosure does not limit and intercepts the shape in region.
In step 424, judge whether current interface comprises input frame, if comprise, proceed to step 428, otherwise proceed to step 426.
In step 426, the sectional drawing of intercepting is generated as corresponding sectional drawing file.
In the present embodiment, mobile terminal also can not generate sectional drawing file, and is saved in clipbook by the sectional drawing of intercepting, then user can operate in " stickup " manually, this sectional drawing is affixed to the places such as the input frame of terminal interface.
In step 428, the sectional drawing of intercepting is affixed directly in input frame.
In the present embodiment, as shown in figure 12, after returning " current interface ", if comprise input frame in this interface, then directly the sectional drawing of intercepting can be affixed in this input frame, thus manually paste without the need to user.
Corresponding with the embodiment of the screenshot method of aforesaid mobile terminal, the disclosure additionally provides the embodiment of the screenshot capture device of mobile terminal.
Figure 13 is the screenshot capture device block diagram of a kind of mobile terminal according to an exemplary embodiment.With reference to Figure 13, this device comprises receiving element 1301, acquiring unit 1302 and generation unit 1303.
Wherein, receiving element 1301, is configured to receive screenshot capture instruction, comprises the information of the target layer that user chooses from all screen display layer in described screenshot capture instruction;
Acquiring unit 1302, is configured to acquisition and corresponds to the data cached of described target layer;
Generation unit 1303, is configured to according to described data cached, generates bitmap.
As shown in figure 14, Figure 14 is the block diagram of the screenshot capture device of another kind of mobile terminal according to an exemplary embodiment, this embodiment is on aforementioned basis embodiment illustrated in fig. 13, and acquiring unit 1302 can comprise: Data acquisition subelement 1302A and data extract subelement 1302B.
Wherein, Data acquisition subelement 1302A, is configured to intercept and capture the display data on the screen mailing to Surfaceflinger service from shared drive;
Data extract subelement 1302B, are configured to from described display data on the screen, extract and correspond to the data cached of described target layer.
As shown in figure 15, Figure 15 is the block diagram of the screenshot capture device of another kind of mobile terminal according to an exemplary embodiment, this embodiment is on aforementioned basis embodiment illustrated in fig. 13, and receiving element 1301 can comprise: interface record subelement 1301A, changing interface subelement 1301B and screenshot capture subelement 1301C.
Wherein, interface record subelement 1301A, is configured to when receiving screenshot capture enabled instruction, and record is shown in the current interface of terminal screen;
Changing interface subelement 1301B, is configured to, according to the application switching command received, the displaying contents of described terminal screen be switched to target interface;
Screenshot capture subelement 1301C, is configured to receive described screenshot capture instruction, and described screenshot capture instruction is used for carrying out sectional drawing to the screen content comprising described target interface.
It should be noted that, interface record subelement 1301A, changing interface subelement 1301B in device embodiment shown in above-mentioned Figure 15 and the structure of screenshot capture subelement 1301C also can be included in the device embodiment of aforementioned Figure 14, do not limit this disclosure.
As shown in figure 16, Figure 16 is the block diagram of the screenshot capture device of another kind of mobile terminal according to an exemplary embodiment, and this embodiment is on aforementioned basis embodiment illustrated in fig. 15, and this device can also comprise: recovery unit 1304.
Wherein, recovery unit 1304, is configured to, after receiving described screenshot capture instruction, the displaying contents of described terminal screen be switched back described current interface.
As shown in figure 17, Figure 17 is the block diagram of the screenshot capture device of another kind of mobile terminal according to an exemplary embodiment, and this embodiment is on aforementioned basis embodiment illustrated in fig. 16, and this device can also comprise: application unit 1305.
Wherein, application unit 1305, comprises input frame if be configured in described current interface, is then affixed in described input frame by described bitmap.
As shown in figure 18, Figure 18 is the block diagram of the screenshot capture device of another kind of mobile terminal according to an exemplary embodiment, this embodiment is on aforementioned basis embodiment illustrated in fig. 13, and this device can also comprise: display unit 1306, determining unit 1307 and interception unit 1308.
Wherein, display unit 1306, is configured to described bitmap display in terminal screen;
Determining unit 1307, instruction is chosen in the region be configured to according to receiving, and determines the intercepting region to described bitmap;
Interception unit 1308, is configured to according to described intercepting region, intercepts corresponding sectional drawing from described bitmap.
It should be noted that, the structure of the display unit 1306 in the device embodiment shown in above-mentioned Figure 18, determining unit 1307 and interception unit 1308 also can be included in the device embodiment of earlier figures 14-17, does not limit this disclosure.
As shown in figure 19, Figure 19 is the block diagram of the screenshot capture device of another kind of mobile terminal according to an exemplary embodiment, this embodiment is on aforementioned basis embodiment illustrated in fig. 18, and interception unit 1308 can comprise: parameter acquiring subelement 1308A, Parameter Switch subelement 1308B and picture intercept subelement 1308C.
Wherein, parameter acquiring subelement 1308A, is configured to the characterising parameter obtaining described intercepting region;
Parameter Switch subelement 1308B, is configured to be converted in the coordinate system residing for described bitmap by described characterising parameter, to determine the relative position relation between described screenshot area and described bitmap;
Picture intercepts subelement 1308C, is configured to, according to described relative position relation, from described bitmap, intercept described sectional drawing.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
For device embodiment, because it corresponds essentially to embodiment of the method, so relevant part illustrates see the part of embodiment of the method.Device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of disclosure scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Accordingly, the disclosure also provides a kind of screenshot capture device of mobile terminal, comprising: processor; For the storer of storage of processor executable instruction; Wherein, described processor is configured to: receive screenshot capture instruction, comprise the information of the target layer that user chooses from all screen display layer in described screenshot capture instruction; Obtain and correspond to the data cached of described target layer; According to described data cached, generate bitmap.
Accordingly, the disclosure also provides a kind of terminal, described terminal includes storer, and one or more than one program, one of them or more than one program are stored in storer, and be configured to perform described more than one or one routine package containing the instruction for carrying out following operation by more than one or one processor: receive screenshot capture instruction, in described screenshot capture instruction, comprise the information of the target layer that user chooses from all screen display layer; Obtain and correspond to the data cached of described target layer; According to described data cached, generate bitmap.
Figure 20 is the block diagram of the device 2000 of a kind of screenshot capture for mobile terminal according to an exemplary embodiment.Such as, device 2000 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 20, device 2000 can comprise following one or more assembly: processing components 2002, storer 2004, power supply module 2006, multimedia groupware 2008, audio-frequency assembly 2010, the interface 2012 of I/O (I/O), sensor module 2014, and communications component 2016.
The integrated operation of the usual control device 2000 of processing components 2002, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 2002 can comprise one or more processor 2020 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 2002 can comprise one or more module, and what be convenient between processing components 2002 and other assemblies is mutual.Such as, processing components 2002 can comprise multi-media module, mutual with what facilitate between multimedia groupware 20020 and processing components 2002.
Storer 2004 is configured to store various types of data to be supported in the operation of device 2000.The example of these data comprises for any application program of operation on device 2000 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 2004 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 2006 is device 2000 provide electric power.Power supply module 2006 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 2000 and be associated.
Multimedia groupware 2008 is included in the screen providing an output interface between described device 2000 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 2008 comprises a front-facing camera and/or post-positioned pick-up head.When device 2000 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 2010 is configured to export and/or input audio signal.Such as, audio-frequency assembly 2010 comprises a microphone (MIC), and when device 2000 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 2004 further or be sent via communications component 2016.In certain embodiments, audio-frequency assembly 2010 also comprises a loudspeaker, for output audio signal.
I/O interface 2012 is for providing interface between processing components 2002 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 2014 comprises one or more sensor, for providing the state estimation of various aspects for device 2000.Such as, sensor module 2014 can detect the opening/closing state of device 2000, the relative positioning of assembly, such as described assembly is display and the keypad of device 2000, the position of all right pick-up unit 2000 of sensor module 2014 or device 2000 assemblies changes, the presence or absence that user contacts with device 2000, the temperature variation of device 2000 orientation or acceleration/deceleration and device 2000.Sensor module 2014 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 2014 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 2014 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 2016 is configured to the communication being convenient to wired or wireless mode between device 2000 and other equipment.Device 2000 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 2016 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 2016 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 2000 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 2004 of instruction, above-mentioned instruction can perform said method by the processor 2020 of device 2000.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, at consideration instructions and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (15)

1. a screenshot method for mobile terminal, is characterized in that, comprising:
Receive screenshot capture instruction, in described screenshot capture instruction, comprise the information of the target layer that user chooses from all screen display layer;
Obtain and correspond to the data cached of described target layer;
According to described data cached, generate bitmap.
2. method according to claim 1, is characterized in that, described acquisition corresponds to the data cached of described target layer, comprising:
Intercept and capture the display data on the screen mailing to Surfaceflinger service from shared drive;
From described display data on the screen, extract and correspond to the data cached of described target layer.
3. method according to claim 1, is characterized in that, the instruction of described reception screenshot capture, comprising:
When receiving screenshot capture enabled instruction, record is shown in the current interface of terminal screen;
According to the application switching command received, the displaying contents of described terminal screen is switched to target interface;
Receive described screenshot capture instruction, described screenshot capture instruction is used for carrying out sectional drawing to the screen content comprising described target interface.
4. method according to claim 3, is characterized in that, also comprises:
After receiving described screenshot capture instruction, the displaying contents of described terminal screen is switched back described current interface.
5. method according to claim 4, is characterized in that, also comprises:
If comprise input frame in described current interface, then described bitmap is affixed in described input frame.
6. method according to claim 1, is characterized in that, also comprises:
By described bitmap display in terminal screen;
Instruction is chosen in region according to receiving, determines the intercepting region to described bitmap;
According to described intercepting region, from described bitmap, intercept corresponding sectional drawing.
7. method according to claim 6, is characterized in that, described according to described intercepting region, intercepts corresponding sectional drawing, comprising from described bitmap:
Obtain the characterising parameter in described intercepting region;
Described characterising parameter is converted in the coordinate system residing for described bitmap, to determine the relative position relation between described screenshot area and described bitmap;
According to described relative position relation, from described bitmap, intercept described sectional drawing.
8. a screenshot capture device for mobile terminal, is characterized in that, comprising:
Receiving element, receives screenshot capture instruction, comprises the information of the target layer that user chooses from all screen display layer in described screenshot capture instruction;
Acquiring unit, obtains and corresponds to the data cached of described target layer;
Generation unit, according to described data cached, generates bitmap.
9. device according to claim 8, is characterized in that, described acquiring unit comprises:
Data acquisition subelement, intercepts and captures the display data on the screen mailing to Surfaceflinger service from shared drive;
Data extract subelement, from described display data on the screen, extract and correspond to the data cached of described target layer.
10. device according to claim 8, is characterized in that, described receiving element comprises:
Interface record subelement, when receiving screenshot capture enabled instruction, record is shown in the current interface of terminal screen;
Changing interface subelement, according to the application switching command received, switches to target interface by the displaying contents of described terminal screen;
Screenshot capture subelement, receives described screenshot capture instruction, and described screenshot capture instruction is used for carrying out sectional drawing to the screen content comprising described target interface.
11. devices according to claim 10, is characterized in that, also comprise:
Recovery unit, after receiving described screenshot capture instruction, switches back described current interface by the displaying contents of described terminal screen.
12. devices according to claim 11, is characterized in that, also comprise:
Application unit, if comprise input frame in described current interface, then affixes to described bitmap in described input frame.
13. devices according to claim 8, is characterized in that, also comprise:
Display unit, by described bitmap display in terminal screen;
Determining unit, instruction is chosen in the region according to receiving, and determines the intercepting region to described bitmap;
Interception unit, according to described intercepting region, intercepts corresponding sectional drawing from described bitmap.
14. devices according to claim 13, is characterized in that, described interception unit comprises:
Parameter acquiring subelement, obtains the characterising parameter in described intercepting region;
Parameter Switch subelement, is converted to described characterising parameter in the coordinate system residing for described bitmap, to determine the relative position relation between described screenshot area and described bitmap;
Picture intercepts subelement, according to described relative position relation, from described bitmap, intercepts described sectional drawing.
15. 1 kinds of electronic equipments, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive screenshot capture instruction, in described screenshot capture instruction, comprise the information of the target layer that user chooses from all screen display layer;
Obtain and correspond to the data cached of described target layer;
According to described data cached, generate bitmap.
CN201510280284.9A 2015-05-27 2015-05-27 The screenshot method and device of mobile terminal, electronic equipment Active CN104850327B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510280284.9A CN104850327B (en) 2015-05-27 2015-05-27 The screenshot method and device of mobile terminal, electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510280284.9A CN104850327B (en) 2015-05-27 2015-05-27 The screenshot method and device of mobile terminal, electronic equipment

Publications (2)

Publication Number Publication Date
CN104850327A true CN104850327A (en) 2015-08-19
CN104850327B CN104850327B (en) 2019-07-16

Family

ID=53850006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510280284.9A Active CN104850327B (en) 2015-05-27 2015-05-27 The screenshot method and device of mobile terminal, electronic equipment

Country Status (1)

Country Link
CN (1) CN104850327B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095083A (en) * 2015-08-24 2015-11-25 上海斐讯数据通信技术有限公司 Mobile phone interface screenshot test method and device used in Android system
CN105791589A (en) * 2016-04-28 2016-07-20 努比亚技术有限公司 Mobile terminal and control method thereof
CN106020644A (en) * 2016-05-13 2016-10-12 青岛海信移动通信技术股份有限公司 Picture capturing method and terminal
WO2017032233A1 (en) * 2015-08-21 2017-03-02 北京金山安全软件有限公司 Image generation method and device
CN106933525A (en) * 2017-03-09 2017-07-07 青岛海信移动通信技术股份有限公司 A kind of method and apparatus of display image
CN106970754A (en) * 2017-03-28 2017-07-21 北京小米移动软件有限公司 The method and device of screenshotss processing
CN108469940A (en) * 2018-03-16 2018-08-31 维沃移动通信有限公司 A kind of screenshot method and terminal
CN108701045A (en) * 2018-03-20 2018-10-23 深圳前海达闼云端智能科技有限公司 Client operating system screenshot method and device in computer equipment
CN109582410A (en) * 2018-10-17 2019-04-05 广州视源电子科技股份有限公司 Screenshot method, screenshot device, screenshot equipment and computer-readable storage medium
CN110096326A (en) * 2019-04-30 2019-08-06 维沃移动通信有限公司 A kind of screenshotss method, terminal device and computer readable storage medium
CN110209324A (en) * 2019-04-30 2019-09-06 维沃移动通信有限公司 A kind of display methods and terminal device
CN111399965A (en) * 2020-04-16 2020-07-10 Oppo广东移动通信有限公司 User interface compatible display method and device, equipment and storage medium
CN112199143A (en) * 2020-09-30 2021-01-08 北京搜狗科技发展有限公司 Data processing method and device and electronic equipment
CN113176844A (en) * 2021-04-09 2021-07-27 作业帮教育科技(北京)有限公司 Intelligent question screenshot method and device, electronic equipment and storage medium
CN113204404A (en) * 2021-05-20 2021-08-03 北京字跳网络技术有限公司 Screen capture method and device and electronic equipment
CN113990457A (en) * 2021-12-24 2022-01-28 极限人工智能有限公司 Video image intercepting method, device, chip, surgical robot and system
CN114253449A (en) * 2021-12-09 2022-03-29 北京鸿合爱学教育科技有限公司 Screen capturing method, device, equipment and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488333A (en) * 2009-01-22 2009-07-22 中兴通讯股份有限公司 Image display device and display outputting method thereof
EP2464103A2 (en) * 2010-12-08 2012-06-13 Samsung Electronics Co., Ltd. Image processing apparatus and user terminal apparatus
CN102724138A (en) * 2012-06-28 2012-10-10 奇智软件(北京)有限公司 Information sharing method and device for instant messaging
CN102779008A (en) * 2012-06-26 2012-11-14 奇智软件(北京)有限公司 Screen screenshot method and system
CN103037102A (en) * 2012-12-21 2013-04-10 广东欧珀移动通信有限公司 Free screen shot method of touch screen cellphone and cellphone
CN103175570A (en) * 2011-12-21 2013-06-26 北京普源精电科技有限公司 Measuring device with screen capture function
CN104238913A (en) * 2014-09-02 2014-12-24 北京金山安全软件有限公司 Screenshot method and device and electronic equipment
CN105607792A (en) * 2014-11-21 2016-05-25 南京酷派软件技术有限公司 Layered screenshot method and device, and terminal
CN105677131A (en) * 2014-11-21 2016-06-15 中兴通讯股份有限公司 Screenshot image output method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488333A (en) * 2009-01-22 2009-07-22 中兴通讯股份有限公司 Image display device and display outputting method thereof
EP2464103A2 (en) * 2010-12-08 2012-06-13 Samsung Electronics Co., Ltd. Image processing apparatus and user terminal apparatus
CN103175570A (en) * 2011-12-21 2013-06-26 北京普源精电科技有限公司 Measuring device with screen capture function
CN102779008A (en) * 2012-06-26 2012-11-14 奇智软件(北京)有限公司 Screen screenshot method and system
CN102724138A (en) * 2012-06-28 2012-10-10 奇智软件(北京)有限公司 Information sharing method and device for instant messaging
CN103037102A (en) * 2012-12-21 2013-04-10 广东欧珀移动通信有限公司 Free screen shot method of touch screen cellphone and cellphone
CN104238913A (en) * 2014-09-02 2014-12-24 北京金山安全软件有限公司 Screenshot method and device and electronic equipment
CN105607792A (en) * 2014-11-21 2016-05-25 南京酷派软件技术有限公司 Layered screenshot method and device, and terminal
CN105677131A (en) * 2014-11-21 2016-06-15 中兴通讯股份有限公司 Screenshot image output method and device

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017032233A1 (en) * 2015-08-21 2017-03-02 北京金山安全软件有限公司 Image generation method and device
US10484639B2 (en) 2015-08-21 2019-11-19 Beijing Kingsoft Internet Security Software Co., Ltd. Image generation method and device
CN105095083A (en) * 2015-08-24 2015-11-25 上海斐讯数据通信技术有限公司 Mobile phone interface screenshot test method and device used in Android system
CN105791589B (en) * 2016-04-28 2019-07-30 努比亚技术有限公司 A kind of mobile terminal and its control method
CN105791589A (en) * 2016-04-28 2016-07-20 努比亚技术有限公司 Mobile terminal and control method thereof
CN106020644A (en) * 2016-05-13 2016-10-12 青岛海信移动通信技术股份有限公司 Picture capturing method and terminal
CN106933525A (en) * 2017-03-09 2017-07-07 青岛海信移动通信技术股份有限公司 A kind of method and apparatus of display image
CN106933525B (en) * 2017-03-09 2019-09-20 青岛海信移动通信技术股份有限公司 A kind of method and apparatus showing image
CN106970754A (en) * 2017-03-28 2017-07-21 北京小米移动软件有限公司 The method and device of screenshotss processing
CN106970754B (en) * 2017-03-28 2020-09-08 北京小米移动软件有限公司 Screen capture processing method and device
US10649648B2 (en) 2017-03-28 2020-05-12 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for screen capture processing
CN108469940A (en) * 2018-03-16 2018-08-31 维沃移动通信有限公司 A kind of screenshot method and terminal
CN108469940B (en) * 2018-03-16 2021-03-26 维沃移动通信有限公司 Screenshot method and terminal
CN108701045A (en) * 2018-03-20 2018-10-23 深圳前海达闼云端智能科技有限公司 Client operating system screenshot method and device in computer equipment
US11055154B2 (en) 2018-03-20 2021-07-06 Cloudminds (Shenzhen) Robotics Systems Co., Ltd. Screen-shooting method and device for guest operating system in computer apparatus
CN108701045B (en) * 2018-03-20 2021-06-04 深圳前海达闼云端智能科技有限公司 Method and device for screenshot of client operating system in computer equipment
WO2019178754A1 (en) * 2018-03-20 2019-09-26 深圳前海达闼云端智能科技有限公司 Method and apparatus for capturing screenshots of guest operating system in computer device
CN109582410A (en) * 2018-10-17 2019-04-05 广州视源电子科技股份有限公司 Screenshot method, screenshot device, screenshot equipment and computer-readable storage medium
CN110096326A (en) * 2019-04-30 2019-08-06 维沃移动通信有限公司 A kind of screenshotss method, terminal device and computer readable storage medium
CN110209324A (en) * 2019-04-30 2019-09-06 维沃移动通信有限公司 A kind of display methods and terminal device
CN110096326B (en) * 2019-04-30 2021-08-17 维沃移动通信有限公司 Screen capturing method, terminal equipment and computer readable storage medium
CN111399965A (en) * 2020-04-16 2020-07-10 Oppo广东移动通信有限公司 User interface compatible display method and device, equipment and storage medium
CN112199143A (en) * 2020-09-30 2021-01-08 北京搜狗科技发展有限公司 Data processing method and device and electronic equipment
CN113176844A (en) * 2021-04-09 2021-07-27 作业帮教育科技(北京)有限公司 Intelligent question screenshot method and device, electronic equipment and storage medium
CN113204404A (en) * 2021-05-20 2021-08-03 北京字跳网络技术有限公司 Screen capture method and device and electronic equipment
CN114253449A (en) * 2021-12-09 2022-03-29 北京鸿合爱学教育科技有限公司 Screen capturing method, device, equipment and medium
CN114253449B (en) * 2021-12-09 2024-07-19 北京鸿合爱学教育科技有限公司 Screen capturing method, device, equipment and medium
CN113990457A (en) * 2021-12-24 2022-01-28 极限人工智能有限公司 Video image intercepting method, device, chip, surgical robot and system
CN113990457B (en) * 2021-12-24 2022-03-04 极限人工智能有限公司 Video image intercepting method, device, chip, surgical robot and system

Also Published As

Publication number Publication date
CN104850327B (en) 2019-07-16

Similar Documents

Publication Publication Date Title
CN104850327A (en) Screen capture method and device of mobile terminal and electronic equipment
CN105159559A (en) Mobile terminal control method and mobile terminal
CN104640234A (en) Method and device for accessing to wireless network
CN105357466A (en) Video communication method and video communication device
CN104853136A (en) Video communication method and device
CN104461304A (en) Application control method and device
CN107357505A (en) The method, apparatus and computer-readable recording medium of screenshot capture
CN105094577A (en) Method and apparatus for application switching
CN104537365A (en) Touch key and fingerprint identification implementation method and device and terminal equipment
CN104932712A (en) Text input method and device
CN105739857A (en) Mobile terminal control method and apparatus
CN104732201A (en) Touch key press and fingerprint identification implementation device and method, and terminal device
CN105653085A (en) Touch response method and device
CN105487805A (en) Object operating method and device
CN103780966A (en) Method and device for operating television applications
CN105487680A (en) Terminal screen capture method and apparatus and terminal
CN105224171A (en) icon display method, device and terminal
CN104536660A (en) Interface displaying method and device
CN104866523A (en) Page display method and device
CN104267881A (en) Toolbar operating method and device
CN105278841A (en) Control method and device for terminal equipment
CN104636170A (en) Application acquiring method and device and electronic device
CN105183294A (en) Terminal display method and device
CN104461283A (en) Network view screen shooting method and device and electronic device
CN104298424A (en) File operation method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant