CN105094765B - Animation display processing method and animation display processing unit - Google Patents
Animation display processing method and animation display processing unit Download PDFInfo
- Publication number
- CN105094765B CN105094765B CN201410185242.2A CN201410185242A CN105094765B CN 105094765 B CN105094765 B CN 105094765B CN 201410185242 A CN201410185242 A CN 201410185242A CN 105094765 B CN105094765 B CN 105094765B
- Authority
- CN
- China
- Prior art keywords
- animation
- page
- linear list
- executes
- level
- 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.)
- Expired - Fee Related
Links
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The present invention proposes a kind of animation display processing method and a kind of animation display processing unit, wherein animation display processing method includes:Animation effect level, which is established, according to the default animation sequence attribute of the page, interactive controls and animation object corresponding with the interactive controls executes linear list;Linear list, which is executed, according to the animation effect level executes the animation effect that each animation object is included.Technical scheme of the present invention can be according to animation sequence information in a manner of rational and orderly in the tissue page animation effect, and the animation effect for executing each animation object and being included is played according to user operation case, it realizes to trigger and the animation effects such as executes, concurrently executes and sequentially execute, keep page presentation effect more abundant.
Description
Technical field
The present invention relates to field of computer technology, in particular to animation display processing method and animation display processing
Device.
Background technology
Animation sequence treatment technology refers to by multiple animation effects in interactive electronic reading content according to serializing
Form carries out tissue and unified management.
The red Rett of experimental psychology scholar draw once by mental experiment confirm information that the mankind obtain have 94% from vision and
The sense of hearing, interactive electronic generally comprise multiple interactive components in reading, and can merge a variety of stimulus to the sense organ keeps reader active and effective
Ground obtains bulk information, to make reader obtain the reading experience of immersion.In order to further enhance the friendship of the electronic reading page
Mutual effect can be that different animation effects is arranged in the interactive component in reading page, be such as fade-in fade-out, fly into, rotate and other effects,
To make component be showed in the form of dynamic, and corresponding animated transition effect can be made according to user's alternative events, for
Reader attention has stronger meaning.
In order to realize that the animation display effect of interactive controls, traditional way are that animation effect is arranged as subordinate ordered array simultaneously
An essential information as control is recorded in control description information, and this way can realize the basic animation effect of interactive controls
Fruit, i.e. interactive controls are according to the sequencing of each animation effect in animation array, each animation effect of played in order execution.However
This way is only capable of controlling the playing sequence of animation effect in single interactive controls according to animation array, can not coordinate to control the page
The animation effect of interior multiple interactive controls executes sequence, and effect is presented to build complicated more interactive controls animations.
In conclusion traditional processing method for controlling animation effect execution sequence in a manner of array in component property,
It does not support animation complicated in the page that effect is presented, there is certain limitation.
Invention content
The technical issues of in view of occurring in the related technology, the present invention provides a kind of new animation Display Processing Technology,
Animation effect that can be according to animation sequence information in a manner of rational and orderly in the tissue page, and broadcast according to user operation case
It puts and executes the animation effect that each animation object is included.
According to an aspect of the invention, there is provided a kind of animation display processing method, including:According to the default dynamic of the page
It draws sequence properties, interactive controls and animation object corresponding with the interactive controls and establishes the execution of animation effect level linearly
Table;Linear list, which is executed, according to the animation effect level executes the animation effect that each animation object is included.
In the present embodiment, the animation effect according to animation sequence information in a manner of rational and orderly in the tissue page, and
The animation effect for executing each animation object and being included is played according to user operation case, realizes that triggering is executed, concurrently executed and suitable
The animation effects such as sequence execution make the page that effect be presented and more enrich, while further increasing the interactive reading experience of user.
In the above-mentioned technical solutions, it is preferred that it is described according to the default animation sequence attribute of the page, interactive controls and with
The corresponding animation object of the interactive controls establishes animation effect level and executes linear list, specifically includes:According to the page
Interactive controls array in description information, establishes the mapping relations of control unique mark and control object;Traverse each control
Part object obtains the animation effect that each control object includes, and establishes the control unique mark, animation unique mark and animation
The mapping relations of object;All animations for including by the page according to the default animation sequence attribute are successively suitable according to executing
Sequence generates animation unique mark linear list;According to the animation unique mark linear list, the control unique mark and control pair
The mapping relations of elephant and the animation unique mark and the mapping relations of animation object are established the animation effect level and are executed
Linear list.
The mapping relations of control unique mark and control object, for being controlled according to the specified interaction of control unique mark operation
Part object.The mapping relations of animation unique mark and animation object, for obtaining specified animation pair according to animation unique mark
Image information.When control unique mark is integer number, only in the affiliated Page Range of control effectively, uniquely marked according to this control
It is the object built according to the attribute information of interactive controls that knowledge, which can call specified interactive controls object, interactive controls object, and
Through being loaded into current reading page.When animation unique mark is integer number, only in the affiliated Page Range of control effectively,
It is according to some control category in current reading page that specified animation object, animation object can be called according to this animation unique mark
Property in animation information structure object.
In the above-mentioned technical solutions, it is preferred that it includes that page loading triggering is held that the animation effect level, which executes linear list,
The level of action picture executes linear list and the triggering of user's alternative events executes the level execution linear list of animation;In user's operation thing
When part is that the page is loaded into animation or clicks animation, linear list is executed according to the level of page loading triggering execution animation and is executed
The animation effect that each animation object is included;When the user operation case is Page user alternative events, according to the use
The level execution linear list that family alternative events triggering executes animation executes the animation effect that each animation object is included.
In the above-mentioned technical solutions, it is preferred that it is to work as that the page, which is loaded into triggering and executes the level execution linear list of animation,
The preceding page is loaded into the unique tag serial of the required multiple animation objects executed automatically when display, by the unique mark of animation object
It is arranged by layer, the animation object in each layer is the multiple animation objects being performed simultaneously when the current page is loaded into;Institute
State user's alternative events triggering execute animation level execute linear list be current page be in can interaction mode, user interact thing
The unique tag serial of multiple animation objects of part triggering is arranged the unique mark of animation object by layer, dynamic in each layer
It is the multiple animation objects being performed simultaneously when single user alternative events trigger in the current page to draw object.
The present invention is basic control unit with the page, according to the animation sequence attribute in page properties, interaction component
Object and animation object establish animation effect level and execute linear list, the multiple animation unique mark institutes for including in each level
The animation effect of direction can adhere to different components separately, and the triggering that multicompartment animation effect can be achieved on implementation effect is executed, concurrently held
Row and sequence execute, and have higher flexibility.
In the above-mentioned technical solutions, it is preferred that multiple animation objects in each layer adhere to different components separately.
According to another aspect of the present invention, a kind of animation display processing unit is additionally provided, including:Animation sequence parsing is single
Member, for being built according to the default animation sequence attribute of the page, interactive controls and animation object corresponding with the interactive controls
Vertical animation effect level executes linear list;Animation effect execution unit, for executing linear list according to the animation effect level
Execute the animation effect that each animation object is included.In the present embodiment, according to animation sequence information in a manner of rational and orderly
The animation effect in the page is organized, and plays the animation effect for executing each animation object and being included according to user operation case, it is real
The animation effects such as now triggering execution, concurrently execution and sequence execution make the page that effect be presented and more enrich, further increase simultaneously
The interactive reading experience of user.
In the above-mentioned technical solutions, it is preferred that the animation sequence resolution unit includes:Mapping relations establish unit, use
Interactive controls array in the description information according to the page, the mapping for establishing control unique mark and control object are closed
System, and each control object of traversal, obtain the animation effect that each control object includes, establish the control and uniquely mark
Know, the mapping relations of animation unique mark and animation object;Linear list creating unit, will according to the default animation sequence attribute
All animations that the page includes generate animation unique mark linear list according to sequencing is executed, and according to the animation
Unique mark linear list, the mapping relations of the control unique mark and control object and the animation unique mark and animation
The mapping relations of object establish the animation effect level and execute linear list.
The mapping relations of control unique mark and control object, for being controlled according to the specified interaction of control unique mark operation
Part object.The mapping relations of animation unique mark and animation object, for obtaining specified animation pair according to animation unique mark
Image information.When control unique mark is integer number, only in the affiliated Page Range of control effectively, uniquely marked according to this control
It is the object built according to the attribute information of interactive controls that knowledge, which can call specified interactive controls object, interactive controls object, and
Through being loaded into current reading page.When animation unique mark is integer number, only in the affiliated Page Range of control effectively,
It is according to some control category in current reading page that specified animation object, animation object can be called according to this animation unique mark
Property in animation information structure object.
In the above-mentioned technical solutions, it is preferred that it includes that page loading triggering is held that the animation effect level, which executes linear list,
The level of action picture executes linear list and the triggering of user's alternative events executes the level execution linear list of animation;The animation effect
Execution unit is additionally operable to, when user operation case is that the page is loaded into animation or clicks animation, be loaded into triggering according to the page and hold
The level of action picture executes linear list and executes the animation effect that each animation object is included, and is in the user operation case
When Page user alternative events, each animation of level execution linear list execution for executing animation is triggered according to user's alternative events
The animation effect that object is included.
In the above-mentioned technical solutions, it is preferred that it is to work as that the page, which is loaded into triggering and executes the level execution linear list of animation,
The preceding page is loaded into the unique tag serial of the required multiple animation objects executed automatically when display, by the unique mark of animation object
It is arranged by layer, the animation object in each layer is the multiple animation objects being performed simultaneously when the current page is loaded into;Institute
State user's alternative events triggering execute animation level execute linear list be current page be in can interaction mode, user interact thing
The unique tag serial of multiple animation objects of part triggering is arranged the unique mark of animation object by layer, dynamic in each layer
It is the multiple animation objects being performed simultaneously when single user alternative events trigger in the current page to draw object.
The present invention is basic control unit with the page, according to the animation sequence attribute in page properties, interaction component
Object and animation object establish animation effect level and execute linear list, the multiple animation unique mark institutes for including in each level
The animation effect of direction can adhere to different components separately, and the triggering that multicompartment animation effect can be achieved on implementation effect is executed, concurrently held
Row and sequence execute, and have higher flexibility.
In the above-mentioned technical solutions, it is preferred that multiple animation objects in each layer adhere to different components separately.
Technical scheme of the present invention can be imitated according to animation of the animation sequence information in a manner of rational and orderly in the tissue page
Fruit, and the animation effect for executing each animation object and being included is played according to user operation case, realize that triggering is executed, concurrently executed
And the animation effects such as sequence execution, make the page that effect be presented more abundant.
Description of the drawings
Fig. 1 shows the schematic flow diagram of animation display processing method according to an embodiment of the invention;
Fig. 2 shows parsing animation sequence according to an embodiment of the invention and build page loading triggering execution animation
Level executes the schematic flow diagram of linear list;
Fig. 3 shows parsing animation sequence according to an embodiment of the invention and builds the triggering execution of user's alternative events and moves
The level of picture executes the schematic flow diagram of linear list;
Fig. 4 shows the schematic block diagram of animation display processing unit according to an embodiment of the invention.
Specific implementation mode
To better understand the objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specific real
Mode is applied the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application
Feature in example and embodiment can be combined with each other.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also
To be implemented different from other modes described here using other, therefore, the present invention is not limited to following public specific realities
Apply the limitation of example.
Fig. 1 shows the schematic flow diagram of animation display processing method according to an embodiment of the invention.
As shown in Figure 1, animation display processing method according to an embodiment of the invention may comprise steps of:Step
102, animation effect is established according to the default animation sequence attribute of the page, interactive controls and animation object corresponding with interactive controls
Fruit level executes linear list;Step 104, linear list is executed according to animation effect level and executes the animation that each animation object is included
Effect.
In the present embodiment, the animation effect according to animation sequence information in a manner of rational and orderly in the tissue page, and
The animation effect for executing each animation object and being included is played according to user operation case, realizes that triggering is executed, concurrently executed and suitable
The animation effects such as sequence execution make the page that effect be presented and more enrich, while further increasing the interactive reading experience of user.
In the above-mentioned technical solutions, it is preferred that it is described according to the default animation sequence attribute of the page, interactive controls and with
The corresponding animation object of the interactive controls establishes animation effect level and executes linear list, specifically includes:According to the page
Interactive controls array in description information, establishes the mapping relations of control unique mark and control object;Traverse each control
Part object obtains the animation effect that each control object includes, and establishes the control unique mark, animation unique mark and animation
The mapping relations of object;All animations for including by the page according to the default animation sequence attribute are successively suitable according to executing
Sequence generates animation unique mark linear list;According to the animation unique mark linear list, the control unique mark and control pair
The mapping relations of elephant and the animation unique mark and the mapping relations of animation object are established the animation effect level and are executed
Linear list.
The mapping relations of control unique mark and control object, for being controlled according to the specified interaction of control unique mark operation
Part object.The mapping relations of animation unique mark and animation object, for obtaining specified animation pair according to animation unique mark
Image information.When control unique mark is integer number, only in the affiliated Page Range of control effectively, uniquely marked according to this control
It is the object built according to the attribute information of interactive controls that knowledge, which can call specified interactive controls object, interactive controls object, and
Through being loaded into current reading page.When animation unique mark is integer number, only in the affiliated Page Range of control effectively,
It is according to some control category in current reading page that specified animation object, animation object can be called according to this animation unique mark
Property in animation information structure object.
In the above-mentioned technical solutions, it is preferred that it includes that page loading triggering is held that the animation effect level, which executes linear list,
The level of action picture executes linear list and the triggering of user's alternative events executes the level execution linear list of animation;In user's operation thing
When part is that the page is loaded into animation or clicks animation, linear list is executed according to the level of page loading triggering execution animation and is executed
The animation effect that each animation object is included;When the user operation case is Page user alternative events, according to the use
The level execution linear list that family alternative events triggering executes animation executes the animation effect that each animation object is included.
In the above-mentioned technical solutions, it is preferred that it is to work as that the page, which is loaded into triggering and executes the level execution linear list of animation,
The preceding page is loaded into the unique tag serial of the required multiple animation objects executed automatically when display, by the unique mark of animation object
It is arranged by layer, the animation object in each layer is the multiple animation objects being performed simultaneously when the current page is loaded into;Institute
State user's alternative events triggering execute animation level execute linear list be current page be in can interaction mode, user interact thing
The unique tag serial of multiple animation objects of part triggering is arranged the unique mark of animation object by layer, dynamic in each layer
It is the multiple animation objects being performed simultaneously when single user alternative events trigger in the current page to draw object.
The present invention is basic control unit with the page, according to the animation sequence attribute in page properties, interaction component
Object and animation object establish animation effect level and execute linear list, the multiple animation unique mark institutes for including in each level
The animation effect of direction can adhere to different components separately, and the triggering that multicompartment animation effect can be achieved on implementation effect is executed, concurrently held
Row and sequence execute, and have higher flexibility.
The level execution linear list that the page is loaded into triggering execution animation is required automatic when being current reading page loading display
The unique ID sequence of the multiple animation effects executed.
Further, the element that the page is loaded into the level execution linear list of triggering execution animation is executed according to animation
Sequencing, the unique ID of animation effect is pressed to the linear list of layer arrangement form, each element in the linear list is
It is one layer.Animation in each layer belongs to the multiple animations being performed simultaneously at a certain moment when the page is loaded into;Except last
Layer is outer, and each layer of subsequent layer is the multiple animations that will be executed after forerunner's layer cartoon has been carried out.
User's alternative events triggering execute animation level execute linear list be current reading page be in can interaction mode,
According to the unique ID sequence of multiple animation effects of user's alternative events triggering.
Further, it is according to animation that the level of user's alternative events triggering execution animation, which executes the element in linear list,
The unique ID of animation effect is pressed the linear list of layer arrangement form, each member in the linear list by the sequencing of execution
Element is one layer.Animation in each layer belongs to certain a period of time when single user alternative events trigger in the current page
Carve the multiple animations being performed simultaneously;In addition to last layer, each layer of subsequent layer will be held after forerunner's layer cartoon has been carried out
Capable multiple animations.
In the above-mentioned technical solutions, it is preferred that multiple animation objects in each layer adhere to different components separately.
It is further illustrated according to an embodiment of the invention with reference to Fig. 2 and Fig. 3.
Mentality of designing according to the present invention need to be to be added in the every page attribute information in electronic reading data packet
" AnimationIDList " attribute is worth for this page of animation sequence.The animation sequence is added by electronic reading data packet tools
Add, and includes following constraint:(a) animation sequence value may make up animation sequence array, and each element value all corresponds to a certain dynamic
The unique ID value of object is drawn, pointed animation object can be divided into the page and be loaded into animation and clicked by triggering classification of type
Animation, the page are loaded into triggering when animation is loaded into for current page and is presented on reader's visual range and execute, click animation and be used for
It triggers and executes when reader's touch page.
If (b) existing simultaneously the page in animation sequence to be loaded into animation and click animation, whole pages are loaded into animation
Before ID values come the ID values for all clicking animation.(c) first term for the sequential value that the page is loaded into animation part in animation sequence is signified
To animation object need be arranged " Animation_Event " attribute value be " LOAD_PAGE ";Animation portion is clicked in animation sequence
Animation object pointed by the first term of the sequential value divided needs that " Animation_Event " attribute value " CLICK " is arranged.If (d)
" Animation_Event " value of animation object in sequence pointed by each single item is " WITH_LAST_ANIMATION ", then says
The execution time consistency of the bright animation object directly forerunner, while triggering execution.
If " Animation_Event " value of the animation object in sequence pointed by each single item is " AFTER_LAST_
ANIMATION " then illustrates that the animation object is executed in its direct precursor animation effect and completes to execute later.
Fig. 2 shows parsing animation sequence according to an embodiment of the invention and build page loading triggering execution animation
Level executes the schematic flow diagram of linear list.
As shown in Fig. 2, step 202, reads animation sequence array.The animation sequence of current read page as current page one
Item attribute, is stored in the attribute information of current page, and property key is " AnimationIDList ", reads and stores in this step
Initial value for animation sequence array, setting index value i is 0.
Step 204, the animation object of corresponding ID value is quoted according to i-th of element value in animation sequence array.From animation sequence
It takes out the value of i-th of element in columns group, and is key assignments from the mapping relations of animation unique ID and animation object using this value
It is middle to take out corresponding animation object.
Step 206, judge whether the object is " CLICK " type animation.It is taken from the animation object taken out in step 204
Animation_Event attribute values, whether comparison is " CLICK ".If it is " CLICK " type animation, then illustrate to build the page
The flow for being loaded into the level execution linear list that triggering executes animation is completed, and terminates;If not " CLICK " type animation, then
It continues to execute.
Step 208, judge whether the object is " LOAD_PAGE " type animation.From the animation object taken out in step 204
In take Animation_Event attribute values, whether comparison is " LOAD_PAGE ".If it is " LOAD_PAGE " type animation, then
It enters step during the level that 210 are loaded into triggering execution animation in the page executes linear list and creates initiation layer, and this is added in the layer
Animation object, note first layer index value mLoadLevel=0;If not " LOAD_PAGE " type animation, then continue to execute.
Step 212, judge whether the object is " WITH_LAST_ANIMATION " type animation.It is taken out from step 2
Animation object in take Animation_Event attribute values, whether comparison is " WITH_LAST_ANIMATION ".If it is "
WITH_LAST_ANIMATION " type animations then enter step 214 and are loaded into the level execution line that triggering executes animation in the page
Property table in mLoadLevel layers addition this animation object;If not " WITH_LAST_ANIMATION " type animation, then
It continues to execute.
Step 216, judge whether the object is " AFTER_LAST_ANIMATION " type animation.It is taken from step 204
Animation_Event attribute values are taken in the animation object gone out, whether comparison is " AFTER_LAST_ANIMATION ".
If it is " AFTER_LAST_ANIMATION " type animation, then enters step 218 and be loaded into triggering execution in the page
The level of animation, which executes, creates one layer in linear list, and adds this animation object in the layer, and mLoadLevel increments add the increasing of 1, i
Amount plus 1.
If not " AFTER_LAST_ANIMATION " type animation, then continue to execute.
Step 220, judge whether i is less than animation sequence array length value.If i is less than animation sequence array length at this time
Value, then repeat step 204;If i is more than or equal to animation sequence array length value at this time, terminate.
Fig. 3 shows parsing animation sequence according to an embodiment of the invention and builds the triggering execution of user's alternative events and moves
The level of picture executes the schematic flow diagram of linear list.
As shown in figure 3, step 302, reads animation sequence array.If index value i is parsing, the page is loaded into animation sequence knot
The value of i when beam.
Step 304, the animation object of corresponding ID value is quoted according to i-th of element value in animation sequence array.From animation sequence
It takes out the value of i-th of element in columns group, and is key assignments from the mapping relations of animation unique ID and animation object using this value
It is middle to take out corresponding animation object.
Step 306, judge whether the object is " CLICK " type animation.It is taken from the animation object taken out in step 204
Animation_Event attribute values, whether comparison is " CLICK ".If it is " CLICK " type animation, then enter step 308
The level of user's alternative events triggering execution animation, which executes in linear list, creates initiation layer, and adds this animation object in the layer,
Remember first layer index value mLoadLevel=0;If not " CLICK " type animation, then continue to execute.
Step 310, judge whether the object is " WITH_LAST_ANIMATION " type animation.It is taken out from step 2
Animation object in take Animation_Event attribute values, whether comparison is " WITH_LAST_ANIMATION ".If it is "
WITH_LAST_ANIMATION " type animations then enter step the level that 312 trigger execution animation in user's alternative events and hold
MLoadLevel layers in row linear list are added this animation object.
If not " WITH_LAST_ANIMATION " type animation, then continue to execute.
Step 314, judge whether the object is " AFTER_LAST_ANIMATION " type animation.It is taken out from step 2
Animation object in take Animation_Event attribute values, whether comparison is " AFTER_LAST_ANIMATION ".If it is "
AFTER_LAST_ANIMATION " type animations then enter step the level that 316 trigger execution animation in user's alternative events and hold
One layer is created in row linear list, and adds this animation object in the layer, and mLoadLevel increments add the increment of 1, i to add 1;If no
It is " AFTER_LAST_ANIMATION " type animation, then continues to execute.
Step 318, judge whether i is less than animation sequence array length value.If i is less than animation sequence array length at this time
Value, then repeat step 304;If i is more than or equal to animation sequence array length value at this time, terminate.
Fig. 4 shows the block diagram of animation display processing unit according to an embodiment of the invention.
As shown in figure 4, animation display processing unit 400 according to an embodiment of the invention may include:Animation sequence solution
Unit 402 is analysed, for according to the default animation sequence attribute of the page, interactive controls and animation corresponding with the interactive controls
Object establishes animation effect level and executes linear list;Animation effect execution unit 404, for being held according to the animation effect level
Row linear list executes the animation effect that each animation object is included.In the present embodiment, according to animation sequence information rationally to have
Animation effect in the mode tissue page of sequence, and the animation for executing each animation object and being included is played according to user operation case
Effect is realized and the animation effects such as triggers execution, concurrently executes and sequentially execute, and page presentation effect is made more to enrich, while into
One step improves the interactive reading experience of user.
In the above-mentioned technical solutions, it is preferred that the animation sequence resolution unit 402 includes:Mapping relations establish unit
4042, for according to the interactive controls array in the description information of the page, establishing control unique mark and control object
Mapping relations, and each control object of traversal, obtain the animation effect that each control object includes, establish the control
The mapping relations of unique mark, animation unique mark and animation object;Linear list creating unit 4044, according to the default animation
All animations that the page is included by sequence properties generate animation unique mark linear list, Yi Jigen according to sequencing is executed
It is unique according to the mapping relations and the animation of the animation unique mark linear list, the control unique mark and control object
Mark and the mapping relations of animation object establish the animation effect level and execute linear list.
The mapping relations of control unique mark and control object, for being controlled according to the specified interaction of control unique mark operation
Part object.The mapping relations of animation unique mark and animation object, for obtaining specified animation pair according to animation unique mark
Image information.When control unique mark is integer number, only in the affiliated Page Range of control effectively, uniquely marked according to this control
It is the object built according to the attribute information of interactive controls that knowledge, which can call specified interactive controls object, interactive controls object, and
Through being loaded into current reading page.When animation unique mark is integer number, only in the affiliated Page Range of control effectively,
It is according to some control category in current reading page that specified animation object, animation object can be called according to this animation unique mark
Property in animation information structure object.
In the above-mentioned technical solutions, it is preferred that it includes that page loading triggering is held that the animation effect level, which executes linear list,
The level of action picture executes linear list and the triggering of user's alternative events executes the level execution linear list of animation;The animation effect
Execution unit 404 is additionally operable to, when user operation case is that the page is loaded into animation or clicks animation, be loaded into and touched according to the page
The level execution linear list that hair executes animation executes the animation effect that each animation object is included, and in the user's operation thing
When part is Page user alternative events, the level that execution animation is triggered according to user's alternative events executes linear list execution respectively
The animation effect that animation object is included.
In the above-mentioned technical solutions, it is preferred that it is to work as that the page, which is loaded into triggering and executes the level execution linear list of animation,
The preceding page is loaded into the unique tag serial of the required multiple animation objects executed automatically when display, by the unique mark of animation object
It is arranged by layer, the animation object in each layer is the multiple animation objects being performed simultaneously when the current page is loaded into;Institute
State user's alternative events triggering execute animation level execute linear list be current page be in can interaction mode, user interact thing
The unique tag serial of multiple animation objects of part triggering is arranged the unique mark of animation object by layer, dynamic in each layer
It is the multiple animation objects being performed simultaneously when single user alternative events trigger in the current page to draw object.
The present invention is basic control unit with the page, according to the animation sequence attribute in page properties, interaction component
Object and animation object establish animation effect level and execute linear list, the multiple animation unique mark institutes for including in each level
The animation effect of direction can adhere to different components separately, and the triggering that multicompartment animation effect can be achieved on implementation effect is executed, concurrently held
Row and sequence execute, and have higher flexibility.
In the above-mentioned technical solutions, it is preferred that multiple animation objects in each layer adhere to different components separately.
It is described in detail according to the technique and scheme of the present invention above in association with attached drawing, if only with array side in module information
Formula describes the sequencing of interactive component animation effect execution, and the animation of each component executes sequence and is independent from each other, Wu Fashi
The Interleaved control of existing multiple interactive component animation effects plays.The present invention is basic control unit with the page, according to page properties
In animation sequence attribute, interaction component object and animation object establish animation effect level and execute linear list, each layer
The animation effect pointed by multiple animation unique marks for including in grade can adhere to different components separately, can be achieved on implementation effect multigroup
The triggering of part animation effect executes, concurrently executes and sequentially execute, and has higher flexibility, makes the page that effect be presented richer
Richness, while further increasing the interactive reading experience of user.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (8)
1. a kind of animation display processing method, which is characterized in that including:
It is established according to the default animation sequence attribute of the page, interactive controls and animation object corresponding with the interactive controls dynamic
It draws hierarchy of effects and executes linear list;
According to the interactive controls array in the description information of the page, the mapping for establishing control unique mark and control object is closed
System;
Traverse each control object, obtain the animation effect that each control object includes, establish the control unique mark,
The mapping relations of animation unique mark and animation object;
All animations for including by the page according to the default animation sequence attribute generate animation according to sequencing is executed
Unique mark linear list;
According to mapping relations of the animation unique mark linear list, the control unique mark and control object and described dynamic
The mapping relations for drawing unique mark and animation object establish the animation effect level execution linear list;
Linear list, which is executed, according to the animation effect level executes the animation effect that each animation object is included.
2. animation display processing method according to claim 1, which is characterized in that the animation effect level executes linear
Table includes that the level that the page is loaded into the level execution linear list of triggering execution animation and the triggering of user's alternative events executes animation is held
Row linear list;
When user operation case is that the page is loaded into animation or clicks animation, the layer that triggering executes animation is loaded into according to the page
Grade executes linear list and executes the animation effect that each animation object is included;
When the user operation case is Page user alternative events, is triggered according to user's alternative events and execute animation
Level executes linear list and executes the animation effect that each animation object is included.
3. animation display processing method according to claim 2, which is characterized in that the page is loaded into triggering and executes animation
Level execute the unique tag serial that linear list is required multiple animation objects executed automatically when current page is loaded into display,
The unique mark of animation object is arranged by layer, the animation object in each layer is when the current page is loaded into while to hold
Capable multiple animation objects;
User's alternative events triggering execute animation level execute linear list be current page be in can interaction mode, user
The unique tag serial of multiple animation objects of alternative events triggering is arranged the unique mark of animation object by layer, each layer
In animation object be multiple animation objects for being performed simultaneously when single user alternative events trigger in the current page.
4. animation display processing method according to claim 3, which is characterized in that multiple animation objects point in each layer
Belong to different components.
5. a kind of animation display processing unit, which is characterized in that including:
Animation sequence resolution unit, for interacting control according to the default animation sequence attribute of the page, interactive controls and with described
The corresponding animation object of part establishes animation effect level and executes linear list;
Mapping relations establish unit, for according to the interactive controls array in the description information of the page, it is unique to establish control
The mapping relations of mark and control object, and each control object of traversal, obtain the animation that each control object includes
Effect establishes the control unique mark, the mapping relations of animation unique mark and animation object;
Linear list creating unit, according to the default animation sequence attribute by all animations that the page includes according to executing elder generation
After be sequentially generated animation unique mark linear list, and according to the animation unique mark linear list, the control unique mark
The animation effect is established with the mapping relations of control object and the animation unique mark and the mapping relations of animation object
Level executes linear list;
Animation effect execution unit executes each animation object and is included for executing linear list according to the animation effect level
Animation effect.
6. animation display processing unit according to claim 5, which is characterized in that the animation effect level executes linear
Table includes that the level that the page is loaded into the level execution linear list of triggering execution animation and the triggering of user's alternative events executes animation is held
Row linear list;
The animation effect execution unit is additionally operable to when user operation case is that the page is loaded into animation or clicks animation, according to institute
The level execution linear list for stating page loading triggering execution animation executes the animation effect that each animation object is included, and in institute
When to state user operation case be Page user alternative events, trigger executing the level of animation and execute according to user's alternative events
Linear list executes the animation effect that each animation object is included.
7. animation display processing unit according to claim 6, which is characterized in that the page is loaded into triggering and executes animation
Level execute the unique tag serial that linear list is required multiple animation objects executed automatically when current page is loaded into display,
The unique mark of animation object is arranged by layer, the animation object in each layer is when the current page is loaded into while to hold
Capable multiple animation objects;
User's alternative events triggering execute animation level execute linear list be current page be in can interaction mode, user
The unique tag serial of multiple animation objects of alternative events triggering is arranged the unique mark of animation object by layer, each layer
In animation object be multiple animation objects for being performed simultaneously when single user alternative events trigger in the current page.
8. animation display processing unit according to claim 7, which is characterized in that multiple animation objects point in each layer
Belong to different components.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410185242.2A CN105094765B (en) | 2014-05-04 | 2014-05-04 | Animation display processing method and animation display processing unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410185242.2A CN105094765B (en) | 2014-05-04 | 2014-05-04 | Animation display processing method and animation display processing unit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105094765A CN105094765A (en) | 2015-11-25 |
CN105094765B true CN105094765B (en) | 2018-09-18 |
Family
ID=54575307
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410185242.2A Expired - Fee Related CN105094765B (en) | 2014-05-04 | 2014-05-04 | Animation display processing method and animation display processing unit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105094765B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107203389B (en) * | 2016-03-18 | 2021-01-22 | 百度在线网络技术(北京)有限公司 | Control display method and device |
CN107066271B (en) * | 2017-03-31 | 2020-06-16 | 武汉斗鱼网络科技有限公司 | Hierarchical management method and system for display object |
CN107862729B (en) * | 2017-08-24 | 2021-07-02 | 平安普惠企业管理有限公司 | Hierarchical animation generation method, terminal and readable storage medium |
RU2707589C1 (en) * | 2019-05-06 | 2019-11-28 | Общество с ограниченной ответственностью "СИПСервис" | Animation table |
CN111028324A (en) * | 2019-11-25 | 2020-04-17 | 北京磨刀刻石科技有限公司 | Interactive animation generation method and device based on multi-page state |
CN113157366B (en) * | 2021-04-01 | 2024-10-25 | 北京达佳互联信息技术有限公司 | Animation playing method, device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101477750A (en) * | 2009-01-20 | 2009-07-08 | 中国民航大学 | Method and system for control type course teaching demonstration |
CN103207918A (en) * | 2013-04-26 | 2013-07-17 | 珠海金山办公软件有限公司 | Method, system and device for managing animation effect of presentation files |
US8613078B2 (en) * | 2008-07-09 | 2013-12-17 | Canon Kabushiki Kaisha | Information processing apparatus, control method therefor, and program |
-
2014
- 2014-05-04 CN CN201410185242.2A patent/CN105094765B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8613078B2 (en) * | 2008-07-09 | 2013-12-17 | Canon Kabushiki Kaisha | Information processing apparatus, control method therefor, and program |
CN101477750A (en) * | 2009-01-20 | 2009-07-08 | 中国民航大学 | Method and system for control type course teaching demonstration |
CN103207918A (en) * | 2013-04-26 | 2013-07-17 | 珠海金山办公软件有限公司 | Method, system and device for managing animation effect of presentation files |
Also Published As
Publication number | Publication date |
---|---|
CN105094765A (en) | 2015-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105094765B (en) | Animation display processing method and animation display processing unit | |
US11610353B2 (en) | Seamless representation of video and geometry | |
CN104794232B (en) | The recommendation method and apparatus of search result | |
US8701002B2 (en) | Hierarchical display and navigation of document revision histories | |
US8918758B2 (en) | Systems and methods for storing object and action data during media content development | |
JP2013538505A (en) | Tools for presenting and editing storyboard representations of compound presentations | |
CN106852178A (en) | Animation framework | |
CN108052322A (en) | A kind of dragging method based on visual layout's system | |
CN106530371A (en) | Method and device for editing and playing animation | |
JP2006120142A5 (en) | ||
US20120329540A1 (en) | Computer-implemented video puzzles | |
CN106973309A (en) | A kind of barrage generation method and device | |
JP2016514318A (en) | Visualization of recorded execution of multithreaded software programs for performance and accuracy | |
CN106815880B (en) | Animation multiplexing method and system | |
CN106569834A (en) | Animation production method and animation production system based on browser | |
WO2016092704A1 (en) | Information processing device, motion video play method, and motion video play program | |
US20180143741A1 (en) | Intelligent graphical feature generation for user content | |
CN104978413B (en) | GIS line numbers are according in browser end visible apparatus and method | |
CN111897615A (en) | Method and system for realizing animation effect editing in interface | |
CN109446506B (en) | Automatic reconstruction method and device for electronic form table | |
CN110215707A (en) | The method and device of interactive voice, electronic equipment, storage medium in game | |
US20180081885A1 (en) | Handoff support in asynchronous analysis tasks using knowledge transfer graphs | |
Skorupski et al. | Novice-friendly authoring of plan-based interactive storyboards | |
CN101661629B (en) | Device and method for monitoring role behavior in three-dimensional virtual world | |
US20110161837A1 (en) | Virtual world presentation composition and management |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180918 Termination date: 20190504 |
|
CF01 | Termination of patent right due to non-payment of annual fee |