CN110456956A - Screenshot method, device, computer equipment and storage medium - Google Patents
Screenshot method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110456956A CN110456956A CN201910716639.2A CN201910716639A CN110456956A CN 110456956 A CN110456956 A CN 110456956A CN 201910716639 A CN201910716639 A CN 201910716639A CN 110456956 A CN110456956 A CN 110456956A
- Authority
- CN
- China
- Prior art keywords
- content
- interface
- screenshot
- session
- shows
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 67
- 230000010365 information processing Effects 0.000 claims description 39
- 238000012545 processing Methods 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 14
- 230000008569 process Effects 0.000 claims description 12
- 238000006243 chemical reaction Methods 0.000 claims description 7
- 239000004744 fabric Substances 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 12
- 238000013499 data model Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000003825 pressing Methods 0.000 description 3
- 238000009877 rendering Methods 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000001427 coherent effect Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000008034 disappearance Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000011017 operating method Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04845—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4038—Image mosaicing, e.g. composing plane images from plane sub-images
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
This application involves a kind of screenshot method, device, computer equipment and storage mediums, which comprises display content shows interface, and the content shows that showing interface has at least one content;The instruction of the first screenshot is received, object content to be intercepted is obtained according to first screenshot instruction, the object content to be intercepted is obtained according to the selection operation to the content on content displaying interface;The object content is arranged according to preset content arrangement mode, generates target image, the background of the target image shows that the background at interface determines according to the content.The above method can be high with screenshot efficiency and flexibility.
Description
Technical field
This application involves computer equipment fields, are situated between more particularly to screenshot method, device, computer equipment and storage
Matter.
Background technique
With the rapid development of Internet technology, the terminals such as smart phone, tablet computer are more more and more universal.User can lead to
It crosses terminals share or saves oneself interested content.For example, when user browses to oneself interested content by mobile phone
When, it can control mobile phone and carry out screenshot and be shared with other users, screenshot can be showing on screen or other display equipment
Image interception get off, save as picture.Currently, if not meeting user's needs, handling picture after terminal obtains screenshot
Process it is comparatively laborious, need to open picture editor's tool, and picture is opened in picture editor's tool, then carry out picture volume
Volume, the efficiency for leading to obtain the screenshot picture for meeting user demand is relatively low.
Summary of the invention
Based on this, it is necessary to for the relatively low problem of the above-mentioned efficiency for obtaining final screenshot picture, provide a kind of cut
Drawing method, device, computer equipment and storage medium.
A kind of screenshot method, which comprises display content shows interface, and the content shows that showing interface has at least
One content;The instruction of the first screenshot is received, object content to be intercepted is obtained according to first screenshot instruction, it is described to be intercepted
Object content be to show that the selection operation of content on interface obtains according to the content;By the object content according to
Preset content arrangement mode is arranged, and target image is generated, and the background of the target image shows interface according to the content
Background determine.
A kind of screenshot device, described device include: interface display module, for showing that content shows interface, the content
Show that showing interface has at least one content;First screenshot command reception module, for receiving the instruction of the first screenshot, according to described
The instruction of first screenshot obtains object content to be intercepted, and the object content to be intercepted is to show interface according to the content
On content selection operation obtain;Target image generation module, for the object content to be arranged according to preset content
Mode is arranged, and target image is generated, and the background of the target image shows that the background at interface determines according to the content.
In some embodiments, described device further include: target image display module, for showing the target image,
Show there is information processing operation control on the displaying interface of the target image;Information processing operation receiving module, for receiving
The information processing operation for acting on the information processing operation control, according to the information processing operation in the target image
Session subscriber information carry out information processing, the image after obtaining information processing, the mode of the information processing includes covert
At least one of reason, Fuzzy Processing or conversion process.
In some embodiments, the acquisition module of the object content to be intercepted includes: prompt information display unit, is used
In obtaining the non-content screenshot instruction for showing interface for the content, is instructed according to the non-content screenshot and show content screenshot
Mode enters prompt information;Content screenshot mode enters unit, acts on the content screenshot mode for basis and enters prompt
The operation of information, into content screenshot mode;Object content obtains unit, is used under the content screenshot mode, reception pair
The content shows the selection operation of the content on interface, obtains object content according to the selection operation.
In some embodiments, the content screenshot mode enters unit and is used for: described interior under the content screenshot mode
Hold and show that the first content on interface is the content that user selected, the first content is to be instructed according to the non-content screenshot
Carry out the content that screenshot obtains.
In some embodiments, the prompt information display unit, is used for: being instructed according to the non-content screenshot, in institute
It states content and shows that displaying content screenshot mode enters control on interface;The content screenshot mode enters unit and is used for: according to needle
The operation for entering control to the content screenshot mode, into content screenshot mode.
In some embodiments, the target image generation module includes: background image acquiring unit, described for obtaining
Content shows the corresponding background image in interface;Target image obtains unit, for showing that the content at interface is arranged according to the content
The object content is arranged on the background image, obtains target image by mode for cloth.
In some embodiments, the target image obtains unit and is used for: the object content is arranged in the background
On image, intermediate image is obtained;Obtain the corresponding interface element image of interface element that the content shows interface;According to described
Interface element and content show the position at interface in the content, and the intermediate image and the interface element image are carried out
Splicing, obtains target image.
In some embodiments, the target image obtains unit and is used for: showing range out of described target according to screen
First content is obtained in appearance, the first content is arranged on the background image, obtains the first subgraph;When the target
When content does not arrange complete, the second content that do not arrange is obtained in the object content, second content is arranged in described
On background image, the second subgraph is obtained;First subgraph and second subgraph are spliced, target figure is obtained
Picture.
A kind of computer equipment, including memory and processor are stored with computer program, the meter in the memory
When calculation machine program is executed by the processor, so that the step of processor executes above-mentioned screenshot method.
A kind of computer readable storage medium is stored with computer program on the computer readable storage medium, described
When computer program is executed by processor, so that the step of processor executes above-mentioned screenshot method.
Above-mentioned screenshot method, device, computer equipment and storage medium, when receiving screenshot instruction, available choosing
The content to be intercepted selected arranges content to be intercepted according to preset content arrangement mode, generates target image, generates
Target image background according to content show interface background determine, therefore can according to need choose screenshot content, obtain
To screenshot image, screenshot mode is flexible and high-efficient.
Detailed description of the invention
Fig. 1 is the applied environment figure of the screenshot method provided in some embodiments;
Fig. 2 is the flow chart of screenshot method in some embodiments;
Fig. 3 is the implementation diagram of screenshot method in some embodiments;
Fig. 4 is the schematic diagram for carrying out screenshot in some embodiments to picture;
Fig. 5 is the schematic diagram that session subscriber information is hidden in some embodiments;
Fig. 6 is the flow chart of the obtaining step of object content to be intercepted in some embodiments;
Fig. 7 is the implementation diagram for entering content screenshot mode in some embodiments;
Fig. 8 is that object content is arranged on background image in some embodiments, obtains the flow chart of target image;
Fig. 9 is in some embodiments by the implementation diagram of interface element image and intermediate image splicing;
Figure 10 is the implementation diagram that object content is arranged in background image in some embodiments;
Figure 11 is the implementation diagram for obtaining multiple screenshot images in some embodiments and splicing;
Figure 12 is the architecture diagram that screenshot method is realized in some embodiments;
Figure 13 is the structural block diagram of screenshot device in some embodiments;
Figure 14 is the internal structure block diagram of computer equipment in some embodiments.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and
It is not used in restriction the application.
It is appreciated that term " first " used in this application, " second " etc. can be used to describe various elements herein,
But unless stated otherwise, these elements should not be limited by these terms.These terms are only used to by first element and another yuan
Part is distinguished.For example, in the case where not departing from scope of the present application, the first subgraph can be known as the second subgraph,
And similarly, the second subgraph can be known as the first subgraph.
Fig. 1 is the applied environment figure of the screenshot method provided in some embodiments, as shown in Figure 1, in the application environment,
Including the first conversational terminal 110, server 120 and the second conversational terminal 130.First conversational terminal 110 and the second session
Terminal 130 can mutually send conversation message by server 120.Server 120 can be instant messaging application server, use
Conversation message between the first conversational terminal 110 of forwarding and the second conversational terminal 130.First conversational terminal 110 and
Conversation message can be shown on the session interface of two conversational terminals 130, and when needing to carry out screenshot to conversation message, user can be with
It is instructed in the first screenshot that content of the first conversational terminal 110 triggering to session interface carries out screenshot, the first conversational terminal 110
The conversation message for instructing acquisition user to select according to the first screenshot is as object content, by object content according to the content at session interface
Arrangement mode is arranged, and target image is generated, and the background at session interface can be used as the background of target image.It is appreciated that
Screenshot method provided by the embodiments of the present application can also be executed on the second conversational terminal 130.
Server 120 can be independent physical server, be also possible to the server set that multiple physical servers are constituted
Group can be to provide the Cloud Server of the basic cloud computing service such as Cloud Server, cloud database, cloud storage and CDN.Terminal can be with
It is smart phone, tablet computer, laptop, desktop computer, intelligent sound box, smartwatch etc., however, it is not limited to this,
Screenshot application for screenshot can be installed, screenshot application can be integrated in other applications, such as can in terminal
To be integrated in instant messaging application.Terminal and server 120 can be attached by the communication connections mode such as network, this
Apply herein with no restrictions.
It is appreciated that above-mentioned application scenarios are a kind of example, the limitation to the application screenshot method is not constituted, this Shen
Screenshot method please can also be applied in other application scenarios, such as applied in the scene intercepted to web page contents,
Webpage can be shown in terminal, and targeted web content is obtained according to the selection to web page contents.The screenshot method of the application may be used also
To be applied in the scene intercepted to the content for the page being locally stored.
As shown in Fig. 2, in some embodiments, proposing a kind of screenshot method, the present embodiment is mainly applied in this way
It is illustrated in terminal.It can specifically include following steps:
Step S202, display content show interface, and content, which is shown, shows there is at least one content on interface.
Specifically, content can be is shown by least one of video, voice, text or picture.It can be with
Be by passage be a content, be also possible to using an article as a content, be also possible to using a picture as
One content.Content shows that interface is the interface for showing content.Content, which is shown in interface, can show one or more
Content, " multiple " refer at least two.
In some embodiments, content may include conversation message, and content shows that interface includes the boundary of display session message
Face, i.e. session interface.One conversation message can be a content.Therefore terminal can be with display session interface, on session interface
Displaying has at least one conversation message, therefore the screenshot method of the application can be used for intercepting the conversation message in chat window.Example
Such as, a plurality of conversation message can be shown on session interface.Session is that the process of interacting message is carried out between at least two users,
Such as it can be instant communication session.Wherein the corresponding instant messaging application of instant communication session can be wechat, QQ or micro-
The communications applications such as rich.Session can be both sides' session, be also possible to cluster conversation, and both sides' session includes two session subscribers, group
Group session includes at least three session subscribers.
In some embodiments, content shows that interface includes web interface, and content includes web page contents.For example, terminal can
To send webpage acquisition request to server, server returns to webpage, can show multiple contents on webpage.It can be one section
Text is a content.
In some embodiments, content shows that interface can be for display diagram target interface, such as can be computer
Desktop.One content can refer to the icon shown on desktop.
In some embodiments, content shows that the content shown on interface can be dynamic change, for example, with session
Progress, the content shown on session interface is constantly updated.
Step S204 receives the instruction of the first screenshot, obtains object content to be intercepted according to the instruction of the first screenshot, to be intercepted
Object content be to show that the selection operation of content on interface obtains according to content.
Specifically, screenshot instruction is to be used to indicate the instruction for carrying out screenshot.Screenshot instruction can be the screenshot according to user
Operation triggering.Screenshot instruction can be triggered by one of control, voice, gesture or expression or various ways.First
Screenshot instruction can be the instruction for being used to indicate and generating screenshot image according to the content of selection, it can instruct for content screenshot.
For example, content, which is shown, can show shot operation control on interface, when receiving the operation for acting on shot operation control,
Trigger the instruction of the first screenshot.Object content refers to the content for needing to carry out screenshot, may include one or more, with specific reference to
The selection operation of user determines.Selection operation is the operation for selection target content, be can be through control, voice, gesture
Or one of expression or a variety of operations select content.By selection operation, the part on content displaying interface can choose
For content as object content, the object content of selection, which can be, is continuously also possible to interval.For example, content is shown on interface
It may include 8 contents, then can choose the 1st article, the 3rd article and the 5th article as object content.
In some embodiments, content shows that each content shown on interface can be corresponding with content selection control, can
To select control to select content by click on content.After having selected content, control can also be selected to cancel by click on content
Select content.As shown in figure 3, rectangular 302 beside conversation message indicate content selection control, there is " √ " to indicate that this is interior on control
Appearance has been selected as content to be intercepted, does not have " √ " to indicate that the content is selected as content to be intercepted not yet on control.
It is appreciated that can also indicate that content is selected by other means, for example, can carry out to the content of selection prominent aobvious
Show, such as plus other colors, mask or floating layer can also be added in the content of selection.When user cancels selection, this is interior
Rong Shi then highlights effect disappearance.
In some embodiments, content selection control can be in response to screenshot instruction displaying, for example, when the user clicks
After content screenshot control, then it can be shown in content and show the corresponding content selection control of each content on interface.
In some embodiments, content selection control can be shows before receiving screenshot instruction.Such as it can be with
Reception content selection instruction shows in content according to content selection instruction and shows content selection control on interface.For example, working as user
Click on content shows the time span of any one content on interface extremely more than preset pressure more than preset duration or dynamics
When a few condition meets, then it can be shown in content and show content selection control on interface.For example, such as first subgraph of Fig. 3
As shown in, when user's long-pressing conversation message " dddddd ", then " multiselect " operational controls can be shown." multiselect " when the user clicks
When operational controls, then the corresponding content selection control 302 of each content is shown.
In some embodiments, can be obtained according to selection operation starting content and terminate content, by starting content with
And the object content to screenshot of the content between termination terminal also alternatively.For example, available user's selection is multiple
Content, by the content of the content between multiple contents of user's selection also alternatively.So that content selection is high-efficient.Moreover,
Content user is not desired to partial content therein alternatively can also again tap on the content correspondence for being not desired to selection
Content selection control, cancel select the content.For example, when first selection operation for receiving user and second selection
When operation, can be performed automatically selection operation, make first selection operation and second selected content of selection operation it
Between content, corresponding content selection control be it is selected, therefore user click screenshot rise, stop bit set, can select in flakes
The content of screenshot can continue to click this content, then can cancel choosing if being not intended to one or more content therein
It selects, operates more convenient efficient.
In some embodiments, the content shown on content displayed page can follow the content scroll operation of user to become
Change.For example, user slides content by gesture upwardly or downwardly, content shows that the content on interface follows the sliding of gesture
It is updated, the content that user can be needed by the corresponding content selection control selection of click on content, so that the content of selection
It is not restricted to be that content shows the content currently shown on interface.
In some embodiments, selection operation can be completes before receiving the instruction of first screenshot, is also possible to
It is completed after receiving the instruction of the first screenshot.For example, can receive content selection instruction, including instructing according to content selection
Hold and show displaying content selection control and shot operation control on interface, as shown in figure 3, control 304 is shot operation control.
Object content can be obtained to the operation of content selection control according to user, when receiving the operation to shot operation control 304,
Then trigger the instruction of the first screenshot.
Step S206 arranges object content according to preset content arrangement mode, generates target image, target image
Background according to content show interface background determine.
Specifically, content arrangement mode may include the distributing order of content, the arrangement position of content and the table of content
Existing form etc..The form of expression of content may include the color, font and size of content.Predetermined manner, which can according to need, to be set
It sets, the content arrangement mode that content shows interface can also be set in advance as.Therefore available content shows the content at interface
Exhibition method shows that the content exhibition method at interface is shown object content according to content.
In some embodiments, content shows that interface is session interface, then according in session interface, conversation message arrangement side
Formula arranges to target session message, obtains target image, and the background of target image is that the background at interface is shown according to content
Determining, the background of target image can show whole backgrounds at interface for content, or content shows the portion in interface
Divide background.For example, it is assumed that object content has 2, and a content shows that interface can show 5 contents, then can intercept portion
Content is divided to show background of the background at interface as target image.In another example, it is assumed that content shows that the background at interface is green, then
The background of target image is also green.
As shown in figure 3, including 4 conversation messages on session interface, in the 1st subgraph of Fig. 3, when user's long-pressing conversation message
When " dddddd ", shows " duplication ", " forwarding ", " reply ", " deletion " and " multiselect " corresponding operational controls, work as user
It when clicking " multiselect " operational controls, then shows in content selection control and content screenshot control, such as the 2nd subgraph of Fig. 3, uses
Family has selected for " aaaaaa ", " cccccc " and " dddddd " 3 conversation messages, if user clicks screenshot control
304, then the instruction of the first screenshot is triggered, screenshot image, i.e. target image can be generated according to the instruction of the first screenshot, target image can
As shown in 306 in the 3rd subgraph of Fig. 3.Meanwhile as shown in the 3rd subgraph of Fig. 3, it can also show and " hide close in terminal
Claim " corresponding control, " the hiding pet name " corresponding control when the user clicks, then can to user's head portrait in screenshot image with
And the pet name is hidden.For example, user's head portrait and the pet name are covered by the figure layer of white, in screenshot image in the 4th subgraph
Do not see be who hair conversation message.In addition, when the user clicks " editor " control when, then can enter editor's screenshot image
Interface.As shown in the 5th subgraph, the behaviour that " increasing text ", " cutting " and " P figure " can be shown on the interface of image is edited
Make control, " P figure ", which refers to, handles picture.It is finished when user edits, clicks " completion " operational controls, then such as the 6th subgraph
It is shown, it can show operational controls such as " sending good friend ", " preservation ", " collection " and " cancellation ".Cancel if clicked, it can be with
Cancel and generates screenshot.
It in some embodiments, can when the type of object content includes picture, such as when object content is picture
To obtain the picture in object content, together according to the displaying sequential concatenation for showing interface in content by each picture, obtain
Target screenshot.For example, as shown in figure 4, when content show interface be session interface when, in the session chatted with user " kotoba "
Interface, user have selected multiple pictures, and the control for clicking progress screenshot then can be according to meeting as shown in the figure among Fig. 4
The picture that the conversation message arrangement mode at words interface selects user is arranged, while can also show " pure figure " operation control
Part, " pure figure " operational controls are for receiving the operation spliced to picture.Shown in figure on the right of Fig. 4, when the user clicks
" pure figure " operational controls can then splice plurality of pictures according to conversation order, obtain a figure.
Above-mentioned screenshot method, when receiving screenshot instruction, the content to be intercepted of available selection will be to be intercepted
Content is arranged according to preset content arrangement mode, generates target image, the background of the target image of generation is according to content exhibition
Show that the background at interface determines, therefore the content that can according to need selection screenshot obtains screenshot image, screenshot mode is flexible and imitates
Rate is high.
In some embodiments, when content shows that interface for session interface, can also show that session disappears on session interface
Cease corresponding attribute information.Attribute information may include in the corresponding session subscriber information of conversation message or Session Time extremely
It is one few.The corresponding session subscriber information of conversation message refers to the information for issuing the user of the conversation message.Such as may include
At least one of user's name and user's head portrait.Session Time can refer to the time for receiving the conversation message.
In some embodiments, when object content includes target session message, available target session message is corresponding
Attribute information, attribute information includes at least one in the corresponding session subscriber information of target session message or Session Time
It is a.Target session message is arranged according to the conversation message arrangement mode at session interface, generating target image includes: by mesh
Mark conversation message and corresponding attribute information are arranged according to the conversation message and attribute arrangement mode at session interface, shape
At target image.
Specifically, target session message refers to the conversation message intercepted, available target session message pair
The attribute information answered.In target image, target session message and corresponding attribute information are according to conversation message and correspondence
Attribute information session interface arrangement mode arrange.The image and raw content for obtaining screenshot show interface more
Add alike.For example, in Fig. 3, in screenshot image, user's pet name, the arrangement mode of user's head portrait and conversation message and session circle
The arrangement mode in face is consistent.
In some embodiments, screenshot method can be the following steps are included: show target image, the displaying of target image
Show there is information processing operation control on interface;The information processing operation for acting on information processing operation control is received, according to letter
Breath processing operation carries out information processing to the session subscriber information in target image, the image after obtaining information processing, at information
The mode of reason includes hiding at least one of processing, Fuzzy Processing or conversion process.
Specifically, information processing operation control is the control for receiving information processing operation.Hiding processing refers to and will believe
Breath is hidden from target image, such as plus mosaic.Fuzzy Processing is that session subscriber information is instigated to fog, such as can be into
Row Gaussian Blur.Conversion process, which refers to, becomes other information at least part in session user information.For example, by user
Head portrait be changed to other head portraits, at least one word in the pet name of user is become into other texts, such as carry out to user
Anonymity processing, is transformed to other names.It, can letting out to avoid user information by the way that session user information is carried out information processing
Leakage, protects the privacy of user.After obtaining target image, target image can be shown at the terminal.Displaying circle of target image
Information processing operation control can be shown on face.
For example, if not hiding the pet name, showing user's on the target image generated as shown in the figure on the left side Fig. 5
Head portrait and the pet name, if selection conceals the pet name, shown in the figure on the right of Fig. 5, the pet name " QAZ " of user can become
" anonymity ", wherein the corresponding information processing manner of " the hiding pet name " control of Fig. 5 may include hide processing, Fuzzy Processing or
At least one of conversion process.
In the embodiment of the present application, by acting on the information processing operation of information processing operation control, session can be used
The information at family is handled automatically, and operating procedure is simple and can protect privacy of user.For example, when user needs to share chat note
Record then can carry out screenshot to chat record, and click " the hiding pet name " key, then in chat record screenshot, the head of user
Mosaic will be stamped automatically in picture and the pet name, therefore a key may be implemented, stamp is carried out to head portrait and the pet name.
In some embodiments, for session interface, can also according to information processing operation to the title at session interface into
Row processing, processing mode also may include hiding at least one of processing, Fuzzy Processing or conversion process.
In some embodiments, for conversation message, between the conversation message at session interface, Session Time is shown
When, then when selecting conversation message, the conversation message corresponding time can be automatically selected.
Again as shown in figure 3, control " the hiding pet name " indicates information processing operation control, when receiving to information processing operation
When the clicking operation of control, then information processing is carried out to the session subscriber information in target image, can be seen by the 4th subgraph
Out, in the image after information processing, the pet name and head portrait of user has all covered other images, therefore can reduce user
The leakage of information, and information processing manner is simple and convenient, reduces the number that user handle manually to image operation.
In some embodiments, as shown in fig. 6, the obtaining step of object content to be intercepted includes:
Step S602 obtains the non-content screenshot instruction for showing interface for content, is instructed and shown according to non-content screenshot
Content screenshot mode enters prompt information.
Specifically, the instruction of non-content screenshot refers to not to be the screenshot instruction intercepted for content, for content
Screenshot instruction is that the instruction of content screenshot can indicate to obtain object content to be intercepted, generates target image according to object content
Screenshot instruction.And the instruction of non-content screenshot obtain screenshot mode be not by obtaining content, generate the mode of target image into
Row screenshot.Such as the instruction of non-content screenshot can be the screenshot instruction for some region, can receive user to interface
The selection operation in some upper region carries out screenshot to the region.Non-content screenshot instruction be also possible to for entire interface into
The screenshot of row screenshot instructs, and can receive operation of the user to shot operation control, triggering non-content screenshot instruction will be in terminal
Entire interface is as interface to be intercepted.Content screenshot mode refers to the mode that screenshot can be carried out by selection content.Inside
Hold under screenshot mode, the instruction of content screenshot can be triggered.Content screenshot mode enter prompt information for prompt whether enter in
Hold screenshot mode.
The mode that content screenshot mode enters prompt information can be by voice, video, text or control extremely
A kind of few mode is prompted.For example, the text prompt information of " whether needing to enter content screenshot mode ", voice can be issued
Prompt information or visual prompts information.It can also show that content screenshot mode enters control on interface.
It is appreciated that terminal can execute screenshot step, obtain according to non-content when receiving the instruction of non-content screenshot
The image that screenshot instruction screenshot obtains.
Step S604, according to the operation for acting on content screenshot mode and entering prompt information, into content screenshot mode.
Specifically, it acts on content screenshot mode and enters the operation of prompt information and refer to that the operation is according to content screenshot mould
Formula enters prompt information sending.The operation can be is held by least one of voice, gesture, expression or operational controls
Capable.For example, when issuing the speech prompt information of " whether needing to enter content screenshot mode ", if receiving the language of "Yes"
Sound then enters content screenshot mode.
In some embodiments, when entering content screenshot mode, the corresponding content choosing of each object content can be shown
Control is selected, user is allowed to select control to select content by operation content.
In some embodiments, under content screenshot mode, content shows that the first content on interface is selected for user
Content, first content is to be instructed to carry out the obtained content of screenshot according to non-content screenshot.For example, when user has selected a-quadrant
As screenshot area, issues the instruction of non-content screenshot and screenshot is carried out to a-quadrant, then when entering content screenshot mode, by a-quadrant
The content of middle display defaults the content that selected as user.It is often that user thinks since non-content screenshot instructs corresponding content
Therefore these contents when entering content screenshot mode, are defaulted the content that selected as user by the content to be intercepted, this
Sample, it is possible to reduce the number of user's execution selection operation.User can continue in selection others on the basis of first content
Hold as content to be intercepted.Certain user can also cancel selection first content by clicking corresponding content selection control
For content to be intercepted.
In some embodiments, being instructed according to non-content screenshot and showing that content screenshot mode enters prompt information includes: root
It is instructed according to non-content screenshot, is shown in content and show that content screenshot mode enters control on interface.According to acting on content screenshot
Mode enters the operation of prompt information, includes: according to the behaviour for entering control for content screenshot mode into content screenshot mode
Make, into content screenshot mode.
Specifically, when receiving the instruction of non-content screenshot, it can be shown in content and show content screenshot mode on interface
Into control, to prompt user that can enter content screenshot mode.Enter control for content screenshot mode if receiving user
The operation of part, such as clicking operation can then enter content screenshot mode.
As shown in fig. 7, user can click the non-content screenshot control in terminal, for example, clicking in cell phone system to whole
A screen carries out the screenshot control of screenshot, and when terminal receives the clicking operation, triggering screenshot instruction, screenshot instruction is in non-
Hold screenshot instruction, terminal instructs according to the non-content screenshot and carries out screenshot, obtains screenshot image 702, screenshot image includes session
Message " aaaaa ", " bbbbbb " " ccccc " and " ddddd ".Terminal instructs according to non-content screenshot and shows " long screenshot " control
704, as shown in first subgraph of Fig. 7, which is that content screenshot mode enters control, is by control tip user
It is no to enter content screenshot mode, when receiving the operation for control 704, such as when clicking operation, then enter content screenshot
Mode, under content screenshot mode, the instruction of non-content screenshot needs the corresponding content selection control of content intercepted to default choosing
It selects, i.e., " aaaaa ", " bbbbbb " " ccccc " and " ddddd " corresponding content selection control has beaten " √ ", such as Fig. 7 second
Shown in a subgraph.
Step S606 receives the selection operation that the content on interface is shown to content, according to choosing under content screenshot mode
It selects operation and obtains object content.
Specifically, under content screenshot mode, user can continue the content that selection needs to intercept, and terminal is received for interior
The selection operation of appearance, using the content selected as object content.
In the embodiment of the present application, by showing that content screenshot mode enters prompt when receiving the instruction of non-content screenshot
Information, can be according to the operation for acting on content screenshot mode and entering prompt information, into content screenshot mode, therefore can be fast
The entrance content screenshot mode of speed, facilitates user flexibility and easily selects corresponding content, generates screenshot image.
In some embodiments, object content is shown that the content arrangement mode at interface is arranged according to content, generated
Target image includes: to obtain content to show the corresponding background image in interface;The content arrangement mode at interface is shown according to content, it will
Object content is arranged on background image, obtains target image.
Specifically, the background image of acquisition is the background image that content shows interface, for example, when content is shown in interface
When background image is the portrait picture of user, then the portrait picture is obtained.After obtaining background image, object content can be arranged
On background image, target image is obtained.On target image, object content shows that the sequence at interface is consistent with content.Example
Such as, it is assumed that content shows that conversation message " aaaa " comes before conversation message " bbbb " on interface, then on target image, meeting
Words message " aaaa " also come before conversation message " bbbb ".
In some embodiments, as shown in figure 8, object content is arranged on background image, obtaining target image includes:
Step S802, object content is arranged on background image, obtains intermediate image.
Specifically, intermediate image, which refers to, is arranged in object content on background image, obtained image.
Step S804 obtains the corresponding interface element image of interface element that content shows interface.
Specifically, interface element is to show to show the coherent element at interface in content.Content is shown on interface
One or more interface elements, such as Webpage, interface element may include toolbar on Webpage, collection
The interface elements such as folder, title bar.For session interface, interface element may include the toolbar etc. of title bar and bottom, bottom
It may include for entering operational controls, the photographing operation control at interface etc. that obtain expression on portion's toolbar.Title bar can be with
The title at display session interface, such as group's title.Available content shows the corresponding Interface Element of whole interface elements at interface
Sketch map picture is also possible to the corresponding interface element image of fetching portion interface element.For example, available title bar interface element
Corresponding interface element image and the corresponding interface element image of the toolbar interface element of bottom.
Step S806 shows the position at interface according to interface element and content, by intermediate image and Interface Element in content
Sketch map picture is spliced, and target image is obtained.
It specifically, is according to content and interface element in content when intermediate image and interface element image being spliced
Show what the position at interface was spliced, so that the display location and content of content and interface element show boundary in target image
Position in face is corresponding, for example, it is assumed that content is shown in interface, title bar is in the top in the region for showing content, work
Tool column is in the lower section in the region for showing content, then as shown in figure 9, in splicing, by the corresponding interface element image of title bar
It is placed on the top of intermediate image, the corresponding interface element image of toolbar is placed in the lower section of intermediate image.
In some embodiments, object content is arranged on background image, obtaining target image includes: according to screen exhibition
Demonstration is enclosed obtains first content from object content, and first content is arranged on background image, the first subgraph is obtained;Work as mesh
When mark content does not arrange complete, the second content that do not arrange is obtained in object content, the second content is arranged on background image,
It obtains the second subgraph to splice the first subgraph and the second subgraph, obtains target image.
Specifically, screen shows that range refers to the range that content is shown in screen, and the position range of content is shown in screen
It is limited, when object content is excessive, possibly can not show all object contents, i.e. a background image simultaneously on screen
May not be able to arrange all object contents, therefore object content needs split screen to arrange.Therefore range can be shown according to screen
First content is obtained from object content, first content is arranged on background image, forms an image, i.e. the first subgraph
Picture, if in object content further including remaining content, i.e., object content is not arranged also completely, then available to arrange not yet
The second content, the second content is arranged on background image, the second subgraph is obtained.Obtain the first subgraph and the second son
After image, the first subgraph and the second subgraph are spliced, available target image.
In some embodiments, when the first subgraph and the second subgraph being spliced, Interface Element sketch map can also be obtained
As being spliced with the first subgraph and the second subgraph, target image is obtained.
In some embodiments, if object content then may be used there is also the content that do not arrange after the second content of having arranged
To continue to obtain the content that do not arrange, it is arranged on background image, obtains third subgraph.By the first subgraph, the second subgraph
Picture and third subgraph are spliced, and target image is obtained.
When first content to be arranged on background image, it can be and arrangement layout first is carried out to all first contents,
The first content being laid out is superimposed with background image again after determining layout.It is also possible to first content being successively arranged in background
On image.The arrangement mode of second content is referred to the arrangement mode of first content for example, screen, which can be set, shows range
It is 9 centimetres for length, width is 3 centimetres, then content can be successively obtained from object content, until the height of object content arrangement
For degree more than 9 centimetres, the part more than 9 centimetres is the object content that do not arrange.
As shown in Figure 10, the corresponding listview of prospect can be created on DecorView and background is corresponding
Listview shows that the content arrangement mode first content at interface is arranged on the corresponding lsitview of prospect according to content, arranges
Background picture corresponding with background listview is overlapped after the completion of cloth, obtains the first subgraph.Wherein, DecorView is
The Root View of window is the top view at the interface Window, and listview is the control in Android, by this control, can be incited somebody to action
Content forms the column of with or without column header, and can show adjoint icon and text.N in Figure 10 is indicated in first
The quantity of appearance, a content can take up a content frame, and a content frame can show conversation message and right
The attribute information answered.
In some embodiments, when arranging to content, it can be and show the exhibition on interface in content according to content
Show that sequence successively obtains object content.For conversation message, target session can successively be obtained according to the inverted order of Session Time and disappeared
Breath.For example, it is assumed that including two conversation messages, the Session Time of first conversation message is 11 points of July 15, Article 2 session
The Session Time of message is 12 points of July 15, then Article 2 conversation message available first is arranged, and from background image
Bottom start to arrange.
In some embodiments, when object content needs are arranged on multiple same background images, it is understood that there may be have
The case where a little content-lengths are too long, and current background image cannot accommodate the content completely, then can be by the content clip to phase
In two adjacent background images, adjacent image refers to the image adjacent in splicing here.For example, as shown in figure 11, first
Screen indicates that the first subgraph, the second screen indicate that the second subgraph, third screen indicate third subgraph.Message 1,2,3,4,5,6,7,
8,9 representatives have 9 message, and wherein message is ranked up according to Session Time, and Session Time and current time are closer,
After then sorting more.Such as message 9 indicates newest message.As seen from Figure 11, message 3 is cut into two adjacent screens,
First screen, the second screen and third screen can be stitched together, obtain target image.
In some embodiments, it realizes that the software architecture of the screenshot method of the application is as shown in figure 12, may include user
Interface (User Interface, UI) layer, Business Logic and data model (model) layer, data model layer are located at lower layer,
Business Logic is located at middle layer, and user interface layer is located at upper layer.Wherein data model is responsible for managing the data of screenshot context,
Content i.e. screenshot message (can be described as Messages), screenshot state (can be described as State) and screenshot image including choosing (can
Referred to as Bitmaps).Data model handles the screenshot request that upper layer, that is, Business Logic is sent, according to screenshot request screenshot
Message, and screenshot message is adjusted back by monitor to Business Logic.Screenshot state, which is used to indicate, has entered content screenshot mould
Formula state.
Business Logic (is properly termed as Presenter), is responsible for the business of management screenshot context, as copied section chosen
Figure message (can be described as copy) carries out split screen screenshot (can be described as capture) to ListView, is spliced to screenshot and (can claim
For merge) etc..This layer receive that upper one layer of view sends into screenshot state, the content for choosing screenshot, preview, editor with
And the user click events such as hiding pet name, and utilize the interface of the data model layer of bottom record screenshot state, copy message column
Table and splicing multi-screen screenshot etc., adjust back the processing status of request to view finally by monitor.
User interface layer be responsible for manage screenshot state under interface element view, including TitleView, ListView,
BottomView.TitleView refers to that the corresponding view of title bar, ListView refer to that the corresponding view of content, BottomView refer to
The corresponding view in bottom tool column.User interface layer can receive the click event of user and pass to next layer, i.e. logic industry
Business layer, receives the readjustment of logic business layer, according to the corresponding user interface element of the corresponding status display of data model layer.
In some embodiments, by taking Android system as an example, interception obtains content, and the process for generating target image can wrap
It includes: the content of selection, i.e. object content can be copied deeply first, object content is avoided to there is reference to original ListView and draw
Play rendering state entanglement problem.Deep copy refers to an object value to another object.Secondly it can create new
ListView and Adapter (adapter) example, bind the message of copy, and be mounted to the background of DecorView in control tree
Position is rendered, and wherein DecorView is the Root View of window, is the top view at the interface Window.Background
ListView is in the sightless position of user in rendering, is complete unaware for a user.By by ListView
It is mounted to DevorView, can solve in the content chosen, the needs such as picture, video or application carry out repeatedly asynchronous rendering
The problem of completion could be rendered.Carry out split screen spanning subgraph as when, can be with recursive call
Method AbsListView#setSelectionFromBottom in android.widget is divided from bottom
GetDrawingCache in screen layout and calling android.view carries out split screen screenshot and is recorded in screenshot set, uses
In splicing later.Wherein android.widget refers to offer list widget in Android system.AbsListView#
SetSelectionFromBottom refers to be laid out since bottom in the view.GetDrawingCache refers to obtain
The caching of screenshot, it can obtain multi-screen image, cached, after all object contents are completed to arrange, then to multi-screen image
Spliced.
It may include following below scheme when being spliced: creation bitmap (Bitmap) and Canvas.Canvas is one
Component can be used for drawing image.The corresponding interface element image of title bar can be intercepted first and is rendered at the top of bitmap,
Then it successively renders each subgraph (subgraph is also bitmap) and arrives the centre of bitmap, then obtain the corresponding interface in bottom tool column
Element image (Bitmap) is rendered in the bottom of bitmap, can call the bits compression function in Android
(android.graphics.Bitmap#compress) finally obtained picture compression at PNG (Portable Network
Graphics, portable network figure) format file, obtain target image.
Screenshot method provided by the present application is illustrated below in conjunction with a specific embodiment.
1, display content shows interface, and content shows that showing interface has at least one content.
For example, can show there is a plurality of conversation message on session interface with display session interface.
2, reception content selection operation determines corresponding object content according to content selection operation selection.
For example, user then can show that " multiselect " is corresponding on session interface with the one of conversation message of long-pressing
Control then shows the corresponding selection control of each conversation message when click " multiselect " corresponding control on session interface.
User can click control selection conversation message.
3, the instruction of the first screenshot is received, object content to be intercepted is obtained according to the instruction of the first screenshot
The corresponding control of content screenshot is carried out for example, can also show on session interface.When the user clicks when the control, touching
The instruction of the first screenshot is sent out, terminal obtains the conversation message with interception according to the instruction of the first screenshot.
4, the background image that content shows interface is obtained.
For example, being provided with background image, then available background image on session interface.
5, the content arrangement mode that interface is shown according to content, object content is arranged on background image, target is obtained
Image.
For example, the session information of selection can be arranged on background image in such a way that session is arranged.Obtain target
Image.
By implementing method provided by the embodiments of the present application, selected object content be can not be continuously, work as content
When showing the content of type there are many showing on interface, it can according to need the one or more contents of selection, therefore user is easy
Control interception range, breach traditional screenshot can only the company of interception region limitation, for only needing to choose in screen in part
The scene of appearance, can be more flexible.The content at content displaying interface, which can also follow, rolls the scroll operation of content, because
This user can choose the multiple contents of unrestricted choice, and flexibility ratio is high.It, can be with when the content of selection is more than the displaying range of screen
Split screen arrangement is carried out, so that finally obtained screenshot image may include multi-screen content, it can generate long figure, breach tradition
Screenshot can only intercept the limitation of the screenshot of a screen size, finally wish to synthesize one again for needing while intercepting multiple screens
The scene of picture can be completed quickly and easily, greatly improve efficiency and improve experience.
As shown in figure 13, in some embodiments, a kind of screenshot device is provided, which can integrate in above-mentioned
Terminal in, it is raw to can specifically include interface display module 1302, the first screenshot command reception module 1304 and target image
At module 1306.
Interface display module 1302, for showing that content shows interface, content shows that showing interface has at least one content.
First screenshot command reception module 1304, for receive the first screenshot instruction, according to the first screenshot instruct obtain to
The object content of interception, object content to be intercepted are obtained according to the selection operation to the content on content displaying interface.
Target image generation module 1306 is generated for object content to be arranged according to preset content arrangement mode
The background of target image, target image shows that the background at interface determines according to content.
In some embodiments, content shows that interface includes session interface, and object content includes target session message, interface
Display module 1302 is used for: display session interface, shows there is at least one conversation message on session interface;Target image generates mould
Block 1306 is used for: target session message being arranged according to the conversation message arrangement mode at session interface, generates target image.
In some embodiments, screenshot device further include: attribute information obtains module, for obtaining target session message pair
The attribute information answered, attribute information include at least one in the corresponding session subscriber information of target session message or Session Time
It is a.Target image generation module 1306 is used for: by target session message and corresponding attribute information according to the meeting at session interface
Words message and attribute arrangement mode are arranged, and target image is formed.
In some embodiments, screenshot device further include: target image display module, for showing target image, target
Show there is information processing operation control on the displaying interface of image.Information processing operation receiving module acts on letter for receiving
The information processing operation for ceasing processing operation control, carries out letter to the session subscriber information in target image according to information processing operation
Breath processing, the image after obtaining information processing, the mode of information processing include hiding in processing, Fuzzy Processing or conversion process
At least one.
In some embodiments, the acquisition module of object content to be intercepted includes: prompt information display unit, for obtaining
The non-content screenshot instruction for showing interface for content is taken, is instructed according to non-content screenshot and shows that content screenshot mode enters prompt
Information.Content screenshot mode enters unit, for according to acting on the operation that content screenshot mode enters prompt information, into interior
Hold screenshot mode.Object content obtains unit, under content screenshot mode, receiving the content shown on interface to content
Selection operation obtains object content according to selection operation.
In some embodiments, content screenshot mode enters unit and is used for: under content screenshot mode, content is shown on interface
First content be the content that selected of user, first content is that the content for carrying out screenshot and obtaining is instructed according to non-content screenshot.
In some embodiments, prompt information display unit is used for: being instructed according to non-content screenshot, is shown boundary in content
Show that content screenshot mode enters control on face;Content screenshot mode enters unit and is used for: according to for content screenshot mode into
The operation for entering control, into content screenshot mode.
In some embodiments, target image generation module 1306 includes: background image acquiring unit, for obtaining content
Show the corresponding background image in interface.Target image obtains unit, will for showing the content arrangement mode at interface according to content
Object content is arranged on background image, obtains target image.
In some embodiments, target image obtains unit and is used for: object content being arranged in background image, is obtained
Between image.Obtain the corresponding interface element image of interface element that content shows interface.Including interface element and content
Hold the position for showing interface, intermediate image and interface element image are spliced, target image is obtained.
In some embodiments, target image obtains unit and is used for: showing that range is obtained from object content according to screen
First content is arranged on background image by first content, obtains the first subgraph.When object content does not arrange complete, mesh
The second content that do not arrange is obtained in mark content, the second content is arranged on background image, the second subgraph is obtained.By first
Subgraph is spliced with the second subgraph, obtains target image.
Figure 14 shows the internal structure chart of computer equipment in some embodiments.The computer equipment specifically can be figure
Terminal in 1.As shown in figure 14, which includes that the processor, memory, network connected by system bus connects
Mouth, input unit and display screen.Wherein, memory includes non-volatile memory medium and built-in storage.The computer equipment
Non-volatile memory medium is stored with operating system, can also be stored with computer program, which is executed by processor
When, it may make processor to realize screenshot method.Computer program can also be stored in the built-in storage, which is located
When managing device execution, processor may make to execute screenshot method.The display screen of computer equipment can be liquid crystal display or electricity
Sub- ink display screen, the input unit of computer equipment can be the touch layer covered on display screen, are also possible to computer and set
Key, trace ball or the Trackpad being arranged on standby shell, can also be external keyboard, Trackpad or mouse etc..This field skill
Art personnel are appreciated that structure shown in Figure 14, only the block diagram of part-structure relevant to application scheme, not structure
The restriction for the computer equipment that pairs of application scheme is applied thereon, specific computer equipment may include than institute in figure
Show more or fewer components, perhaps combines certain components or with different component layouts.
In some embodiments, screenshot device provided by the present application can be implemented as a kind of form of computer program, meter
Calculation machine program can be run in computer equipment as shown in figure 14.It can be stored in the memory of computer equipment and form the screenshot
Each program module of device, for example, interface display module 1302 shown in Figure 13, the first screenshot command reception module 1304 and
Target image generation module 1306.The computer program that each program module is constituted executes processor in this specification to describe
The each embodiment of the application screenshot method in step.For example, computer equipment shown in Figure 14 can pass through such as Figure 13
Shown in interface display module 1302 in screenshot device show that content shows interface, content shows that showing interface has at least one
Content.The instruction of the first screenshot is received by the first screenshot command reception module 1304, is obtained according to the instruction of the first screenshot to be intercepted
Object content, object content to be intercepted is to show that the selection operation of content on interface obtains according to content.Pass through
Target image generation module 1306 arranges object content according to preset content arrangement mode, generates target image, target
The background of image shows that the background at interface determines according to content.
In some embodiments, a kind of computer equipment, including memory and processor are provided, memory is stored with meter
Calculation machine program, when computer program is executed by processor, so that the step of processor executes above-mentioned screenshot method.Screenshot side herein
The step of method, can be the step in the screenshot method of above-mentioned each embodiment.
In some embodiments, a kind of computer readable storage medium is provided, computer program, computer journey are stored with
When sequence is executed by processor, so that the step of processor executes above-mentioned screenshot method.The step of screenshot method can be herein
State the step in the screenshot method of each embodiment.
Although should be understood that each embodiment of the application flow chart in each step according to arrow instruction successively
It has been shown that, but these steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein,
There is no stringent sequences to limit for the execution of these steps, these steps can execute in other order.Moreover, each embodiment
In at least part step may include that perhaps these sub-steps of multiple stages or stage are not necessarily multiple sub-steps
Completion is executed in synchronization, but can be executed at different times, the execution in these sub-steps or stage sequence is not yet
Necessarily successively carry out, but can be at least part of the sub-step or stage of other steps or other steps in turn
Or it alternately executes.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, computer program can be stored in a non-volatile computer and can be read
In storage medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the application
To any reference of memory, storage, database or other media used in provided each embodiment, may each comprise non-
Volatibility and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM),
Electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include arbitrary access
Memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, such as static
RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhanced SDRAM
(ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), straight
Connect memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all should be considered as described in this specification.Several implementations of the application above described embodiment only expresses
Mode, the description thereof is more specific and detailed, and but it cannot be understood as the limitations to the application the scope of the patents.It should be understood that
, for those of ordinary skill in the art, without departing from the concept of this application, several changes can also be made
Shape and improvement, these belong to the protection scope of the application.Therefore, the protection scope of the application patent should be with appended claims
Subject to.
Claims (15)
1. a kind of screenshot method, which comprises
Show that content shows interface, the content shows that showing interface has at least one content;
The instruction of the first screenshot is received, object content to be intercepted, the mesh to be intercepted are obtained according to first screenshot instruction
Mark content is obtained according to the selection operation to the content on content displaying interface;
The object content is arranged according to preset content arrangement mode, generates target image, the back of the target image
Scape shows that the background at interface determines according to the content.
2. the method according to claim 1, wherein the content shows that interface includes session interface, the mesh
Marking content includes target session message;
The display content shows interface, and the content, which is shown, shows have the properties collection to include: on interface
It shows the session interface, shows there is at least one conversation message on the session interface;
Described that the object content is arranged according to preset content arrangement mode, generating target image includes:
The target session message is arranged according to the conversation message arrangement mode at the session interface, generates target figure
Picture.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
The corresponding attribute information of the target session message is obtained, the attribute information includes that the target session message is corresponding
At least one of session subscriber information or Session Time;
It is described that the target session message is arranged according to the conversation message arrangement mode at the session interface, generate target
Image includes:
The target session message and corresponding attribute information are arranged according to the conversation message and attribute at the session interface
Mode for cloth is arranged, and target image is formed.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
It shows the target image, shows there is information processing operation control on the displaying interface of the target image;
The information processing operation for acting on the information processing operation control is received, according to the information processing operation to the mesh
Session subscriber information in logo image carries out information processing, the image after obtaining information processing, the mode packet of the information processing
It includes and hides at least one of processing, Fuzzy Processing or conversion process.
5. the method according to claim 1, wherein the obtaining step of the object content to be intercepted includes:
The non-content screenshot instruction for showing interface for the content is obtained, is instructed according to the non-content screenshot and shows that content is cut
Chart-pattern enters prompt information;
According to the operation for acting on the content screenshot mode and entering prompt information, into content screenshot mode;
Under the content screenshot mode, the selection operation that the content on interface is shown to the content is received, according to the choosing
It selects operation and obtains object content.
6. according to the method described in claim 5, it is characterized in that, described include: into content screenshot mode
Under the content screenshot mode, the content shows that the first content on interface is the content that user selected, described the
One content is that the content for carrying out screenshot and obtaining is instructed according to the non-content screenshot.
7. according to the method described in claim 5, it is characterized in that, described instructed according to the non-content screenshot shows that content is cut
Chart-pattern enters prompt information
It is instructed according to the non-content screenshot, is shown in the content and show that content screenshot mode enters control on interface;
The basis acts on the operation that the content screenshot mode enters prompt information, includes: into content screenshot mode
According to the operation for entering control for the content screenshot mode, into content screenshot mode.
8. the method according to claim 1, wherein described arrange the object content according to the preset content
Mode for cloth is arranged, and is generated target image and is included:
It obtains the content and shows the corresponding background image in interface;
The content arrangement mode that interface is shown according to the content, the object content is arranged on the background image, is obtained
To target image.
9. according to the method described in claim 8, it is characterized in that, described be arranged in the background image for the object content
On, obtaining target image includes:
The object content is arranged on the background image, intermediate image is obtained;
Obtain the corresponding interface element image of interface element that the content shows interface;
The position for showing interface in the content according to the interface element and content, by the intermediate image and the interface
Element image is spliced, and target image is obtained.
10. according to the method described in claim 8, it is characterized in that, described be arranged in the Background for the object content
As upper, obtaining target image includes:
It shows that range obtains first content from the object content according to screen, the first content is arranged in the background
On image, the first subgraph is obtained;
When the object content does not arrange complete, the second content that do not arrange is obtained in the object content, by described second
Content is arranged on the background image, obtains the second subgraph;
First subgraph and second subgraph are spliced, target image is obtained.
11. a kind of screenshot device, described device include:
Interface display module, for showing that content shows interface, the content shows that showing interface has at least one content;
First screenshot command reception module obtains to be intercepted for receiving the instruction of the first screenshot according to first screenshot instruction
Object content, the object content to be intercepted be according to the content show interface on content selection operation obtain
's;
Target image generation module generates target for the object content to be arranged according to preset content arrangement mode
The background of image, the target image shows that the background at interface determines according to the content.
12. device according to claim 11, which is characterized in that the content shows that interface includes session interface, described
Object content includes target session message;
The interface display module is used for:
It shows the session interface, shows there is at least one conversation message on the session interface;
The target image generation module is used for:
The target session message is arranged according to the conversation message arrangement mode at the session interface, generates target figure
Picture.
13. device according to claim 12, which is characterized in that described device further include:
Attribute information obtains module, and for obtaining the corresponding attribute information of the target session message, the attribute information includes
At least one of the corresponding session subscriber information of the target session message or Session Time;
The target image generation module is used for:
The target session message and corresponding attribute information are arranged according to the conversation message and attribute at the session interface
Mode for cloth is arranged, and target image is formed.
14. a kind of computer equipment, which is characterized in that including memory and processor, be stored with computer in the memory
Program, when the computer program is executed by the processor, so that the processor perform claim requires any one of 1 to 10
Described in claim the step of screenshot method.
15. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program, when the computer program is executed by processor, so that the processor perform claim requires any one of 1 to 10 right
It is required that the step of screenshot method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910716639.2A CN110456956A (en) | 2019-08-05 | 2019-08-05 | Screenshot method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910716639.2A CN110456956A (en) | 2019-08-05 | 2019-08-05 | Screenshot method, device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110456956A true CN110456956A (en) | 2019-11-15 |
Family
ID=68484865
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910716639.2A Pending CN110456956A (en) | 2019-08-05 | 2019-08-05 | Screenshot method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110456956A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111143015A (en) * | 2019-12-31 | 2020-05-12 | 维沃移动通信有限公司 | Screen capturing method and electronic equipment |
CN111443968A (en) * | 2020-03-23 | 2020-07-24 | 维沃移动通信有限公司 | Screenshot method and electronic equipment |
CN111522742A (en) * | 2020-04-16 | 2020-08-11 | 北京三快在线科技有限公司 | Page view generating method and device, computer equipment and storage medium |
CN111641750A (en) * | 2020-05-19 | 2020-09-08 | Oppo广东移动通信有限公司 | Screen capture method, terminal and non-volatile computer-readable storage medium |
CN112017656A (en) * | 2020-08-11 | 2020-12-01 | 博泰车联网(南京)有限公司 | Voice control method and device and computer storage medium |
CN112230816A (en) * | 2020-10-23 | 2021-01-15 | 岭东核电有限公司 | High-efficiency screenshot method and device, computer equipment and storage medium |
CN112363646A (en) * | 2020-10-23 | 2021-02-12 | 岭东核电有限公司 | High-flexibility screenshot method and device, computer equipment and storage medium |
CN112698894A (en) * | 2020-12-24 | 2021-04-23 | 维沃移动通信(杭州)有限公司 | Screen capturing method and device and electronic equipment |
WO2021121093A1 (en) * | 2019-12-16 | 2021-06-24 | 维沃移动通信有限公司 | Image control method, electronic device and storage medium |
CN113204404A (en) * | 2021-05-20 | 2021-08-03 | 北京字跳网络技术有限公司 | Screen capture method and device and electronic equipment |
CN115022268A (en) * | 2022-06-24 | 2022-09-06 | 深圳市六度人和科技有限公司 | Session identification method and device, readable storage medium and computer equipment |
CN115695937A (en) * | 2022-10-26 | 2023-02-03 | 努比亚技术有限公司 | Video-based screenshot jigsaw method, equipment and computer-readable storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103458123A (en) * | 2013-08-30 | 2013-12-18 | 广东明创软件科技有限公司 | Method for saving and sharing chatting records and mobile terminal thereof |
CN104734941A (en) * | 2014-12-05 | 2015-06-24 | 北京晶乐互动科技有限公司 | Instant communication system and method based on autonym/anonymity switching |
CN105843494A (en) * | 2015-01-15 | 2016-08-10 | 中兴通讯股份有限公司 | Method and device for realizing region screen capture, and terminal |
CN106527929A (en) * | 2016-10-31 | 2017-03-22 | 宇龙计算机通信科技(深圳)有限公司 | Picture information hiding method and apparatus |
CN107145800A (en) * | 2017-05-31 | 2017-09-08 | 北京小米移动软件有限公司 | Method for protecting privacy and device, terminal and storage medium |
CN107346200A (en) * | 2017-06-30 | 2017-11-14 | 努比亚技术有限公司 | One kind interval screenshot method and terminal |
CN107656678A (en) * | 2017-08-29 | 2018-02-02 | 努比亚技术有限公司 | Long printscreen realization method, terminal and computer-readable recording medium |
CN107896279A (en) * | 2017-11-16 | 2018-04-10 | 维沃移动通信有限公司 | Screenshotss processing method, device and the mobile terminal of a kind of mobile terminal |
CN108496150A (en) * | 2016-10-18 | 2018-09-04 | 华为技术有限公司 | A kind of method and terminal of screenshot capture and reading |
CN109213407A (en) * | 2018-08-17 | 2019-01-15 | 维沃移动通信有限公司 | A kind of screenshot method and terminal device |
-
2019
- 2019-08-05 CN CN201910716639.2A patent/CN110456956A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103458123A (en) * | 2013-08-30 | 2013-12-18 | 广东明创软件科技有限公司 | Method for saving and sharing chatting records and mobile terminal thereof |
CN104734941A (en) * | 2014-12-05 | 2015-06-24 | 北京晶乐互动科技有限公司 | Instant communication system and method based on autonym/anonymity switching |
CN105843494A (en) * | 2015-01-15 | 2016-08-10 | 中兴通讯股份有限公司 | Method and device for realizing region screen capture, and terminal |
CN108496150A (en) * | 2016-10-18 | 2018-09-04 | 华为技术有限公司 | A kind of method and terminal of screenshot capture and reading |
CN106527929A (en) * | 2016-10-31 | 2017-03-22 | 宇龙计算机通信科技(深圳)有限公司 | Picture information hiding method and apparatus |
CN107145800A (en) * | 2017-05-31 | 2017-09-08 | 北京小米移动软件有限公司 | Method for protecting privacy and device, terminal and storage medium |
CN107346200A (en) * | 2017-06-30 | 2017-11-14 | 努比亚技术有限公司 | One kind interval screenshot method and terminal |
CN107656678A (en) * | 2017-08-29 | 2018-02-02 | 努比亚技术有限公司 | Long printscreen realization method, terminal and computer-readable recording medium |
CN107896279A (en) * | 2017-11-16 | 2018-04-10 | 维沃移动通信有限公司 | Screenshotss processing method, device and the mobile terminal of a kind of mobile terminal |
CN109213407A (en) * | 2018-08-17 | 2019-01-15 | 维沃移动通信有限公司 | A kind of screenshot method and terminal device |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021121093A1 (en) * | 2019-12-16 | 2021-06-24 | 维沃移动通信有限公司 | Image control method, electronic device and storage medium |
CN111143015A (en) * | 2019-12-31 | 2020-05-12 | 维沃移动通信有限公司 | Screen capturing method and electronic equipment |
CN111143015B (en) * | 2019-12-31 | 2022-03-08 | 维沃移动通信有限公司 | Screen capturing method and electronic equipment |
CN111443968A (en) * | 2020-03-23 | 2020-07-24 | 维沃移动通信有限公司 | Screenshot method and electronic equipment |
WO2021190370A1 (en) * | 2020-03-23 | 2021-09-30 | 维沃移动通信有限公司 | Screenshot method and electronic apparatus |
CN111522742A (en) * | 2020-04-16 | 2020-08-11 | 北京三快在线科技有限公司 | Page view generating method and device, computer equipment and storage medium |
CN111641750A (en) * | 2020-05-19 | 2020-09-08 | Oppo广东移动通信有限公司 | Screen capture method, terminal and non-volatile computer-readable storage medium |
CN112017656A (en) * | 2020-08-11 | 2020-12-01 | 博泰车联网(南京)有限公司 | Voice control method and device and computer storage medium |
CN112363646A (en) * | 2020-10-23 | 2021-02-12 | 岭东核电有限公司 | High-flexibility screenshot method and device, computer equipment and storage medium |
CN112230816A (en) * | 2020-10-23 | 2021-01-15 | 岭东核电有限公司 | High-efficiency screenshot method and device, computer equipment and storage medium |
CN112230816B (en) * | 2020-10-23 | 2022-03-18 | 岭东核电有限公司 | High-efficiency screenshot method and device, computer equipment and storage medium |
CN112363646B (en) * | 2020-10-23 | 2022-05-27 | 岭东核电有限公司 | High-flexibility screenshot method and device, computer equipment and storage medium |
CN112698894A (en) * | 2020-12-24 | 2021-04-23 | 维沃移动通信(杭州)有限公司 | Screen capturing method and device and electronic equipment |
WO2022135290A1 (en) * | 2020-12-24 | 2022-06-30 | 维沃移动通信(杭州)有限公司 | Screenshot capturing method and apparatus, and electronic device |
CN113204404A (en) * | 2021-05-20 | 2021-08-03 | 北京字跳网络技术有限公司 | Screen capture method and device and electronic equipment |
CN115022268A (en) * | 2022-06-24 | 2022-09-06 | 深圳市六度人和科技有限公司 | Session identification method and device, readable storage medium and computer equipment |
CN115022268B (en) * | 2022-06-24 | 2023-05-12 | 深圳市六度人和科技有限公司 | Session identification method and device, readable storage medium and computer equipment |
CN115695937A (en) * | 2022-10-26 | 2023-02-03 | 努比亚技术有限公司 | Video-based screenshot jigsaw method, equipment and computer-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110456956A (en) | Screenshot method, device, computer equipment and storage medium | |
JP2021517696A (en) | Video stamp generation method and its computer program and computer equipment | |
CN107391134B (en) | Method and device for automatically generating and dynamically transforming universal mobile application interactive interface | |
US20130132455A1 (en) | Electronic content editing platform environment | |
EP3183730B1 (en) | Unscripted digital media message generation | |
CN109634603B (en) | Method and device for making H5 page based on Canvas | |
CN112969097B (en) | Content playing method and device, and content commenting method and device | |
KR20090013267A (en) | Contents production apparatus and method using user data | |
CN110708235B (en) | Message generation method and device, storage medium and computer equipment | |
CN109614601A (en) | Form processing method, device, equipment and readable medium based on web | |
CN103338235B (en) | On mobile phone, realize the method for dynamic wallpaper interactive mode, personalized creation | |
CN110475140A (en) | Barrage data processing method, device, computer readable storage medium and computer equipment | |
US11621936B2 (en) | Integrating a communication platform into a third-party platform | |
CN108845849A (en) | Animation processing method, device, computer equipment and storage medium | |
KR101380898B1 (en) | Method of providing real-time web-whiteboard under multi-platform environment, and computer-readable recording medium for the same | |
CN111803953A (en) | Image processing method, image processing device, computer equipment and computer readable storage medium | |
CN109472849A (en) | Method, apparatus, terminal device and the storage medium of image in processing application | |
CN104869046A (en) | Information exchange method and information exchange device | |
CN110019058B (en) | Sharing method and device for file operation | |
CN111405303B (en) | Method for quickly establishing live broadcast based on webpage | |
CN107294835A (en) | Document sending method and device in a kind of instant messaging | |
CN112825020A (en) | Picture generation method and device, computer equipment and storage medium | |
CN113705156A (en) | Character processing method and device | |
CN111062194A (en) | Document processing method and device, computer equipment and readable storage medium | |
JP6350260B2 (en) | CONFERENCE SUPPORT DEVICE, CONFERENCE SUPPORT SYSTEM, CONFERENCE SUPPORT METHOD, AND CONFERENCE SUPPORT PROGRAM |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |