CN108986009A - Generation method, device and the electronic equipment of picture - Google Patents
Generation method, device and the electronic equipment of picture Download PDFInfo
- Publication number
- CN108986009A CN108986009A CN201810597807.6A CN201810597807A CN108986009A CN 108986009 A CN108986009 A CN 108986009A CN 201810597807 A CN201810597807 A CN 201810597807A CN 108986009 A CN108986009 A CN 108986009A
- Authority
- CN
- China
- Prior art keywords
- page data
- picture
- content
- object content
- target pages
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Medical Informatics (AREA)
- Databases & Information Systems (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Processing Or Creating Images (AREA)
Abstract
The application provides generation method, device and the electronic equipment of a kind of picture, and a specific embodiment of the method includes: the corresponding selection interface of alternate content in output target pages;Based on the operation for the selection interface, object content to be shielded in the alternate content is determined;Picture is generated, the picture is that the target pages mask corresponding picture after the object content.The embodiment is when obtaining the picture of target pages, without carrying out multiple screenshotss operation, carries out privacy information masking processing without to picture, improves and obtain efficiency to the image of sharing contents, to improve the efficiency of user-to-user information sharing.
Description
Technical field
This application involves computer software technical field, in particular to a kind of generation method of picture, device and electronics are set
It is standby.
Background technique
Currently, people usually require to share social network information with other people.Typically, it is cutting using terminal
Shield function, screenshotss are carried out to the display interface of social network information, so that the screenshotss image of social network information is obtained, and and he
People shares the screenshotss image.But, on the one hand, in screenshotss, it can only be truncated to the content that current screen is shown, therefore, if
Content to be shared is excessive, then needs to carry out multiple screenshotss.On the other hand, in screenshotss, it can not will be related to the information screen of privacy
It covers, masking processing can only be carried out by information of the image editing software to privacy involved in screenshotss image.Therefore, wait in sharing
The image acquisition efficiency of appearance is lower, to affect the efficiency of user-to-user information sharing.
Summary of the invention
One of in order to solve the above-mentioned technical problem, the application provides generation method, device and the electronic equipment of a kind of picture.
According to the embodiment of the present application in a first aspect, providing a kind of generation method of picture, comprising:
Export the corresponding selection interface of alternate content in target pages;
Based on the operation for the selection interface, object content to be shielded in the alternate content is determined;
Picture is generated, the picture is that the target pages mask corresponding picture after the object content.
Optionally, the generation picture, comprising:
Reference page data are obtained, the reference page data are former page data shielding corresponding to the target pages
Page data after falling the object content;
Picture is generated based on the reference page data.
Optionally, the acquisition reference page data, comprising:
It modifies to the former page data, obtains reference page data.
Optionally, after the generation picture the step of, further includes:
It is the former page data by the reference page data convert.
It is optionally, described to modify to the former page data, comprising:
Determine the corresponding label node of object content described in the former page data;
The object content is deleted from the former page data;
Preset placeholder is added after the label node in the former page data;And
The object content is associated with and is stored with the placeholder after corresponding label node.
Optionally, described by the reference page data convert is the former page data, comprising:
The object content is taken out from pre-stored data;
Determine the associated placeholder of the object content;
Based on the associated placeholder of the object content, determine that object content institute in the reference page data is right
The label node answered;
The object content is put back into after label node corresponding in the reference page data, is obtained with reduction
The original page data.
It is optionally, described to generate picture based on the reference page data, comprising:
By the reference page data conversion pixel dot matrix column data;
Generate the corresponding picture of the pixel-matrix column data.
According to the second aspect of the embodiment of the present application, a kind of generating means of picture are provided, comprising:
Output module, for exporting the corresponding selection interface of alternate content in target pages;
Determining module, for determining mesh to be shielded in the alternate content based on the operation for the selection interface
Mark content;
Generation module, for generating picture, the picture is to correspond to after the target pages mask the object content
Picture.
According to the third aspect of the embodiment of the present application, a kind of computer readable storage medium is provided, the storage medium is deposited
Computer program is contained, the computer program realizes side described in any one of above-mentioned first aspect when being executed by processor
Method.
According to the fourth aspect of the embodiment of the present application, a kind of electronic equipment is provided, including memory, processor and be stored in
On memory and the computer program that can run on a processor, the processor realize above-mentioned first party when executing described program
Method described in any one of face.
The technical solution that embodiments herein provides can include the following benefits:
The generation method and device for the picture that embodiments herein provides pass through alternate content pair in output target pages
The selection interface answered determines object content to be shielded in alternate content, and generate based on the operation for being directed to above-mentioned selection interface
Picture, the picture are that target pages mask corresponding picture after object content.The present embodiment is in the figure for obtaining target pages
When piece, without carrying out multiple screenshotss operation, privacy information masking processing is carried out without to picture, is improved to sharing contents
Image obtains efficiency, to improve the efficiency of user-to-user information sharing.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The application can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the application
Example, and together with specification it is used to explain the principle of the application.
Figure 1A is a kind of the application flow chart of the generation method of picture shown according to an exemplary embodiment;
Figure 1B is a kind of the application application scenarios schematic diagram of the generation of picture shown according to an exemplary embodiment;
Fig. 1 C is the application scenarios schematic diagram of the generation of the application another picture shown according to an exemplary embodiment;
Fig. 1 D is the application scenarios schematic diagram of the generation of the application another picture shown according to an exemplary embodiment;
Fig. 1 E is the application scenarios schematic diagram of the generation of the application another picture shown according to an exemplary embodiment;
Fig. 2 is the flow chart of the generation method of the application another picture shown according to an exemplary embodiment;
Fig. 3 is the flow chart of the generation method of the application another picture shown according to an exemplary embodiment;
Fig. 4 is a kind of the application block diagram of the generating means of picture shown according to an exemplary embodiment;
Fig. 5 is the block diagram of the generating means of the application another picture shown according to an exemplary embodiment;
Fig. 6 is the block diagram of the generating means of the application another picture shown according to an exemplary embodiment;
Fig. 7 is the block diagram of the generating means of the application another picture shown according to an exemplary embodiment;
Fig. 8 is the structural schematic diagram of the application a kind of electronic equipment shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application.
It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority
Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps
It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from
In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination ".
As shown in Figure 1A, Figure 1A is a kind of flow chart of the generation method of picture shown according to an exemplary embodiment,
This method can be applied in terminal device.In the present embodiment, in order to make it easy to understand, in conjunction with third-party application journey can be installed
The terminal device of sequence illustrates.It will be understood by those skilled in the art that the terminal device can include but is not limited to such as
Mobile terminal device, intelligent wearable equipment, tablet computer, personal digital assistant, the laptop portable computer of smart phone
And desktop computer etc..Method includes the following steps:
In a step 101, the corresponding selection interface of alternate content in target pages is exported.
In the present embodiment, target pages can be the page corresponding to social network information to be shared, wherein social
The network information can be instant communication information (e.g., chat record etc.), be also possible to the dynamic that user is issued by social networks
Information (e.g., user passes through circle of friends, microblogging, the multidate information of personal space publication and comment etc.), it will be understood that the application couple
It is not limited in terms of the particular content and type of social network information.
In the present embodiment, alternate content is in target pages for the content of user's selection, the corresponding choosing of alternate content
Selecting interface can be interface for carrying out selection to alternate content, and user can be by the corresponding selection interface of alternate content
It is operated, to change the corresponding selection state of the alternate content.As shown in Figure 1B, tick boxes 111 are alternate content pair
The selection interface answered, user can be by the tick boxes of click alternate content one side, to change the corresponding choosing of the alternate content
Select state.Again as shown in Figure 1 C, switch button 121 is the corresponding selection interface of alternate content, and user can be standby by clicking
The switch button 121 of content one side is selected, to change the corresponding selection state of the alternate content.It is appreciated that the selection interface
It can be the selection interface of any proper form, the application to not limiting in this respect.
Specifically, the corresponding selection interface of alternate content in target pages can be exported in the following way: firstly, right
The corresponding former page data of target pages is parsed, and searches the default label in former page data, and will be in former page data
Content corresponding to default label alternately content.Then, it is corresponding that alternate content in target pages is exported on a user interface
Selection interface.Wherein, default label can be preset one or more labels (a kind of label can characterize in one kind
The type of appearance).
It may include a variety of labels, every kind of label pair in the corresponding former page data of target pages by taking chat record as an example
Answer a kind of type of content.For example, the type of content may include chat content, the title of chatting object, the head of chatting object
Picture, the button etc. in user interface.Label corresponding to one of the above-mentioned type or multiple types can be set as pre-
Bidding label.For example, the label corresponding to chat content can be set as to default label;Can also be by chat content, chat pair
Label corresponding to the title of elephant and the head portrait of chatting object is set as default label.It is appreciated that the application is to pre- bidding
It is not limited in terms of the specific setting of label.
In a step 102, it based on the operation for being directed to above-mentioned selection interface, determines in target to be shielded in alternate content
Hold.
In the present embodiment, mesh to be shielded in alternate content can be determined based on the operation for being directed to above-mentioned selection interface
Mark content.Specifically, when user's selection interface corresponding to alternate content operates, can depending on the user's operation,
Change the corresponding selection state of alternate content.Wherein, selection state may include selected state and not selected state, can be with
Presetting the corresponding alternate content of selected state is object content to be shielded, can also preset and not be selected state
Corresponding alternate content is object content to be shielded, and the application to not limiting in this respect.Then, corresponding according to alternate content
State determines object content to be shielded in alternate content.
It, can be by the alternate content if the corresponding tick boxes of alternate content, which are in, is checked state by taking Figure 1B as an example
Corresponding selection state is set as selected state, can if the corresponding tick boxes of alternate content, which are in, is not checked state
To be set as the corresponding selection state of the alternate content not to be selected state.It is (corresponding that selected state can be preset
Tick boxes be in be checked state) alternate content as object content to be shielded, can also preset be not selected shape
The alternate content of state (corresponding tick boxes are in and are not checked state) is as object content to be shielded.
In step 103, picture is generated, which is that target pages mask corresponding picture after above-mentioned object content.
In the present embodiment, picture can be generated based on object content, which is that target pages mask object content
Corresponding picture afterwards may include all alternate contents in addition to object content in the picture.Then, user can be with him
People shares the picture.It should be noted that the width dimensions of the picture are identical as the width dimensions of screen, the length ruler of the picture
The very little length dimension more than or equal to screen.Specifically, when the content of displaying required in the picture is less equal than screen institute
When the content that can be accommodated, the length dimension of the picture can be equal to the length dimension of screen.When in displaying required in the picture
When appearance is more than the content that screen can accommodate, the length dimension of the picture is greater than the length dimension of screen.
Specifically, in one implementation, reference page can be obtained based on the corresponding former page data of target pages
Face data, the reference page data are that former page data masks the page data after object content, then, are based on the reference page
Face data generates picture.
In another implementation, it is also based on the corresponding former page data of target pages, generates page object respectively
Corresponding first pixel array in face and corresponding second pixel array of object content.Then, by the second pixel array from first
It is deleted in pixel array, to obtain third pixel array, and generates picture according to third pixel array.
It is appreciated that pictures can also be generated by other any reasonable manners, the application to not limiting in this respect.
It is a kind of application scenarios signal of the generation of picture shown according to an exemplary embodiment as shown in Fig. 1 D-1E
Figure: in the application scenarios shown in Fig. 1 D-1E, user's first wants the part chat message for sharing good friend Zhang San with good friend M.It is first
First, user's first can enter the Chat page 131 with good friend Zhang San, which is target pages.The Chat page
131 include not only content shown on screen, further includes not shown hiding content, can by pulling down or pulling up the page,
Browse the content of the Chat page 131.
Then, after user's first clicks preset trigger button 132, terminal device can export corresponding selection circle of target pages
Face 133.Wherein, the chat content in target pages is alternate content, and the tick boxes of alternate content one side are corresponding for alternate content
Selection interface.The alternate content that not selected state (corresponding tick boxes are in and are not checked state) can be preset is made
For object content to be shielded.User's first can carry out selection operation by the selection interface in selection interface 133, and choosing out needs
The alternate content to be shared, and the alternate content not being checked is then object content to be shielded.
Finally, generating picture 134 based on object content, picture 134 is corresponding to target pages mask after object content
Picture, all alternate contents chosen comprising user's first in the picture.Also, since the content of required displaying in the picture is more
In the content that screen can accommodate, therefore, the length dimension of the picture is greater than the length dimension of screen.User's first can be by picture
134 are sent to good friend M, to share the part chat message of good friend Zhang San.
The present embodiment is not limited to above-mentioned application scenarios, is also applied in other scenes.The above-mentioned reality of the application
The generation method that the picture of example offer is provided, by the corresponding selection interface of alternate content in output target pages, based on for upper
The operation for stating selection interface, determines object content to be shielded in alternate content, and generate picture, which is page object face
Cover corresponding picture after object content.The present embodiment is when obtaining the picture of target pages, without carrying out multiple screenshotss behaviour
Make, carry out privacy information masking processing without to picture, improves and obtain efficiency to the image of sharing contents, to improve
The efficiency that user-to-user information is shared.
As shown in Fig. 2, the flow chart of the generation method of Fig. 2 another picture shown according to an exemplary embodiment, it should
Embodiment describes the process for generating picture, and this method can be applied in terminal device, comprising the following steps:
In step 201, the corresponding selection interface of alternate content in target pages is exported.
In step 202, it based on the operation for being directed to above-mentioned selection interface, determines in target to be shielded in alternate content
Hold.
In step 203, reference page data are obtained, which is former page number corresponding to target pages
According to masking the page data after object content.
In one implementation, it can directly replicate to obtain the copy of former page data corresponding to target pages, so
Afterwards, which is temporarily stored, and the delete target content directly from the copy, to obtain reference page data.
In another implementation, can also former page data directly corresponding to target pages modify, to delete
The object content in former page data is removed, reference page data are obtained.
It is appreciated that reference page data can also be obtained otherwise, the application is to acquisition reference page data
Concrete mode in terms of do not limit.
In step 204, picture is generated based on the reference page data, which is that target pages mask above-mentioned target
Corresponding picture after content.
In the present embodiment, picture can be generated based on the reference page data.Specifically, it is possible, firstly, to will refer to
Page data conversion imaging vegetarian refreshments array data.Then, the corresponding picture of pixel-matrix column data is generated.For example, if eventually
End equipment can then call realization of goal method (the i.e. screenshotss side of Native method layer using Android or IOS operating system etc.
Method), directly by reference page data conversion pixel dot matrix column data.If terminal device uses Windows Mac OS
Operating system etc. can then use html2canvas technology, directly by reference page data conversion pixel dot matrix column data.
Certainly, as known in the art and be likely to occur in the future any other by reference page data conversion pixel dot matrix columns
According to method can be applied to the application, the application to not limiting in this respect.
It should be noted that no longer going to live in the household of one's in-laws on getting married in above-mentioned Fig. 2 embodiment for the step identical with Figure 1A embodiment
It states, related content can be found in Figure 1A embodiment.
The generation method of the picture provided by the above embodiment of the application, it is corresponding by alternate content in output target pages
Selection interface object content to be shielded in alternate content is determined based on the operation for being directed to above-mentioned selection interface, obtain reference
Page data, the reference page data are that former page data corresponding to target pages masks the page number after object content
According to, and picture is generated based on the reference page data, which is that target pages mask corresponding figure after above-mentioned object content
Piece.Since the present embodiment shields the object content in the former page data of target pages, reference page data are obtained, because
This, can directly generate the picture to sharing contents based on reference page data.To further improve to sharing contents
Image obtains efficiency, helps to improve the efficiency of user-to-user information sharing.
As shown in figure 3, the flow chart of the generation method of Fig. 3 another picture shown according to an exemplary embodiment, it should
The process for obtaining reference page data is described in detail in embodiment, and this method can be applied in terminal device, including following step
It is rapid:
In step 301, the corresponding selection interface of alternate content in target pages is exported.
In step 302, it based on the operation for being directed to above-mentioned selection interface, determines in target to be shielded in alternate content
Hold.
In step 303, former page data corresponding to target pages is modified, and obtains reference page data.
In the present embodiment, can former page data directly corresponding to target pages modify, obtain reference page
Data.Specifically, it is possible, firstly, to determine label section corresponding to object content in the corresponding former page data of target pages
Point.Then, the delete target content directly from former page data, for example, it is former that removeChild () method can be called to delete
Object content in page data.And preset account for is added after label node corresponding to object content in former page data
Position symbol, finally, object content can be associated with the placeholder after corresponding label node, and stores into caching.
In step 304, picture is generated based on the reference page data, which is that target pages mask above-mentioned target
Corresponding picture after content.
It in step 305, is former page data by the reference page data convert.
In the present embodiment, it due to being directly modified to the corresponding former page data of target pages, is used for
Generate picture reference page data, therefore, after generating picture, it is also necessary to by reference page data convert be original page number
According to.
Specifically, it is possible, firstly, to take out object content from pre-stored data, and object content association is determined
Placeholder.Then, it is based on the associated placeholder of object content, determines object content mark corresponding in reference page data
Sign node.Object content is put back into after label node corresponding in reference page data, target pages are obtained with reduction
Corresponding original page data.
It should be noted that for the step identical with Figure 1A and Fig. 2 embodiment, in above-mentioned Fig. 3 embodiment no longer
It is repeated, related content can be found in Figure 1A and Fig. 2 embodiment.
The generation method of the picture provided by the above embodiment of the application, it is corresponding by alternate content in output target pages
Selection interface, based on be directed to above-mentioned selection interface operation, object content to be shielded in alternate content is determined, to page object
The corresponding former page data in face is modified, and obtains reference page data, and generate picture, the figure based on the reference page data
Piece is that target pages mask corresponding picture after above-mentioned object content, is former page data by the reference page data convert.
Since the present embodiment former page data corresponding to target pages is directly modified, so that reference page data are obtained, therefore,
Without replicating former page data, storage resource is not only saved, it helps it improves and obtains efficiency to the image of sharing contents, from
And further increase the efficiency of user-to-user information sharing.
Although should be noted that in the above-described embodiments, the operation of the application method is described with particular order, this
These operations must be executed in this particular order by not requiring that or implying, or is had to carry out and operated just shown in whole
It is able to achieve desired result.On the contrary, the step of describing in flow chart can change and execute sequence.It additionally or alternatively, can be with
Certain steps are omitted, multiple steps are merged into a step and are executed, and/or a step is decomposed into execution of multiple steps.
Corresponding with the generation method embodiment of aforementioned picture, present invention also provides the implementations of the generating means of picture
Example.
As shown in figure 4, Fig. 4 is a kind of the application generating means block diagram of picture shown according to an exemplary embodiment,
The apparatus may include: output module 401, determining module 402 and generation module 403.
Wherein, output module 401, for exporting the corresponding selection interface of alternate content in target pages.
Determining module 402, for determining target to be shielded in alternate content based on the operation for being directed to above-mentioned selection interface
Content.
Generation module 403, for generating picture, which is that target pages mask corresponding picture after object content.
As shown in figure 5, Fig. 5 is the generating means frame of the application another picture shown according to an exemplary embodiment
Figure, for the embodiment on the basis of aforementioned embodiment illustrated in fig. 4, generation module 403 may include: acquisition submodule 501 and life
At submodule 502.
Wherein, acquisition submodule 501, for obtaining reference page data, the reference page data are right for target pages
The former page data answered masks the page data after object content.
Submodule 502 is generated, for generating picture based on the reference page data.
As shown in fig. 6, Fig. 6 is the generating means frame of the application another picture shown according to an exemplary embodiment
Figure, for the embodiment on the basis of aforementioned embodiment illustrated in fig. 5, acquisition submodule 501 may include: modification submodule 601.
Wherein, modification submodule 601 is referred to for modifying to former page data corresponding to target pages
Page data.
As shown in fig. 7, Fig. 7 is the generating means frame of the application another picture shown according to an exemplary embodiment
Figure, on the basis of aforementioned embodiment illustrated in fig. 4, which can further include the embodiment: recovery module 404.
Wherein, recovery module 404, for being former page number corresponding to target pages by above-mentioned reference page data convert
According to.
In some optional embodiments, modification submodule 601 is configured for: determining former page corresponding to target pages
The corresponding label node of object content in face data, the delete target content from former page data are upper in former page data
It states label node and adds preset placeholder later, also, object content and the placeholder after corresponding label node are closed
Join and stores.
In other optional embodiments, recovery module 404 is configured for: taking out mesh from pre-stored data
Content is marked, determines the associated placeholder of object content, the associated placeholder of object content is based on, determines object content in reference page
Corresponding label node in face data, object content is put back into after label node corresponding in reference page data,
The former page data is obtained with reduction.
In other optional embodiments, generates submodule 502 and be configured for: reference page data conversion is imaged
Vegetarian refreshments array data generates the corresponding picture of pixel-matrix column data.
It should be appreciated that above-mentioned apparatus can be set in advance in terminal device, can also be loaded by modes such as downloadings
Into terminal device.Corresponding module in above-mentioned apparatus can be cooperated with the module in terminal device to realize the life of picture
At scheme.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying
Out in the case where creative work, it can understand and implement.
The embodiment of the present application also provides a kind of computer readable storage medium, which is stored with computer journey
Sequence, computer program can be used for executing the generation method for the picture that above-mentioned Figure 1A is provided to Fig. 3 any embodiment.
Corresponding to the generation method of above-mentioned picture, the embodiment of the present application also proposed shown in Fig. 8 according to the application's
The schematic configuration diagram of the electronic equipment of one exemplary embodiment.Referring to FIG. 8, the electronic equipment includes processing in hardware view
Device, internal bus, network interface, memory and nonvolatile memory are also possible that required for other business hard certainly
Part.Processor from read in nonvolatile memory corresponding computer program into memory then run, on logic level
Form the generating means of picture.Certainly, other than software realization mode, other implementations are not precluded in the application, such as
Logical device or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is not limited to each
Logic unit is also possible to hardware or logical device.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the application
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or
Person's adaptive change follows the general principle of the application and including the undocumented common knowledge in the art of the application
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the application are by following
Claim is pointed out.
It should be understood that the application is not limited to the precise structure that has been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.Scope of the present application is only limited by the accompanying claims.
Claims (10)
1. a kind of generation method of picture, which is characterized in that the described method includes:
Export the corresponding selection interface of alternate content in target pages;
Based on the operation for the selection interface, object content to be shielded in the alternate content is determined;
Picture is generated, the picture is that the target pages mask corresponding picture after the object content.
2. the method according to claim 1, wherein the generation picture, comprising:
Reference page data are obtained, the reference page data mask institute for former page data corresponding to the target pages
Page data after stating object content;
Picture is generated based on the reference page data.
3. according to the method described in claim 2, it is characterized in that, the acquisition reference page data, comprising:
It modifies to the former page data, obtains reference page data.
4. according to the method described in claim 3, it is characterized in that, after the generation picture the step of, further includes:
It is the former page data by the reference page data convert.
5. according to the method described in claim 4, it is characterized in that, described modify to the former page data, comprising:
Determine the corresponding label node of object content described in the former page data;
The object content is deleted from the former page data;
Preset placeholder is added after the label node in the former page data;And
The object content is associated with and is stored with the placeholder after corresponding label node.
6. according to the method described in claim 5, it is characterized in that, described by the reference page data convert is the former page
Face data, comprising:
The object content is taken out from pre-stored data;
Determine the associated placeholder of the object content;
Based on the associated placeholder of the object content, determine that the object content is corresponding in the reference page data
Label node;
The object content is put back into after label node corresponding in the reference page data, is obtained with reduction described
Former page data.
7. according to the method any in claim 2-6, which is characterized in that described to be generated based on the reference page data
Picture, comprising:
By the reference page data conversion pixel dot matrix column data;
Generate the corresponding picture of the pixel-matrix column data.
8. a kind of generating means of picture, which is characterized in that described device includes:
Output module, for exporting the corresponding selection interface of alternate content in target pages;
Determining module, for determining in target to be shielded in the alternate content based on the operation for the selection interface
Hold;
Generation module, for generating picture, the picture is that the target pages mask corresponding figure after the object content
Piece.
9. a kind of computer readable storage medium, which is characterized in that the storage medium is stored with computer program, the calculating
Method described in any one of the claims 1-7 is realized when machine program is executed by processor.
10. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor
Machine program, which is characterized in that the processor realizes side described in any one of the claims 1-7 when executing described program
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810597807.6A CN108986009A (en) | 2018-06-11 | 2018-06-11 | Generation method, device and the electronic equipment of picture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810597807.6A CN108986009A (en) | 2018-06-11 | 2018-06-11 | Generation method, device and the electronic equipment of picture |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108986009A true CN108986009A (en) | 2018-12-11 |
Family
ID=64540262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810597807.6A Withdrawn CN108986009A (en) | 2018-06-11 | 2018-06-11 | Generation method, device and the electronic equipment of picture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108986009A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110244896A (en) * | 2019-06-24 | 2019-09-17 | 北京向上一心科技有限公司 | Screenshot method, device, controller and storage medium in webpage |
CN111310248A (en) * | 2020-01-22 | 2020-06-19 | 维沃移动通信有限公司 | Privacy protection method and electronic equipment |
CN112162687A (en) * | 2020-10-22 | 2021-01-01 | 腾讯科技(深圳)有限公司 | Picture generation method and device, storage medium and electronic equipment |
CN112394870A (en) * | 2019-08-15 | 2021-02-23 | 腾讯科技(深圳)有限公司 | Information display method and device, storage medium and electronic device |
CN113763512A (en) * | 2021-09-10 | 2021-12-07 | 维沃移动通信有限公司 | Method and device for processing screen shot image and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106055996A (en) * | 2016-05-18 | 2016-10-26 | 维沃移动通信有限公司 | Method and mobile terminal for multimedia information sharing |
CN106502527A (en) * | 2016-09-29 | 2017-03-15 | 北京小米移动软件有限公司 | Method, device and terminal that a kind of content is shared |
CN106527929A (en) * | 2016-10-31 | 2017-03-22 | 宇龙计算机通信科技(深圳)有限公司 | Picture information hiding method and apparatus |
CN107831974A (en) * | 2017-11-30 | 2018-03-23 | 腾讯科技(深圳)有限公司 | information sharing method, device and storage medium |
CN107992465A (en) * | 2017-12-13 | 2018-05-04 | 广州阿里巴巴文学信息技术有限公司 | The method, apparatus and terminal device that a kind of reading content is shared |
-
2018
- 2018-06-11 CN CN201810597807.6A patent/CN108986009A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106055996A (en) * | 2016-05-18 | 2016-10-26 | 维沃移动通信有限公司 | Method and mobile terminal for multimedia information sharing |
CN106502527A (en) * | 2016-09-29 | 2017-03-15 | 北京小米移动软件有限公司 | Method, device and terminal that a kind of content is shared |
CN106527929A (en) * | 2016-10-31 | 2017-03-22 | 宇龙计算机通信科技(深圳)有限公司 | Picture information hiding method and apparatus |
CN107831974A (en) * | 2017-11-30 | 2018-03-23 | 腾讯科技(深圳)有限公司 | information sharing method, device and storage medium |
CN107992465A (en) * | 2017-12-13 | 2018-05-04 | 广州阿里巴巴文学信息技术有限公司 | The method, apparatus and terminal device that a kind of reading content is shared |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110244896A (en) * | 2019-06-24 | 2019-09-17 | 北京向上一心科技有限公司 | Screenshot method, device, controller and storage medium in webpage |
CN112394870A (en) * | 2019-08-15 | 2021-02-23 | 腾讯科技(深圳)有限公司 | Information display method and device, storage medium and electronic device |
CN112394870B (en) * | 2019-08-15 | 2024-01-09 | 腾讯科技(深圳)有限公司 | Information display method and device, storage medium and electronic device |
CN111310248A (en) * | 2020-01-22 | 2020-06-19 | 维沃移动通信有限公司 | Privacy protection method and electronic equipment |
CN112162687A (en) * | 2020-10-22 | 2021-01-01 | 腾讯科技(深圳)有限公司 | Picture generation method and device, storage medium and electronic equipment |
CN112162687B (en) * | 2020-10-22 | 2022-07-29 | 腾讯科技(深圳)有限公司 | Picture generation method and device, storage medium and electronic equipment |
CN113763512A (en) * | 2021-09-10 | 2021-12-07 | 维沃移动通信有限公司 | Method and device for processing screen shot image and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108986009A (en) | Generation method, device and the electronic equipment of picture | |
CN107831974B (en) | Information sharing method and device and storage medium | |
US20160188735A1 (en) | Real-time shared web browsing among social network contacts | |
CN105005597A (en) | Photograph sharing method and mobile terminal | |
CN109905314A (en) | The means of communication and device | |
CN112804459A (en) | Image display method and device based on virtual camera, storage medium and electronic equipment | |
US10127246B2 (en) | Automatic grouping based handling of similar photos | |
CN106453572B (en) | Method and system based on Cloud Server synchronous images | |
CN104035565A (en) | Input method, input device, auxiliary input method and auxiliary input system | |
CN110019058B (en) | Sharing method and device for file operation | |
CN105354231A (en) | Image selection method and apparatus, and image processing method and apparatus | |
CN105005599A (en) | Photograph sharing method and mobile terminal | |
EP4258165A1 (en) | Two-dimensional code displaying method and apparatus, device, and medium | |
CN105988790B (en) | Information processing method, sending terminal and receiving terminal | |
CN113330453A (en) | System and method for providing personalized video for multiple persons | |
CN112312161A (en) | Method and device for generating video, electronic equipment and readable storage medium | |
CN113542902A (en) | Video processing method and device, electronic equipment and storage medium | |
CN113705156A (en) | Character processing method and device | |
CN112804460A (en) | Image processing method and device based on virtual camera, storage medium and electronic equipment | |
CN116301530A (en) | Virtual scene processing method and device, electronic equipment and storage medium | |
JP7471510B2 (en) | Method, device, equipment and storage medium for picture to video conversion - Patents.com | |
CN114693827A (en) | Expression generation method and device, computer equipment and storage medium | |
CN115967854A (en) | Photographing method and device and electronic equipment | |
US11711408B2 (en) | Content appearance conversion for remote application sharing | |
CN115705617A (en) | Remote photo-combination method, device, equipment and storage medium |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20181211 |