CN107436765A - The treating method and apparatus of view control - Google Patents
The treating method and apparatus of view control Download PDFInfo
- Publication number
- CN107436765A CN107436765A CN201710622325.7A CN201710622325A CN107436765A CN 107436765 A CN107436765 A CN 107436765A CN 201710622325 A CN201710622325 A CN 201710622325A CN 107436765 A CN107436765 A CN 107436765A
- Authority
- CN
- China
- Prior art keywords
- view control
- view
- control group
- components
- different
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 230000033001 locomotion Effects 0.000 claims description 23
- 238000003672 processing method Methods 0.000 claims description 13
- 230000000694 effects Effects 0.000 abstract description 10
- 239000002699 waste material Substances 0.000 abstract description 5
- 230000000007 visual effect Effects 0.000 description 12
- 230000008859 change Effects 0.000 description 8
- 238000004364 calculation method Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000009471 action Effects 0.000 description 5
- 230000003321 amplification Effects 0.000 description 4
- 230000006399 behavior Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000003199 nucleic acid amplification method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 2
- 238000005286 illumination Methods 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- PCTMTFRHKVHKIS-BMFZQQSSSA-N (1s,3r,4e,6e,8e,10e,12e,14e,16e,18s,19r,20r,21s,25r,27r,30r,31r,33s,35r,37s,38r)-3-[(2r,3s,4s,5s,6r)-4-amino-3,5-dihydroxy-6-methyloxan-2-yl]oxy-19,25,27,30,31,33,35,37-octahydroxy-18,20,21-trimethyl-23-oxo-22,39-dioxabicyclo[33.3.1]nonatriaconta-4,6,8,10 Chemical compound C1C=C2C[C@@H](OS(O)(=O)=O)CC[C@]2(C)[C@@H]2[C@@H]1[C@@H]1CC[C@H]([C@H](C)CCCC(C)C)[C@@]1(C)CC2.O[C@H]1[C@@H](N)[C@H](O)[C@@H](C)O[C@H]1O[C@H]1/C=C/C=C/C=C/C=C/C=C/C=C/C=C/[C@H](C)[C@@H](O)[C@@H](C)[C@H](C)OC(=O)C[C@H](O)C[C@H](O)CC[C@@H](O)[C@H](O)C[C@H](O)C[C@](O)(C[C@H](O)[C@H]2C(O)=O)O[C@H]2C1 PCTMTFRHKVHKIS-BMFZQQSSSA-N 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 210000004209 hair Anatomy 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001151 other effect Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Processing Or Creating Images (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The embodiment of the present invention provides a kind for the treatment of method and apparatus of view control.This method includes:Obtain the user interface UI components of application software;Division operation is performed to the view control in the UI components according to default control overlay condition, obtain multiple view control groups, the view control group includes at least one view control, overlapped between the view control of at least two view control groups in the multiple view control group;Animation operation is performed to view control group, obtains animated graphical overview.The method of the present invention, the stereo display effect of TV is improved, the data for avoiding 3D elements waste, and save the internal memory of TV.
Description
Technical field
The present embodiments relate to stereo display technique, more particularly to a kind for the treatment of method and apparatus of view control.
Background technology
Intelligent television is amusement equipment common in people's life, and it brings people's entertainment way of more diversification.With
The demand that user to intelligent television is more and more, realized from technology, performance it is leading can not meet the market demand, therefore,
Innovation has become an important factor for all big enterprises contention client in user interface (User Interface, abbreviation UI).In UI
Novel aspects, 3D elements have been applied in large-size screen monitors TV at present, but because the content that flat-surface television needs show is limited, can not be complete
Entirety reveals 360 degree of visual angles of 3D effect, therefore causes data to waste;Also, for 3D elements when being shown on television image
Constantly redrawing for algorithm is needed, TV EMS memory occupation is larger, and Caton phenomenon occurs for low configuration type, causes 3D elements to exist
Using seldom on TV market.
In order to avoid above mentioned problem, prior art uses following scheme:It is different for the upper layer software (applications) of intelligent television
The UI components of software are different, and any UI components are all made up of basic Android controls (i.e. view control), such as a point
It is probably to be made up of background picture (layout), word (TextView) and small picture (ImageView) to hit card.Therefore,
The processing mode of prior art is all to add shade or illumination and other spatial displacements (such as scaling, mobile, thoroughly to UI components
Bright change etc.) realize the stereoeffect of display.
But the processing mode of prior art, stereoeffect unobvious of the TV in display.
The content of the invention
The embodiment of the present invention provides a kind for the treatment of method and apparatus of view control, exists to solve TV in the prior art
The poor technical problem of stereoeffect during display.
In a first aspect, the embodiment of the present invention provides a kind of processing method of view control, including:
Obtain the user interface UI components of application software;
Division operation is performed to the view control in the UI components according to default control overlay condition, obtains multiple regard
Figure set of controls, the view control group include at least one view control, and at least two in the multiple view control group regard
It is overlapped between the view control of figure set of controls;
Animation operation is performed to the view control group, obtains animated graphical overview.
In a kind of possible embodiment of the embodiment of the present invention, it is described according to default control overlay condition to described
View control in UI components performs division operation, obtains multiple view control groups, specifically includes:
By view control overlapping in the view control of the UI components, respectively as the first different view control groups;
By nonoverlapping view control in the view control of the UI components, as the second view control group.
In the alternatively possible embodiment of the embodiment of the present invention, it is described according to default control overlay condition to institute
The view control stated in UI components performs division operation, obtains multiple view control groups, specifically includes:
Overlapping region in the UI components is more than or equal to the view control of predetermined threshold value, respectively as different the
One view control group;
Overlapping region in the UI components is less than to the view control of the predetermined threshold value, as the second view control group.
In another possible embodiment of the embodiment of the present invention, animation operation is performed to the view control group,
Animated graphical overview is obtained, is specifically included:
According to inside and outside order of the view control in UI components in display, determine that the animation operation of the view control group is held
Row order;
Animation operation execution sequence and default time interval according to the view control group, to the view control group
Animation operation is performed, obtains the animated graphical overview;Wherein, the time interval performs animation for two adjacent view control groups
The time difference carved at the beginning of operation.
In another possible embodiment of the embodiment of the present invention, the time interval performs equal to the UI components
[1/6,1/4] of total duration needed for animation operation.
It is described that animation behaviour is performed to the view control group in the alternatively possible embodiment of the embodiment of the present invention
Make, specifically include:
Different shades is added for different view control groups.
It is described that animation behaviour is performed to the view control group in the alternatively possible embodiment of the embodiment of the present invention
Make, specifically include:
Assembled for different view controls and put different brightness.
It is described that animation behaviour is performed to the view control group in the alternatively possible embodiment of the embodiment of the present invention
Make, in addition to:
Assembled for different view controls and put different movement ranges, so that the amplitude of different view control group motions is not
Together.
Second aspect, the embodiment of the present invention provide a kind of processing unit of view control, including:
Acquisition module, for obtaining the user interface UI components of application software;
Grouping module, for performing packet behaviour to the view control in the UI components according to default control overlay condition
Make, obtain multiple view control groups, the view control group includes at least one view control, in the multiple view control group
At least two view control groups view control between it is overlapped;
Processing module, for performing animation operation to the view control group, obtain animated graphical overview.
In a kind of possible embodiment of the embodiment of the present invention, the grouping module, specifically for by the UI groups
Overlapping view control in the view control of part, respectively as the first different view control groups;And by the UI components
Nonoverlapping view control in view control, as the second view control group.
In the alternatively possible embodiment of the embodiment of the present invention, the grouping module, specifically for by the UI
Overlapping region is more than or equal to the view control of predetermined threshold value in component, respectively as the first different view control groups;With
And overlapping region in the UI components is less than to the view control of the predetermined threshold value, as the second view control group.
In another possible embodiment of the embodiment of the present invention, the processing module, specifically for according to UI groups
Inside and outside order of the view control in display in part, determine the animation operation execution sequence of the view control group;And according to institute
The animation operation execution sequence of view control group and default time interval are stated, animation operation is performed to the view control group,
Obtain the animated graphical overview;Wherein, at the beginning of the time interval performs animation operation for two adjacent view control groups
The time difference at quarter.
In another possible embodiment of the embodiment of the present invention, the time interval performs equal to the UI components
[1/6,1/4] of total duration needed for animation operation.
In another possible embodiment of the embodiment of the present invention, the processing module, specifically for be different
View control group adds different shades.
In another possible embodiment of the embodiment of the present invention, the processing module, specifically for be different
View control, which assembles, puts different brightness.
In another possible embodiment of the embodiment of the present invention, the processing module, it is additionally operable to regard for different
Figure set of controls configures different movement ranges, so that the amplitude of different view control group motions is different.
The treating method and apparatus of view control provided by the invention, after TV gets the UI components of application software,
TV performs division operation according to default control overlay condition to the view control in UI components, obtains multiple view controls
Group, it is overlapped between the view control of at least two view control groups in the plurality of view control group, then to this
Multiple view control groups perform animation operation respectively, obtain animated graphical overview.By at least two in the view control group that is divided
The view control of individual view control group, between each other with overlapping region, when performing animation operation, such as to each view
When set of controls adds shade, meeting space residing for shade produces is put down between two view control groups of this overlapping relation being present
The different visual effect in face, therefore, with being imitated in the prior art to the stereoscopic display obtained by UI component overall execution animation operations
Fruit is compared, and each view control group that the embodiment of the present invention is divided to UI components performs animation operation respectively so that each regards
Figure set of controls has the shade of oneself, and from the point of view of the angle of visual angle, the addition of shade allows the above-mentioned view control with overlapping relation
Group is no longer in a plane, greatly strengthen the third dimension of display;Further, since the technical scheme of the embodiment of the present invention is adopted
It is 2D elements (view control i.e. in the present embodiment), therefore, includes view at UI interfaces after animation operation is performed
When upper, it only needs the coordinate for calculating Y-axis, computation amount;And due to the 2D elements of use, it can be flat
Completely shown on surface TV, thus it is ensured that the integrality of data, avoids the waste of data.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs
Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the structural representation of equipment processing system provided in an embodiment of the present invention;
Fig. 2 is stereo display effect figure one provided in an embodiment of the present invention;
Fig. 3 is view control structural representation one provided in an embodiment of the present invention;
Fig. 4 is the schematic flow sheet of the processing method embodiment one of view control provided in an embodiment of the present invention;
Fig. 5 is stereo display effect figure two provided in an embodiment of the present invention;
Fig. 6 is the schematic flow sheet of the processing method embodiment two of view control provided in an embodiment of the present invention;
Fig. 6 a are view control structural representation two provided in an embodiment of the present invention;
Fig. 6 b are view control structural representation three provided in an embodiment of the present invention;
Fig. 7 is the schematic flow sheet of the processing method embodiment three of view control provided in an embodiment of the present invention;
Fig. 8 is the schematic flow sheet of the processing method example IV of view control provided in an embodiment of the present invention;
Fig. 9 is view control structural representation four provided in an embodiment of the present invention;
Figure 10 is the structural representation of the processing unit of view control provided in an embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
The present embodiments relate to view control processing method, go for the equipment processing system described in Fig. 1,
The equipment processing system can include UI interfaces 11 and processor 12.Wherein, processor 12 is used for the upper layer application of equipment is soft
The UI components of part operate by calculating, rendering, redrawing etc., are shown on UI interfaces 11.Optionally, setting in the embodiment of the present invention
Standby can be TV, and the TV can be intelligent television, color TV etc., and the embodiment of the present invention is specific to equipment and TV
Form is not limited.Example below introduces technical scheme by taking TV as an example.
At present, in order to lift stereoeffect or the 3D effect that TV is shown, frequently with processing mode be to TV
The UI components of application software, shade or illumination and other spatial displacements (such as scaling, mobile, transparent change etc.) are added to come in fact
The stereoeffect now shown.But stereoeffect and unobvious during processing mode TV display.Solid shown in Figure 2
Display renderings one, " all media " card (i.e. UI components) is laid out by background, word, circular diagram are marked with and graphic diagram in Fig. 2
Mark composition, when the UI components obtain focus, whole UI components do amplification action, while colour brightness changes, and finally obtains
Take shade.Referring to the structural representation one of the view control shown in Fig. 3 corresponding with Fig. 2, wherein each view control is right respectively
It should be related to:Background layout corresponding A view control, word corresponds to D view controls, circular icon corresponds to B view controls, graphic icons
Corresponding C view controls.During generation animated actions, tetra- view controls of ABCD are as an overall variation, although contrasting other UI
Component is because brightness change and tan alt can bring certain stereoeffect to user, but DeGrain.
Therefore, the present invention provides a kind for the treatment of method and apparatus of view control, it is intended to solves view in the prior art and shows
Show the poor technical problem of stereoeffect.
Technical scheme is described in detail with specifically embodiment below.These specific implementations below
Example can be combined with each other, and may be repeated no more for same or analogous concept or process in some embodiments.
Fig. 4 is the schematic flow sheet of the processing method embodiment one of view control provided in an embodiment of the present invention.This implementation
The control that attempts that example is referred in the UI components by application software is grouped, by performing animation to each view control group
Operation, improve the detailed process of the stereoeffect of display.Optionally, the executive agent of the embodiment of the present invention is TV.Such as Fig. 4 institutes
Show, this method comprises the following steps:
S101:Obtain the UI components of application software.
Optionally, in TV, each UI components of different application software are different, and any UI components are all by view control
Part (i.e. basic Android controls) forms.Optionally, a UI component can include at least two view controls.Optionally, institute
Overlapped view control can be included by stating at least two view controls, can also include nonoverlapping view control.
S102:Division operation is performed to the view control in the UI components according to default control overlay condition, obtained
Multiple view control groups, the view control group include at least one view control, in the multiple view control group at least
It is overlapped between the view control of two view control groups.
In the present embodiment, after TV obtains the UI components of a certain application software, with reference to default control overlay condition
Division operation is performed to the view control in UI components, obtains multiple view control groups, and in this multiple view control group
It is overlapped between the view control of at least two view control groups.For example, wrapped in two view control group P and Q, P group
Including view control a, Q group, to include view control b, a and b overlapping.
Optionally, above-mentioned default control overlay condition characterizes the division principle of specific view control group, for example, should
Default control overlay condition can be according to the size division of the overlapping region of view control or the weight according to view control
The lap position in folded region divides or divided according to the shape of the overlapping region of view control, and the present embodiment is to default control
The particular content and form of part overlay condition do not limit, as long as it is overlapping associated with view control.
So that default control overlay condition is according to the size division of the overlapping region of view control as an example, to UI components
View control when specifically being divided, overlapping region size can be met to multiple view controls of certain condition, made respectively
For different view control groups, for example, it is assumed that UI components include two view controls, the two view controls have overlay region
Domain, and the size of overlapping region meets default condition, therefore, TV is using the two view controls as different views
Set of controls.Again or, by default control overlay condition be according to the overlapping region of view control shape division exemplified by, right
When the view control of UI components is specifically divided, the shape of overlapping region can be met to multiple view controls of certain condition
Part, respectively as different view control groups, for example, it is assumed that UI components include two view controls, the two view controls tool
There is overlapping region, and the shape of overlapping region meets default condition, therefore, TV is using the two view controls as not
Same view control group.
That is, no matter which kind of form is default control overlay condition be, in the multiple view control groups divided
It is overlapped between view control at least two view control groups.
S103:Animation operation is performed to the view control group, obtains animated graphical overview.
Optionally, the animation operation in the present embodiment can include for view control add shade, amplification, diminution, movement,
Change the operation such as colour brightness.Optionally, the present embodiment is not limited the order of each view control group execution animation operation
System can be multiple view control groups while perform animation operation, can also be and successively performs animation operation.
Optionally, can add difference for different view control groups when performing motion action to view control group
Shade, " different shades " can be the different shade of gray scale here, so that different view control groups is because have
Different shade and realize layering, so as to construct the visual effect of Different Plane, enhance the stereoeffect of UI components.Separately
Outside, the shade of different views set of controls changes with the motion of view control group.
Optionally, when performing motion action to view control group, it can also be to assemble for different view controls and put not
Same brightness, so that different view control groups with different brightness because realize layering, so as to construct difference
The visual effect of plane, enhance the stereoeffect of UI components.In addition, the brightness of different views set of controls is with view control group
Motion and change.
Optionally, when performing motion action to view control group, can also add above-mentioned for different view control groups
It is different view controls on the basis of adding different shades and assembling the operation for putting different brightness for different view controls
Part, which assembles, puts different movement ranges, so that the amplitude of different view control group motions is different, so that what is generated is dynamic
It is more preferably obvious to draw view stereoeffect.Optionally, it is assumed that different amplification movement ranges is configured with for different view control groups,
The shade of different view control groups amplifies with the amplification of view control group, while change is also ensued in brightness.
It should be noted that the application is grouped in particular with reference to motion composition to UI components.So-called " motion
Relativity " refer to for same object, because the object of reference of selection is different, it is motion that can claim the object, can also
It is static to claim the object.View control in UI components is grouped, animation operation is done to each view control group respectively,
So that each view control group is motion for other view control groups, therefore its caused variation effect is really
Object of reference is superimposed with both referenced things, then realizes layered effect by adding shade and other effects to each view control group,
So as to construct the visual effect of Different Plane, strengthen stereoeffect.These are divided into the view control of different views set of controls,
Have between each other between overlapping region, such as two view control groups can be include and by comprising relation, holding
Row animation operation, for example, to view control group add shade when, meeting between two view control groups of this inclusion relation be present
The different visual effect of the space plane residing for shade produces, and when in the presence of two view controls of both inclusion relations
If doing relative change or motion between group, the animated graphical overview stereoeffect that it is generated is more preferably obvious, specifically may refer to
Stereo display effect figure two shown in Fig. 5, compared with Fig. 2, Fig. 5 third dimension is obviously improved.
Further, since the technical scheme of the embodiment of the present invention is using (the view control i.e. in the present embodiment of 2D elements
Part), therefore, view is being included when on UI interfaces after performing animation operation, it only needs the coordinate for calculating Y-axis, meter
Calculation amount greatly reduces;And because using 2D elements, it can completely be shown on flat-surface television, therefore its is true
The integrality of data has been protected, has avoided the waste of data.
The processing method of view control provided by the invention, after TV gets the UI components of application software, TV root
Division operation is performed to the view control in UI components according to default control overlay condition, obtains multiple view control groups, this is more
It is overlapped between the view control of at least two view control groups in individual view control group, then to the plurality of view
Set of controls performs animation operation respectively, obtains animated graphical overview.By at least two view controls in the view control group that is divided
The view control of part group, between each other with overlapping region, add when performing animation operation, such as to each view control group
When adding shade, meeting space plane residing for shade produces is different between two view control groups of this overlapping relation being present
Visual effect, therefore, with the prior art to the stereo display effect obtained by UI component overall execution animation operations compared with, this
Each view control group that inventive embodiments are divided to UI components performs animation operation respectively so that each view control group
There is the shade of oneself, from the point of view of the angle of visual angle, the addition of shade allows the above-mentioned view control group with overlapping relation to be no longer on
In one plane, the third dimension of display greatly strengthen;Further, since the technical scheme of the embodiment of the present invention is using 2D members
Plain (view control i.e. in the present embodiment), therefore, view is being included when on UI interfaces after performing animation operation, it is only needed
Calculate the coordinate of Y-axis, computation amount;And due to the 2D elements of use, it can be enterprising in flat-surface television
The complete displaying of row, thus it is ensured that the integrality of data, avoids the waste of data.
The partition process in view control group in above-described embodiment one is introduced below by two embodiments.Need
Illustrate, following two embodiments are only to show by way of example, and the division not to view control group, which is formed, to be limited.
Fig. 6 is the schematic flow sheet of the processing method embodiment two of view control provided in an embodiment of the present invention.This implementation
Example refers to TV and performs division operation to the view control in UI components according to default control overlay condition, obtains multiple
The detailed process of view control group.On the basis of above-mentioned embodiment illustrated in fig. 4, further, above-mentioned S102 can specifically be wrapped
Include following steps:
S201:By view control overlapping in the view control of the UI components, respectively as the first different view controls
Part group.
S202:By nonoverlapping view control in the view control of the UI components, as the second view control group.
Optionally, there is no the restriction of sequential relationship between S201 and S202, the two can be performed simultaneously, can also successively be held
OK.In the present embodiment, TV is based on " whether view control is overlapping " when the view control to UI components divides
Division principle.When both including overlapping view control in UI components, also including nonoverlapping view control when, for example, see above-mentioned
View control structural representation one shown in Fig. 3, view control A is overlapping with view control B, C, D, therefore, using A as one
One view control group, view control B do not have with view control D it is overlapping, using B and D as a second view control group, view control
Part B is overlapping with view control C, using view control C as a first view control group.Certainly, this is a kind of dividing mode,
Can also be A as a first view control group, C and D as a second view control group, B is as first view
Set of controls.
For another example referring to the view control structural representation two shown in Fig. 6 a, drawn in the view control to UI components
Timesharing, view component A, B, C, D, E, F can be respectively as the first view control groups, i.e., the UI components shown in Fig. 6 a can divide
For 6 the first view control groups.
By above-mentioned S201 and S202 division, TV can obtain the first view control group with overlapping relation, point
Other to perform animation operation to the first view control group, meeting is due to shade between two view control groups of this overlapping relation being present
The different visual effect of space plane residing for generation, third dimension enhancing, and when the two view control groups do it is relative change or
During motion, stereoeffect is more preferably obvious.It should be noted that the second view formed for the view control not overlapped each other
Set of controls, by taking B and D in Fig. 3 as an example, the two is separate, and the two is remained in same plane after adding shade respectively, i.e.,
Plane where view control A.
Fig. 7 is the schematic flow sheet of the processing method embodiment three of view control provided in an embodiment of the present invention.This implementation
Example refers to TV and performs division operation to the view control in UI components according to default control overlay condition, obtains multiple
Another detailed process of view control group.On the basis of above-mentioned embodiment illustrated in fig. 4, further, above-mentioned S102 specifically may be used
To comprise the following steps:
S301:Overlapping region in the UI components is more than or equal to the view control of predetermined threshold value, respectively as not
The first same view control group.
S302:Overlapping region in the UI components is less than to the view control of the predetermined threshold value, as the second view control
Part group.
Optionally, there is no the restriction of sequential relationship between S301 and S302, the two can be performed simultaneously, can also successively be held
OK.In the present embodiment, TV is based on the " overlapping region of view control when the view control to UI components divides
Whether be less than predetermined threshold value " division principle, i.e., by overlapping region in UI components be more than or equal to predetermined threshold value view control
Part, respectively as the first different view control groups, overlapping region in UI components is less than to the view control of the predetermined threshold value,
As the second view control group, by this kind of dividing mode, it can not only increase third dimension during view display, one can also be entered
Step reduces amount of calculation when view is redrawn.
Assuming that still by taking the structure of the view control shown in above-mentioned Fig. 6 a as an example, if view control A and B, B and C in Fig. 6 a
Overlapping region be more than predetermined threshold value, C and D, D and E, E and F overlapping region are less than predetermined threshold value, therefore, according to this implementation
The division principle of example is when being divided, obtained division result be A as a first view control group, B is as one first
View control group, C is as a first view control group, and then D, E, F are as a second view control group, such division
Mode not only may insure view control A, B and C stereoeffect, and due to the reduction of packet, can also further reduce
Amount of calculation when view is redrawn.
Optionally, referring to the structural representation three of the view control shown in Fig. 6 b, view control A and B, B and C in Fig. 6 b
Overlapping region is more than predetermined threshold value, and C and E, D and E, C and D overlapping region are less than predetermined threshold value, therefore, according to the present embodiment
Division principle when being divided, obtained division result is that A regards as a first view control group, B as one first
Figure set of controls, C, D, E not only may insure view control A and B as a second view control group, such dividing mode
Stereoeffect, and due to the reduction of packet, can also further reduce amount of calculation when view is redrawn.
In summary, the processing method of view control provided in an embodiment of the present invention, by by the view control of UI components
Divided, obtain multiple view control groups, the view control of at least two view control groups in the plurality of view control group
Overlapped each other, then TV performs animation operation respectively to the plurality of view control group, obtains animated graphical overview.Due to
The view control of at least two view control groups in the view control group divided, between each other with overlapping region,
When adding shade to each view control group, meeting is because shade produces between two view control groups of this overlapping relation being present
The different visual effect of residing space plane, the i.e. embodiment of the present invention pass through each view control component for being divided to UI components
Animation operation is not performed so that each view control group has the shade of oneself, and from the point of view of the angle of visual angle, the addition of shade allows
State the view control group with overlapping relation to be no longer in a plane, greatly strengthen the third dimension of display.
Fig. 8 is the schematic flow sheet of the processing method example IV of view control provided in an embodiment of the present invention.This implementation
Example refers to the detailed process that TV performs animation operation to above-mentioned view control group.On the basis of above-described embodiment, enter
One step, above-mentioned S103 may include steps of:
S401:According to inside and outside order of the view control in UI components in display, the animation of the view control group is determined
Operate execution sequence.
S402:Animation operation execution sequence and default time interval according to the view control group, to the view
Set of controls performs animation operation, obtains the animated graphical overview;Wherein, the time interval is that two adjacent view control groups are held
The time difference carved at the beginning of row animation operation.
Optionally, the structural representation four of view control shown in Figure 9, it is assumed that the view control in Fig. 9 is according to upper
The view control group of the dividing mode division of embodiment two is stated, then in Fig. 9, view control A has overlapping with B, D, can divide
It is grouped to different view controls;C, E has overlapping generation with B, and, the two can be divided into one and regard. between C and E independently of each other
Figure set of controls, so as to obtain following division result:A can be separately as a first view control group, and B, D are as one second
View control group, C, E can be used as a second view control group, and certainly, this kind of dividing mode is only a kind of example.According to figure
Inside and outside order of the view control in display in UI components shown in 9, i.e. C and E, then TV is to above-mentioned by A --- B and D ---
When view control group performs animation operation, the execution sequence of its animation operation is:A --- B and D --- C and E.
According to identified animation operation execution sequence, TV combines default time interval, to each view control group
Animation operation is performed, obtains animated graphical overview, the time interval is that two adjacent view control groups perform opening for animation operation
The time difference at moment beginning.According to the example shown in above-mentioned Fig. 9, the time interval is the first view control group and B where A
Start to perform the time difference of animation operation, or the second view control where B and D with the second view control group where D
Group, with C and E where the second view control group start perform animation operation time difference.Optionally, the time interval can wait
Performed [1/6,1/4] of the total duration needed for animation operation in UI components.
Because prior art using 3D elements when realizing 3-D cartoon display, because 3D elements are when screen shows
Constantly redrawing for algorithm is needed, and redraws interlude every time very short (it can draw each frame animation that this, which redraws interval,
When time interval), therefore, its need frequently algorithm redraw with by picture include on screen, cause TV EMS memory occupation
It is larger;But in the present embodiment, the time interval is [1/6,1/4] that UI components perform the total duration needed for animation operation, its
Interval time is grown, therefore is redrawn without frequently carrying out algorithm, so which greatly reducing amount of calculation, saves the interior of TV
Deposit;Also, the present embodiment is directed to redrawing for 2D elements, therefore, it needs the Y-coordinate value of calculating elements, without
The value of calculating X and Y coordinates is needed when being redrawn as 3D elements, therefore the present embodiment reduce further the amount of calculation of TV, save
The internal memory of TV.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to
The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey
Sequence upon execution, execution the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or
Person's CD etc. is various can be with the medium of store program codes.
Figure 10 is the structural representation of the processing unit of view control provided in an embodiment of the present invention.The device can pass through
The mode of software, hardware or software and hardware combining is implemented as some or all of of TV.As shown in Figure 10, the device bag
Include:Acquisition module 21, grouping module 22 and processing module 23.
Acquisition module 21, for obtaining the user interface UI components of application software;
Grouping module 22, for performing packet to the view control in the UI components according to default control overlay condition
Operation, obtains multiple view control groups, the view control group includes at least one view control, the multiple view control group
In at least two view control groups view control between it is overlapped;
Processing module 23, for performing animation operation to the view control group, obtain animated graphical overview.
As a kind of possible embodiment of the embodiment of the present invention, the grouping module 22, specifically for by the UI
Overlapping view control in the view control of component, respectively as the first different view control groups;And by the UI components
View control in nonoverlapping view control, as the second view control group.
As the alternatively possible embodiment of the embodiment of the present invention, the grouping module 22, specifically for by described in
Overlapping region is more than or equal to the view control of predetermined threshold value in UI components, respectively as the first different view control groups;
And overlapping region in the UI components is less than to the view control of the predetermined threshold value, as the second view control group.
Optionally, the processing module 23, specifically for according to view control in UI components display when inside and outside order,
Determine the animation operation execution sequence of the view control group;And according to the view control group animation operation execution sequence and
Default time interval, animation operation is performed to the view control group, obtains the animated graphical overview;Wherein, between the time
It is divided into the time difference carved at the beginning of two adjacent view control groups perform animation operation.
Optionally, the time interval is equal to [1/6,1/4] that the UI components perform the total duration needed for animation operation.
Optionally, the processing module 23, specifically for adding different shades for different view control groups.
Optionally, the processing module 23, different brightness is put specifically for being assembled for different view controls.
Optionally, the processing module 23, it is additionally operable to assemble for different view controls and puts different movement ranges, so that
The amplitude of different view control group motions is different.
The processing unit of view control provided in an embodiment of the present invention, above method embodiment can be performed, it realizes former
Reason is similar with technique effect, will not be repeated here.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent
The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to
The technical scheme described in foregoing embodiments can so be modified, either which part or all technical characteristic are entered
Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme.
Claims (10)
- A kind of 1. processing method of view control, it is characterised in that including:Obtain the user interface UI components of application software;Division operation is performed to the view control in the UI components according to default control overlay condition, obtains multiple view controls Part group, the view control group include at least one view control, at least two view controls in the multiple view control group It is overlapped between the view control of part group;Animation operation is performed to the view control group, obtains animated graphical overview.
- 2. according to the method for claim 1, it is characterised in that it is described according to default control overlay condition to the UI groups View control in part performs division operation, obtains multiple view control groups, specifically includes:By view control overlapping in the view control of the UI components, respectively as the first different view control groups;By nonoverlapping view control in the view control of the UI components, as the second view control group.
- 3. according to the method for claim 1, it is characterised in that it is described according to default control overlay condition to the UI groups View control in part performs division operation, obtains multiple view control groups, specifically includes:Overlapping region in the UI components is more than or equal to the view control of predetermined threshold value, regarded respectively as different first Figure set of controls;Overlapping region in the UI components is less than to the view control of the predetermined threshold value, as the second view control group.
- 4. according to the method described in claim any one of 1-3, it is characterised in that perform animation behaviour to the view control group Make, obtain animated graphical overview, specifically include:According to inside and outside order of the view control in UI components in display, determine that the animation operation execution of the view control group is suitable Sequence;Animation operation execution sequence and default time interval according to the view control group, the view control group is performed Animation operation, obtain the animated graphical overview;Wherein, the time interval performs animation operation for two adjacent view control groups At the beginning of time difference for carving.
- 5. according to the method for claim 4, it is characterised in that the time interval is equal to the UI components and performs animation behaviour [1/6,1/4] of total duration needed for making.
- 6. according to the method for claim 4, it is characterised in that described that animation operation, tool are performed to the view control group Body includes:Different shades is added for different view control groups.
- 7. according to the method for claim 4, it is characterised in that described that animation operation, tool are performed to the view control group Body includes:Assembled for different view controls and put different brightness.
- 8. the method according to claim 6 or 7, it is characterised in that it is described that animation operation is performed to the view control group, Also include:Assembled for different view controls and put different movement ranges, so that the amplitude of different view control group motions is different.
- A kind of 9. processing unit of view control, it is characterised in that including:Acquisition module, for obtaining the user interface UI components of application software;Grouping module, for performing division operation to the view control in the UI components according to default control overlay condition, Obtain multiple view control groups, the view control group includes at least one view control, in the multiple view control group It is overlapped between the view control of at least two view control groups;Processing module, for performing animation operation to the view control group, obtain animated graphical overview.
- 10. device according to claim 9, it is characterised in that the grouping module, specifically for by the UI components Overlapping view control in view control, respectively as the first different view control groups;And the view by the UI components Nonoverlapping view control in control, as the second view control group.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710622325.7A CN107436765A (en) | 2017-07-27 | 2017-07-27 | The treating method and apparatus of view control |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710622325.7A CN107436765A (en) | 2017-07-27 | 2017-07-27 | The treating method and apparatus of view control |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107436765A true CN107436765A (en) | 2017-12-05 |
Family
ID=60461181
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710622325.7A Pending CN107436765A (en) | 2017-07-27 | 2017-07-27 | The treating method and apparatus of view control |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107436765A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110286979A (en) * | 2019-06-20 | 2019-09-27 | 杭州绝地科技股份有限公司 | Reduce the rendering method and system of Overdraw caused by UI covers |
CN112672198A (en) * | 2020-12-14 | 2021-04-16 | 海看网络科技(山东)股份有限公司 | EPG (electronic program guide) special-shaped graph assembly and display method thereof |
WO2022111593A1 (en) * | 2020-11-28 | 2022-06-02 | 华为技术有限公司 | Graphical user interface display method and apparatus |
CN116466952A (en) * | 2023-06-19 | 2023-07-21 | 成都赛力斯科技有限公司 | Control visual effect element adjusting method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102799435A (en) * | 2012-07-16 | 2012-11-28 | Tcl集团股份有限公司 | Interactive method and interactive system for three-dimensional control |
CN102999946A (en) * | 2012-09-17 | 2013-03-27 | Tcl集团股份有限公司 | 3D (three dimension) graphic data processing method, 3D graphic data processing device and 3D graphic data processing equipment |
CN104391691A (en) * | 2014-11-07 | 2015-03-04 | 久邦计算机技术(广州)有限公司 | Icon and text processing method |
CN105488833A (en) * | 2014-10-09 | 2016-04-13 | 华为技术有限公司 | Method and apparatus for realizing 3D transition animation for 2D control |
CN106325649A (en) * | 2015-06-19 | 2017-01-11 | 深圳创锐思科技有限公司 | 3d dynamic display method and mobile terminal |
-
2017
- 2017-07-27 CN CN201710622325.7A patent/CN107436765A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102799435A (en) * | 2012-07-16 | 2012-11-28 | Tcl集团股份有限公司 | Interactive method and interactive system for three-dimensional control |
CN102999946A (en) * | 2012-09-17 | 2013-03-27 | Tcl集团股份有限公司 | 3D (three dimension) graphic data processing method, 3D graphic data processing device and 3D graphic data processing equipment |
CN105488833A (en) * | 2014-10-09 | 2016-04-13 | 华为技术有限公司 | Method and apparatus for realizing 3D transition animation for 2D control |
CN104391691A (en) * | 2014-11-07 | 2015-03-04 | 久邦计算机技术(广州)有限公司 | Icon and text processing method |
CN106325649A (en) * | 2015-06-19 | 2017-01-11 | 深圳创锐思科技有限公司 | 3d dynamic display method and mobile terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110286979A (en) * | 2019-06-20 | 2019-09-27 | 杭州绝地科技股份有限公司 | Reduce the rendering method and system of Overdraw caused by UI covers |
CN110286979B (en) * | 2019-06-20 | 2022-04-26 | 杭州绝地科技股份有限公司 | Rendering method and system for reducing Overdraw caused by UI occlusion |
WO2022111593A1 (en) * | 2020-11-28 | 2022-06-02 | 华为技术有限公司 | Graphical user interface display method and apparatus |
CN112672198A (en) * | 2020-12-14 | 2021-04-16 | 海看网络科技(山东)股份有限公司 | EPG (electronic program guide) special-shaped graph assembly and display method thereof |
CN116466952A (en) * | 2023-06-19 | 2023-07-21 | 成都赛力斯科技有限公司 | Control visual effect element adjusting method and device, electronic equipment and storage medium |
CN116466952B (en) * | 2023-06-19 | 2023-09-01 | 成都赛力斯科技有限公司 | Control visual effect element adjusting method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11748840B2 (en) | Method for efficient re-rendering objects to vary viewports and under varying rendering and rasterization parameters | |
CN102902848B (en) | Three-dimensional visualization simulation method directed at boundary element analysis | |
CN107436765A (en) | The treating method and apparatus of view control | |
US7839419B2 (en) | Compositing desktop window manager | |
CN103247064B (en) | A kind of generation method of three-dimensional dynamic graphical, device and mobile terminal | |
US8464170B2 (en) | 2D editing metaphor for 3D graphics | |
CN104765594B (en) | A kind of method and device of display graphic user interface | |
CN105528207A (en) | Virtual reality system, and method and apparatus for displaying Android application images therein | |
CN103632390A (en) | Method for realizing naked eye 3D (three dimensional) animation real-time making by using D3D (Direct three dimensional) technology | |
JP4890553B2 (en) | 2D / 3D combined rendering | |
US20100141658A1 (en) | Two-dimensional shadows showing three-dimensional depth | |
CN105844581A (en) | Image drawing method, apparatus and equipment | |
KR101428577B1 (en) | Method of providing a 3d earth globes based on natural user interface using motion-recognition infrared camera | |
CN102855604B (en) | Nine grids method for drafting, device and nine grids spinning solution, device | |
CN103412732A (en) | Three-dimensional arc based resource display method and client | |
CN109658495B (en) | Rendering method and device for ambient light shielding effect and electronic equipment | |
Glueck et al. | Multiscale 3D reference visualization | |
CN114327174A (en) | Virtual reality scene display method and cursor three-dimensional display method and device | |
CN115035231A (en) | Shadow baking method, shadow baking device, electronic apparatus, and storage medium | |
CN106708450B (en) | Picture display process, device and terminal device | |
US9639982B2 (en) | On-demand transformation aware shape tessellation | |
CN108805964B (en) | OpenGL ES-based VR set top box starting animation production method and system | |
CN118521696A (en) | Three-dimensional virtual scene rendering method, device, computer equipment and storage medium | |
Sheppard | Real–time rendering of fur | |
Coquillart et al. | Short Paper: View Dependent Rendering to Simple Parametric Display Surfaces |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Applicant after: Hisense Visual Technology Co., Ltd. Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171205 |