CN107515715A - Screenshot method, device and storage medium - Google Patents

Screenshot method, device and storage medium Download PDF

Info

Publication number
CN107515715A
CN107515715A CN201710664310.7A CN201710664310A CN107515715A CN 107515715 A CN107515715 A CN 107515715A CN 201710664310 A CN201710664310 A CN 201710664310A CN 107515715 A CN107515715 A CN 107515715A
Authority
CN
China
Prior art keywords
screenshot
box
screenshot box
instruction
area
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
CN201710664310.7A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710664310.7A priority Critical patent/CN107515715A/en
Publication of CN107515715A publication Critical patent/CN107515715A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Abstract

The disclosure is directed to a kind of screenshot method, device and storage medium, methods described includes:When the electronic equipment enters region sectional drawing pattern, screenshot box is shown in current display interface, wherein, the screenshot box is used to limit the target screenshot area in the current display interface, and the reconfigurable of the screenshot box;Receive sectional drawing instruction;Instructed in response to the sectional drawing, obtain the image in the target screenshot area;Preserve the image in the target screenshot area.Thus, user can change the shape of screenshot box by being adjusted to the screenshot box shown on display interface.When the screenshot box after being pleased with adjustment, user can carry out region shot operation, and then obtain desired picture.It can so realize that user carries out region sectional drawing and the purpose preserved according to the demand of oneself, the demand being more close to the users, provide the user facility.

Description

Screenshot method, device and storage medium
Technical field
This disclosure relates to electronic device field, more particularly to a kind of screenshot method, device and storage medium.
Background technology
At present, the screen display that user can be by the electronic equipment (such as mobile phone) with sectional drawing function to the electronic equipment Interface carries out sectional drawing, and preserves corresponding picture, such as full screen printscreen and long sectional drawing.Full screen printscreen can be to whole screen display circle Face carries out sectional drawing and preserved into picture.The content for the screen display interface that long sectional drawing can be passed through to screen scroll is cut Figure, and preserve into corresponding long picture.However, in some cases, full screen printscreen and long sectional drawing can not meet the need of user Ask.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of screenshot method, device and storage medium.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of screenshot method, applied to electronic equipment, the side Method includes:When the electronic equipment enters region sectional drawing pattern, screenshot box is shown in current display interface, wherein, it is described Screenshot box is used to limit the target screenshot area in the current display interface, and the reconfigurable of the screenshot box;Receive Sectional drawing instructs;Instructed in response to the sectional drawing, obtain the image in the target screenshot area;Preserve the target screenshot area Interior image.
Optionally, before the step of reception sectional drawing instruction, methods described also includes:Receive to the screenshot box First adjust instruction, first adjust instruction are used to indicate the shape for adjusting the screenshot box;In response to the described first adjustment Instruction, adjust the shape of the screenshot box.
Optionally, before the step of reception sectional drawing instruction, methods described also includes:Receive to the screenshot box Second adjust instruction, second adjust instruction be used to indicating adjusting the screenshot box with properties at least one of:Position Put, area, the anglec of rotation;In response to second adjust instruction, at least one of described attribute of the screenshot box is adjusted.
Optionally, it is described to show screenshot box in current display interface, including:Receive screenshot box generation to instruct, described section Picture frame generation instruction be used for indicate it is expected generation screenshot box attribute information, wherein, the attribute information include it is following at least One:Shape, position, area, the anglec of rotation;Generate and instruct in response to the screenshot box, generation has screenshot box generation The screenshot box of the indicated attribute information of instruction;The screenshot box generated is shown in current display interface.
Optionally, the image preserved in the target screenshot area, including:Non- square is shaped as when the screenshot box During shape, according to the rectangular area corresponding with the screenshot box, the perimeter progress image of the target screenshot area is filled out Fill, obtain the image in the rectangular area, wherein, the rectangular area includes the target screenshot area, the outside area Domain is the region in addition to the target screenshot area in the rectangular area;Preserve the image in the rectangular area.
Optionally, the perimeter to the target screenshot area carries out image completion, including:According to predetermined color Image completion is carried out in the perimeter.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of screenshot capture device, applied to electronic equipment, the dress Put including:Screenshot box display module, it is configured as when the electronic equipment enters region sectional drawing pattern, in current display interface Upper display screenshot box, wherein, the screenshot box is used to limit the target screenshot area in the current display interface, and described The reconfigurable of screenshot box;Sectional drawing command reception module, it is configured as receiving sectional drawing instruction;Image collection module, it is configured as Instructed in response to the sectional drawing, obtain the image in the target screenshot area;Image preserving module, is configured as described in preservation Image in target screenshot area.
Optionally, described device also includes:First adjust instruction receiving module, it is configured as in the sectional drawing command reception Before module receives sectional drawing instruction, the first adjust instruction to the screenshot box is received, first adjust instruction is used to indicate Adjust the shape of the screenshot box;First screenshot box adjusting module, it is configured to respond to first adjust instruction and receives mould The first adjust instruction that block receives, adjust the shape of the screenshot box.
Optionally, described device also includes:Second adjust instruction receiving module, it is configured as in the sectional drawing command reception Before module receives sectional drawing instruction, the second adjust instruction to the screenshot box is received, second adjust instruction is used to indicate Adjust the screenshot box with properties at least one of:Position, area, the anglec of rotation;Second screenshot box adjusting module, quilt The second adjust instruction received in response to the second adjust instruction receiving module is configured to, adjusts the described of the screenshot box At least one attribute.
Optionally, the screenshot box display module includes:Screenshot box generates command reception submodule, is configured as receiving and cuts Picture frame generation instruction, the screenshot box generation instruction are used for the attribute information for indicating it is expected the screenshot box of generation, wherein, the category Property information include it is at least one of following:Shape, position, area, the anglec of rotation;Screenshot box generates submodule, is configured to respond to Instruction is generated in the screenshot box that screenshot box generation command reception submodule receives, there is screenshot box generation to refer to for generation The screenshot box of the indicated attribute information of order;Screenshot box display sub-module, it is configured as in current display interface described in display The screenshot box that screenshot box generation submodule is generated.
Optionally, described image preserving module includes:Image completion submodule, it is configured as the shape of the screenshot box For it is non-rectangle when, according to the rectangular area corresponding with the screenshot box, the perimeter of the target screenshot area is carried out Image completion, the image in the rectangular area is obtained, wherein, the rectangular area includes the target screenshot area, described Perimeter is the region in addition to the target screenshot area in the rectangular area;Image preserves submodule, is configured as Preserve the image in the rectangular area.
Optionally, described image filling submodule, is configured as carrying out figure in the perimeter according to predetermined color As filling.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of screenshot capture device, including:Processor;For storing The memory of processor-executable instruction;Wherein, the processor is configured as:Enter region sectional drawing mould in the electronic equipment During formula, screenshot box is shown in current display interface, wherein, the screenshot box is used to limit the mesh in the current display interface Mark screenshot area, and the reconfigurable of the screenshot box;Receive sectional drawing instruction;Instructed in response to the sectional drawing, described in acquisition Image in target screenshot area;Preserve the image in the target screenshot area.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, be stored thereon with calculating Machine programmed instruction, the programmed instruction realize the step for the screenshot method that disclosure first aspect is provided when being executed by processor Suddenly.
The technical scheme provided by this disclosed embodiment can include the following benefits:Cut in electronic equipment into region During chart-pattern, screenshot box is shown in current display interface, wherein, the reconfigurable of screenshot box;Receive sectional drawing instruction;In response to The sectional drawing instruction, obtains the image in target screenshot area;Preserve the image in the target screenshot area.Thus, user The shape of screenshot box can be changed by being adjusted to the screenshot box shown on display interface.Cutting after adjustment is pleased with During picture frame, user can carry out region shot operation, and then obtain desired picture.Can so realize user according to oneself Demand carries out region sectional drawing and the purpose preserved, the demand being more close to the users, provides the user facility.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of screenshot method according to an exemplary embodiment.
Fig. 2 is in the screenshot method provided according to the disclosure one screenshot box is shown in current interface the step of The flow chart of kind example implementations.
Fig. 3 A are in the screenshot method provided according to the disclosure one screenshot box is shown in current interface the step of The operation chart of kind example implementations.
Fig. 3 B are in the screenshot method provided according to the disclosure one screenshot box is shown in current interface the step of The interface schematic diagram of kind example implementations.
Fig. 4 is a kind of flow chart of screenshot method according to another exemplary embodiment.
Fig. 5 A are the step of receiving the first adjust instruction to screenshot box in the screenshot method provided according to the disclosure A kind of example implementations interface schematic diagram.
Fig. 5 B are the step of receiving the first adjust instruction to screenshot box in the screenshot method provided according to the disclosure A kind of example implementations interface schematic diagram.
Fig. 6 is a kind of flow chart of screenshot method according to another exemplary embodiment.
Fig. 7 be according to the disclosure provide screenshot method in, preserve target screenshot area in image the step of A kind of flow chart of example implementations.
Fig. 8 is in the screenshot method provided according to the disclosure, and image is carried out to the perimeter of target screenshot area A kind of flow chart of example implementations of the step of filling.
Fig. 9 be according to the disclosure provide screenshot method in, preserve target screenshot area in image the step of A kind of interface schematic diagram of example implementations.
Figure 10 A be according to the disclosure provide screenshot method in, preserve target screenshot area in image the step of Another example implementations interface schematic diagram.
Figure 10 B be according to the disclosure provide screenshot method in, preserve target screenshot area in image the step of Another example implementations interface schematic diagram.
Figure 11 is a kind of block diagram of screenshot capture device according to an exemplary embodiment.
Figure 12 is a kind of block diagram of screenshot capture device according to another exemplary embodiment.
Figure 13 is a kind of block diagram of screenshot capture device according to another exemplary embodiment.
Figure 14 is a kind of block diagram of screenshot capture device according to another exemplary embodiment.
Figure 15 is a kind of block diagram of screenshot capture device according to another exemplary embodiment.
Figure 16 is a kind of block diagram of screenshot capture device according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
The electronic equipment mentioned in the disclosure can be such as mobile phone, tablet personal computer, PDA (Personal Digital Assistant, personal digital assistant), E-book reader etc. there is the electronic equipment of screenshot capture function.
Fig. 1 is a kind of flow chart of screenshot method according to an exemplary embodiment, as shown in figure 1, the party Method can apply to electronic equipment, comprise the following steps.
In step s 11, when electronic equipment enters region sectional drawing pattern, screenshot box is shown in current display interface.
There can be various ways into region sectional drawing pattern, by taking mobile phone as an example, can be instructed for example, by Macintosh, function Menu selection command, gesture operation instruction or other modes enter the region sectional drawing pattern.When electronic equipment enters region sectional drawing During pattern, screenshot box can be shown in the display interface of electronic equipment, the target that screenshot box is used to limit in current display interface is cut Graph region.Screenshot box can have various shapes, may, for example, be rectangle, circle, ellipse, irregular polygon etc., also, cut The reconfigurable of picture frame.In addition, in other embodiments, other attributes of screenshot box (such as position, area, the anglec of rotation Deng) also adjustable.
The screenshot box being shown in above-mentioned steps on the interface of electronic equipment can be the silent of the systemic presupposition of electronic equipment Recognize screenshot box or generated by the operation of user.Wherein, user is by operating the step of generating screenshot box as schemed Shown in 2:
In the step s 21, screenshot box generation instruction is received, screenshot box generation instruction is used to indicate the sectional drawing for it is expected generation The attribute information of frame, wherein, the attribute information includes but is not limited at least one of following:Shape, position, area, the anglec of rotation;
In step S22, generate and instruct in response to screenshot box, generation is with the indicated attribute of screenshot box generation instruction The screenshot box of information;
In step S23, generated screenshot box is shown in current display interface.
The option of generation screenshot box can be shown on display interface, as shown in Figure 3A, user can select the generation Screenshot box option.Electronic equipment can receive user by carrying out selection operation to the option for generating screenshot box and caused sectional drawing Frame generation instruction.Screenshot box generation instruction is used for the attribute information for indicating it is expected the screenshot box of generation, wherein, the attribute information It is including but not limited at least one of following:Shape, position, area, the anglec of rotation.Electronic equipment can generate according to screenshot box to be referred to The user of order instruction it is expected the attribute information of the screenshot box of generation, screenshot box of the generation with the attribute information, and is shown Show in current interface.So, user can generate corresponding screenshot box according to the demand hand drawn of oneself, simple and easy.
In addition, for user by operation and the screenshot box that generates, system can be prompted about whether cutting the generation The message that picture frame is preserved, the display interface is as shown in Figure 3 B.In figure 3b, user can select the choosing of acquiescence display next time , then when user enters region sectional drawing interface next time, the screenshot box that the screenshot box of the generation can be shown by default shows Show in current display interface, user directly can be used it.User can also select the screenshot box being saved in and cut Picture frame option, then the screenshot box of the generation will be saved in the shape option of screenshot box.When next time user enters region During sectional drawing interface, after the option of screenshot box shape is clicked, the screenshot box of the generation can be shown in shown in display interface on In the option of screenshot box, user can be selected it when needed, it is not necessary to repainted.User is also an option that refusal, when with When family is refused, the newly-generated screenshot box is served only for current shot operation, when user is again introduced into region sectional drawing interface, is Default acquiescence screenshot box of uniting and the option on screenshot box will not change.
As described above, the shape of the screenshot box shown on display interface is adjustable, you can to pass through the manual behaviour of user Make the shape of change screenshot box, as shown in figure 4, in addition to step S11, step S12, step S13, step S14, in step S12 Before can also comprise the following steps:
In step S41, the first adjust instruction to screenshot box is received, first adjust instruction can serve to indicate that adjustment The shape of screenshot box;
In step S42, in response to the first adjust instruction, the shape of screenshot box is adjusted.
When the shape of screenshot box of the user to showing in current display interface is dissatisfied, can select to change screenshot box Shape.There can be the option that selection is carried out to screenshot box shape on display interface, as shown in Figure 5A.User can select the choosing , the option on screenshot box shape can be shown on display interface, as shown in Figure 5 B.After the shape that user selects needs, Display interface can be shown to it, be easy to adjustment or shot operation that user is follow-up.
In another embodiment, user can also be for example sliding by being carried out to the screenshot box shown on display interface It is dynamic, the operation such as pull to adjust the shape of screenshot box.Example, if the screenshot box shown in current display interface is square, After user carries out translation gliding to any a line of the screenshot box, the shape of the screenshot box is then adjusted to rectangle;Again For example, if the screenshot box shown in current display interface is rectangle, when user pulls to a certain summit of the screenshot box Afterwards, the shape of the screenshot box is then adjusted to be different from former rectangular other shapes.
Except the shape of screenshot box, other attributes of screenshot box are also adjustable, as shown in fig. 6, except step S11, step S12, step S13, outside step S14, it can also comprise the following steps before step S12:
In step S61, the second adjust instruction to screenshot box is received, second adjust instruction can serve to indicate that adjustment Screenshot box be not limited to in properties at least one of:Position, area, the anglec of rotation;
In step S62, in response to the second adjust instruction, adjust screenshot box at least one of attribute.
When user is dissatisfied to the position of the screenshot box in current display interface, area, the anglec of rotation etc., can pass through The corresponding attribute of operation change.Example, can be by placing a finger on sectional drawing when user needs to change the position of screenshot box Dragged on certain point in frame region, screenshot box is dragged into corresponding position decontrols finger again;For another example, when with When family needs to change the area of screenshot box, the position that finger can be put into screenshot box edge carries out drag operation, by screenshot box It is dragged to customer satisfaction system size and decontrols finger again;For another example, can when user needs to change the anglec of rotation of screenshot box With the control point nearby shown by adjusting screenshot box, screenshot box is rotated into suitable angle, decontroling finger can be revolved Screenshot box after turning.
Referring back to Fig. 1, in step s 12, sectional drawing instruction is received.
When user no longer needs to be adjusted screenshot box, shot operation can be carried out, user carries out shot operation Mode may, for example, be combination key switch, the sectional drawing button on taps screen display interface, edge touch-control etc..Electronic equipment can be with The sectional drawing instruction of user's input is received, the sectional drawing instructs the operation for determining user's sectional drawing, that is, determined to current display interface Target screenshot area in upper screenshot box carries out sectional drawing.
In step s 13, instructed in response to sectional drawing, obtain the image in target screenshot area.
When receiving sectional drawing instruction, illustrate that user has determined the target on the display interface limited current screenshot box Screenshot area is intercepted, and electronic equipment can obtain the image in target screenshot area, in order to follow-up preservation.
In step S14, the image in target screenshot area is preserved.
Image in the target screenshot area got in above-mentioned steps S13 is saved as into corresponding picture, is easy to user It is called, network is such as uploaded or is sent to other users.
Preservation for picture, can be directly by the target indicated by screenshot box when the screenshot box when sectional drawing is rectangle Screenshot area saves as picture;In the case of screenshot box is non-rectangle, such as circular, ellipse or other non-rectangle shapes, The situation of pictorial information loss may be occurred by directly preserving.In order to avoid this kind of situation, this kind of image can be carried out corresponding Filling.Example, as shown in fig. 7, above-mentioned steps S14 can include:
It is right according to the rectangular area corresponding with screenshot box when screenshot box is when being shaped as non-rectangle in step S71 The perimeter of target screenshot area carries out image completion, obtains the image in rectangular area;
In step S72, the image in rectangular area is preserved.
The rectangular area corresponding with screenshot box includes target screenshot area, and perimeter is to remove target in the rectangular area Region outside screenshot area.The rectangular area can be minimum enclosed rectangle corresponding to screenshot box or other are included The rectangle of target screenshot area, the disclosure do not limit herein., can be according to above-mentioned square when screenshot box is when being shaped as non-rectangle Shape region, image completion is carried out to the perimeter of target screenshot area, and to the image in the rectangular area after image completion Preserved.
The mode of image completion has a variety of, in one embodiment, can be filled by predetermined color, flow Figure is as shown in figure 8, step S71 may comprise steps of:
In step S81, image completion is carried out in perimeter according to predetermined color.
Example, when predetermined Fill Color is white, for outer in rectangular area corresponding to target screenshot area Portion region is filled with white, and the interface schematic diagram after image completion is as shown in figure 9, the picture after filling is corresponding white Negative film.
In another embodiment, can be filled by predetermined patterned background.Example, when predetermined filling When background patterns are black and white inclined stripe, as shown in Figure 10 A, the picture after filling is as corresponding for the interface schematic diagram after image completion The picture using black and white inclined stripe the bottom of as.
In another embodiment, can also be filled by predetermined picture.Example, when predetermined filling is carried on the back When scape is certain pictures, as shown in Figure 10 B, the picture after filling is accordingly with the figure to the interface schematic diagram after image completion Piece is the picture at bottom.
In addition, above-mentioned filling mode can be selected by system default or determined by user by selection , the disclosure does not limit herein.
From the above mentioned, by the way that when electronic equipment enters region sectional drawing pattern, screenshot box is shown in current display interface, Wherein, the reconfigurable of screenshot box, sectional drawing instruction is received, is instructed in response to the sectional drawing, obtains the image in target screenshot area, The image in the target screenshot area is preserved, user can change by being adjusted to the screenshot box shown on display interface The shape of screenshot box.When the screenshot box after being pleased with adjustment, user can carry out shot operation, and then obtain desired figure Piece.User can so be realized according to the demand of oneself progress region sectional drawing and the purpose preserved, the demand being more close to the users, Provide the user facility.
Figure 11 is a kind of block diagram of screenshot capture device according to an exemplary embodiment.As shown in figure 11, the dress Putting 1100 can include:Screenshot box display module 1101, it is configured as when the electronic equipment enters region sectional drawing pattern, Screenshot box is shown in current display interface, wherein, the screenshot box is used to limit the target sectional drawing in the current display interface Region, and the reconfigurable of the screenshot box;Sectional drawing command reception module 1102, it is configured as receiving sectional drawing instruction;Image Acquisition module 1103, the sectional drawing instruction is configured to respond to, obtains the image in the target screenshot area;Image preserves Module 1104, it is configured as preserving the image in the target screenshot area.
Figure 12 is a kind of block diagram of screenshot capture device according to another exemplary embodiment.As shown in figure 12, should Device 1100 can also include:First adjust instruction receiving module 1105, it is configured as in the sectional drawing command reception module Before 1102 receive sectional drawing instruction, the first adjust instruction to the screenshot box is received, first adjust instruction is used to indicate Adjust the shape of the screenshot box;First screenshot box adjusting module 1106, it is configured to respond to first adjust instruction and connects The first adjust instruction that module 1105 receives is received, adjusts the shape of the screenshot box.
Figure 13 is a kind of block diagram of screenshot capture device according to another exemplary embodiment.As shown in figure 13, should Device 1100 can also include:Second adjust instruction receiving module 1107, it is configured as in the sectional drawing command reception module Before 1102 receive sectional drawing instruction, the second adjust instruction to the screenshot box is received, second adjust instruction is used to indicate Adjust the screenshot box with properties at least one of:Position, area, the anglec of rotation;Second screenshot box adjusting module 1108, the second adjust instruction that the second adjust instruction receiving module 1107 receives is configured to respond to, described in adjustment At least one described attribute of screenshot box.
Figure 14 is a kind of block diagram of screenshot capture device according to another exemplary embodiment.As shown in figure 14, should Screenshot box display module 1101 can include:Screenshot box generation command reception submodule 1109, it is configured as receiving screenshot box life Into instruction, the screenshot box generation instruction is used for the attribute information for indicating it is expected the screenshot box of generation, wherein, the attribute information Including at least one of following:Shape, position, area, the anglec of rotation;Screenshot box generates submodule 1110, is configured to respond to The screenshot box generation instruction that the screenshot box generation command reception submodule 1109 receives, generation have screenshot box generation The screenshot box of the indicated attribute information of instruction;Screenshot box display sub-module 1111, it is configured as showing in current display interface Show the screenshot box that the screenshot box generation submodule 1110 is generated.
Figure 15 is a kind of block diagram of screenshot capture device according to another exemplary embodiment.As shown in figure 15, should Image preserving module 1104 can include:Image completion submodule 1112, be configured as the screenshot box is shaped as non-square During shape, according to the rectangular area corresponding with the screenshot box, the perimeter progress image of the target screenshot area is filled out Fill, obtain the image in the rectangular area, wherein, the rectangular area includes the target screenshot area, the outside area Domain is the region in addition to the target screenshot area in the rectangular area;Image preserves submodule 1113, is configured as protecting Deposit the image in the rectangular area.
Optionally, the image completion submodule 1112 can be configured as in the perimeter entering according to predetermined color Row image completion.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
The disclosure also provides a kind of computer-readable recording medium, is stored thereon with computer program instructions, and the program refers to The step of screenshot method that the disclosure provides, is realized in order when being executed by processor.
Figure 16 is a kind of block diagram of screenshot capture device 1600 according to an exemplary embodiment.For example, device 1600 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment Equipment, body-building equipment, personal digital assistant etc..
Reference picture 16, device 1600 can include following one or more assemblies:Processing component 1602, memory 1604, Electric power assembly 1606, multimedia groupware 1608, audio-frequency assembly 1610, the interface 1612 of input/output (I/O), sensor cluster 1614, and communication component 1616.
The integrated operation of the usual control device 1600 of processing component 1602, such as communicated with display, call, data, The operation that camera operation and record operation are associated.Processing component 1602 can include one or more processors 1620 to perform Instruction, to complete all or part of step of screenshot method.In addition, processing component 1602 can include one or more moulds Block, the interaction being easy between processing component 1602 and other assemblies.For example, processing component 1602 can include multi-media module, To facilitate the interaction between multimedia groupware 1608 and processing component 1602.
Memory 1604 is configured as storing various types of data to support the operation in device 1600.These data Example includes being used for the instruction of any application program or method operated on device 1600, contact data, telephone book data, Message, picture, video etc..Memory 1604 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Electric power assembly 1606 provides electric power for the various assemblies of device 1600.Electric power assembly 1606 can include power management System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 1600.
Multimedia groupware 1608 is included in the screen of one output interface of offer between described device 1600 and user. In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch and passed Sensor is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or slip be dynamic The border of work, but also detect the duration and pressure related to the touch or slide.In certain embodiments, it is more Media component 1608 includes a front camera and/or rear camera.When device 1600 is in operator scheme, mould is such as shot When formula or video mode, front camera and/or rear camera can receive outside multi-medium data.Each preposition shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 1610 is configured as output and/or input audio signal.For example, audio-frequency assembly 1610 includes a wheat Gram wind (MIC), when device 1600 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone quilt It is configured to receive external audio signal.The audio signal received can be further stored in memory 1604 or via communication Component 1616 is sent.In certain embodiments, audio-frequency assembly 1610 also includes a loudspeaker, for exports audio signal.
I/O interfaces 1612 provide interface, above-mentioned peripheral interface module between processing component 1602 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor cluster 1614 includes one or more sensors, and the state for providing various aspects for device 1600 is commented Estimate.For example, sensor cluster 1614 can detect opening/closed mode of device 1600, the relative positioning of component, such as institute The display and keypad that component is device 1600 are stated, sensor cluster 1614 can be with detection means 1600 or device 1,600 1 The position of individual component changes, the existence or non-existence that user contacts with device 1600, the orientation of device 1600 or acceleration/deceleration and dress Put 1600 temperature change.Sensor cluster 1614 can include proximity transducer, be configured in no any physics The presence of object nearby is detected during contact.Sensor cluster 1614 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In certain embodiments, the sensor cluster 1614 can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1616 is configured to facilitate the communication of wired or wireless way between device 1600 and other equipment.Dress The wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof can be accessed by putting 1600.It is exemplary at one In embodiment, communication component 1616 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1616 also includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1600 can be by one or more application specific integrated circuits (ASIC), numeral Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing screenshot method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 1604 of instruction, above-mentioned instruction can be performed to complete screenshot capture side by the processor 1620 of device 1600 Method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic Band, floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to other embodiment party of the disclosure after considering specification and putting into practice the disclosure Case.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or adaptability Change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure or usual skill Art means.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following claim Point out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (14)

1. a kind of screenshot method, it is characterised in that applied to electronic equipment, methods described includes:
When the electronic equipment enters region sectional drawing pattern, screenshot box is shown in current display interface, wherein, the sectional drawing Frame is used to limit the target screenshot area in the current display interface, and the reconfigurable of the screenshot box;
Receive sectional drawing instruction;
Instructed in response to the sectional drawing, obtain the image in the target screenshot area;
Preserve the image in the target screenshot area.
2. according to the method for claim 1, it is characterised in that before the step of reception sectional drawing instruction, the side Method also includes:
The first adjust instruction to the screenshot box is received, first adjust instruction is used to indicate the shape for adjusting the screenshot box Shape;
In response to first adjust instruction, the shape of the screenshot box is adjusted.
3. method according to claim 1 or 2, it is characterised in that described before the step of reception sectional drawing instruction Method also includes:
Receive to the second adjust instruction of the screenshot box, second adjust instruction be used to indicating adjusting the screenshot box with At least one of in properties:Position, area, the anglec of rotation;
In response to second adjust instruction, at least one of described attribute of the screenshot box is adjusted.
4. according to the method for claim 1, it is characterised in that it is described to show screenshot box in current display interface, including:
Screenshot box generation instruction is received, the screenshot box generation instruction is used for the attribute information for indicating it is expected the screenshot box of generation, Wherein, the attribute information includes at least one of following:Shape, position, area, the anglec of rotation;
Generate and instruct in response to the screenshot box, sectional drawing of the generation with the indicated attribute information of screenshot box generation instruction Frame;
The screenshot box generated is shown in current display interface.
5. according to the method any one of claim 1,2,4, it is characterised in that described to preserve the target screenshot area Interior image, including:
When the screenshot box is when being shaped as non-rectangle, according to the rectangular area corresponding with the screenshot box, to the target The perimeter of screenshot area carries out image completion, obtains the image in the rectangular area, wherein, the rectangular area includes The target screenshot area, the perimeter are the region in addition to the target screenshot area in the rectangular area;
Preserve the image in the rectangular area.
6. according to the method for claim 5, it is characterised in that the perimeter to the target screenshot area is carried out Image completion, including:
Image completion is carried out in the perimeter according to predetermined color.
7. a kind of screenshot capture device, it is characterised in that applied to electronic equipment, described device includes:
Screenshot box display module, it is configured as when the electronic equipment enters region sectional drawing pattern, in current display interface Screenshot box is shown, wherein, the screenshot box is used to limit the target screenshot area in the current display interface, and described section The reconfigurable of picture frame;
Sectional drawing command reception module, it is configured as receiving sectional drawing instruction;
Image collection module, the sectional drawing instruction is configured to respond to, obtains the image in the target screenshot area;
Image preserving module, it is configured as preserving the image in the target screenshot area.
8. device according to claim 7, it is characterised in that described device also includes:
First adjust instruction receiving module, it is configured as before the sectional drawing command reception module receives sectional drawing instruction, receives To the first adjust instruction of the screenshot box, first adjust instruction is used to indicate the shape for adjusting the screenshot box;
First screenshot box adjusting module, it is configured to respond to the first adjustment that the first adjust instruction receiving module receives Instruction, adjust the shape of the screenshot box.
9. the device according to claim 7 or 8, it is characterised in that described device also includes:
Second adjust instruction receiving module, it is configured as before the sectional drawing command reception module receives sectional drawing instruction, receives To the second adjust instruction of the screenshot box, second adjust instruction be used to indicating adjusting the screenshot box with properties At least one of:Position, area, the anglec of rotation;
Second screenshot box adjusting module, it is configured to respond to the second adjustment that the second adjust instruction receiving module receives Instruction, adjust at least one described attribute of the screenshot box.
10. device according to claim 7, it is characterised in that the screenshot box display module includes:
Screenshot box generates command reception submodule, is configured as receiving screenshot box generation instruction, the screenshot box generation instruction is used The attribute information of the screenshot box of generation it is expected in instruction, wherein, the attribute information includes at least one of following:Shape, position, Area, the anglec of rotation;
Screenshot box generates submodule, is configured to respond to the screenshot box that the screenshot box generation command reception submodule receives Generation instruction, screenshot box of the generation with the indicated attribute information of screenshot box generation instruction;
Screenshot box display sub-module, it is configured as showing what the screenshot box generation submodule was generated in current display interface The screenshot box.
11. according to the device any one of claim 7,8,10, it is characterised in that described image preserving module includes:
Image completion submodule, when being shaped as non-rectangle of the screenshot box is configured as, according to relative with the screenshot box The rectangular area answered, image completion is carried out to the perimeter of the target screenshot area, obtains the figure in the rectangular area Picture, wherein, the rectangular area includes the target screenshot area, and the perimeter is to remove the mesh in the rectangular area Mark the region outside screenshot area;
Image preserves submodule, is configured as preserving the image in the rectangular area.
12. device according to claim 11, it is characterised in that described image fills submodule, is configured as according to pre- Determine color and image completion is carried out in the perimeter.
A kind of 13. screenshot capture device, it is characterised in that including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
When the electronic equipment enters region sectional drawing pattern, screenshot box is shown in current display interface, wherein, the sectional drawing Frame is used to limit the target screenshot area in the current display interface, and the reconfigurable of the screenshot box;
Receive sectional drawing instruction;
Instructed in response to the sectional drawing, obtain the image in the target screenshot area;
Preserve the image in the target screenshot area.
14. a kind of computer-readable recording medium, is stored thereon with computer program instructions, it is characterised in that the programmed instruction The step of method any one of claim 1~6 is realized when being executed by processor.
CN201710664310.7A 2017-07-31 2017-07-31 Screenshot method, device and storage medium Pending CN107515715A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710664310.7A CN107515715A (en) 2017-07-31 2017-07-31 Screenshot method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710664310.7A CN107515715A (en) 2017-07-31 2017-07-31 Screenshot method, device and storage medium

Publications (1)

Publication Number Publication Date
CN107515715A true CN107515715A (en) 2017-12-26

Family

ID=60721913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710664310.7A Pending CN107515715A (en) 2017-07-31 2017-07-31 Screenshot method, device and storage medium

Country Status (1)

Country Link
CN (1) CN107515715A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108196750A (en) * 2018-01-03 2018-06-22 努比亚技术有限公司 The method, apparatus and computer readable storage medium of screen interface sectional drawing
CN108295465A (en) * 2018-02-12 2018-07-20 腾讯科技(深圳)有限公司 Share the method, apparatus, equipment and storage medium in the visual field in three-dimensional virtual environment
CN108628508A (en) * 2018-04-25 2018-10-09 维沃移动通信有限公司 It is a kind of to adjust the method and mobile terminal for cutting out window
CN109271983A (en) * 2018-09-27 2019-01-25 青岛海信电器股份有限公司 The display methods and display terminal of object are identified in screen-picture screenshot
CN110191369A (en) * 2019-06-06 2019-08-30 广州酷狗计算机科技有限公司 Image interception method, apparatus, equipment and storage medium
CN110413363A (en) * 2019-07-26 2019-11-05 维沃移动通信有限公司 A kind of screenshot method and terminal device
CN111142754A (en) * 2019-12-27 2020-05-12 腾讯科技(深圳)有限公司 Screenshot processing method and device and storage medium
CN111324261A (en) * 2020-01-20 2020-06-23 北京无限光场科技有限公司 Intercepting method and device of target object, electronic equipment and storage medium
CN111338526A (en) * 2020-02-25 2020-06-26 维沃移动通信有限公司 Screenshot method and device
CN112181252A (en) * 2020-09-29 2021-01-05 维沃移动通信(杭州)有限公司 Screen capturing method and device and electronic equipment
CN112379815A (en) * 2020-12-07 2021-02-19 腾讯科技(深圳)有限公司 Image capturing method and device, storage medium and electronic equipment
CN113204404A (en) * 2021-05-20 2021-08-03 北京字跳网络技术有限公司 Screen capture method and device and electronic equipment
US11812188B2 (en) 2018-09-27 2023-11-07 Hisense Visual Technology Co., Ltd. Method and device for displaying a screen shot

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108196750B (en) * 2018-01-03 2021-10-29 努比亚技术有限公司 Screen interface screenshot method and device and computer-readable storage medium
CN108196750A (en) * 2018-01-03 2018-06-22 努比亚技术有限公司 The method, apparatus and computer readable storage medium of screen interface sectional drawing
CN108295465A (en) * 2018-02-12 2018-07-20 腾讯科技(深圳)有限公司 Share the method, apparatus, equipment and storage medium in the visual field in three-dimensional virtual environment
CN108628508A (en) * 2018-04-25 2018-10-09 维沃移动通信有限公司 It is a kind of to adjust the method and mobile terminal for cutting out window
CN109271983A (en) * 2018-09-27 2019-01-25 青岛海信电器股份有限公司 The display methods and display terminal of object are identified in screen-picture screenshot
US11812188B2 (en) 2018-09-27 2023-11-07 Hisense Visual Technology Co., Ltd. Method and device for displaying a screen shot
CN109271983B (en) * 2018-09-27 2022-04-12 海信视像科技股份有限公司 Display method and display terminal for identifying object in screenshot
CN110191369A (en) * 2019-06-06 2019-08-30 广州酷狗计算机科技有限公司 Image interception method, apparatus, equipment and storage medium
CN110413363A (en) * 2019-07-26 2019-11-05 维沃移动通信有限公司 A kind of screenshot method and terminal device
CN110413363B (en) * 2019-07-26 2023-02-21 维沃移动通信有限公司 Screenshot method and terminal equipment
CN111142754A (en) * 2019-12-27 2020-05-12 腾讯科技(深圳)有限公司 Screenshot processing method and device and storage medium
CN111324261A (en) * 2020-01-20 2020-06-23 北京无限光场科技有限公司 Intercepting method and device of target object, electronic equipment and storage medium
CN111338526A (en) * 2020-02-25 2020-06-26 维沃移动通信有限公司 Screenshot method and device
CN111338526B (en) * 2020-02-25 2021-09-21 维沃移动通信有限公司 Screenshot method and device
WO2022068721A1 (en) * 2020-09-29 2022-04-07 维沃移动通信有限公司 Screen capture method and apparatus, and electronic device
CN112181252A (en) * 2020-09-29 2021-01-05 维沃移动通信(杭州)有限公司 Screen capturing method and device and electronic equipment
CN112379815A (en) * 2020-12-07 2021-02-19 腾讯科技(深圳)有限公司 Image capturing method and device, storage medium and electronic equipment
CN113204404A (en) * 2021-05-20 2021-08-03 北京字跳网络技术有限公司 Screen capture method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN107515715A (en) Screenshot method, device and storage medium
CN107155060A (en) Image processing method and device
CN104133956B (en) Handle the method and device of picture
CN104090735B (en) The projecting method and device of a kind of picture
CN104219445B (en) Screening-mode method of adjustment and device
CN104486451B (en) Application program recommends method and device
CN107516050A (en) Image processing method, device and terminal
CN104238911B (en) Load icon display method and device
CN104063123A (en) Icon displaying method and device
CN107357505A (en) The method, apparatus and computer-readable recording medium of screenshot capture
CN105278841B (en) Control method and device for terminal device
CN104035674B (en) Picture displaying method and device
CN105282441A (en) Photographing method and device
CN107678648A (en) Screenshotss processing method and processing device
CN104462418A (en) Page displaying method and device and electronic device
CN104182967B (en) image processing method, device and terminal
CN105426079A (en) Picture brightness adjustment method and apparatus
CN106598429A (en) Method and device for adjusting window of mobile terminal
CN108040171A (en) Voice operating method, apparatus and computer-readable recording medium
CN104461283A (en) Network view screen shooting method and device and electronic device
CN107515669A (en) Display methods and device
CN107347136A (en) Photographic method, device and terminal device
CN105631804A (en) Image processing method and device
CN107967459A (en) convolution processing method, device and storage medium
CN106201275A (en) Snapshot is as processing method and processing device

Legal Events

Date Code Title Description
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: 20171226

RJ01 Rejection of invention patent application after publication