CN104010217B - A kind of mixed display method and apparatus - Google Patents

A kind of mixed display method and apparatus Download PDF

Info

Publication number
CN104010217B
CN104010217B CN201410218911.1A CN201410218911A CN104010217B CN 104010217 B CN104010217 B CN 104010217B CN 201410218911 A CN201410218911 A CN 201410218911A CN 104010217 B CN104010217 B CN 104010217B
Authority
CN
China
Prior art keywords
layer
label
system interface
pixel
operation system
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.)
Active
Application number
CN201410218911.1A
Other languages
Chinese (zh)
Other versions
CN104010217A (en
Inventor
豆泽云
吴明毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Corp
Original Assignee
TCL Corp
Filing date
Publication date
Application filed by TCL Corp filed Critical TCL Corp
Priority to CN201410218911.1A priority Critical patent/CN104010217B/en
Publication of CN104010217A publication Critical patent/CN104010217A/en
Application granted granted Critical
Publication of CN104010217B publication Critical patent/CN104010217B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention is suitable for TV domain, provides a kind of mixed display method and apparatus;Applied to the television set for using Firefox OS systems to show the operation system interface in television interfaces upper layer, the mixed display method includes:It is the background setting transparency of the operation system interface in webpage layout engine;Go out one or more labels from interface document analysis, and parses the pattern of the label;Determine that one or more figure layer, the figure layer include one or more labels;The overlay order of the figure layer is determined according to the pattern of the label, it is superimposed All Layers in the background for be arranged transparency successively and is superimposed according to the overlay order of the figure layer and generates system interface figure layer, the system interface figure layer is shown in the operation system interface.If one or more transparent regions (the pixel composition that pixel number is zero) present in system interface figure layer, the above-mentioned zone that can pass through in the operation system interface sees the television interfaces positioned at lower layer.

Description

A kind of mixed display method and apparatus
Technical field
The invention belongs to TV domain more particularly to a kind of mixed display method and apparatus.
Background technology
For primary Firefox OS systems, which is to be directed to mobile phone, the equipment developments such as tablet computer. Firefox OS systems are after parsing the element of user interface, by the visual elements parsed and invisible element and portion Point visual elements synthesize one whole picture, and the whole picture is then superimposed upon the background that webpage layout engine Gecko is provided Upper display.
For television set, there are a television interfaces for television set, and TV programme are played by television interfaces, in addition electric Depending on machine there is also an operation system interface, which is not belonging to same level with the television interfaces, the operation system System interface is located on the television interfaces.
In the prior art, aobvious using Firefox OS systems for the television interfaces region Chong Die with operation system interface The operation system interface shown can block the television interfaces, block the reason is that:Firefox OS systems do not support the boundary being provided Transparency is arranged in the background in face, even if any pixel is not present in operation system interface, the interface that Firefox OS systems provide is still It can show not transparent background.To for the overlapping region of television interfaces and operation system interface, due to the operation system System interface is located on the television interfaces, is only capable of displaying operation interface, and can not show the television interfaces positioned at overlapping region.
Invention content
The purpose of the present invention is to provide a kind of mixed display method and apparatus, to solve to be based on to use FirefoxOS systems When system shows the operation system interface on upper layer, the problem of blocking positioned at next layer of television interfaces.
On the one hand, the present invention provides a kind of mixed display method, is applied to show in electricity using Firefox OS systems The television set of the operation system interface on visual interface upper layer, the mixed display method include:
It is the background setting transparency of the operation system interface in webpage layout engine;
Go out one or more labels from interface document analysis, and parses the pattern of the label;
Determine that one or more figure layer, the figure layer include one or more labels;
The overlay order that the figure layer is determined according to the pattern of the label exists successively according to the overlay order of the figure layer It has been arranged in the background of transparency to be superimposed All Layers and be superimposed and has generated system interface figure layer, has been shown in the operation system interface The system interface figure layer.
On the one hand, the present invention provides a kind of mixed display device, is applied to show in electricity using Firefox OS systems The television set of the operation system interface on visual interface upper layer, the mixed display device include:
Transparency is arranged in transparency unit, the background in webpage layout engine being the operation system interface;
Resolution unit for going out one or more labels from interface document analysis, and parses the sample of the label Formula;
Figure layer determination unit, for determining that one or more figure layers, the figure layer include that one or more parsings are single The label that element resolution goes out;
Display unit determines the overlay order of the figure layer according to the pattern of the label, according to the superposition of the figure layer Sequence is superimposed All Layers and is superimposed in the background for be arranged transparency successively generates system interface figure layer, is in the operation System interface figure layer described in interface display of uniting.
Beneficial effects of the present invention:For webpage layout engine provide background directly from webpage layout engine (such as Gecko transparency is arranged in source code), and then webpage layout engine can have centainly for the background that Firefox OS systems provide Transparency.In this way, after by each map overlay Background generation system interface figure layer, if present in system interface figure layer One or more transparent regions (the pixel composition that pixel number is zero), display driving shows this in the operation system interface The television interfaces positioned at lower layer can be seen through the above-mentioned zone in operation system interface described in this in the system interface figure layer.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some Embodiment for those of ordinary skill in the art without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the work flow diagram of mixed display method provided in an embodiment of the present invention;
Fig. 2 is the particular flow sheet of step S4 in Fig. 1;
Fig. 3 is a kind of optimized work flow chart of mixed display method provided in an embodiment of the present invention;
Fig. 4 is the composite structural diagram of mixed display device provided in an embodiment of the present invention;
Fig. 5 is the composite structural diagram of display unit 64 in Fig. 4.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Fig. 1 shows that the workflow of mixed display method provided in an embodiment of the present invention is only shown for ease of description With relevant part of the embodiment of the present invention.
The mixed display method provided in an embodiment of the present invention is applied to show in electricity using Firefox OS systems The television set of the operation system interface on visual interface upper layer, as shown in Figure 1, the mixed display method includes:
S1 is the background setting transparency of the operation system interface in webpage layout engine;
S2 goes out one or more labels from interface document analysis, and parses the pattern of the label;
S3 determines that one or more figure layer, the figure layer include one or more labels;
S4 determines the overlay order of the figure layer according to the pattern of the label, according to the figure layer overlay order according to It is secondary to be superimposed All Layers in the background for be arranged transparency and be superimposed generation system interface figure layer, in the operation system interface Show the system interface figure layer.
It is emphasized that in general, Firefox OS systems are for mobile terminals such as mobile phone, tablet computers.The present invention is implemented The Firefox OS systems are used for television set by example.Firefox OS systems for display background be webpage layout engine (such as Gecko it) provides, but since mobile terminal shows that icon or other information are required for (needing webpage layout engine using background The background of offer), no background can not be carried out and show the information such as icon, therefore there is no modification Firefox OS systems for the prior art This technical problem of the transparency of used background when display.It is another as stated in the background art, based on Firefox OS systems into When the third party application exploitation of row mobile terminal, used background when the display of Firefox OS systems can not be directly changed Transparency.
In order to meet the needs of transparence display operation system interface on a television set, the embodiment of the present invention is drawn from webpage layout The source code for holding up (such as Gecko) modifies to the transparency of the background of operation system interface;Concrete modification operation system interface The mode of transparency of background be:It is found from source code and the relevant parameter of transparency and changes parameter value, pass through modification The parameter value realizes the setting of any transparency in 0 to 100% range.In turn, webpage layout engine is successfully using Firefox The operation system interface of OS systems provides the background with certain transparency.Preferably, by changing webpage layout engine Source code in the relevant parameter of transparency, the background setting transparency which is provided is 100%, to make The background that transparency is 100% is provided with the operation system interface of Firefox OS systems.If existed in system interface figure layer The pixel that pixel value is zero can pass through the transparent region (picture that the transparent region is zero by pixel value in operation system interface Vegetarian refreshments forms) see television interfaces positioned at lower layer.
For the method for display operation system interface provided in an embodiment of the present invention, it is as follows that operation principle is described in detail:
It is superposition due to needing figure layer to be shown all when generating the system interface layer for being shown in operation system interface In background, need to set the background that webpage layout engine provides to certain transparency in step S1 first;In turn, in life When at system interface figure layer, based on being superimposed figure layer on the background with transparency.
It should also be noted that since the operation system interface is made of label;It needs artificially to be pre-designed out-of-bounds Face design document (such as by artificially writing the interface file), the sample of label, label is gone out by the interface document definition Formula, tag tree etc..
In step s3, when determining one or more figure layers, HTML parsings is carried out to interface file in advance and are solved Tag tree is precipitated (node of the tag tree is label);In turn, which figure layer packet determined according to preset rules (can artificially change) Containing which of tag tree label;Alternatively, determining which figure layer includes which of tag tree label at random.
As an implementation, all under the label and the node that are included by a node when determining figure layer The label that child node (all child nodes in the subtree being made of root using the node) includes determines in a figure layer.Preferably It is to be limited to the label number that determining each figure layer is included within the scope of predetermined number, i.e., if institute under the node There is the child node number that child node (all child nodes in the subtree being made of root using the node) includes more, then not by the section The label that all child nodes (all child nodes in the subtree being made of root using the node) under point and the node include determines In a figure layer, select the node for meeting predetermined number area requirement with determination from all child nodes in the subtree of the node One figure layer, and then multiple figure layers are determined under the node.
In addition CSS parsings also are carried out to the interface file, CSS parses the pattern of each label in tag tree. After being configured using the pattern that CSS is parsed to the label in figure layer, executes step S4 and carry out map overlay.It need to emphasize It is to include according to the pattern that CSS is parsed:Size, the face of each label of the position of each label, each label Color etc..It therefore, can be further by the pattern of label (size of position and each label with specific reference to each label) Determine the overlay order of the figure layer comprising the label.Preferably, according in tag tree father and son's node relationships and each institute The pattern (size of position and the label with specific reference to the label) for stating label determines the overlay order of label, and then really Determine the overlay order of figure layer.
After good figure layer to be determined, lowest level be background on the basis of according to map overlay sequence by each figure layer successively All Layers and background superposition are generated a figure layer (i.e. system interface figure layer) by superposition.It is provided by Firefox OS systems Display drive and in operation system interface show the system interface figure layer.
It should also be noted that be made of label due to each figure layer of generation, it is superimposed system circle of synthesis Face figure layer also includes label (label that each figure layer is included).There may be skies between label in system interface figure layer Gap, the gap are the region for only not having with background any label, and the pixel number for the pixel which includes is zero;It is right In inside tags, there is also the pixels that pixel number is zero.Due to being that each map overlay is synthesized the system in background Interface figure layer, be that can penetrate system circle in the case where background has certain transparency (as long as transparency is not zero) (transparent region includes for transparent region in the figure layer of face:1, the pixel that pixel number is zero in system interface figure layer, 2, system circle Gap (pixel number for the pixel that the gap includes is zero) in the figure layer of face) see below the system interface figure layer Television interfaces.
Preferably, when the transparency of background be 100% when, can according in the system interface figure layer whether there is pixel number The pixel that value is zero judges whether to see television interfaces through the system interface figure layer, if it is decided that there are pixel numbers The pixel that value is zero, can pass through the pixel composition that the pixel number is zero one or more transparent regions see and being located under The television interfaces of layer.
Fig. 2 shows the detailed processes of step S4 in mixed display method provided in an embodiment of the present invention, for the ease of retouching It states, illustrates only and the relevant part of the embodiment of the present invention.
In a preferred embodiment, as shown in Fig. 2, described show system circle in the operation system interface The step for face figure layer, specifically includes:
Each pixel correspondence in the system interface figure layer is added to frame buffer zone by S41;
S42 detects the pixel for being less than default value in the frame buffer zone with the presence or absence of pixel number, if detected Pixel number is less than the pixel of default value, and the pixel detected is deleted in the frame buffer zone, according to slow from the frame It rushes the pixel that area is read and generates picture, in the picture that operation system interface display generates.
The present embodiment is that the display driving that Firefox OS systems provide shows the operation system interface, therefore, is needed The system interface figure layer is rendered into frame buffer zone, i.e., by the pixel number of each pixel in the system interface figure layer In corresponding storage to frame buffer zone.In turn, in order to further ensure that can penetrate the transparent region in operation system interface, (this is saturating Area pellucida domain is:The one or more regions for the pixel composition that pixel number is zero in system interface figure layer) see television interfaces, (preferably, which is driven to gralloc drive modules for the pre- display driving for first passing through the offer of Firefox OS systems;It needs Illustrate, the gralloc drive modules be the smart television for different manufacturers and to gralloc templates (such as: Gralloc.default.so obtained after) writing) pixel number of each pixel in frame buffer zone is detected, it detects It is less than the pixel of default value with the presence or absence of pixel number, the pixel of default value is less than for the pixel number detected Point deletes the relevant pixel number of pixel with detection in the frame buffer zone.
It is emphasized that the default value is close to zero;Further, the default value can be according to the saturating of background Lightness and change size, reduce with the increase of transparency;The default value being arranged is to filter out:Frame buffer zone In pixel number be zero pixel.When transparency is 100%, the default value may be selected to level off to zero numerical value (0.0005), or even the default value can be set as zero.
In this way, the pixel for being zero for pixel number present in frame buffer zone, the display of Firefox OS systems is driven It moves directly from frame buffer zone to corresponding pixel point deletion (specifically deleting the pixel data of the pixel);This is aobvious Show driving using is read from frame buffer zone pixel data when can read less than deleted pixel data, i.e., can not read and The corresponding data of pixel that pixel number is zero can not add to the display driving of FirefoxOS systems when generating picture The pixel that pixel number is zero in the figure layer of adding system interface forms a pixel loophole;In this way, correspondence system interface figure layer The transparent region for the pixel composition that middle pixel number is zero, will present in the picture of generation as loophole.The size of the loophole, Position and number are identical as the size of the transparent region, position and number in system interface figure layer.Therefore, it can pass through aobvious using this Show the television interfaces for driving the picture shown in operation system interface to see positioned at lower layer.
As the embodiment of the invention, step S41 is executed by graphic package interface OpenGL, by the system Interface figure layer is rendered into frame buffer zone, i.e., each pixel correspondence in the system interface figure layer is added to frame buffer zone.In This executes S42 simultaneously, using gralloc drive modules, detects to be less than with the presence or absence of pixel number in the frame buffer zone and preset The pixel of numerical value is deleted in the frame buffer zone and is detected if detecting that pixel number is less than the pixel of default value Pixel, picture is generated according to the pixel that is read from the frame buffer zone, shows and generates in the operation system interface Picture.Since OpenGL and gralloc drive modules belong to open source technology, and Firefox OS systems can be suitable for System, convenient for integrating OpenGL and gralloc drive modules in Firefox OS systems.
Preferably, if the television interfaces and operation system interface that are marked off on the display screen of television set only have portion Divide overlapping, then it is specific to whether there is the step for pixel number is less than the pixel of default value for the detection frame buffer zone Including:For the operation system interface region Chong Die with the television interfaces, the described of the frame buffer zone storage is detected It is less than the pixel of default value in the pixel that region includes with the presence or absence of pixel number.
Resource occupation when in order to reduce the feeling of unreality of picture, reducing the time of delete processing and reduce delete processing, Only for the operation system interface region Chong Die with the television interfaces, it is made whether that there are pixel numbers to be less than present count The detection of the pixel of value;Delete the pixel data corresponding with the pixel detected in frame buffer zone;It is buffered using from frame The pixel data that area is read generates picture, and the picture is shown in operation system interface.
The picture for display region Chong Die with television interfaces, if in the picture that frame buffer zone deletes and detects The corresponding pixel data of vegetarian refreshments, meeting is generated in the overlapping region has one or more loopholes, and user can be intuitively from through leakage See the television interfaces of lower layer in hole.The picture for display region not be overlapped with television interfaces, can be displayed without loophole Picture, even if in the picture there are pixel number be less than default value pixel (for transparent region).
In an embodiment of the present invention, after HTML parses the position of tag tree and label in interface file, When step S3 divides figure layer, the step for determining one or more figure layers, is specially:It is corresponded to for each application program Ground determines one or more figure layers.
The advantages of above-mentioned technological means is can to ensure an application program completely body in one or more figure layers It is existing;And it is emphasized that according to one or more figure layers that an application program determines, there is the superposition being completely covered to close System;That is, it is subtree that the application program, which is corresponded in tag tree, with the predetermined number below the root node of subtree and the root node Child node forms a figure layer in range, and a figure layer is determined further according to multiple subtrees present in the subtree are corresponding respectively, this Sample can determine whether out a maximum figure layer of region area, then determine the multiple small figure layers being located in the region area, they are right Answer same application.Preferably, if application program is not complicated enough, i.e., subtree corresponding with the application program is included Node few (being not above predetermined number range, or several nodes more than predetermined number range) is only that an application program is true A fixed figure layer.
Fig. 3 shows a kind of Optimizing Flow of mixed display method provided in an embodiment of the present invention, for ease of description, only It shows and the relevant part of the embodiment of the present invention.
In one embodiment of the invention, as shown in figure 3, a kind of optimization stream of mixed display method provided in an embodiment of the present invention Journey includes:A1 is the background setting transparency of the operation system interface in webpage layout engine;A2 sets the interface Meter file carries out HTML parsings and parses tag attributes possessed by each label that tag tree and the tag tree include, needle CSS parsings are carried out to the interface file to each label that the tag tree includes and parse the sample of each label Formula;A3 determines that one or more figure layers, each label for including for the figure layer are correspondingly arranged the mark that HTML is parsed respectively The pattern that label attribute and CSS are parsed;A4 determines the overlay order of the figure layer according to the pattern of the label, according to described The overlay order of figure layer is superimposed All Layers and is superimposed in the background for be arranged transparency successively generates system interface figure layer, The operation system interface shows the system interface figure layer.Wherein, step A1 is with step S1, and step A4 is with step S4, herein It does not repeat.
In the present embodiment, step S2 is optimized for step A2, step S3 is optimized for step A3;It is specific as follows:For The optimization of step S2, it is described from interface document analysis go out one or more labels and parse the label pattern this Step is specially:HTML parsings are carried out to the interface file and parse tag tree and each of the tag tree includes Tag attributes possessed by label, each label for including for the tag tree carry out CSS solutions to the interface file Analyse and parse the pattern of each label.The step for optimization for step S3, determining one or more figure layers, is specific For:Determine that one or more figure layers, each label for including for the figure layer are correspondingly arranged the label that HTML is parsed respectively The pattern that attribute and CSS are parsed.
Specifically in the present embodiment, when carrying out figure layer division, to the label that each figure layer is included, HTML is used respectively The pattern that the tag attributes and CSS parsed parse is configured so that figure layer present certain display effect, animation or The other rendering effects of person.
In a preferred embodiment, step A2 is executed by being laid out parsing module, passes through interprocess communication (Inter- Process Communication, IPC) tag tree, tag attributes and pattern that office's parsing module parses be forwarded to layer Administrative unit;Layer-management unit is when executing step A3, the label that each figure layer is included, and corresponding use is received by IPC The tag attributes that parse of HTML be configured, and be configured by the CSS that IPC the is received patterns parsed.
Those of ordinary skill in the art be further appreciated that implement the method for the above embodiments be can It is completed with instructing relevant hardware by program, the program can be stored in a computer read/write memory medium In, described storage medium, including ROM/RAM, disk, CD etc..
It should be noted that mixed display device provided in an embodiment of the present invention is shown with provided in an embodiment of the present invention mix Show that method is mutually applicable in.
Fig. 4 shows the composed structure of mixed display device provided in an embodiment of the present invention, for ease of description, only shows With relevant part of the embodiment of the present invention.
Mixed display device provided in this embodiment is applied to show in television interfaces using Firefox OS systems The television set of the operation system interface of layer;The mixed display device is as shown in figure 4, include:
Transparency is arranged in transparency unit 61, the background in webpage layout engine being the operation system interface;
Resolution unit 62 for going out one or more labels from interface document analysis, and parses the label Pattern;
Figure layer determination unit 63, for determining that one or more figure layers, the figure layer include one or more parsings The label that unit resolves go out;
Display unit 64 determines the overlay order of the figure layer according to the pattern of the label, according to the folded of the figure layer Add sequence to be superimposed All Layers in the background for be arranged transparency successively and be superimposed and generate system interface figure layer, in the operation System interface shows the system interface figure layer.
Fig. 5 shows the concrete composition structure of display unit 64 in mixed display device provided in an embodiment of the present invention, is Convenient for description, illustrate only and the relevant part of the embodiment of the present invention.
In an embodiment of the present invention, the display unit 64 specifically includes:
Drafting module 641, for each pixel correspondence in the system interface figure layer to be added to frame buffer zone;
Driver module 642 is less than default value for detecting in the frame buffer zone with the presence or absence of pixel number Pixel deletes the pixel detected in the frame buffer zone if detecting that pixel number is less than the pixel of default value Point generates picture according to the pixel read from the frame buffer zone, in the picture that operation system interface display generates.
In an embodiment of the present invention, the driver module 642 also particularly useful for:
For the operation system interface region Chong Die with the television interfaces, the institute of the frame buffer zone storage is detected State the pixel for being less than default value in the pixel that region includes with the presence or absence of pixel number.
In an embodiment of the present invention, the figure layer determination unit 63 also particularly useful for:It is corresponded to for each application program Ground determines one or more figure layers.
In an embodiment of the present invention, the resolution unit 62 is specifically used for:HTML is carried out to the interface file Tag attributes possessed by each label that tag tree and the tag tree include are parsed and parse, for the tag tree packet The each label contained carries out CSS parsings to the interface file and parses the pattern of each label;
The figure layer determination unit 63 is specifically used for:Each of determine one or more figure layer, include for the figure layer Label is correspondingly arranged the tag attributes that HTML is parsed and the pattern that CSS is parsed respectively.
It will be appreciated by those skilled in the art that for each list included by mixed display device provided in an embodiment of the present invention Member is only divided according to function logic, but is not limited to above-mentioned division, as long as corresponding function can be realized i.e. It can;In addition, the specific name of each functional unit is also only to facilitate mutually distinguish, the protection model being not intended to restrict the invention It encloses.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that The specific implementation of the present invention is confined to these explanations.For those of ordinary skill in the art to which the present invention belongs, exist Several equivalent substitute or obvious modifications are made under the premise of not departing from present inventive concept, and performance or use is identical, all should It is considered as belonging to present invention scope of patent protection determined by the appended claims.

Claims (10)

1. a kind of mixed display method, which is characterized in that be applied to show in television interfaces using Firefox OS systems The television set of the operation system interface of layer, the mixed display method include:
It is the background setting transparency of the operation system interface in webpage layout engine;
Go out one or more labels from interface document analysis, and parses the pattern of the label, the pattern of the label The size of position and each label including each label;
Determine that one or more figure layer, the figure layer include one or more labels;
The overlay order that the figure layer is determined according to the pattern of the label is being set successively according to the overlay order of the figure layer Set in the background of transparency be superimposed All Layers and be superimposed generate system interface figure layer, shown in the operation system interface described in System interface figure layer.
2. mixed display method as described in claim 1, which is characterized in that it is described shown in the operation system interface described in The step for system interface figure layer, specifically includes:
Each pixel correspondence in the system interface figure layer is added to frame buffer zone;
The pixel for being less than default value in the frame buffer zone with the presence or absence of pixel number is detected, if detecting pixel number Less than the pixel of default value, the pixel detected is deleted in the frame buffer zone, is read according to from the frame buffer zone The pixel arrived generates picture, in the picture that operation system interface display generates.
3. mixed display method as claimed in claim 2, which is characterized in that the detection frame buffer zone whether there is picture Prime number value be less than default value pixel the step for specifically include:
For the operation system interface region Chong Die with the television interfaces, the area of the frame buffer zone storage is detected It is less than the pixel of default value in the pixel that domain includes with the presence or absence of pixel number.
4. mixed display method as described in claim 1, which is characterized in that the step for the determining one or more figure layer Specially:
One or more figure layers are accordingly determined for each application program.
5. the mixed display method as described in Claims 1-4 is any, which is characterized in that described from interface document analysis Go out one or more labels and is specially the step for parsing the pattern of the label:The interface file is carried out HTML parses and parses tag attributes possessed by each label that tag tree and the tag tree include, for the label Each label that tree includes carries out CSS parsings to the interface file and parses the pattern of each label;
The step for determining one or more figure layer is specially:It determines one or more figure layer, includes for the figure layer Each label be correspondingly arranged the tag attributes that HTML is parsed and the pattern that CSS is parsed respectively.
6. a kind of mixed display device, which is characterized in that be applied to show in television interfaces using Firefox OS systems The television set of the operation system interface of layer, the mixed display device include:
Transparency is arranged in transparency unit, the background in webpage layout engine being the operation system interface;
Resolution unit for going out one or more labels from interface document analysis, and parses the pattern of the label, institute The pattern for stating label includes the size of the position and each label of each label;
Figure layer determination unit, for determining that one or more figure layers, the figure layer include one or more resolution unit solutions The label of precipitation;
Display unit determines the overlay order of the figure layer according to the pattern of the label, according to the overlay order of the figure layer All Layers are superimposed in the background for be arranged transparency successively and are superimposed and generate system interface figure layer, in operating system circle Face shows the system interface figure layer.
7. mixed display device as claimed in claim 6, which is characterized in that the display unit specifically includes:
Drafting module, for each pixel correspondence in the system interface figure layer to be added to frame buffer zone;
Driver module, for detecting the pixel for being less than default value in the frame buffer zone with the presence or absence of pixel number, If detecting that pixel number is less than the pixel of default value, the pixel detected is deleted in the frame buffer zone, according to The pixel read from the frame buffer zone generates picture, in the picture that operation system interface display generates.
8. mixed display device as claimed in claim 7, which is characterized in that the driver module also particularly useful for:
For the operation system interface region Chong Die with the television interfaces, the region packet of detection frame buffer zone storage It is less than the pixel of default value in the pixel contained with the presence or absence of pixel number.
9. mixed display device as claimed in claim 6, which is characterized in that the figure layer determination unit also particularly useful for:
One or more figure layers are accordingly determined for each application program.
10. the mixed display device as described in claim 6 to 9 is any, which is characterized in that the resolution unit is specifically used for: The interface file is carried out HTML parsings and parses each label that tag tree and the tag tree include to be had Tag attributes, each label for including for the tag tree carries out CSS parsings to the interface file and parses The pattern of each label;
The figure layer determination unit is specifically used for:Determine one or more figure layer, each label point for including for the figure layer It is not correspondingly arranged the tag attributes that HTML is parsed and the pattern that CSS is parsed.
CN201410218911.1A 2014-05-22 A kind of mixed display method and apparatus Active CN104010217B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410218911.1A CN104010217B (en) 2014-05-22 A kind of mixed display method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410218911.1A CN104010217B (en) 2014-05-22 A kind of mixed display method and apparatus

Publications (2)

Publication Number Publication Date
CN104010217A CN104010217A (en) 2014-08-27
CN104010217B true CN104010217B (en) 2018-08-31

Family

ID=

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101213759A (en) * 2005-08-31 2008-07-02 Sk电信有限公司 Method and mobile telecommunication terminal for customizing user interface
CN101794189A (en) * 2009-09-22 2010-08-04 俞长根 Method for displaying image
CN101917522A (en) * 2010-09-10 2010-12-15 深圳市五巨科技有限公司 Method and device for updating list style of mobile terminal
US7987484B2 (en) * 2007-06-24 2011-07-26 Microsoft Corporation Managing media content with a self-organizing map
CN102663126A (en) * 2012-04-23 2012-09-12 奇智软件(北京)有限公司 Method and device for displaying webpage in mobile terminal
CN102722319A (en) * 2012-05-18 2012-10-10 明基电通有限公司 Display method and display device for human-computer interface

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101213759A (en) * 2005-08-31 2008-07-02 Sk电信有限公司 Method and mobile telecommunication terminal for customizing user interface
US7987484B2 (en) * 2007-06-24 2011-07-26 Microsoft Corporation Managing media content with a self-organizing map
CN101794189A (en) * 2009-09-22 2010-08-04 俞长根 Method for displaying image
CN101917522A (en) * 2010-09-10 2010-12-15 深圳市五巨科技有限公司 Method and device for updating list style of mobile terminal
CN102663126A (en) * 2012-04-23 2012-09-12 奇智软件(北京)有限公司 Method and device for displaying webpage in mobile terminal
CN102722319A (en) * 2012-05-18 2012-10-10 明基电通有限公司 Display method and display device for human-computer interface

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
面向智能电视的嵌入式浏览器平台的研究与设计;肖梦华;《硕士研究生毕业论文》;20130512;第2.1章-第4.5章以及附图3.3 *

Similar Documents

Publication Publication Date Title
US20230108680A1 (en) Screen Projection Method and Terminal Device
CN102591848B (en) Selection of foreground characteristics based on background
KR100962920B1 (en) Visual and scene graph interfaces
CN104216691B (en) A kind of method and device for creating application
CN106155454A (en) A kind of interface display method, device and electronic equipment
ZA200403495B (en) System for hosting graphical layout/presentation objects
CN102298763A (en) Method and system for generating picture identifying code
US9223468B2 (en) Display apparatus, display method and program
CN104038807A (en) Layer mixing method and device based on open graphics library (OpenGL)
CN105224163B (en) interface display method and device
CN111259644A (en) Rich text processing method, editor, equipment and storage medium
CN104866318A (en) Method and device for displaying label pages in multiple windows
CN105404512B (en) A kind of application window interface change method and device
CN106610826A (en) Making method and device for online scenario application
CN108681454A (en) A kind of webpage visualization component development method
BR112012006020A2 (en) method to redesign a user interface of a consumer electronic device and device to redesign a user interface of a consumer electronic device
CN105824517A (en) Implementation method and apparatus of desktop
CN101266693A (en) A method for dynamic control of animation operation process
CN107402766A (en) Page layout management method and device
CN110506267A (en) The rendering of digital assembly background
EP4358028A1 (en) Graphic rendering method and apparatus, and storage medium
CN114995929B (en) Popup window display method and device
CN106126084B (en) A kind of display methods for electric paper ink screen
CN101436306B (en) Method, apparatus and video display card for implementing image special effect
CN108134906A (en) Image processing method and its system

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant