CN109460273A - A kind of information display method, device and electronic equipment - Google Patents
A kind of information display method, device and electronic equipment Download PDFInfo
- Publication number
- CN109460273A CN109460273A CN201811136795.3A CN201811136795A CN109460273A CN 109460273 A CN109460273 A CN 109460273A CN 201811136795 A CN201811136795 A CN 201811136795A CN 109460273 A CN109460273 A CN 109460273A
- Authority
- CN
- China
- Prior art keywords
- image
- target
- information
- multiframe
- blank
- 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
Classifications
-
- 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
- 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
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T13/00—Animation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Processing Or Creating Images (AREA)
Abstract
The embodiment of the invention provides a kind of information display method, device and electronic equipments.The described method includes: obtaining target information to be shown;Generate the corresponding target animation of the target information;Wherein, the target animation includes the target information;The target animation includes multiple image, and each frame image in the multiple image includes the partial information in the target information;Play the target animation.Using the embodiment of the present invention, the purpose for preventing screenshot capture leakage information can be realized.
Description
Technical field
The present invention relates to image display arts, more particularly to a kind of information display method, device and electronic equipment.
Background technique
Currently, the terminal devices such as computer, mobile phone usually have the function of screenshot capture.Screenshot capture function can intercept terminal
Image on device display screen curtain can easily record and preserve the information in the image.However, screenshot capture functional bands are come
It while convenience, may be utilized by illegal user, the privacy information on user terminal is illegally obtained by screenshot mode and is cut
The image taken.Therefore, which may bring some potential safety problems.
Although common operating system, such as Android and Apple Macintosh operating system IOS, all provide screenshot capture function for user
The setting options of energy.However, user can not also enjoy while user is by forbidding screenshot capture function to avoid security risk
By screenshot function bring convenience.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of information display method, device and electronic equipment, is prevented with realizing
The purpose of screenshot capture leakage information.Specific technical solution is as follows:
In a first aspect, the embodiment of the invention provides a kind of information display methods, which comprises
Obtain target information to be shown;
Generate the corresponding target animation of the target information;Wherein, the target animation includes the target information;It is described
Target animation includes multiple image, and each frame image in the multiple image includes the part letter in the target information
Breath;
Play the target animation.
It is optionally, described to generate the corresponding target animation of the target information, comprising:
Obtain the first image for containing the target information;
The first image is split into the second image of multiframe;Wherein, each the second image of frame contains the first image
Partial pixel, second image of multiframe contains whole pixels of the first image, and the second image of the multiframe and institute
The size for stating the first image is consistent;
By the second synthesis target image of multiframe animation.
Optionally, described the step of the first image is split into the second image of multiframe, comprising:
Obtain multiframe blank image;Wherein, the size of the blank image and the size of the first image are identical;
The partial pixel filled in every frame blank image in the first image respectively obtains more after filling
The second image of frame;Wherein, coordinate bit of each pixel of the first image in the first image and second image
It sets identical.
Optionally, the step of partial pixel filled in every frame blank image in the first image respectively, packet
It includes:
The first image is divided into multiple regions;
For each blank image, destination number region is chosen from the multiple region, according in selected region
Pixel in selected region is filled into the blank image by coordinate position of the pixel in the first image;
Wherein, the destination number is less than the total quantity in the multiple region, institute corresponding to the multiframe blank image
Having region includes the multiple region.
Optionally, described to be directed to each blank image, destination number region is chosen from the multiple region, comprising:
It is determined for each blank image based on the mapping relations of the scheduled mark about blank image and mark group
Target identification group corresponding to the blank image chooses each mark institute in the target identification group from the multiple region
Corresponding region;Wherein, the mark group includes the mark in destination number region.
It is optionally, described to obtain the first image for containing the target information when the target information is target character,
Include:
The target size of display area where determining the display parameters and the target character of the target character;Wherein,
The display parameters include one of font, font color and font size or a variety of;
Generate the first image of the target size;Wherein, the first image contains the target character, and described first
The target character in image meets the display parameters.
Second aspect, the embodiment of the invention provides a kind of information display device, described device includes:
Module is obtained, for obtaining target information to be shown;
Generation module, for generating the corresponding target animation of the target information;Wherein, the target animation includes described
Target information;The target animation includes multiple image, and each frame image in the multiple image includes the target
Partial information in information;
Playing module, for playing the target animation.
Optionally, the generation module, comprising:
Acquisition submodule, for obtaining the first image for containing the target information;
Submodule is split, for the first image to be split into the second image of multiframe;Wherein, each the second image of frame contains
There is the partial pixel of the first image, second image of multiframe contains whole pixels of the first image, and described more
The second image of frame is consistent with the size of the first image;
Submodule is synthesized, is used for the second synthesis target image of multiframe animation.
Optionally, the fractionation submodule, comprising:
Obtaining unit, for obtaining multiframe blank image;Wherein, the size of the blank image and the first image
Size is identical;
Fills unit is being filled for filling the partial pixel in the first image in every frame blank image respectively
After, obtain the second image of multiframe;Wherein, each pixel of the first image is in the first image and second figure
Coordinate position as in is identical.
Optionally, the fills unit, comprising:
Subelement is divided, for the first image to be divided into multiple regions;
Subelement is filled, for being directed to each blank image, destination number region is chosen from the multiple region, is pressed
The pixel in selected region is filled into the sky according to coordinate position of the pixel in the first image in selected region
In white image;
Wherein, the destination number is less than the total quantity in the multiple region, institute corresponding to the multiframe blank image
Having region includes the multiple region.
Optionally, the filling subelement, is specifically used for:
It is determined for each blank image based on the mapping relations of the scheduled mark about blank image and mark group
Target identification group corresponding to the blank image chooses each mark institute in the target identification group from the multiple region
Corresponding region;Wherein, the mark group includes the mark in destination number region.
Optionally, when the target information is target character, the acquisition module is specifically used for:
The target size of display area where determining the display parameters and the target character of the target character;Wherein,
The display parameters include one of font, font color and font size or a variety of;
Generate the first image of the target size;Wherein, the first image contains the target character, and described first
The target character in image meets the display parameters.
The third aspect, the embodiment of the invention provides a kind of electronic equipment, including processor and memory, wherein
The memory, for storing computer program;
The processor when for executing the program stored on the memory, realizes that the embodiment of the present invention is provided
Information display method the step of.
In scheme provided by the embodiment of the present invention, firstly, obtaining target information to be shown;Secondly, generating the mesh
Mark the corresponding target animation of information;Finally, playing the target animation.Since the target animation includes the target information;
The target animation includes multiple image, and each frame image in the multiple image includes the portion in the target information
Divide information;Thus, when carrying out screenshot capture to the target animation of broadcasting, what is be truncated to is the multiple image of the target animation
In a frame be unable to get the complete information of the target information from the frame image being truncated to.Therefore, the present invention is implemented
Scheme provided by example can be realized the purpose for preventing screenshot capture leakage information.
Certainly, it implements any of the products of the present invention or method must be not necessarily required to reach all the above excellent simultaneously
Point.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described.
Fig. 1 is a kind of a kind of flow diagram of information display method provided by the embodiment of the present invention;
Fig. 2 is a kind of another flow diagram of information display method provided by the embodiment of the present invention;
Fig. 3 is the flow diagram of a specific example provided by the present invention;
Fig. 4 (a) is the schematic diagram of the first image;Fig. 4 (b) is the region division schematic diagram of the first image;Fig. 4 (c)-Fig. 4
It (f) is the schematic diagram of first frame to the 4th the second image of frame;
Fig. 5 is a kind of structural schematic diagram of information display device provided by the embodiment of the present invention;
Fig. 6 is the structural schematic diagram of a kind of electronic equipment provided by the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention is described.
In order to realize the purpose for preventing screenshot capture leakage information, the embodiment of the invention provides a kind of information display sides
Method, device, electronic equipment and storage medium.
It should be noted that a kind of executing subject of information display method provided by the embodiment of the present invention can be one kind
Information display device, the device can be run in a client.The client can run on mobile phone or tablet computer etc.
In terminal device, the client can be browser, Email, Web bank and instant message applications etc..
It is introduced in the following, being provided for the embodiments of the invention a kind of information display method first.
As shown in Figure 1, a kind of information display method provided by the embodiment of the present invention, may include steps of:
S101 obtains target information to be shown.
The target information is information to be shown in the client, and the target information may include character, in full
Word, Chinese character and English alphabet etc..Such as one target information be name etc..
Certainly, the target information may be an image.
In embodiments of the present invention, the information display device can store the database of information to be displayed from client
In, obtain the target information;Or receive the target information of user's input;Or receive the corresponding clothes of the client
The target information etc. that business device is sent.Here, not to the mode in the embodiment of the present invention, obtaining target information to be shown
It is defined.
S102 generates the corresponding target animation of the target information;
Wherein, the target animation includes the target information;The target animation includes multiple image, and the multiframe
Each frame image in image includes the partial information in the target information.
In embodiments of the present invention, generate the corresponding target animation of the target information mode can there are many, for example,
When the target information is multiple characters, each character can be converted to the image of a frame pre-set dimension, then by multiframe figure
As synthesis target animation etc..
S103 plays the target animation.
In embodiments of the present invention, the target animation can be played in the display area of the client.So, it uses
The user of the client is observed that the target animation.According to the eye storage characteristic of human eye, user can be from described
Complete target information is identified in target animation.But it is understood that being cut if carrying out screenshot capture to the target animation
What is got is the frame image in the target animation, which contains the partial information of the target information, therefore, nothing
Method identifies the complete information of target information from the frame image.
In scheme provided by the embodiment of the present invention, firstly, obtaining target information to be shown;Secondly, generating the mesh
Mark the corresponding target animation of information;Finally, playing the target animation.Since the target animation includes the target information;
The target animation includes multiple image, and each frame image in the multiple image includes the portion in the target information
Divide information;Thus, when carrying out screenshot capture to the target animation of broadcasting, what is be truncated to is the multiple image of the target animation
In a frame be unable to get the complete information of the target information from the frame image being truncated to.Therefore, the present invention is implemented
Scheme provided by example can be realized the purpose for preventing screenshot capture leakage information.In the privacy that the target information is user
When information, such as bank card password, the purpose of protection privacy of user can be played using scheme provided by the embodiment of the present invention.
As another embodiment, referring to fig. 2, Fig. 2 is a kind of information display method provided by the embodiment of the present invention
Another flow diagram, comprising the following steps:
S201 obtains target information to be shown;
S201 is identical as S101, and this will not be repeated here.
S202 obtains the first image for containing the target information;
If the target information is image, step S203 can be then carried out using the image as the first image.
If the target information is target character, the first image containing the target character can be generated.
In embodiments of the present invention, any one existing method can be used, generates and contains the first of the target character
Image.The GUI (Graphical User Interface, graphical user interface) such as provided using mobile phone operating system is called
The target character is converted first image etc. by one image generating function.
It should be noted that in order to meet the individual demand of display, it is described when the target information is target character
The first image for containing the target information is obtained, may include step a1 and step a2:
Step a1, the target ruler of display area where determining the display parameters and the target character of the target character
It is very little;
Wherein, the display parameters include one of font, font color and font size or a variety of.
Illustratively, the information display device can be searched in the system setting option of the client about target
The target size etc. of display area where the display parameters of character and the target character.Certainly, it in the embodiment of the present invention, determines
The mode of the target size of display area is without being limited thereto where the display parameters of the target character and the target character.
It, can also be with it should be noted that the display parameters and the target size can be client default
It is by the user setting of the client, this is all reasonable.
Step a2 generates the first image of the target size;
Wherein, the first image contains the target character, and the target character in the first image meets institute
State display parameters.
The first image is split into the second image of multiframe by S203;
Wherein, each the second image of frame contains the partial pixel of the first image, and second image of multiframe is containing
Whole pixels of the first image are stated, and the second image of the multiframe is consistent with the size of the first image.
In embodiments of the present invention, it can use existing image and split algorithm, the first image is split into default
Second image of frame;The screen refresh frequency that can also first determine the terminal device where client, according to the screen-refresh
Frequency selects suitable image to split algorithm, the first image is split into the second image of multiframe.It should be noted that not
The frame number that same image splits the second image that algorithm obtains may be different.
Specifically, in embodiments of the present invention, it is described that the first image is split into the second image of multiframe, may include
Following steps b1 and step b2:
Step b1 obtains multiframe blank image;
Wherein, the size of the blank image and the size of the first image are identical.
Step b2 fills the partial pixel in the first image in every frame blank image respectively, after filling,
Obtain the second image of multiframe.
Wherein, coordinate position phase of each pixel of the first image in the first image and second image
Together.
Specifically, step b2 may include step b2-1 and step b2-2:
The first image is divided into multiple regions by step b2-1;
In embodiments of the present invention, the first image can be divided into the region of multiple arbitrary shapes, such as rectangle, three
It is angular etc..
A kind of concrete implementation mode that the first image is divided into multiple regions can be with are as follows: will with multiple transverse and longitudinal lines
The first image is divided into multiple rectangular areas, wherein the size of each rectangular area may be the same or different.
Step b2-2 chooses destination number region, according to selected for each blank image from the multiple region
Take coordinate position of the pixel in the first image in region, by the pixel in selected region, be filled into the blank image
In.
Wherein, the destination number is less than the total quantity in the multiple region, institute corresponding to the multiframe blank image
Having region includes the multiple region.
In embodiments of the present invention, when choosing destination number region from the multiple region, it can be any selection,
It is also possible to be chosen according to certain selection rule, this is all reasonable.
Specifically, it is directed to each blank image, it can reflecting based on the scheduled mark about blank image and mark group
Relationship is penetrated, determines target identification group corresponding to the blank image, from the multiple region, is chosen in the target identification group
Region corresponding to each mark;Wherein, the mark group includes the mark in destination number region.Wherein, the mark can
To be the number indicated with number etc..
It is understood that through the above steps, obtained the second image of each frame, the part containing the first image
Pixel, and the coordinate position of each pixel is consistent in the coordinate position of the first image with the pixel.In the multiple region quilt
After selection, the pixel summation that obtained the second image of all frames contains is whole pixels of the first image.
It is emphasized that the tool of above-mentioned described the step of the first image is split into the second image of multiframe provided
Body implementation is merely exemplary, should not constitute the restriction to the embodiment of the present invention.
S204, by the second synthesis target image of multiframe animation;
In embodiments of the present invention, any one existing method can be used, such as solid-state memory and Animation Editors
Flash etc., by the second synthesis target image of multiframe animation, it will not be described herein for detailed process.
It is understood that the coordinate position of each pixel and the pixel are in the first image due in each the second image of frame
Coordinate position it is consistent, and there is no the pixels omitted in the first image.Therefore, the target second image of multiframe synthesized
Animation not only whole pixels containing the first image, and pixel, by complementing each other, being formed by target animation can
Completely clearly embody the original appearance of the target information.
S205 plays the target animation.
It in embodiments of the present invention, can the target animation described in the display area loop play of the client.
Also, the frame number of the second image obtained due to different fractionation algorithms may be different, for a fairly large number of the
Two images, possible each the second image of frame contain pixel less in the first image, the display speed meeting of target animation generated
It increases, this is for the viewing of user and unaffected, but for screenshot capture, is truncated to the difficulty of clear image
Spend bigger, and the content of target information that the image being truncated to contains is less, prevents screen from cutting so as to further increase
The purpose of figure leakage information.
In scheme provided by the embodiment of the present invention, firstly, obtaining target information to be shown;Secondly, obtaining containing
State the first image of target information;Next, the first image is split into the second image of multiframe;Then, by the multiframe
Second synthesis target image animation;The target animation is finally played in the client.Since the target animation includes
The target information;The target animation includes multiple image, and each frame image in the multiple image includes described
Partial information in target information;Thus, when carrying out screenshot capture to the target animation of broadcasting, what is be truncated to is the target
A frame in the multiple image of animation is unable to get the complete information of the target information from the frame image being truncated to.Cause
This, scheme provided by the embodiment of the present invention can be realized the purpose for preventing screenshot capture leakage information.
Below by taking the target information is target character as an example, in conjunction with a concrete application embodiment, to provided herein
A kind of information display method be introduced.Referring to Fig. 3, Fig. 3 is the flow diagram of a specific example provided by the present invention,
It the described method comprises the following steps:
S301 obtains target character to be shown.
For example, the client can be the wechat in mobile phone.The information display device is run in wechat.
The information display device can receive the character that user inputs in wechat dialog box, to obtain mesh to be shown
Marking-up symbol is " Chinese intelligence is made " this four Chinese characters.
S302, the target size of display area where determining the display parameters and the target character of the target character.
The information display device can in the system setting option of wechat, determine system default about target character
The target size of display area where display parameters and the target character.For example it is the Song typeface that the display parameters, which include: font,
And color is black;The target size is 3cm × 3cm.
S303 generates the first image of the target size.
The information display device can use the GUI of mobile phone operating system offer, call an image generating function, will
" Chinese intelligence is made " this four Chinese characters generate the first image having a size of 3cm × 3cm;Wherein, the first image contains black Song
This four Chinese characters of " Chinese intelligence is made " of body.
Shown in the first image of generation such as Fig. 4 (a).
The first image is split into the second image of multiframe by S304.
Wherein, each the second image of frame contains the partial pixel of the first image, and second image of multiframe is containing
Whole pixels of the first image are stated, and the second image of the multiframe is consistent with the size of the first image.
Specifically, the step may comprise steps of:
The first step obtains multiframe blank image.
Wherein, the size of the blank image and the size of the first image are identical, are 3cm × 3cm.
The first image is divided into multiple regions by second step.
The information display device can choose any one image and split algorithm, will be shown in Fig. 4 (a) using a plurality of oblique line
The first image be divided into multiple regions, shown in the first image such as Fig. 4 (b) after division.
After dividing region, the multiple region can be identified, such as: mark can be 1,2,3 ... n, wherein n
For the natural number greater than 0.
Third step, for each blank image, the mapping based on the scheduled mark about blank image and mark group is closed
System, determines target identification group corresponding to the blank image, from the multiple region, chooses each in the target identification group
The corresponding region of mark.
Wherein, the mark group includes the mark in destination number region.
For example, splitting algorithm according to selected image, determine that the first image can be split as four the second images of frame,
So, illustratively, the mapping relations about the mark of blank image and mark group can be with are as follows:
Blank image 1 corresponds to mark group 1, and what the mark group 1 included is identified as 1,6,11,16 ... etc.;
Blank image 2 corresponds to mark group 2, and what the mark group 2 included is identified as 2,7,12,17 ... etc.;
Blank image 3 corresponds to mark group 3, and what the mark group 3 included is identified as 3,8,13,18 ... etc.;
Blank image 4 corresponds to mark group 4, and what the mark group 4 included is identified as 4,9,14,19 ... etc..
It certainly, in embodiments of the present invention, also may not necessarily be according to preset interregional every determining about blank image
Mark and mark group mapping relations, this is all reasonable.
So, based on above-mentioned example, about the mark of blank image and the mapping relations of mark group, the step it is specific
Process can be with are as follows:
It for blank image 1, chooses in the multiple region, is identified as 1,6,11,16 ... and waits regions.By selected area
Pixel in domain is filled into blank image 1 according to the coordinate position in the first image, obtains the second figure of first frame
Picture;
It for blank image 2, chooses in the multiple region, is identified as 2,7,12,17 ... and waits regions.By selected area
Pixel in domain is filled into blank image 2 according to the coordinate position in the first image, obtains second the second figure of frame
Picture;
It for blank image 3, chooses in the multiple region, is identified as 3,8,13,18 ... and waits regions.By selected area
Pixel in domain is filled into blank image 3 according to the coordinate position in the first image, obtains the second figure of third frame
Picture;
It for blank image 4, chooses in the multiple region, is identified as 4,9,14,19 ... and waits regions.By selected area
Pixel in domain is filled into blank image 4 according to the coordinate position in the first image, obtains the 4th the second figure of frame
Picture;
The second image of four frames generated is respectively shown in Fig. 4 (c)-Fig. 4 (f).It can be seen that four frames, second image
Respectively containing the partial pixel of the first image, that is to say, that four frames, second image contain respectively " Chinese intelligence is made " this
The partial content of four Chinese characters;The sum of pixel of all the second images of four frames is whole pixels of the first image, that is,
It says, the sum of the pixel of all the second images of four frames embodies the full content of " Chinese intelligence is made " this four Chinese characters.
S305, by the second synthesis target image of multiframe animation.
The information display device can call other animation compound programs or software etc., by above-mentioned the second figure of four frames
As synthesis target animation, for example, the target animation can be the animation of a gif format.
S306 plays the target animation.
The information display device can recycle on the display interface of wechat and show the target animation.With user's
The display effect of finding of naked eye, the target animation is similar to Fig. 4 (b), if but screenshot capture is carried out to the target animation,
The image being truncated to is any one frame in Fig. 4 (c)-Fig. 4 (f), it is seen then that described in can not being obtained from the image being truncated to " in
State's intelligence is made " complete informations of this four Chinese characters.Therefore, scheme provided by the embodiment of the present invention, can be realized prevents screen from cutting
The purpose of figure leakage information.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of information display devices, as shown in figure 5,
The device includes:
Module 501 is obtained, for obtaining target information to be shown;
Generation module 502, for generating the corresponding target animation of the target information;Wherein, the target animation includes
The target information;The target animation includes multiple image, and each frame image in the multiple image includes described
Partial information in target information;
Playing module 503, for playing the target animation.
Optionally, in embodiments of the present invention, the generation module 502, comprising:
Acquisition submodule, for obtaining the first image for containing the target information;
Submodule is split, for the first image to be split into the second image of multiframe;Wherein, each the second image of frame contains
There is the partial pixel of the first image, second image of multiframe contains whole pixels of the first image, and described more
The second image of frame is consistent with the size of the first image;
Submodule is synthesized, is used for the second synthesis target image of multiframe animation.
Optionally, in embodiments of the present invention, the fractionation submodule, comprising:
Obtaining unit, for obtaining multiframe blank image;Wherein, the size of the blank image and the first image
Size is identical;
Fills unit is being filled for filling the partial pixel in the first image in every frame blank image respectively
After, obtain the second image of multiframe;Wherein, each pixel of the first image is in the first image and second figure
Coordinate position as in is identical.
Optionally, in embodiments of the present invention, the fills unit, comprising:
Subelement is divided, for the first image to be divided into multiple regions;
Subelement is filled, for being directed to each blank image, destination number region is chosen from the multiple region, is pressed
The pixel in selected region is filled into the sky according to coordinate position of the pixel in the first image in selected region
In white image;
Wherein, the destination number is less than the total quantity in the multiple region, institute corresponding to the multiframe blank image
Having region includes the multiple region.
Optionally, in embodiments of the present invention, the filling subelement, is specifically used for:
It is determined for each blank image based on the mapping relations of the scheduled mark about blank image and mark group
Target identification group corresponding to the blank image chooses each mark institute in the target identification group from the multiple region
Corresponding region;Wherein, the mark group includes the mark in destination number region.
Optionally, in embodiments of the present invention, when the target information is target character, the acquisition submodule, tool
Body is used for:
The target size of display area where determining the display parameters and the target character of the target character;Wherein,
The display parameters include one of font, font color and font size or a variety of;
Generate the first image of the target size;Wherein, the first image contains the target character, and described first
The target character in image meets the display parameters.
In scheme provided by the embodiment of the present invention, firstly, obtaining target information to be shown;Secondly, generating the mesh
Mark the corresponding target animation of information;Finally, playing the target animation.Since the target animation includes the target information;
The target animation includes multiple image, and each frame image in the multiple image includes the portion in the target information
Divide information;Thus, when carrying out screenshot capture to the target animation of broadcasting, what is be truncated to is the multiple image of the target animation
In a frame be unable to get the complete information of the target information from the frame image being truncated to.Therefore, the present invention is implemented
Scheme provided by example can be realized the purpose for preventing screenshot capture leakage information.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of electronic equipment, as shown in fig. 6, can be with
Including processor 601 and memory 602, wherein
The memory 602, for storing computer program;
The processor 601 when for executing the program stored on the memory 602, realizes the embodiment of the present invention
The step of provided information display method.
Above-mentioned memory may include RAM (Random Access Memory, random access memory), also may include
NVM (Non-Volatile Memory, nonvolatile memory), for example, at least a magnetic disk storage.Optionally, memory
It can also be that at least one is located away from the storage device of above-mentioned processor.
Above-mentioned processor can be general processor, including CPU (Central Processing Unit, central processing
Device), NP (Network Processor, network processing unit) etc.;Can also be DSP (Digital Signal Processor,
Digital signal processor), ASIC (Application Specific Integrated Circuit, specific integrated circuit),
FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic device are divided
Vertical door or transistor logic, discrete hardware components.
It by above-mentioned electronic equipment, can be realized: firstly, obtaining target information to be shown;Secondly, generating the target
The corresponding target animation of information;Finally, playing the target animation.Since the target animation includes the target information;Institute
Stating target animation includes multiple image, and each frame image in the multiple image includes the part in the target information
Information;Thus, when carrying out screenshot capture to the target animation of broadcasting, what is be truncated to is in the multiple image of the target animation
A frame be unable to get the complete information of the target information from the frame image being truncated to.Therefore, the embodiment of the present invention
Provided scheme can be realized the purpose for preventing screenshot capture leakage information.
In addition, the embodiment of the invention provides a kind of calculating corresponding to information display method provided by above-described embodiment
Machine readable storage medium storing program for executing is stored with computer program in the computer readable storage medium, and computer program is executed by processor
The step of information display method provided by the Shi Shixian embodiment of the present invention.
Above-mentioned computer-readable recording medium storage has information provided by the execution embodiment of the present invention at runtime to show
The application program of method, therefore can be realized: firstly, obtaining target information to be shown;Secondly, generating the target information pair
The target animation answered;Finally, playing the target animation.Since the target animation includes the target information;The target
Animation includes multiple image, and each frame image in the multiple image includes the partial information in the target information;
Thus, when carrying out screenshot capture to the target animation of broadcasting, that be truncated to is one in the multiple image of the target animation
Frame is unable to get the complete information of the target information from the frame image being truncated to.Therefore, the embodiment of the present invention is mentioned
The scheme of confession can be realized the purpose for preventing screenshot capture leakage information.
For electronic equipment and computer readable storage medium embodiment, method content base as involved in it
Originally it is similar to embodiment of the method above-mentioned, so being described relatively simple, referring to the part explanation of embodiment of the method in place of correlation
?.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The foregoing is merely alternative embodiments of the invention, are not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (13)
1. a kind of information display method characterized by comprising
Obtain target information to be shown;
Generate the corresponding target animation of the target information;Wherein, the target animation includes the target information;The target
Animation includes multiple image, and each frame image in the multiple image includes the partial information in the target information;
Play the target animation.
2. the method according to claim 1, wherein described generate the corresponding target animation of the target information,
Include:
Obtain the first image for containing the target information;
The first image is split into the second image of multiframe;Wherein, each the second image of frame contains the portion of the first image
Point pixel, second image of multiframe contain whole pixels of the first image, and the second image of the multiframe and described the
The size of one image is consistent;
By the second synthesis target image of multiframe animation.
3. according to the method described in claim 2, it is characterized in that, described split into the second image of multiframe for the first image
The step of, comprising:
Obtain multiframe blank image;Wherein, the size of the blank image and the size of the first image are identical;
The partial pixel in the first image is filled in every frame blank image respectively, after filling, obtains multiframe the
Two images;Wherein, coordinate position phase of each pixel of the first image in the first image and second image
Together.
4. according to the method described in claim 3, it is characterized in that, described fill described first in every frame blank image respectively
The step of partial pixel in image, comprising:
The first image is divided into multiple regions;
For each blank image, destination number region is chosen from the multiple region, according to pixel in selected region
Pixel in selected region is filled into the blank image by the coordinate position in the first image;
Wherein, the destination number is less than the total quantity in the multiple region, all areas corresponding to the multiframe blank image
Domain includes the multiple region.
5. according to the method described in claim 4, it is characterized in that, described be directed to each blank image, from the multiple region
Middle selection destination number region, comprising:
The sky is determined based on the mapping relations of the scheduled mark about blank image and mark group for each blank image
Target identification group corresponding to white image is chosen in the target identification group corresponding to each mark from the multiple region
Region;Wherein, the mark group includes the mark in destination number region.
6. according to the method described in claim 2, it is characterized in that, when the target information be target character when, the acquisition
The first image containing the target information, comprising:
The target size of display area where determining the display parameters and the target character of the target character;Wherein, described
Display parameters include one of font, font color and font size or a variety of;
Generate the first image of the target size;Wherein, the first image contains the target character, the first image
In the target character meet the display parameters.
7. a kind of information display device characterized by comprising
Module is obtained, for obtaining target information to be shown;
Generation module, for generating the corresponding target animation of the target information;Wherein, the target animation includes the target
Information;The target animation includes multiple image, and each frame image in the multiple image includes the target information
In partial information;
Playing module, for playing the target animation.
8. device according to claim 7, which is characterized in that the generation module, comprising:
Acquisition submodule, for obtaining the first image for containing the target information;
Submodule is split, for the first image to be split into the second image of multiframe;Wherein, each the second image of frame is containing
The partial pixel of the first image is stated, second image of multiframe contains whole pixels of the first image, and the multiframe
Two images are consistent with the size of the first image;
Submodule is synthesized, is used for the second synthesis target image of multiframe animation.
9. device according to claim 8, which is characterized in that the fractionation submodule, comprising:
Obtaining unit, for obtaining multiframe blank image;Wherein, the size of the size of the blank image and the first image
It is identical;
Fills unit is finished for filling the partial pixel in the first image in every frame blank image respectively in filling
Afterwards, the second image of multiframe is obtained;Wherein, each pixel of the first image is in the first image and second image
Coordinate position it is identical.
10. device according to claim 9, which is characterized in that the fills unit, comprising:
Subelement is divided, for the first image to be divided into multiple regions;
Subelement is filled, for being directed to each blank image, destination number region is chosen from the multiple region, according to institute
Pixel in selected region is filled into the blank sheet by coordinate position of the pixel in the first image in chosen area
As in;
Wherein, the destination number is less than the total quantity in the multiple region, all areas corresponding to the multiframe blank image
Domain includes the multiple region.
11. device according to claim 10, which is characterized in that the filling subelement is specifically used for:
The sky is determined based on the mapping relations of the scheduled mark about blank image and mark group for each blank image
Target identification group corresponding to white image is chosen in the target identification group corresponding to each mark from the multiple region
Region;Wherein, the mark group includes the mark in destination number region.
12. device according to claim 8, which is characterized in that when the target information is target character, the acquisition
Submodule is specifically used for:
The target size of display area where determining the display parameters and the target character of the target character;Wherein, described
Display parameters include one of font, font color and font size or a variety of;
Generate the first image of the target size;Wherein, the first image contains the target character, the first image
In the target character meet the display parameters.
13. a kind of electronic equipment, which is characterized in that including processor and memory, wherein
The memory, for storing computer program;
The processor when for executing the program stored on the memory, realizes any side claim 1-6
Method step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811136795.3A CN109460273A (en) | 2018-09-28 | 2018-09-28 | A kind of information display method, device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811136795.3A CN109460273A (en) | 2018-09-28 | 2018-09-28 | A kind of information display method, device and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109460273A true CN109460273A (en) | 2019-03-12 |
Family
ID=65607071
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811136795.3A Pending CN109460273A (en) | 2018-09-28 | 2018-09-28 | A kind of information display method, device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109460273A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110888682A (en) * | 2019-12-03 | 2020-03-17 | 联想(北京)有限公司 | Display method and device and electronic equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040202377A1 (en) * | 2003-04-08 | 2004-10-14 | Tomokazu Murakami | Image processing apparatus, mobile terminal device and image processing computer readable program |
CN102156611A (en) * | 2010-01-22 | 2011-08-17 | 三星电子株式会社 | Method and apparatus for creating animation message |
CN103268624A (en) * | 2013-05-09 | 2013-08-28 | 四三九九网络股份有限公司 | Method and device for generating animation with high-efficiency |
CN103310475A (en) * | 2012-03-16 | 2013-09-18 | 腾讯科技(深圳)有限公司 | Animation playing method and device |
CN103810739A (en) * | 2014-02-20 | 2014-05-21 | 南京师范大学 | Image character morphing animation generating method |
CN104199841A (en) * | 2014-08-06 | 2014-12-10 | 武汉图歌信息技术有限责任公司 | Video editing method for generating animation through pictures and splicing and composing animation and video clips |
CN105488424A (en) * | 2015-12-01 | 2016-04-13 | 杭州安司源科技有限公司 | Information display protection method and information sending method |
CN105528555A (en) * | 2015-12-01 | 2016-04-27 | 杭州安司源科技有限公司 | Information display protection method using covering graph and information transmission method |
CN106327556A (en) * | 2016-08-30 | 2017-01-11 | 合肥趣玩科技有限公司 | Animation editing method |
-
2018
- 2018-09-28 CN CN201811136795.3A patent/CN109460273A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040202377A1 (en) * | 2003-04-08 | 2004-10-14 | Tomokazu Murakami | Image processing apparatus, mobile terminal device and image processing computer readable program |
CN102156611A (en) * | 2010-01-22 | 2011-08-17 | 三星电子株式会社 | Method and apparatus for creating animation message |
CN103310475A (en) * | 2012-03-16 | 2013-09-18 | 腾讯科技(深圳)有限公司 | Animation playing method and device |
CN103268624A (en) * | 2013-05-09 | 2013-08-28 | 四三九九网络股份有限公司 | Method and device for generating animation with high-efficiency |
CN103810739A (en) * | 2014-02-20 | 2014-05-21 | 南京师范大学 | Image character morphing animation generating method |
CN104199841A (en) * | 2014-08-06 | 2014-12-10 | 武汉图歌信息技术有限责任公司 | Video editing method for generating animation through pictures and splicing and composing animation and video clips |
CN105488424A (en) * | 2015-12-01 | 2016-04-13 | 杭州安司源科技有限公司 | Information display protection method and information sending method |
CN105528555A (en) * | 2015-12-01 | 2016-04-27 | 杭州安司源科技有限公司 | Information display protection method using covering graph and information transmission method |
CN106327556A (en) * | 2016-08-30 | 2017-01-11 | 合肥趣玩科技有限公司 | Animation editing method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110888682A (en) * | 2019-12-03 | 2020-03-17 | 联想(北京)有限公司 | Display method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109978972B (en) | Method and device for editing characters in picture | |
KR102215766B1 (en) | Method and apparatus for generating synthetic picture | |
CN105577684A (en) | Anti-crawling methods, server, client and system | |
CN104866755B (en) | Setting method and device for background picture of application program unlocking interface and electronic equipment | |
US10484639B2 (en) | Image generation method and device | |
CN108959392A (en) | The method, device and equipment of rich text is shown on 3D model | |
KR102084300B1 (en) | Service implementation | |
CN108052565B (en) | Transparent processing method and device for page | |
CN106527864B (en) | Interface display method and device | |
CN106569700B (en) | Screenshot method and screenshot device | |
CN103425452A (en) | Multi-layer overlapping display method and device for mobile terminal | |
CN105516296A (en) | Configuration method and device of group identification image | |
JP2024504053A (en) | Two-dimensional code display method, apparatus, device and medium | |
CN105912668A (en) | Method and equipment for label management | |
CN113379865A (en) | Target object drawing method and system | |
JP2001265314A (en) | Display system, data display method, shadowed character font generating method, and recording medium | |
CN104657668A (en) | Terminal | |
US10120539B2 (en) | Method and device for setting user interface | |
CN109460273A (en) | A kind of information display method, device and electronic equipment | |
CN106022010A (en) | File display method and device | |
CN105554290A (en) | Wallpaper sharing method and device | |
CN108229626A (en) | A kind of two-dimensional code generation method and device | |
CN104615738A (en) | Remote sync based mobile terminal photo sharing method | |
CN104657991A (en) | Picture processing method | |
CN108256360B (en) | Sensitive information display method and terminal |
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 |