CN110109724A - A kind of display methods, device, terminal and storage medium - Google Patents
A kind of display methods, device, terminal and storage medium Download PDFInfo
- Publication number
- CN110109724A CN110109724A CN201910354677.8A CN201910354677A CN110109724A CN 110109724 A CN110109724 A CN 110109724A CN 201910354677 A CN201910354677 A CN 201910354677A CN 110109724 A CN110109724 A CN 110109724A
- Authority
- CN
- China
- Prior art keywords
- interface
- image
- display interface
- display
- kernel browser
- 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
Abstract
The embodiment of the invention discloses a kind of display methods, device, terminal and storage mediums, wherein, this method comprises: monitoring IE kernel browser corresponds to display interface, to determine whether the display interface changes, when determining that display interface changes, obtain the corresponding bitmap images of display interface, processing is filtered based on colour filter contraposition figure image was preset, obtain target image, target image is plotted to for the preset layered window of IE kernel browser, to realize the special-shaped interface display to IE kernel browser.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of display methods, device, terminal and storage mediums.
Background technique
With the development of development of Mobile Internet technology and the continuous promotion of user's aesthetic requirement, so that user is to webpage circle
Higher requirements are also raised for the display effect in face.In order to promote the display effect that webpage corresponds to display interface, it usually needs make
It is realized with webpage abnormity interface.Currently, webkit kernel can be used to realize, for using IE kernel in webpage abnormity interface
Browser for, cannot achieve webpage abnormity interface, seriously limit the application range at webpage abnormity interface.
Summary of the invention
The embodiment of the invention provides a kind of display methods, device, terminal and storage mediums, and IE kernel browsing may be implemented
The special-shaped interface display of device.
In a first aspect, this method is applied to IE kernel browser, the party the embodiment of the invention provides a kind of display methods
Method includes:
It monitors the IE kernel browser and corresponds to display interface, whether changed with the determination display interface;
When determining that the display interface changes, the corresponding bitmap images of the display interface are obtained;
Processing is filtered to institute's bit map images based on colour filter was preset, obtains target image;
The target image is plotted to for the preset layered window of IE kernel browser.
Second aspect, the embodiment of the invention provides a kind of display device, described device is configured at terminal, the terminal with
There are data connection, described devices to include: for IE kernel browser
Monitoring module corresponds to display interface for monitoring the IE kernel browser, with the determination display interface whether
Variation;
Processing module, for when determining that the display interface changes, obtaining the corresponding bitmap of the display interface
Image;
The processing module is also used to be based on to preset colour filter being filtered processing to institute's bit map images, obtains target
Image;
The processing module is also used to be plotted to the target image for the preset layering of IE kernel browser
Window.
The third aspect, the embodiment of the invention provides a kind of terminal, including processor and memory, the processor and institute
State memory interconnection, wherein for the memory for storing computer program, the computer program includes that program refers to
It enables, the processor is configured for calling described program instruction, executes method described in above-mentioned first aspect.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, and the computer program includes program instruction, and described program instructs when being executed by a processor
The processor is set to execute method described in above-mentioned first aspect.
5th aspect, the embodiment of the invention provides a kind of computer program products, wherein when the computer program product
In instruction when being executed by processor, execute method described in above-mentioned first aspect.
In conclusion terminal, which can monitor IE kernel browser, corresponds to display interface, to determine whether the display interface becomes
Change, when determining that display interface changes, obtain the corresponding bitmap images of display interface, based on presetting colour filter contraposition figure figure
As being filtered processing, target image is obtained, target image is plotted to for the preset layered window of IE kernel browser, from
And realize the special-shaped interface display to IE kernel browser.
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, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of display methods provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another display methods provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of display device provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of terminal provided in an 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.
There are data connections with IE kernel browser for terminal in the embodiment of the present application, in one embodiment, the terminal
Webpage can be loaded by IE kernel browser.Wherein, terminal can be smart phone, tablet computer, intelligent wearable device
Etc. the intelligent terminal that can load webpage by IE kernel browser.The terminal can also be to be equipped with through IE kernel browser
The smart machine of the application of webpage is loaded alternatively, the terminal can be equipped with the corresponding application of IE kernel browser.
Wherein, the IE kernel browser be include IE kernel browser general designation.For browser, browser is most
Important or core part is " browser kernel ", rendering engine used by browser kernel i.e. browser, rendering
Engine determines how browser shows the content of webpage and the format information of the page.Different browser kernels compiles webpage
The explanation for writing grammer is also different, therefore rendering (display) effect of same webpage in the browser of different kernels may also
It is different.Currently, when showing webpage, can not show special-shaped interface for the browser of IE kernel.
In order to solve the problems, such as that IE kernel browser can not show special-shaped interface, the embodiment of the present application proposes a kind of display
Method can monitor IE kernel browser and correspond to display interface, to determine whether display interface changes, when determining display circle
When face changes, the corresponding bitmap images of display interface are obtained, and be filtered to institute's bitmap images based on colour filter was preset
Processing obtains target image, and then target image is plotted to be directed to and states the preset layered window of IE kernel browser, so as to
To realize the special-shaped interface display to IE kernel browser.
In one embodiment, the corresponding operating system of terminal can be windows system, pass through IE kernel browser
During realizing special-shaped interface display, since the IE kernel used is what system carried, installation directory does not need additionally to increase
File can be used directly.If realizing special-shaped interface display using webkit kernel, the text entire webkit kernel is needed
Part is stored to program installation directory, since webkit kernel file volume is larger, seriously occupies system memory space, is influenced
Performance consumption.Therefore the embodiment of the present application realizes special-shaped interface display by IE kernel browser, also helps reduction to system
The occupancy in space.
Referring to Fig. 1, being a kind of flow diagram of display methods provided in an embodiment of the present invention.This method can be applied
In terminal.Specifically, this method may comprise steps of:
S101, monitoring IE kernel browser correspond to display interface, to determine whether display interface changes.
In one embodiment, terminal can load webpage by IE kernel browser, and after loading webpage, terminal can
It is monitored with the webpage (i.e. IE kernel browser corresponds to display interface) loaded to the IE kernel browser, it is clear to obtain IE kernel
Device of looking at corresponds to the interface image of display interface, and carries out image detection to the interface image, so that it is determined that the display interface whether
It changes.
S102, when determining that display interface changes, obtain the corresponding bitmap images of display interface.
S103, processing is filtered based on presetting colour filter contraposition figure image, obtain target image.
Wherein, bitmap images, also known as dot matrix image or drawing image are a single points by being referred to as pixel (picture element)
Composition.These points can carry out different arrangement and dyeing to constitute pattern.When amplifying bitmap, it can be seen that composition of relying
The countless single squares of whole image.The effect for expanding bitmap size is to increase single pixel, so that lines and shape be made to seem
It is irregular.However, it is continuous that the color and shape of bitmap images, which seems, if watching it from slightly remote position again.It is common
Bitmap processing software may include the included drawing software of image processing software (Photoshop, PS) and Windows system.
In one embodiment, the colour filter of crossing that can be preset for the corresponding bitmap images of display interface (is preset
Cross colour filter), wherein it can be the display color default setting that developer combines display interface that this, which preset colour filter,.For example,
The display color of general display interface is made of dominant hue " red " " indigo plant " " green ", and developer can will preset colour filter and determine
For the color other than dominant hue, in order to which terminal can filter out the unwanted color of bitmap images, filtered bitmap is allowed
Effect as shown in being presented abnormity.In this manner, special-shaped purpose can be reached by filtering color.
In one embodiment, this, which preset colour filter, to be unified setting, that is, all display interfaces general one
Preset colour filter.In one embodiment, due to different display interfaces, corresponding color characteristic is different, therefore, can be directed to
Different colour filters of presetting is arranged in different default display interfaces, establishes default display interface and closes with the corresponding of colour filter was preset
System, and the corresponding relationship is stored into storage region.In response to this, terminal can be according to default display interface and default
The corresponding relationship for crossing colour filter determines the corresponding goal filtering color of above-mentioned display interface, and based on goal filtering color to bitmap images
It is filtered processing, to obtain target image.
In one embodiment, since bitmap images include multiple pixels, each pixel corresponds to a color spy
Sign.In response to this, each pixel that terminal can include to bitmap images carries out color parsing, and is parsed according to color
As a result goal filtering color is determined from preset each cross in colour filter, and then bitmap images were carried out based on the goal filtering color
Filter processing, obtains target image.
In one embodiment, terminal can determine the ratio of each color in bitmap images based on color parsing result
Example, can the descending sequence of the ratio based on each color each color is ranked up, and will sequence after M (M be greater than
0 integer) color be determined as goal filtering color, and then processing is filtered to bitmap images based on the goal filtering color, obtained
To target image.Wherein, which it is pre-set according to experimental results to can be developer, it is subsequent can be according to reality
Demand is adjusted the M.
Illustratively, it is assumed that M 2, terminal based on the color parsing result to bitmap images determine bitmap images by
" red ", " indigo plant ", " green ", " white " and " Huang " 5 kinds of color compositions, wherein this 5 kinds of colors ratio shared in bitmap images, such as
Shown in table 1.The descending sequence of ratio based on each color is ranked up each color, obtained ranking results are as follows:
After sequence 2 color " white " and " Huang " can be determined as by " red ", " indigo plant ", " green ", " white " and " Huang ", in this case, terminal
Goal filtering color.And then processing is filtered to bitmap images based on " white " and " Huang ", obtain target image.
Table 1
Color | It is red | It is blue | It is green | It is white | It is yellow |
Ratio | 40% | 20% | 20% | 15% | 5% |
In one embodiment, due to each display interface correspond to the color for including in bitmap images total amount O (O be greater than 0
Integer) it is different, after the descending sequence of ratio of the terminal based on each color is ranked up each color, can will arrange
The color of K/O (rounding up, round numbers) is determined as goal filtering color after sequence.Wherein, which is the integer greater than 0, and the K and O can
It is subsequent that the M can be adjusted according to actual needs to be that developer is pre-set according to experimental results.
S104, target image is plotted to for the preset layered window of IE kernel browser.
In one embodiment, layered window can be set by the display window of IE browser in advance, when terminal is based on
It preset colour filter contraposition figure image and is filtered processing, and after obtaining target image, which can be plotted to be directed to and be somebody's turn to do
The preset layered window of IE kernel browser, to realize the special-shaped interface display to IE kernel browser.
As it can be seen that terminal can monitor IE kernel browser and correspond to display interface in embodiment shown in FIG. 1, it is aobvious to determine
Show whether interface changes, when determining that display interface changes, obtains the corresponding bitmap images of display interface, and based on default
It crosses colour filter contraposition figure image and is filtered processing, obtain target image, and then target image will be plotted to clear for IE kernel
The preset layered window of device of looking at, to realize the special-shaped interface display to IE kernel browser.
Referring to Fig. 2, for the flow diagram of another display methods provided in an embodiment of the present invention.This method can answer
For terminal.Specifically, this method may comprise steps of:
S201, layered window is set by the display window of IE kernel browser according to default setting rule, this sets
It sets rule and indicates the transparency and/or shape of set layered window.
In one embodiment, can transparency generated be arranged in layered window configuration interface in advance in developer
And/or shape etc., after the setup, setting rule (i.e. default setting rule) can be generated in terminal device, and according to this
The display window of IE kernel browser is set layered window by default setting rule.Wherein, the transparency of the layered window and/
Or rule match is arranged with default in shape.
Illustratively, if the transparency that default setting rule indicates set layered window is 90, then terminal is held
The transparency of the obtained layered window of row step S201 is also 90, that is, the transparency of the layered window and default setting rule
Then match.
In another example if the shape that default setting rule indicates set layered window is rectangle, then terminal executes
The shape of the obtained layered window of step S201 is also rectangle, that is, the shape of the layered window and default setting rule
Match.
S202, monitoring IE kernel browser correspond to display interface, to determine whether display interface changes.
In one embodiment, the available IE kernel browser of terminal corresponds to the interface image of display interface, and to boundary
Face image carries out image detection, when detecting in interface image in the presence of default cursor, determines that display interface changes.Its
In, which is that cursor can be moved in interface image, can choose specified content according to user demand.It is exemplary
Ground, the default cursor, such as can be the corresponding mobile cursor of mouse.
In one embodiment, terminal can also obtain the interface image that IE kernel browser corresponds to display interface, and right
Interface image carries out image detection and determines that display interface changes when detecting in interface image there are when presetting message frame.
In one embodiment, terminal can also obtain the interface image that IE kernel browser corresponds to display interface, and right
Interface image carries out image detection, when detecting that opening timing device carries out timing there are when pre-set image in interface image, when fixed
When device when corresponding to when the multiple of a length of preset duration threshold value, determine that display interface changes.Wherein, which is dynamic
Image, the dynamic image is constantly changing over time.
Illustratively, pre-set image is dynamic image, and preset duration threshold value is 3 minutes, and terminal obtains IE kernel browser
The interface image of corresponding display interface, and image detection is carried out to interface image, when detecting that there are Dynamic Graphs in interface image
When picture, opening timing device carries out timing.At some moment, terminal is detected when timer corresponds to a length of 3 minutes, this when it is a length of
1 times of preset duration threshold value can then determine that display interface changes.Further, over time, at another
Moment, terminal detect when timer corresponds to a length of 6 minutes, this when 2 times of a length of preset duration threshold value, can determine again aobvious
Show that interface changes, and so on.
In one embodiment, when timer corresponds to when a length of preset duration threshold multiple, terminal can be acquired once
IE kernel browser corresponds to the interface image of display interface, and associated storage interface image and the interface image under current duration
Corresponding current duration.
Exemplary, preset duration threshold value is 3 minutes, and terminal obtains the surface chart that IE kernel browser corresponds to display interface
Picture, and image detection is carried out to interface image, when detecting that opening timing device is counted there are when dynamic image in interface image
When.At some moment, terminal is detected when timer corresponds to a length of 3 minutes, this when 1 times of a length of preset duration threshold value, then
Available timer is when corresponding at a length of 3 minutes, and IE kernel browser corresponds to the interface image P1 of display interface, and by the P1
With 3 minutes associated storages of duration;Further, over time, at another moment, terminal detects that timer is corresponding
Shi Changwei 6 minutes, this when 2 times of a length of preset duration threshold value, when can obtain again a length of 6 minutes when timer corresponds to, IE
Kernel browser corresponds to the interface image P2 of display interface, and by the P2 and 6 minutes associated storages of duration;Further, with
The passage of time, at another moment, terminal is detected when timer corresponds to a length of 9 minutes, this when a length of preset duration threshold value
3 times, when can obtain again a length of 9 minutes when timer corresponds to, IE kernel browser corresponds to the interface image of display interface
P3, and by the P3 and 9 minutes associated storages of duration.Wherein, the corresponding relationship of each duration and interface image, may refer to table
2。
Table 2
Duration (minute) | Interface image |
3 | P1 |
6 | P2 |
9 | P3 |
In one embodiment, when timer corresponds to when the N multiple of a length of preset duration threshold value, terminal can also be obtained
IE kernel browser corresponds to the current interface image of current display interface and timer corresponds to IE kernel under history duration and browses
Device corresponds to the history interface image of display interface, when history N-1 times of a length of preset duration threshold value, wherein N is greater than 0
Integer.Further, terminal can also compare current interface image and history interface image, if comparison obtains current interface image
It is mismatched with history interface image, it is determined that display interface changes.
Illustratively, it is assumed that preset duration threshold value is 3 minutes, N 3, the corresponding relationship of each duration and interface image,
Such as table 2, a length of 9 minutes when timer is current, that is, when timer corresponds to a length of preset duration threshold value 3 multiples.Such case
Under, the available IE kernel browser of terminal corresponds to the current interface image (P3 i.e. in table 2) of current display interface, Yi Jiding
When device correspond to the history interface image (P2 i.e. in table 2) that history duration 6 minutes lower IE kernel browsers correspond to display interface.Into
One step, terminal can compare the image similarity between P2 and P3, if the image similarity that comparison obtains between P2 and P3 is small
It in default similarity threshold, then can determine that the P2 and P3 is mismatched, and then determine that display interface changes.
If comparison, which obtains the image similarity between P2 and P3, is more than or equal to default similarity threshold, can determine
The P2 and P3 matching, then can determine that display interface does not change, and continue to repeat step S202.
In one embodiment, terminal can also obtain IE kernel browser according to prefixed time interval and correspond to display interface
Interface image, and to carry out image similar for the interface image that will acquire and the history interface image obtained under previous interval
Degree comparison, if the image similarity that comparison obtains between the history interface image obtained under interface image and previous interval is small
In default similarity threshold, then it can determine that the history interface image obtained under interface image and previous interval mismatches,
And then determine that display interface changes.
S203, when determining that display interface changes, obtain the corresponding bitmap images of display interface.
S204, processing is filtered based on presetting colour filter contraposition figure image, obtain target image.
S205, target image is plotted to for the preset layered window of IE kernel browser.
Wherein, step S203~step 205 specific embodiment may refer to step S102~step in above-described embodiment
Rapid 104 associated description, details are not described herein again.
As it can be seen that terminal can be according to the regular display window by IE kernel browser of default setting in embodiment shown in Fig. 2
Mouth is set as layered window, and monitoring IE kernel browser corresponds to display interface, aobvious when determining to determine whether display interface changes
When showing that interface changes, the corresponding bitmap images of display interface are obtained, and carried out based on colour filter contraposition figure image was preset
Filter processing, obtains target image, and then target image is plotted to for the preset layered window of IE kernel browser, thus real
Now to the special-shaped interface display of IE kernel browser.
Referring to Fig. 3, being a kind of structural schematic diagram of display device provided in an embodiment of the present invention.The device can be applied
In terminal.There are data connections with IE kernel browser for the terminal, specifically, the apparatus may include:
Monitoring module 30 corresponds to display interface for monitoring the IE kernel browser, is with the determination display interface
No variation;
Processing module 31, for when determining that the display interface changes, obtaining the corresponding position of the display interface
Figure image;
The processing module 31 is also used to be based on to preset colour filter being filtered processing to institute's bit map images, obtains mesh
Logo image;
The processing module 31 is also used to be plotted to the target image for preset point of the IE kernel browser
Layer window.
In one embodiment, the monitoring module 30, is specifically used for:
Obtain the interface image that the IE kernel browser corresponds to display interface;
Image detection is carried out to the interface image, when detecting in the interface image in the presence of default cursor, is determined
The display interface changes.
In one embodiment, the monitoring module 30, also particularly useful for:
Obtain the interface image that the IE kernel browser corresponds to display interface;
Image detection is carried out to the interface image, when detecting in the interface image there are when presetting message frame, really
The fixed display interface changes.
In one embodiment, the monitoring module 30, also particularly useful for:
Obtain the interface image that the IE kernel browser corresponds to display interface;
Image detection is carried out to the interface image, when detecting in the interface image there are when pre-set image, is opened
Timer carries out timing;
When the timer corresponds to when the multiple of a length of preset duration threshold value, determine that the display interface changes.
In one embodiment, the monitoring module 30, also particularly useful for:
When the timer corresponds to when the N multiple of a length of preset duration threshold value, it is corresponding to obtain the IE kernel browser
It is corresponding aobvious that the current interface image and the timer of current display interface correspond to the IE kernel browser under history duration
Show the history interface image at interface, when history N-1 times of a length of preset duration threshold value, wherein N is whole greater than 0
Number;
The current interface image and the history interface image are compared, if comparison obtains the current interface image and institute
History interface image mismatch is stated, then triggers and executes the step of determination display interface changes.
In one embodiment, the processing module 31 is also used to browse the IE kernel according to default setting rule
The display window of device is set as layered window, and the default setting rule indicates the transparency of the set layered window
And/or shape.
In one embodiment, the processing module 31, is specifically used for: according to default display interface and presetting colour filter
Corresponding relationship determines the corresponding goal filtering color of the display interface;Based on the goal filtering color to institute's bit map images into
Row filtration treatment, obtains target image.
It should be noted that the function of each functional module of display device described in the embodiment of the present invention can be according to Fig. 1
Perhaps the method in embodiment of the method described in Fig. 2 implements the side that its specific implementation process is referred to Fig. 1 or Fig. 2
The associated description of method embodiment, details are not described herein again.
As it can be seen that monitoring module 30 can monitor the corresponding display circle of the IE kernel browser in embodiment shown in Fig. 3
Whether face is changed with the determination display interface;When processing module 31 determines that display interface changes by monitoring module 30
When, the corresponding bitmap images of display interface are obtained, and processing is filtered to institute's bit map images based on colour filter was preset, obtained
Target image, and then target image is plotted to for stating the preset layered window of IE kernel browser, so as to realize pair
The special-shaped interface display of IE kernel browser.
It referring to fig. 4, is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.In the present embodiment as shown in the figure
Terminal may include: one or more processors 401;Communication interface 402 and memory 403.Above-mentioned processor 401, communication
Interface 402 can be connected with memory 403 by bus.Memory 403 is for storing computer program, the computer program
Including program instruction, processor 401 is used to execute the program instruction of the storage of memory 403.Wherein, processor 401 is configured to use
In calling described program instruction execution: monitoring the IE kernel browser and correspond to display interface, be with the determination display interface
No variation;When determining that the display interface changes, the corresponding bitmap images of the display interface are obtained;Based on presetting
Colour filter is filtered processing to institute's bit map images, obtains target image;The target image is plotted in the IE
The preset layered window of core browser.
In one embodiment, the processor 401, is specifically used for:
Obtain the interface image that the IE kernel browser corresponds to display interface;
Image detection is carried out to the interface image, when detecting in the interface image in the presence of default cursor, is determined
The display interface changes.
In one embodiment, the processor 401, also particularly useful for:
Obtain the interface image that the IE kernel browser corresponds to display interface;
Image detection is carried out to the interface image, when detecting in the interface image there are when presetting message frame, really
The fixed display interface changes.
In one embodiment, the processor 401, also particularly useful for:
Obtain the interface image that the IE kernel browser corresponds to display interface;
Image detection is carried out to the interface image, when detecting in the interface image there are when pre-set image, is opened
Timer carries out timing;
When the timer corresponds to when the multiple of a length of preset duration threshold value, determine that the display interface changes.
In one embodiment, the processor 401, also particularly useful for:
When the timer corresponds to when the N multiple of a length of preset duration threshold value, it is corresponding to obtain the IE kernel browser
It is corresponding aobvious that the current interface image and the timer of current display interface correspond to the IE kernel browser under history duration
Show the history interface image at interface, when history N-1 times of a length of preset duration threshold value, wherein N is whole greater than 0
Number;
The current interface image and the history interface image are compared, if comparison obtains the current interface image and institute
History interface image mismatch is stated, then triggers and executes the step of determination display interface changes.
In one embodiment, the processor 401 is also used to regular by the IE kernel browser according to default setting
Display window be set as layered window, the default setting rule indicates the transparency of the set layered window
And/or shape.
In one embodiment, the processor 401, is specifically used for: according to default display interface and presetting colour filter
Corresponding relationship determines the corresponding goal filtering color of the display interface;Based on the goal filtering color to institute's bit map images into
Row filtration treatment, obtains target image.
It should be appreciated that in embodiments of the present invention, alleged processor 401 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
Reason device is also possible to any conventional processor etc..
The memory 403 may include read-only memory and random access memory, and to processor 401 provide instruction and
Data.The a part of of memory 403 can also include nonvolatile RAM.For example, memory 403 can also be deposited
Store up the information of device type.
In the specific implementation, processor 401 described in the embodiment of the present invention, communication interface 402 and memory 403 can be held
Implementation described in embodiment of the method described in row Fig. 1 or Fig. 2 provided in an embodiment of the present invention, also can be performed the present invention
The implementation of display device described in embodiment, details are not described herein.
A kind of computer readable storage medium, the computer-readable storage medium are provided in another embodiment of the invention
Matter is stored with computer program, and the computer program includes program instruction, and described program instructs realization when being executed by processor:
It monitors the IE kernel browser and corresponds to display interface, whether changed with the determination display interface;When determining display circle
When face changes, the corresponding bitmap images of the display interface are obtained;Institute's bit map images are carried out based on colour filter was preset
Filtration treatment obtains target image;The target image is plotted to for the preset layered window of IE kernel browser.
The computer readable storage medium can be the internal storage unit of terminal described in aforementioned any embodiment, example
Such as the hard disk or memory of terminal.The computer readable storage medium is also possible to the External memory equipment of the terminal, such as
The plug-in type hard disk being equipped in the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card) etc..Further, the computer readable storage medium can also be wrapped both
The internal storage unit for including the terminal also includes External memory equipment.The computer readable storage medium is described for storing
Other programs and data needed for computer program and the terminal.The computer readable storage medium can be also used for temporarily
When store the data that has exported or will export.
More than, only a specific embodiment of the invention, but scope of protection of the present invention is not limited thereto, and it is any to be familiar with
Those skilled in the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or substitutions,
These modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be wanted with right
Subject to the protection scope asked.
Claims (10)
1. a kind of display methods, which is characterized in that the method is applied to terminal, and there are numbers with IE kernel browser for the terminal
According to connection, which comprises
It monitors the IE kernel browser and corresponds to display interface, whether changed with the determination display interface;
When determining that the display interface changes, the corresponding bitmap images of the display interface are obtained;
Processing is filtered to institute's bit map images based on colour filter was preset, obtains target image;
The target image is plotted to for the preset layered window of IE kernel browser.
2. the method according to claim 1, wherein the corresponding display circle of the monitoring IE kernel browser
Whether face is changed with the determination display interface, comprising:
Obtain the interface image that the IE kernel browser corresponds to display interface;
Image detection is carried out to the interface image, when detecting in the interface image in the presence of default cursor, described in determination
Display interface changes.
3. the method according to claim 1, wherein the corresponding display circle of the monitoring IE kernel browser
Whether face is changed with the determination display interface, comprising:
Obtain the interface image that the IE kernel browser corresponds to display interface;
Image detection is carried out to the interface image and determines institute when detecting in the interface image there are when presetting message frame
Display interface is stated to change.
4. the method according to claim 1, wherein the corresponding display circle of the monitoring IE kernel browser
Whether face is changed with the determination display interface, comprising:
Obtain the interface image that the IE kernel browser corresponds to display interface;
Image detection is carried out to the interface image, when detecting in the interface image there are when pre-set image, opening timing
Device carries out timing;
When the timer corresponds to when the multiple of a length of preset duration threshold value, determine that the display interface changes.
5. according to the method described in claim 4, it is characterized in that, before the determination display interface changes, institute
State method further include:
When the timer corresponds to when the N multiple of a length of preset duration threshold value, it is corresponding current to obtain the IE kernel browser
The current interface image and the timer of display interface correspond to the corresponding display circle of the IE kernel browser under history duration
The history interface image in face, when history N-1 times of a length of preset duration threshold value, wherein N is the integer greater than 0;
The current interface image and the history interface image are compared, if comparison obtains the current interface image and described goes through
History interface image mismatches, then triggers and execute the step of determination display interface changes.
6. method according to claim 1-5, which is characterized in that the method also includes:
Layered window, the default setting rule are set by the display window of the IE kernel browser according to default setting rule
Then indicate the transparency and/or shape of the set layered window.
7. the method according to claim 1, wherein described be based on presetting colour filter to the progress of institute's bit map images
Filtration treatment obtains target image, comprising:
According to default display interface and the corresponding relationship for presetting colour filter, the corresponding goal filtering color of the display interface is determined;
Processing is filtered to institute's bit map images based on the goal filtering color, obtains target image.
8. a kind of display device, which is characterized in that described device is configured at terminal, and there are numbers with IE kernel browser for the terminal
According to connection, described device includes:
Whether monitoring module is corresponded to display interface for monitoring the IE kernel browser, is changed with the determination display interface;
Processing module, for when determining that the display interface changes, obtaining the corresponding bitmap images of the display interface;
The processing module is also used to be based on to preset colour filter being filtered processing to institute's bit map images, obtains target image;
The processing module is also used to be plotted to the target image for the preset layering window of the IE kernel browser
Mouthful.
9. a kind of terminal, which is characterized in that including processor and memory, the processor and the memory are connected with each other,
Wherein, the memory is for storing computer program, and the computer program includes program instruction, and the processor is configured
For calling described program to instruct, the method according to claim 1 to 7 is executed.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey
Sequence, the computer program include program instruction, and described program instruction executes the processor such as
The described in any item methods of claim 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910354677.8A CN110109724A (en) | 2019-04-29 | 2019-04-29 | A kind of display methods, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910354677.8A CN110109724A (en) | 2019-04-29 | 2019-04-29 | A kind of display methods, device, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110109724A true CN110109724A (en) | 2019-08-09 |
Family
ID=67487397
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910354677.8A Pending CN110109724A (en) | 2019-04-29 | 2019-04-29 | A kind of display methods, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110109724A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103279517A (en) * | 2013-05-27 | 2013-09-04 | 中山爱科数字科技股份有限公司 | Webpage content showing method |
CN105302569A (en) * | 2015-11-18 | 2016-02-03 | 网易(杭州)网络有限公司 | Method and device used for generating special-shaped window |
CN106446305A (en) * | 2016-12-23 | 2017-02-22 | 网际傲游(北京)科技有限公司 | System and method for Linux browser to realize Webkit/IE dual-core seamless browsing |
CN107341027A (en) * | 2017-05-18 | 2017-11-10 | 北京金山安全管理系统技术有限公司 | The generation method and generating means of user interface |
US20170331884A1 (en) * | 2014-09-29 | 2017-11-16 | Koninklijke Kpn N.V. | State Replication of Virtual Network Function Instances |
CN108415752A (en) * | 2018-03-12 | 2018-08-17 | 广东欧珀移动通信有限公司 | Method for displaying user interface, device, equipment and storage medium |
-
2019
- 2019-04-29 CN CN201910354677.8A patent/CN110109724A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103279517A (en) * | 2013-05-27 | 2013-09-04 | 中山爱科数字科技股份有限公司 | Webpage content showing method |
US20170331884A1 (en) * | 2014-09-29 | 2017-11-16 | Koninklijke Kpn N.V. | State Replication of Virtual Network Function Instances |
CN105302569A (en) * | 2015-11-18 | 2016-02-03 | 网易(杭州)网络有限公司 | Method and device used for generating special-shaped window |
CN106446305A (en) * | 2016-12-23 | 2017-02-22 | 网际傲游(北京)科技有限公司 | System and method for Linux browser to realize Webkit/IE dual-core seamless browsing |
CN107341027A (en) * | 2017-05-18 | 2017-11-10 | 北京金山安全管理系统技术有限公司 | The generation method and generating means of user interface |
CN108415752A (en) * | 2018-03-12 | 2018-08-17 | 广东欧珀移动通信有限公司 | Method for displaying user interface, device, equipment and storage medium |
Non-Patent Citations (2)
Title |
---|
小叶残风: "VC编程实现IE风格的界面", 《HTTPS://BLOG.51CTO.COM/U_3403450/808359》 * |
程序员互动联盟: "【专业技术】Win32创建异形窗口", 《HTTPS://CLOUD.TENCENT.COM/DEVELOPER/ARTICLE/1057419》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110310229B (en) | Image processing method, image processing apparatus, terminal device, and readable storage medium | |
CN106503004B (en) | Information processing method and device, and terminal | |
CN107799093A (en) | Adjust method, terminal and the computer-readable recording medium of screen luminance of terminal | |
CN104331524B (en) | Page display method, device and terminal | |
CN108509272B (en) | Method and device for copying GPU (graphics processing Unit) video memory texture to system memory and electronic equipment | |
CN103927142A (en) | Information processing method, protecting jacket and electronic equipment | |
US20170148191A1 (en) | Display method and display device | |
WO2019047465A1 (en) | Navigation bar display method and apparatus, and computer readable storage medium | |
CN111625160A (en) | Application icon adjusting method and device | |
CN106502689A (en) | A kind of display methods of status bar and device | |
CN104375748A (en) | Rapid terminal application program attribute setting method and corresponding terminal | |
CN105094759A (en) | Browse mode switch treatment method and device | |
CN106101868A (en) | Reduced graph generating method and generating means | |
CN103616954A (en) | Virtual keyboard system, implementation method and mobile terminal | |
EP4002823A1 (en) | Image information processing method and apparatus, electronic device and storage medium | |
CN110618852B (en) | View processing method, view processing device and terminal equipment | |
CN113316018B (en) | Method, device and storage medium for overlaying time information on video picture display | |
CN103092989A (en) | Image display method and device adaptable to terminal screen | |
CN106911937A (en) | The collocation method and system of a kind of live middle present banner background colour | |
CN105630893B (en) | A kind of display methods and device of group picture title | |
CN106874012A (en) | Theme background method to set up, device and electronic equipment | |
CN106445501A (en) | Display method of notification bar, and terminal | |
CN105338289B (en) | The processing method and processing device of electrostatic interference | |
CN106599257A (en) | Page shortcut realization method and electronic equipment | |
CN110109724A (en) | A kind of display methods, device, terminal 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190809 |
|
RJ01 | Rejection of invention patent application after publication |