WO2012008097A1 - アニメーション制御装置、アニメーション制御方法、プログラムおよび集積回路 - Google Patents

アニメーション制御装置、アニメーション制御方法、プログラムおよび集積回路 Download PDF

Info

Publication number
WO2012008097A1
WO2012008097A1 PCT/JP2011/003561 JP2011003561W WO2012008097A1 WO 2012008097 A1 WO2012008097 A1 WO 2012008097A1 JP 2011003561 W JP2011003561 W JP 2011003561W WO 2012008097 A1 WO2012008097 A1 WO 2012008097A1
Authority
WO
WIPO (PCT)
Prior art keywords
animation
priority
component
control content
control
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.)
Ceased
Application number
PCT/JP2011/003561
Other languages
English (en)
French (fr)
Inventor
孝夫 安達
秀彦 秦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Original Assignee
Panasonic Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Panasonic Corp filed Critical Panasonic Corp
Priority to JP2011538780A priority Critical patent/JP5722229B2/ja
Priority to CN201180003797.5A priority patent/CN102483855B/zh
Priority to US13/395,663 priority patent/US8917277B2/en
Publication of WO2012008097A1 publication Critical patent/WO2012008097A1/ja
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/00Three-dimensional [3D] image rendering
    • G06T15/005General purpose rendering architectures

Definitions

  • the present invention relates to an apparatus for controlling animation of an image displayed on a display.
  • a GUI displaying an image for receiving the operation on a display such as a television
  • Graphical (User Interface) application program hereinafter referred to as application
  • animation means that the state of an animation part (for example, at least one of position, size, shape, color, transparency, etc.) is changed little by little at regular time intervals and the animation part is displayed. is there.
  • the fixed time interval is determined in advance for each display, and specifically, is determined by a display update rate called a vertical synchronization frequency set in the display.
  • An animation part is an image (GUI part) displayed as an object of animation by an application.
  • the animation control device provided in the conventional device performs a drawing content update process at regular time intervals in order to realize an animation according to the application.
  • the vertical synchronization frequency set for the display is 60 Hz
  • the display content can be updated only 60 times per second on the display.
  • the above-mentioned fixed time interval is 16.6 ms.
  • the above-described fixed time interval is hereinafter referred to as an update interval.
  • FIG. 11 is a diagram showing an example of animation by a conventional animation control device.
  • the conventional animation control apparatus executes an application, and in accordance with the application, as shown in FIG. 11A, the animation component 202 displayed on the display 201 is displayed for a predetermined time (drawing processing time). , The image is moved in a predetermined drawing direction (arrow in FIG. 11A) and displayed as an animation part 203.
  • the animation control apparatus performs a drawing content update process at each update interval during the drawing process time, as shown in FIG. That is, when the update interval elapses after the animation is started, the animation control device enlarges the animation part 202 slightly and moves it in the above drawing direction slightly.
  • the animation control apparatus repeatedly performs the above-described enlargement and movement (drawing content update process) on the displayed animation component 202 every time the update interval elapses, thereby rendering the drawing process time from the start of the animation.
  • the animation part 203 is displayed on the display 201.
  • the application is set to perform the above-described drawing content update processing as many times as the update interval elapses during the drawing processing time. For example, when the vertical synchronization frequency set on the display is 60 Hz and the drawing processing time until the animation component 202 moves and is displayed as the animation component 203 is 2 seconds, the application can display the drawing contents for 120 times.
  • the update process must be set.
  • Animation is realized by performing this drawing content update process at each update interval. That is, the animation part 202 moves in the drawing direction during the drawing processing time, and is finally displayed as the animation part 203.
  • the same application distributed by, for example, a network may be executed by a plurality of different devices.
  • the animation control devices provided in these devices for example, because the number of CPU (Central Processing Unit) clocks of these devices is different, the number of animation parts that can be moved may be different at each display update interval. is there.
  • the number of animation parts that can be moved may differ depending on the usage state of the CPU.
  • Patent Document 1 an animation control apparatus that switches the display quality of animation between high quality and low quality according to the CPU usage rate.
  • the animation control device disclosed in Patent Document 1 changes the frame rate of icons, menus, and moving images to lower the CPU usage rate.
  • Patent Document 1 has a problem that the overall display quality of the animation is deteriorated and the animation intended by the application developer cannot be realized.
  • the animation control device of Patent Document 1 performs animation according to the application when the CPU usage rate is low, but when the CPU usage rate is high, the animation control device includes an application so that the CPU usage rate decreases. Accordingly, the frame rate of the animation, that is, the drawing processing amount of the animation is changed. At this time, the quality of the entire screen displayed by the application, that is, the quality of the animation of all animation parts on the display is deteriorated, and the animation intended by the application developer is not performed.
  • the present invention has been made in view of such a problem, and provides an animation control device that can suppress the deterioration of the display quality of the entire animation and can perform the animation intended by the application developer.
  • the purpose is to do.
  • an animation control device is an animation control device that controls animation by an application program, and is a plurality of images to be displayed that are preset for the application program.
  • a priority specifying unit for specifying the priority of each of the plurality of drawing parts by referring to component priority information indicating the priority of each of the drawing parts, and animation execution for animating the plurality of drawing parts
  • a determination value that is a calculation processing amount required for the animation according to the first control content by the animation execution unit of the plurality of drawing parts and the plurality of drawing parts is greater than a first appropriate value
  • the priority is determined to be large by the determination unit, The lower the priority specified, the less the calculation processing amount necessary for the animation of the change target part that is the drawing part corresponding to the priority, the control content of the animation of the change target part,
  • a component control unit that changes from the first control content to the second control content, and the animation execution unit performs an animation of the change target component according to the second control content, and
  • An animation of a non-change target component that is a
  • the animation control device further includes a CPU, and the animation execution unit causes the CPU to perform arithmetic processing necessary for animation according to the first control content of the plurality of drawing parts, and the determination The unit performs the determination by treating the usage rate of the CPU used for the arithmetic processing as the determination value.
  • Animation of drawing parts can be performed appropriately. Therefore, it is possible to prevent all animations of a plurality of drawing parts from being restricted, and it is possible to suppress deterioration in display quality of the entire animation. Furthermore, if the application developer sets a high priority in the component priority information for the drawing component that is the target of the animation intended by the application developer, even if the CPU usage rate is high, Can perform the intended animation.
  • the animation control device further includes, for each priority, a storage unit that stores component state control information indicating first control content corresponding to the priority, and the animation execution of the plurality of drawing components.
  • a measurement unit that measures the amount of calculation processing used for the animation according to the first control content by the unit, and the determination unit uses the calculation processing amount measured by the measurement unit as the determination value
  • the component control unit determines the first control content corresponding to the priority of the change target component indicated by the component state control information stored in the storage unit as the second control content.
  • the animation execution unit changes the control contents of the first and second control contents indicated by the component state control information stored in the storage unit. Therefore perform animation of the plurality of drawing components.
  • the calculation processing amount used for the animation is measured, and the measured actual calculation processing amount is treated as a determination value. Therefore, it is possible to determine whether or not it is larger than the first appropriate value using an accurate determination value. Furthermore, the control content of the component state control information stored in the storage unit is changed according to the determination result. Therefore, when the animation of a plurality of drawing parts is performed again, the animation is performed according to the component state control information that is updated and stored in the storage unit, so that the animation can be appropriately controlled based on past experience. it can.
  • the component control unit changes the control content of the animation of the change target component from the first control content indicating that the animation is executed to the second control content indicating that the animation is not executed.
  • the animation execution unit animates the non-change target part according to the first control content and does not animate the change target part according to the second control content.
  • the component control unit indicates a second frame rate lower than the first frame rate from the first control content indicating the first frame rate, based on the control content of the animation of the change target component.
  • the animation execution unit performs an animation of the non-change target component at a first frame rate according to the first control content, and changes according to the second control content. Animation of the target part is performed at the second frame rate.
  • the animation control device further includes an information generation unit that determines a priority for each of the plurality of drawing components and generates the component priority information indicating the determined priority.
  • the plurality of drawing parts include a first drawing part and a second drawing part having a smaller size of the area displayed than the first drawing part, and the information generation unit includes the first drawing part. Priorities of the first and second drawing parts are determined so that one drawing part has a higher priority than the second drawing part.
  • the plurality of drawing components include a first drawing component and a second drawing component having a data size smaller than that of the first drawing component, and the information generation unit includes the first drawing component. The priorities of the first and second drawing parts are determined so that the priority is higher than that of the second drawing part.
  • application developers tend to be more eager to animate a drawing part with a larger drawing part size or data size. Therefore, priorities are determined according to their sizes, and component priority information indicating the determined priorities is generated, so that the application developer needs to set the priority in the component priority information. In addition, application development efficiency can be improved.
  • the animation control apparatus further includes a history recording unit that records, as an operation history, a history of operations of the drawing component by a user for each of the plurality of drawing components. For each component, a priority is determined based on the operation history recorded for the drawing component.
  • the priority is determined based on the operation history of the drawing component, and component priority information indicating the determined priority is generated, so that the application developer sets the priority in the component priority information. It is not necessary to improve the application development efficiency.
  • the determination unit further determines whether or not the determination value is smaller than a second appropriate value that is smaller than the first appropriate value, and the component control unit is further reduced by the determination unit.
  • the priority specified by the priority specifying unit is lower, the amount of calculation processing necessary for the animation of the change processing target component, which is a drawing component corresponding to the priority, increases with a small change rate.
  • the control content of the animation of the change process target component is changed from the first control content to the third control content, and the animation execution unit further changes the animation of the change process target component to the first control content. 3, and the animation of the non-change process target part that is a drawing part other than the change process target part among the plurality of drawing parts. Carried out in accordance with the contents.
  • the first control content for a drawing component with a low priority is a content for limiting the animation
  • the first control content for a drawing component with a high priority is a content for not limiting the animation.
  • the CPU usage rate CPU average usage rate
  • priority is given.
  • the restriction on the animation of the change processing target component is released by changing the control content of the animation of the drawing component with a low degree, that is, the change processing target component from the first control content to the third control content. Therefore, when the restriction of animation for a drawing component with a low priority is more than necessary due to the first control content, the restriction can be lifted.
  • the calculation process required for the animation of drawing parts with medium priority than the calculation process required for the animation of drawing parts with low priority.
  • the control contents of the animations of the drawing components with medium and low priority are changed from the first control contents to the third control contents so that the amount increases with a large change rate.
  • the drawing part with the medium priority has priority over the drawing part with the lower priority, and the restriction on the animation is relaxed. Therefore, even when the restriction on the animation is lifted, the animation for the drawing component with a low priority can be kept in a state that is more restricted than the animation for the drawing component with the medium and high priority.
  • the present invention can be realized not only as such an animation control device, but also as a processing operation method in the animation processing device, a program for causing a computer to perform the processing operation, a storage medium storing the program, Alternatively, it can be realized as an integrated circuit that functions as an animation control device.
  • the animation control apparatus can suppress the deterioration of the display quality of the entire animation and can perform the animation intended by the application developer.
  • FIG. 1 is a block diagram showing an example of the configuration of the animation control apparatus according to the embodiment of the present invention.
  • FIG. 2 is a diagram showing an example of the CPU appropriate information.
  • FIG. 3 is a diagram illustrating an example of the component priority information.
  • FIG. 4 is a diagram showing an example of the component state control information.
  • FIG. 5 is a diagram showing an example of the updated component state control information.
  • FIG. 6 is a diagram showing an animation by the animation control apparatus same as above.
  • FIG. 7 is a flowchart showing the overall operation of the animation control apparatus of the above.
  • FIG. 8 is a flowchart showing the operation of the execution unit.
  • FIG. 9 is a flowchart showing the operation of the component control unit described above.
  • FIG. 10 is a block diagram showing the configuration of the animation control apparatus according to the present invention.
  • FIG. 11 is a diagram showing an example of animation by a conventional animation control device.
  • the animation control device in the present embodiment is a device that performs animation of an animation component (drawing component) for realizing a function as a GUI by executing a GUI application program (application).
  • an animation control device is provided in a device such as a moving image or still image recording / playback device (for example, a DVD player) and executes thumbnails of recorded moving images and still images by executing an application. Display a list of At this time, the animation control apparatus uses thumbnails as animation parts, for example, performs animation of those animation parts (thumbnails), and displays the list.
  • an animation control device there is an effect that an animation intended by an application developer can be performed by suppressing a decrease in display quality of the entire animation.
  • an animation is an animation part in which the state of the animation part (for example, at least one of position, size, shape, color, and transparency) is changed little by little at each update interval. Is displayed. Also, the process of performing animation is a process of changing the state of the animation part at each update interval and displaying the animation part in the changed state.
  • FIG. 1 is a block diagram showing an example of the configuration of the animation control apparatus according to the present embodiment.
  • the animation control apparatus 100 in this embodiment includes a storage unit 101, an execution unit 102, a CPU 103, a component control unit 104, and a display unit 105.
  • the storage unit 101 corresponds to a plurality of applications ap, CPU appropriate information d1 indicating an appropriate usage rate of the CPU 103, component priority information d2 indicating the priority of each of the plurality of animation components, and the priority of the animation components.
  • the component state control information d3 indicating the control content of the state (animation) of the animation component is stored.
  • the execution unit 102 selects any one application ap from the plurality of applications ap stored in the storage unit 101, and reads and executes the selected application ap.
  • the application ap executed by the execution unit 102 is referred to as an execution application ap.
  • the execution unit 102 specifies the animation control contents of the plurality of animation parts based on the part priority information d2 and the part state control information d3 stored in the storage unit 101. Then, the execution unit 102 animates a plurality of animation parts according to the specified control content. When the specified control content indicates that no animation is performed, the execution unit 102 does not perform animation of the animation component corresponding to the control content.
  • the execution unit 102 when performing an animation of a plurality of animation parts, performs a drawing content update process at each update interval during the drawing process time.
  • This drawing processing time is a time during which animation is performed, which is determined by the execution application ap.
  • the execution unit 102 generates a display image in which at least a part of one or more animation parts to be animated is drawn in the drawing content update process, and outputs the display image to the display unit 105. .
  • Such a display image is generated at each update interval, and the plurality of display images generated at each update interval are different from each other. That is, when performing an animation, the execution unit 102 sequentially generates different display images at each update interval so that the state of one or more animation parts to be animated changes gradually on the display image.
  • the execution unit 102 reads out a plurality of animation parts set in advance in the execution application ap from the part storage unit 200 and uses them for the above-described drawing content update process.
  • the execution unit 102 when executing the application ap and performing animation, the execution unit 102 causes the CPU 103 to perform arithmetic processing necessary for them.
  • the CPU 103 performs arithmetic processing necessary for the execution and animation of the application ap by the execution unit 102 in accordance with an instruction from the execution unit 102.
  • the component control unit 104 calculates the CPU average usage rate of the CPU 103, and based on the CPU average usage rate and the CPU appropriate information d1 stored in the storage unit 101, the control content of the component state control information d3 is determined. change.
  • the component control unit 104 calculates the arithmetic processing amount (CPU usage rate or CPU average usage rate) used for the animation according to the component state control information d3 by the execution unit 102 of the plurality of animation components. It is comprised as a measurement part to measure.
  • the display unit 105 includes, for example, a liquid crystal display or a PDP (Plasma Display Panel), and receives a display image output from the execution unit 102 at each update interval, and displays the display image.
  • a liquid crystal display or a PDP Plasma Display Panel
  • FIG. 2 is a diagram illustrating an example of the CPU proper information d1.
  • the CPU appropriate information d1 includes, for each application ap stored in the storage unit 101, the name of the application ap (application name) and the range of the appropriate usage rate of the CPU 103 for the application ap ( CPU proper range).
  • the CPU appropriate range is an appropriate ratio (for example, percentage) that the application ap may use the CPU 103 as viewed from the entire device (for example, recording / reproducing apparatus), and is determined by the developer of the application ap.
  • the CPU appropriate information d1 includes the application name “photo viewer” for the application ap for viewing the recorded photograph and the CPU appropriate range “20 to 30%” for the application ap. Show.
  • the upper limit value of the CPU appropriate range is the first appropriate value, and the lower limit value is the second appropriate value.
  • FIG. 3 is a diagram illustrating an example of the component priority information d2.
  • the part priority information d2 indicates the priority of the animation part for each animation part preset in the application ap as shown in FIG. Such priority is determined by the developer of the application ap.
  • the component priority information d2 shown in FIG. 3 indicates the priority of each of the animation components A to E preset in the photo viewer application ap.
  • the component priority information d2 indicates that the priority of the animation components A and B is “high” and that each of the animation components C to E is “low”.
  • FIG. 4 is a diagram illustrating an example of the component state control information d3.
  • the part state control information d3 indicates the control content of the animation of the animation part corresponding to the priority for each priority.
  • the control content is, for example, “with animation” or “without animation”. “With animation” indicates that animation is performed, and “No animation” indicates that animation is not performed. That is, the component state control information d3 shown in FIG. 4 indicates that “animation is present”, that is, animation is performed for both of the priority levels “high” and “low”.
  • the control content of the component state control information d3 is updated by the component control unit 104 for each priority.
  • FIG. 5 is a diagram illustrating an example of the updated component state control information d3.
  • the updated component state control information d3 indicates the control content “animation present” for the priority “high”, while the priority “low”. Indicates the control content “no animation”. That is, the component state control information d3 shown in FIG. 5 indicates that animation is performed for the animation component corresponding to the priority “high”, and no animation is performed for the animation component corresponding to the priority “low”. Indicates.
  • FIG. 6 is a diagram showing an animation by the animation control apparatus 100.
  • the execution unit 102 when the execution unit 102 reads the above-described photo viewer application ap from the storage unit 101 as the execution application ap and executes it, the execution unit 102 performs an animation for displaying a list of photos as thumbnails. That is, the execution unit 102 generates a different display image and displays it on the display unit 105 at each update interval.
  • the list of photos includes animation parts A to E which are thumbnails.
  • the execution unit 102 first reads the component priority information d2 and the component state control information d3 from the storage unit 101 before performing animation, and selects an animation component to be animated based on them. That is, the execution unit 102 determines that the priority of the animation parts A and B is “high” and the priority of the animation parts C to E is “low” based on the part priority information d2. To do. Furthermore, the execution unit 102 determines to animate the animation parts with the priority “high” and “low” based on the part state control information d3 shown in FIG. As a result, the execution unit 102 selects animation parts A to E as animation parts to be animated.
  • the execution unit 102 animates the selected animation part.
  • the execution unit 102 generates a display image and displays it on the display unit 105 at the start of the animation.
  • FIG. 6A only a part of the animation part A among the animation parts A to E is displayed on the upper part of the display area 105a of the display unit 105.
  • the execution unit 102 generates a new display image and displays it on the display unit 105 when the update interval elapses. As a result, as shown in FIG. 6B, a part of each of the animation parts A to E is displayed in the display area 105a of the display unit 105. Further, the execution unit 102 generates a new display image and displays it on the display unit 105 when the drawing processing time has elapsed. As a result, as shown in FIG. 6C, all of the animation parts A to E are stopped and displayed at a predetermined position in the display area 105a of the display unit 105.
  • the animation shown in FIGS. 6A to 6C is performed without any restriction according to the part state control information d3, and the animation parts A to E are respectively outside the display area 105a. Appears to fade in from the inside.
  • a dotted arrow starting from the animation part in FIG. 6 indicates the direction (drawing direction) in which the animation part moves.
  • the component control unit 104 acquires the CPU appropriate information d1 from the storage unit 101 and starts the animation of the execution application ap (for example, the animation shown in (a) ⁇ (b) ⁇ (c) in FIG. 6).
  • the usage rate of the CPU 103 is monitored.
  • the CPU appropriate information d1 indicates the CPU appropriate range of the execution application ap, that is, the photo viewer application ap. Therefore, the component control unit 104 determines whether or not the CPU average usage rate based on the usage rate of the CPU 103 for the animation is out of the CPU proper range, and if it is out of the range, the component state control information d3 is updated.
  • the component control unit 104 displays the control content “no animation” for the priority “low”.
  • the component state control information d3 is updated. That is, the component state control information d3 shown in FIG. 4 is updated to the component state control information d3 shown in FIG.
  • the execution unit 102 performs the animation according to the updated component state control information d3 shown in FIG.
  • the execution unit 102 sets the priority of the animation parts A and B to “high” and the priority of the animation parts C to E based on the part priority information d2. Each is judged to be “low”.
  • the execution unit 102 determines to animate only the animation component with the priority “high” based on the updated component state control information d3 shown in FIG. As a result, the execution unit 102 selects only the animation parts A and B as animation parts to be animated.
  • the execution unit 102 animates the selected animation part as shown in (a) ⁇ (d) ⁇ (c) of FIG.
  • the execution unit 102 generates a display image and displays it on the display unit 105 at the start of the animation.
  • FIG. 6A only a part of the animation part A among the animation parts A to E is displayed on the upper part of the display area 105a of the display unit 105.
  • the execution unit 102 generates a new display image and displays it on the display unit 105 when the update interval elapses. As a result, a part of the animation parts A and B is displayed in the display area 105 a of the display unit 105 as shown in FIG. At this time, the animation parts C to E are not displayed. Further, the execution unit 102 generates a new display image and displays it on the display unit 105 when the drawing processing time has elapsed. As a result, all of the animation parts A to E are displayed in the display area 105a of the display unit 105, as shown in FIG.
  • the animations shown in FIGS. 6A to 6D are limited by the component state control information d3, and only the animation components A and B are respectively displayed from the outside of the display area 105a. Appears to fade in. That is, as shown in FIG. 6D, the animation parts C to D are not displayed while the animation is performed, and when the animation ends, that is, the movement of the animation parts A and B stops. Sometimes, as shown in FIG. 6C, it is displayed suddenly at a predetermined position.
  • FIG. 7 is a flowchart showing the overall operation of the animation control apparatus 100.
  • the animation control device 100 executes the execution target application ap stored in the storage unit 101 (step S101). Furthermore, the animation control apparatus 100 selects an animation part to be animated from a plurality of animation parts set for animation by the execution application ap based on the part priority information d2 and the part state control information d3. Select (step S102).
  • the animation control apparatus 100 animates the animation part selected in step S102, and calculates the CPU usage rate (usage rate used for the entire device) of the CPU 103 during the animation. Measure (or obtain) every sampling time (step S103).
  • the animation control apparatus 100 calculates, as the CPU average usage rate, an average value of the usage rate in which the CPU 103 is used only for the animation from the CPU usage rate measured in step S103. It is determined whether or not the CPU average usage rate is out of the CPU proper range (step S104).
  • step S104 if the animation control device 100 determines that the CPU is out of the appropriate range of the CPU (Y in step S104), the animation state control information d3 is updated (step S105). On the other hand, if the animation control apparatus 100 determines that it is not out of the CPU proper range (N in step S104), the process is terminated without updating the component state control information d3.
  • steps S101 to S105 are repeatedly executed every time an instruction to execute the application ap is received. Therefore, when the animation control apparatus 100 receives an instruction to execute the application ap after step S104 or S105, the animation control apparatus 100 repeatedly executes the process from step S101 again. That is, when the component state control information d3 is updated in step S105, the updated component state control information d3 is used for the next step S102.
  • FIG. 8 is a flowchart showing the operation of the execution unit 102.
  • the execution unit 102 reads the application ap to be executed, the CPU appropriate information d1, the component priority information d2, and the component state control information d3 from the storage unit 101 (step S201).
  • the execution unit 102 executes the application ap to be executed, identifies the CPU proper range corresponding to the execution application ap from the CPU proper information d1, and notifies the component control unit 104 of the CPU proper range (step S202).
  • the execution unit 102 selects an animation part to be animated from a plurality of animation parts set in advance in the execution application ap based on the part priority information d2 and the part state control information d3. Select (step S203). Furthermore, the execution unit 102 notifies the component control unit 104 that the animation has started (step S204).
  • step S205 When the execution unit 102 notifies the component control unit 104 of the start of the animation, the execution unit 102 starts the animation and executes a drawing content update process (step S205). That is, the execution unit 102 generates a display image using the animation part selected in step S ⁇ b> 203 and outputs the display image to the display unit 105.
  • the display unit 105 receives the display image from the execution unit 102 and displays it. Further, when such step S205 is repeated, the execution unit 102 determines the state (position, size, shape, and position) of the animation component in the display image based on the control content of the execution application ap and the component state control information d3.
  • the display image is updated so that at least one of color, transparency, and the like is changed, and the updated display image is output to the display unit 105.
  • Such an animation is realized by repeating the process of step S205.
  • step S206 determines whether or not the drawing process time has elapsed. If it is determined that the time has elapsed (Y in step S206), the execution unit 102 notifies the component control unit 104 that the animation has ended (step S207). On the other hand, if it is determined that it has not elapsed (N in step S206), the execution unit 102 further determines whether or not the update interval has elapsed (step S208). If it is determined that the time has elapsed (Y in step S208), the execution unit 102 repeatedly executes the processing from step S205.
  • step S208 the execution unit 102 repeatedly executes the processing from step S206. That is, the execution unit 102 waits for the drawing processing time or the update interval to elapse.
  • FIG. 9 is a flowchart showing the operation of the component control unit 104.
  • the component control unit 104 acquires the CPU proper range from the execution unit 102 (step S301), and upon receiving notification of the start of animation (step S302), starts the repeated measurement of the sampling time (step S303).
  • the component control unit 104 determines whether or not the CPU average usage rate Ra calculated in step S308 is out of the CPU proper range acquired in step S301 (step S309). If the component control unit 104 determines that the component control unit 104 is disconnected (Y in step S309), the component state control information d3 is read from the storage unit 101 (step S310), and is indicated in the component state control information d3. The control content corresponding to the low priority is changed (step S311). For example, the component control unit 104 changes the control content associated with the priority lower than the threshold or the lowest priority among the priorities indicated in the component state control information d3. Thereby, the component state control information d3 is updated. Thereafter, the component control unit 104 stores the updated component state control information d3 in the storage unit 101 (step S312). At this time, the old part state control information d3 before update stored in the storage unit 101 is overwritten and deleted.
  • the CPU usage rate (CPU average usage rate), which is the calculation processing amount required for the animation according to the first control content of the plurality of animation parts, is larger than the first appropriate value.
  • the animation content of the low-priority drawing component that is, the change-target component animation is changed from the first control content to the second control content, so that the animation of the low-priority animation component is restricted.
  • the control content of the animation of the drawing component with a high priority that is, the non-change target component is not changed
  • the animation of the animation component with the high priority is performed without restriction according to the first control content. .
  • Animation of animation parts can be performed appropriately. Therefore, it is possible to prevent all the animations of the plurality of animation parts from being restricted, and to suppress a reduction in the overall animation display quality. Furthermore, if the application developer sets a high priority in the component priority information d2 for the animation component that is the target of the animation intended by the application developer, even if the CPU usage rate is high, You can perform the animation you intended.
  • FIG. 10 is a block diagram showing the configuration of the animation control apparatus according to the present invention.
  • the animation control apparatus 10 is an apparatus for controlling animation by an application program, and component priority information indicating the priority of each of a plurality of drawing parts that are images to be displayed, which is set in advance for the application program.
  • the priority specifying unit 11 that specifies the priority of each of the plurality of drawing parts
  • the animation execution unit 14 that animates the plurality of drawing parts
  • the animation execution unit 14 of the plurality of drawing parts When the determination unit 12 determines whether or not the determination value, which is the amount of calculation processing necessary for the animation according to the first control content, is larger than the first appropriate value, and the determination unit 12 determines that the determination value is larger
  • a component control unit 13 that changes the control content of the animation of the change target component from the first control content to the second control content so that the amount of calculation processing required for the animation of the change target component that is a drawing component is reduced.
  • the animation execution unit 14 performs the animation of the change target part according to the second control content, and performs the first animation of a non-change target part that is a drawing part other than the change target part among the plurality of drawing parts. Perform according to the control details of
  • the animation control device 10 corresponds to the animation control device 100 of the above embodiment.
  • the components including the priority specifying unit 11 and the animation execution unit 14 correspond to the execution unit 102 of the above embodiment, and the components including the determination unit 12 and the component control unit 13 are included in the component control unit 104 of the above embodiment.
  • the application program and the drawing component correspond to the application and the animation component in the above embodiment, respectively.
  • the first control content corresponds to the control content for each priority included in the component state control information d3 shown in FIG.
  • the second control content is This corresponds to the control content for each priority included in the component state control information d3 shown in FIG. 5 of the above embodiment, for example, “with animation” or “without animation”.
  • the first control content is control content defined for each of the animations of the drawing parts
  • the second control content is control content changed from the first control content. Therefore, when the determination content is repeatedly determined by the determination unit 12 after the control content for the animation of the change target component is changed from the first control content to the second control content, The second control content is treated as the first control content.
  • the animation control apparatus 10 may not include components such as the display unit 105 and the CPU 103 as shown in FIG. 1 of the above embodiment.
  • the priority is expressed in two stages of “high” and “low” as shown in the component priority information d2 in FIG. May be represented.
  • the part priority information d2 is set so that the priority of the animation parts is expressed in five levels, and the animation parts A, B, C, D, and E are in descending order of priority. May be.
  • each animation of animation parts A, B, C, D, and E can be restricted or controlled individually.
  • the component state control information is displayed.
  • the control content for the animation part is changed from “animation present” to “no animation” in the order from the animation part E having a low priority to D, C, and B.
  • the control content is “animation present” or “no animation” as shown in the component state control information d3 in FIGS. 4 and 5.
  • “normal frame rate” "Or” low frame rate ", the control content may be a frame rate.
  • the normal frame rate is higher than the low frame rate.
  • the animation of the animation component having a high priority is performed at a normal frame rate
  • the animation of the animation component having a low priority is performed at a low frame rate.
  • the display image is thinned out so that the above-described drawing content update process is performed only once every two update intervals.
  • the average CPU usage rate for animation can be set within an appropriate range, and deterioration of the user's appearance can be suppressed to a minimum as compared with the case where no low priority animation is performed.
  • the component priority information d2 is stored in advance in the storage unit 101.
  • the component priority information d2 may be automatically generated.
  • the animation control device 100 determines the priority for each of the plurality of animation parts, and generates an information generation unit that generates part priority information d2 indicating the priority determined for each of the plurality of animation parts.
  • the information generation unit uses at least one of the size of the area where the animation part is displayed, the data size, the user operation history, and the animation effect of the animation part as a parameter for determining the priority of the animation part.
  • the parameter is the size of the area where the animation part is displayed.
  • the plurality of animation parts include a first animation part and a second area where the size of the area displayed is smaller than that of the first animation part.
  • the information generation unit determines the priority of the first and second animation parts so that the first animation part has a higher priority than the second animation part.
  • the parameter is the data size of the animation part
  • the plurality of animation parts include a first animation part and a second animation part having a data size smaller than that of the first animation part.
  • the information generation unit determines the priority of the first and second animation parts so that the first animation part has a higher priority than the second animation part.
  • the parameter is a user operation history.
  • the animation control device 100 further includes a history recording unit that records, as an operation history, a history of operation of the animation component by the user for each of the plurality of animation components. Each time, the priority is determined based on the operation history recorded for the animation part.
  • application developers tend to be more eager to animate animation parts that are frequently operated by the user or animation parts that have a short elapsed time since the last time they were operated. is there. Accordingly, the priority is determined based on the operation history of the animation component, and the component priority information d2 indicating the determined priority is generated, so that the application developer can change the priority to the component priority information d2. There is no need to set it up, and application development efficiency can be improved.
  • the case where the CPU average usage rate is higher than the appropriate range is mainly given. That is, the component state control information d3 is updated so that the animation of the animation component having a low priority is restricted when the CPU average usage rate is higher than the first appropriate value that is the upper limit value of the appropriate range.
  • the fact that the CPU average usage rate for the animation is out of the appropriate range may be a case where the CPU average usage rate is lower than the appropriate range. That is, when the CPU average usage rate is lower than the second appropriate value that is the lower limit value of the appropriate range, the component state control information d3 is updated so that the animation restriction of the animation component with the lower priority is released. May be. In such a case, the component control unit 104 (determination unit 12) further determines whether the CPU average usage rate is smaller than the second appropriate value that is smaller than the first appropriate value, and the component control unit 104.
  • the control content of the animation of the change process target part is changed from the first control content to the third control content so as to increase.
  • the execution unit 102 animation execution unit 14
  • the animation execution unit 14 further performs the animation of the change process target part according to the third control content, and is a non-animation part other than the change process target part among the plurality of animation parts. Animation of the part to be changed is performed according to the first control content.
  • the restriction of animation for the low priority animation part when the restriction of animation for the low priority animation part is performed more than necessary by the first control content, the restriction can be released.
  • the CPU average usage rate for the animation of a plurality of animation parts may be smaller than the CPU appropriate range (second appropriate value).
  • the component control unit 104 relaxes the first control content “no animation” set for the low priority of the component state control information d3 and updates the third control content “low frame rate”. To do. Thereby, the CPU average usage rate for the animation of a plurality of animation parts can be within the CPU proper range, and more appropriate animation can be realized.
  • the calculation process required for the animation of the animation part with medium priority than the calculation process required for the animation of the animation part with low priority.
  • the control content of the animation of each of the animation parts with medium and low priority is changed from the first control content to the third control content so that the amount increases with a large change rate.
  • the animation part with the medium priority has priority over the animation part with the lower priority, and the restriction of the animation is relaxed. Therefore, even when the restriction on the animation is released, the animation for the animation component with a low priority can be kept in a state of being restricted more than the animation with the medium and high priority.
  • the usage rate (CPU usage rate or CPU average usage rate) is used as the calculation processing amount of the CPU 103, but it is not a ratio (percentage) that is such a relative value but an absolute value. A value may be used.
  • the animation according to the part state control information d3 shown in FIG. 4 of the plurality of animation parts A to E is executed, and the CPU average usage rate during the execution is acquired, calculated, or measured.
  • the CPU average usage rate may be estimated without executing the animation.
  • the CPU average usage rate is estimated based on the data size of the animation parts A to E and the control content indicated in the part state control information d3.
  • the animation control apparatus 100 can appropriately update the component state control information d3 without executing the animation.
  • the animation control device is a computer system including a microprocessor, a ROM, a RAM, a hard disk unit, a display unit, a keyboard, a mouse, and the like.
  • a computer program is stored in the RAM or hard disk unit.
  • the animation control apparatus achieves its functions by the microprocessor operating according to the computer program.
  • the computer program is configured by combining a plurality of instruction codes indicating instructions for the computer in order to achieve a predetermined function.
  • Part or all of the constituent elements constituting the animation control apparatus may be configured by one system LSI (Large Scale Integration).
  • the system LSI is a super multifunctional LSI manufactured by integrating a plurality of components on a single chip, and specifically, a computer system including a microprocessor, a ROM, a RAM, and the like. .
  • a computer program is stored in the RAM.
  • the system LSI achieves its functions by the microprocessor operating according to the computer program.
  • each part of the constituent elements constituting the animation control apparatus may be individually made into one chip, or may be made into one chip so as to include a part or all of them.
  • the system LSI is called here, but it may be called IC, LSI, super LSI, or ultra LSI depending on the degree of integration.
  • the method of circuit integration is not limited to LSI's, and implementation using dedicated circuitry or general purpose processors is also possible.
  • an FPGA Field Programmable Gate Array
  • a reconfigurable processor that can reconfigure the connection and setting of circuit cells inside the LSI may be used.
  • a part or all of the components constituting the animation control device may be constituted by an IC card or a single module that can be attached to and detached from each device.
  • the IC card or the module is a computer system including a microprocessor, a ROM, a RAM, and the like.
  • the IC card or the module may include the super multifunctional LSI.
  • the IC card or the module achieves its function by the microprocessor operating according to the computer program. This IC card or this module may have tamper resistance.
  • the present invention may be the method described above. Further, the present invention may be a computer program that realizes these methods by a computer, or may be a digital signal composed of the computer program.
  • the present invention also provides a computer-readable recording medium such as a flexible disk, hard disk, CD-ROM, MO, DVD, DVD-ROM, DVD-RAM, BD (Blu-ray Disc). ), Recorded in a semiconductor memory or the like. Further, the digital signal may be recorded on these recording media.
  • a computer-readable recording medium such as a flexible disk, hard disk, CD-ROM, MO, DVD, DVD-ROM, DVD-RAM, BD (Blu-ray Disc).
  • the computer program or the digital signal may be transmitted via an electric communication line, a wireless or wired communication line, a network represented by the Internet, a data broadcast, or the like.
  • the present invention may also be a computer system including a microprocessor and a memory.
  • the memory may store the computer program, and the microprocessor may operate according to the computer program.
  • the program or the digital signal is recorded on the recording medium and transferred, or the program or the digital signal is transferred via the network or the like, and is executed by another independent computer system. It is good.
  • a drawing device suitable for various applications can be configured by combining a semiconductor chip in which the animation control device according to the present invention is integrated and a display for drawing an image.
  • the present invention can be used as information drawing means in a mobile phone, a television, a digital video recorder, a digital video camera, a car navigation, and the like.
  • a display a cathode ray tube (CRT), a liquid crystal, a PDP (plasma display panel), a flat display such as an organic EL, a projection display typified by a projector, or the like can be combined.
  • the animation control device has the effect of suppressing the deterioration of the display quality of the entire animation and performing the animation intended by the application developer.
  • a mobile phone, a portable music player, a digital camera It can be applied to a battery-driven portable display terminal such as a digital video camera, and a menu display, a web browser, an editor, an EPG, in a high-resolution information display device such as a television, a digital video recorder, or a car navigation system.
  • a high-resolution information display device such as a television, a digital video recorder, or a car navigation system.
  • it is highly useful as an information display means for displaying a map or the like.
  • Animation control apparatus 11 Priority specification part 12 Judgment part 13 Component control part 14 Animation execution part 100 Animation control apparatus 101 Storage part 102 Execution part 103 CPU 104 Component control unit 105 Display unit 200 Component storage unit ap application d1 CPU proper information d2 component priority information d3 component state control information

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Graphics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Processing Or Creating Images (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

 全体的なアニメーションの表示品質の低下を抑制し、アプリケーション開発者が意図したアニメーションを行うことが可能なアニメーション制御装置を提供する。このアニメーション制御装置(10)は、部品優先度情報(d2)を参照することにより、複数のアニメーション部品のそれぞれの優先度を特定する優先度特定部(11)と、アニメーション実行部(14)と、アニメーションに必要な演算処理量が第1の適正値よりも大きいか否かを判定する判定部(12)と、大きいと判定された際に、優先度の低いアニメーション部品である変更対象部品のアニメーションの制御内容を第1の制御内容から第2の制御内容に変更する部品制御部(13)とを備え、アニメーション実行部(14)は、変更対象部品のアニメーションを第2の制御内容にしたがって行い、非変更対象部品のアニメーションを第1の制御内容にしたがって行う。

Description

アニメーション制御装置、アニメーション制御方法、プログラムおよび集積回路
 本発明は、ディスプレイ上に表示される画像のアニメーションを制御する装置などに関する。
 従来、ユーザがテレビやビデオ、DVD(Digital Versatile Disc)プレーヤといった家庭用電気機器(以下、機器と称す)を操作するために、テレビなどのディスプレイにその操作を受け付けるための画像を表示するGUI(Graphical User Interface)アプリケーションプログラム(以下、アプリケーションと称す)が利用されている。また、現在では、アニメーションを伴うアプリケーションが増加している。アニメーションとは、アニメーション部品の状態(例えば位置、大きさ、形状、色、および透明度などのうちの少なくとも1つ)が一定の時間間隔ごとに少しずつ変更されてそのアニメーション部品が表示されることである。一定の時間間隔は、ディスプレイごとに予め決まっており、具体的には、ディスプレイに設定される垂直同期周波数と呼ばれるディスプレイの更新レートにより決定される。また、アニメーション部品とは、アプリケーションによるアニメーションの対象として表示される画像(GUI部品)である。
 つまり、従来の機器に備えられたアニメーション制御装置は、アプリケーションにしたがったアニメーションを実現するために、一定の時間間隔ごとに描画内容の更新処理を行う。例えば、ディスプレイに設定される垂直同期周波数が60Hzである場合、そのディスプレイでは、描画内容を1秒間に60回だけ更新することができる。この場合、上述の一定の時間間隔は、16.6msとなる。なお、上述の一定の時間間隔を、以下、更新間隔という。
 図11は、従来のアニメーション制御装置によるアニメーションの一例を示す図である。
 従来のアニメーション制御装置は、アプリケーションを実行し、そのアプリケーションにしたがって、図11の(a)に示すように、ディスプレイ201に表示されているアニメーション部品202を、予め定められた時間(描画処理時間)をかけて拡大しながら、予め定められた描画方向(図11の(a)中の矢印)に移動させ、アニメーション部品203として表示させようとする。このとき、アニメーション制御装置は、アニメーションを実現するために、図11の(b)に示すように、描画処理時間の間、更新間隔ごとに描画内容の更新処理を行う。つまり、アニメーション制御装置は、アニメーションが開始されてから更新間隔が経過すると、アニメーション部品202を、少しだけ拡大して少しだけ上述の描画方向に移動させる。その後、アニメーション制御装置は、更新間隔が経過するごとに、表示されているアニメーション部品202に対して上述の拡大と移動(描画内容の更新処理)を繰り返し行うことによって、アニメーションの開始から描画処理時間経過後に、アニメーション部品203をディスプレイ201に表示させる。
 なお、アプリケーションには、描画処理時間の間に更新間隔が経過する回数だけ、上述の描画内容の更新処理を行うように設定されている。例えば、ディスプレイに設定される垂直同期周波数が60Hzであって、アニメーション部品202が移動してアニメーション部品203として表示されるまでの描画処理時間が2秒の場合、アプリケーションでは、120回分の描画内容の更新処理を行うよう設定されている必要がある。
 この描画内容の更新処理が更新間隔ごとに行われることで、アニメーションが実現される。つまり、アニメーション部品202が描画処理時間に描画方向に移動し、最終的に、アニメーション部品203として表示されることになる。
 ここで、現在、例えばネットワークなどによって配信された同じアプリケーションが互いに異なる複数の機器で実行されることがある。しかし、これらの機器に備えられたアニメーション制御装置では、例えば、それらの機器のCPU(Central Processing Unit)のクロック数が異なるために、ディスプレイの更新間隔ごとに、動かせるアニメーション部品の数が異なる場合がある。また、同じCPUのクロック数の機器でも、CPUの使用状況に応じて、動かせるアニメーション部品の個数が異なる場合がある。
 そこで、従来、CPU使用率に応じて、アニメーションの表示品質を、高い品質と低い品質とに切り替えるアニメーション制御装置が提供されている(例えば、特許文献1参照)。この特許文献1のアニメーション制御装置は、CPU使用率が高いときには、アイコン、メニュー、および動画のフレームレートの変更を行い、CPU使用率を下げる。
特開2002-278658号公報
 しかしながら、上記特許文献1のアニメーション制御装置では、アニメーションの全体的な表示品質が低下してしまい、アプリケーション開発者の意図したアニメーションを実現することができないという問題がある。
 具体的には、上記特許文献1のアニメーション制御装置では、CPU使用率が低いときには、アプリケーションにしたがったアニメーションを行うが、CPU使用率が高いときには、そのCPU使用率が低下するように、アプリケーションにしたがうことなく、アニメーションのフレームレート、すなわちアニメーションの描画処理量を変更する。このとき、アプリケーションによって表示される画面全体の品位、つまり、ディスプレイ上の全てのアニメーション部品のアニメーションの品位が低下してしまい、アプリケーション開発者が意図したアニメーションが行われない。
 そこで、本発明は、かかる問題に鑑みてなされたものであって、全体的なアニメーションの表示品質の低下を抑制し、アプリケーション開発者が意図したアニメーションを行うことを可能にしたアニメーション制御装置を提供することを目的とする。
 上記目的を達成するために、本発明に係るアニメーション制御装置は、アプリケーションプログラムによるアニメーションを制御するアニメーション制御装置であって、前記アプリケーションプログラムに対して予め設定されている、表示対象の画像である複数の描画部品のそれぞれの優先度を示す部品優先度情報を参照することにより、前記複数の描画部品のそれぞれの優先度を特定する優先度特定部と、前記複数の描画部品のアニメーションを行うアニメーション実行部と、前記複数の描画部品の前記アニメーション実行部による第1の制御内容にしたがったアニメーションに必要な演算処理量である判定値が、第1の適正値よりも大きいか否かを判定する判定部と、前記判定部によって大きいと判定された際に、前記優先度特定部によって特定される優先度が低いほど、当該優先度に対応する描画部品である変更対象部品のアニメーションに必要な演算処理量が少なくなるように、当該変更対象部品のアニメーションの制御内容を、前記第1の制御内容から第2の制御内容に変更する部品制御部とを備え、前記アニメーション実行部は、前記変更対象部品のアニメーションを前記第2の制御内容にしたがって行い、前記複数の描画部品のうちの前記変更対象部品以外の描画部品である非変更対象部品のアニメーションを前記第1の制御内容にしたがって行う。例えば、前記アニメーション制御装置は、さらに、CPUを備え、前記アニメーション実行部は、前記複数の描画部品の前記第1の制御内容にしたがったアニメーションに必要な演算処理を前記CPUに実行させ、前記判定部は、前記演算処理に使用される前記CPUの使用率を前記判定値として扱うことによって前記判定を行う。
 これにより、複数の描画部品(アニメーション部品)の第1の制御内容にしたがったアニメーションに必要な演算処理量であるCPUの使用率(CPU平均使用率)が第1の適正値よりも大きい場合には、優先度の低い描画部品、つまり変更対象部品のアニメーションの制御内容が第1の制御内容から第2の制御内容に変更されることによって、その優先度の低い描画部品のアニメーションは(演算処理量が少なくなるように)制限され、一方、優先度の高い描画部品、つまり非変更対象部品のアニメーションの制御内容は変更されないため、その優先度の高い描画部品のアニメーションは第1の制御内容にしたがって制限を受けることなく行われる。さらに、上述の演算処理量が多い場合には、優先度の低い描画部品のアニメーションが制限されるために、その演算処理量を抑えて、演算処理に余裕を与えることができ、優先度の高い描画部品のアニメーションを適切に行うことができる。したがって、複数の描画部品の全てのアニメーションが制限されることを防ぐことができ、全体的なアニメーションの表示品質の低下を抑制することができる。さらに、アプリケーション開発者は、自らが意図するアニメーションの対象とされる描画部品に対して高い優先度を部品優先度情報に設定しておけば、CPUの使用率が高い場合であっても、自らが意図したアニメーションを行うことができる。
 また、前記アニメーション制御装置は、さらに、優先度ごとに、当該優先度に対応する第1の制御内容を示す部品状態制御情報を記憶している記憶部と、前記複数の描画部品の前記アニメーション実行部による第1の制御内容にしたがったアニメーションに使用された演算処理量を計測する計測部とを備え、前記判定部は、前記計測部によって計測された前記演算処理量を前記判定値として用いることによって前記判定を行い、前記部品制御部は、前記記憶部に記憶されている前記部品状態制御情報によって示される、前記変更対象部品の優先度に対応する前記第1の制御内容を、前記第2の制御内容に変更し、前記アニメーション実行部は、前記記憶部に記憶されている前記部品状態制御情報によって示される第1および第2の制御内容にしたがって前記複数の描画部品のアニメーションを行う。
 これにより、複数の描画部品の第1の制御内容にしたがったアニメーションが行われると、そのアニメーションに使用された演算処理量が計測されて、その計測された実際の演算処理量が判定値として扱われるため、正確な判定値を用いて第1の適正値よりも大きいか否かの判定を行うことができる。さらに、その判定結果に応じて、記憶部に記憶されている部品状態制御情報の制御内容が変更される。したがって、複数の描画部品のアニメーションが再び行われるときには、更新されて記憶部に記憶されている部品状態制御情報にしたがってアニメーションが行われるため、過去の経験に基づいてアニメーションを適切に制御することができる。
 また、前記部品制御部は、前記変更対象部品のアニメーションの制御内容を、アニメーションを実行することを示す前記第1の制御内容から、アニメーションを実行しないことを示す前記第2の制御内容に変更し、前記アニメーション実行部は、前記第1の制御内容にしたがって前記非変更対象部品のアニメーションを行い、前記第2の制御内容にしたがって前記変更対象部品のアニメーションを行わない。
 これにより、優先度の低い描画部品のアニメーションが行われないため、複数の描画部品のアニメーションに使用される演算処理量を確実に抑えることができ、優先度の高い描画部品のアニメーションを、アプリケーション開発者の意図する第1の制御内容にしたがって確実に行うことができる。
 また、前記部品制御部は、前記変更対象部品のアニメーションの制御内容を、第1のフレームレートを示す前記第1の制御内容から、前記第1のフレームレートよりも低い第2のフレームレートを示す前記第2の制御内容に変更し、前記アニメーション実行部は、前記第1の制御内容にしたがって前記非変更対象部品のアニメーションを第1のフレームレートで行い、前記第2の制御内容にしたがって前記変更対象部品のアニメーションを前記第2のフレームレートで行う。
 これにより、優先度の低い描画部品のアニメーションのフレームレートが下がるため、複数の描画部品のアニメーションに使用される演算処理量を抑えることができるとともに、アニメーションが行われる描画部品の数が減少してしまうのを防ぐことができる。
 また、前記アニメーション制御装置は、さらに、前記複数の描画部品のそれぞれに対して優先度を決定し、決定された優先度を示す前記部品優先度情報を生成する情報生成部を備える。例えば、前記複数の描画部品には、第1の描画部品と、前記第1の描画部品よりも表示される領域のサイズが小さい第2の描画部品とがあり、前記情報生成部は、前記第1の描画部品の方が前記第2の描画部品よりも優先度が高くなるように、前記第1および第2の描画部品の優先度を決定する。または、前記複数の描画部品には、第1の描画部品と、前記第1の描画部品よりもデータサイズが小さい第2の描画部品とがあり、前記情報生成部は、前記第1の描画部品の方が前記第2の描画部品よりも優先度が高くなるように、前記第1および第2の描画部品の優先度を決定する。
 例えば、アプリケーション開発者は、表示される領域のサイズ、またはデータサイズが大きい描画部品ほど、その描画部品のアニメーションが行われることを強く望んでいる傾向にある。したがって、それらのサイズにしたがって優先度が決定され、その決定された優先度を示す部品優先度情報が生成されることによって、アプリケーション開発者は、優先度を部品優先度情報にわざわざ設定する必要がなく、アプリケーションの開発効率を向上することができる。
 また、前記アニメーション制御装置は、さらに、前記複数の描画部品のそれぞれに対して、当該描画部品がユーザによって操作された履歴を操作履歴として記録する履歴記録部を備え、前記情報生成部は、描画部品ごとに、当該描画部品に対して記録されている前記操作履歴に基づいて優先度を決定する。
 例えば、アプリケーション開発者は、ユーザによって操作された頻度が多い描画部品や、前回操作されたときからの経過時間が短い描画部品ほど、その描画部品のアニメーションが行われることを強く望んでいる傾向にある。したがって、描画部品の操作履歴に基づいて優先度が決定され、その決定された優先度を示す部品優先度情報が生成されることによって、アプリケーション開発者は、優先度を部品優先度情報にわざわざ設定する必要がなく、アプリケーションの開発効率を向上することができる。
 また、前記判定部は、さらに、前記第1の適正値よりも小さい第2の適正値よりも前記判定値が小さいか否かを判定し、前記部品制御部は、さらに、前記判定部によって小さいと判定された際に、前記優先度特定部によって特定される優先度が低いほど、当該優先度に対応する描画部品である変更処理対象部品のアニメーションに必要な演算処理量が小さい変化率で多くなるように、当該変更処理対象部品のアニメーションの制御内容を、前記第1の制御内容から第3の制御内容に変更し、前記アニメーション実行部は、さらに、前記変更処理対象部品のアニメーションを前記第3の制御内容にしたがって行い、前記複数の描画部品のうちの前記変更処理対象部品以外の描画部品である非変更処理対象部品のアニメーションを前記第1の制御内容にしたがって行う。
 例えば、優先度の低い描画部品に対する第1の制御内容は、アニメーションを制限するという内容であり、優先度の高い描画部品に対する第1の制御内容は、アニメーションを制限しないという内容である。このときに、複数の描画部品の第1の制御内容にしたがったアニメーションに必要な演算処理量であるCPUの使用率(CPU平均使用率)が第2の適正値よりも小さい場合には、優先度の低い描画部品、つまり変更処理対象部品のアニメーションの制御内容が第1の制御内容から第3の制御内容に変更されることによって、その変更処理対象部品のアニメーションに対する制限は解除される。したがって、第1の制御内容によって、優先度の低い描画部品に対するアニメーションの制限が必要以上に行われているような場合には、その制限を解除することができる。
 また、優先度が高、中および低のそれぞれの描画部品があれば、優先度が低い描画部品のアニメーションに必要な演算処理よりも、優先度が中程度の描画部品のアニメーションに必要な演算処理量の方が大きな変化率で多くなるように、優先度が中および低の描画部品のそれぞれのアニメーションの制御内容が第1の制御内容から第3の制御内容に変更される。つまり、優先度が中程度の描画部品の方が、優先度が低い描画部品よりも優先してそのアニメーションの制限が緩和される。したがって、アニメーションの制限が解除される場合でも、優先度の低い描画部品に対するアニメーションは、優先度が中および高の描画部品のアニメーションよりも制限された状態にしておくことができる。
 なお、本発明は、このようなアニメーション制御装置として実現することができるだけでなく、そのアニメーション処理装置における処理動作の方法、コンピュータにその処理動作をさせるためのプログラム、そのプログラムを格納する記憶媒体、またはアニメーション制御装置として機能する集積回路としても実現することができる。
 本発明のアニメーション制御装置は、全体的なアニメーションの表示品質の低下を抑制し、アプリケーション開発者の意図したアニメーションを行うことができる。
図1は、本発明の実施の形態におけるアニメーション制御装置の構成の一例を示すブロック図である。 図2は、同上のCPU適正情報の一例を示す図である。 図3は、同上の部品優先度情報の一例を示す図である。 図4は、同上の部品状態制御情報の一例を示す図である。 図5は、同上の更新された部品状態制御情報の一例を示す図である。 図6は、同上のアニメーション制御装置によるアニメーションを示す図である。 図7は、同上のアニメーション制御装置の全体的な動作を示すフローチャートである。 図8は、同上の実行部の動作を示すフローチャートである。 図9は、同上の部品制御部の動作を示すフローチャートである。 図10は、本発明に係るアニメーション制御装置の構成を示すブロック図である。 図11は、従来のアニメーション制御装置によるアニメーションの一例を示す図である。
 以下、本発明の実施形態におけるアニメーション制御装置について、図面を参照しながら説明する。
 本実施の形態におけるアニメーション制御装置は、GUIアプリケーションプログラム(アプリケーション)を実行することによって、GUIとしての機能を実現するためのアニメーション部品(描画部品)のアニメーションを行う装置である。例えば、このようなアニメーション制御装置は、動画像や静止画の記録再生装置(例えば、DVDプレーヤ)などの機器に備えられ、アプリケーションを実行することによって、記録されている動画像や静止画のサムネイルの一覧を表示する。このとき、アニメーション制御装置は、例えばサムネイルをアニメーション部品として用い、それらのアニメーション部品(サムネイル)のアニメーションを行って、上記一覧を表示する。このようなアニメーション制御装置では、全体的なアニメーションの表示品質の低下を抑制し、アプリケーション開発者が意図したアニメーションを行うことができるという効果がある。
 なお、本実施の形態において、アニメーションとは、アニメーション部品の状態(例えば位置、大きさ、形状、色、および透明度などのうちの少なくとも1つ)が更新間隔ごとに少しずつ変更されてそのアニメーション部品が表示されることである。また、アニメーションを行うという処理は、更新間隔ごとに、アニメーション部品の状態を変更し、その変更された状態のアニメーション部品を表示する処理である。
 図1は、本実施の形態におけるアニメーション制御装置の構成の一例を示すブロック図である。
 本実施の形態におけるアニメーション制御装置100は、記憶部101、実行部102、CPU103、部品制御部104および表示部105を備える。
 記憶部101は、複数のアプリケーションapと、CPU103の適正な使用率を示すCPU適正情報d1と、複数のアニメーション部品のそれぞれの優先度を示す部品優先度情報d2と、アニメーション部品の優先度に応じてそのアニメーション部品の状態(アニメーション)の制御内容を示す部品状態制御情報d3とを記憶している。
 実行部102は、記憶部101に記憶されている複数のアプリケーションapから何れか1つのアプリケーションapを選択し、その選択したアプリケーションapを読み出して実行する。以下、実行部102によって実行されているアプリケーションapを実行アプリケーションapという。
 また、実行部102は、記憶部101に記憶されている部品優先度情報d2および部品状態制御情報d3に基づいて、複数のアニメーション部品のアニメーションの制御内容を特定する。そして、実行部102は、特定された制御内容にしたがって複数のアニメーション部品のアニメーションを行う。なお、その特定された制御内容が、アニメーションを行わないことを示すときには、実行部102は、その制御内容に対応するアニメーション部品のアニメーションを行わない。
 また、実行部102は、複数のアニメーション部品のアニメーションを行うときには、描画処理時間の間に、描画内容の更新処理を更新間隔ごとに行う。この描画処理時間は、実行アプリケーションapによって決定された、アニメーションが行われる時間である。また、実行部102は、描画内容の更新処理では、アニメーションの対象とされる1つ以上のアニメーション部品の少なくとも一部が描かれた表示画像を生成し、その表示画像を表示部105に出力する。このような表示画像は更新間隔ごとに生成され、更新間隔ごとに生成される複数の表示画像はそれぞれ互いに異なっている。つまり、実行部102は、アニメーションを行うときには、表示画像上において、アニメーションの対象とされる1つ以上のアニメーション部品の状態が次第に変化するように、互いに異なる表示画像を更新間隔ごとに順次生成して出力する。なお、実行部102は、実行アプリケーションapに予め設定されている複数のアニメーション部品を部品格納部200から読み出して上述の描画内容の更新処理に用いる。
 また、実行部102は、アプリケーションapの実行およびアニメーションを行うときには、それらに必要な演算処理をCPU103に実行させる。
 CPU103は、実行部102からの指示に応じて、実行部102によるアプリケーションapの実行およびアニメーションに必要な演算処理を行う。
 部品制御部104は、CPU103のCPU平均使用率を算出し、そのCPU平均使用率と、記憶部101に記憶されていているCPU適正情報d1とに基づいて、部品状態制御情報d3の制御内容を変更する。なお、本実施の形態では、部品制御部104は、複数のアニメーション部品の実行部102による部品状態制御情報d3にしたがったアニメーションに使用された演算処理量(CPU使用率またはCPU平均使用率)を計測する計測部として構成されている。
 表示部105は、例えば液晶ディスプレイまたはPDP(Plasma Display Panel)などからなり、更新間隔ごとに、実行部102から出力された表示画像を受け取り、その表示画像を表示する。
 ここで、記憶部101に記憶されている各情報について詳細に説明する。
 図2は、CPU適正情報d1の一例を示す図である。
 CPU適正情報d1は、図2に示すように、記憶部101に記憶されているアプリケーションapごとに、そのアプリケーションapの名称(アプリケーション名)と、そのアプリケーションapに対するCPU103の適正な使用率の範囲(CPU適正範囲)とを示す。なお、CPU適正範囲は、機器(例えば記録再生装置)全体から見て、アプリケーションapがCPU103を使用してもよい適正な割合(例えば百分率)であり、そのアプリケーションapの開発者によって決定される。具体的には、CPU適正情報d1は、記録された写真を見るためのアプリケーションapについて、そのアプリケーションapのアプリケーション名「写真ビューワ」と、そのアプリケーションapに対するCPU適正範囲「20~30%」とを示す。なお、このCPU適正範囲の上限値が第1の適正値であり、下限値が第2の適正値である。
 図3は、部品優先度情報d2の一例を示す図である。
 部品優先度情報d2は、図3に示すように、アプリケーションapに予め設定されているアニメーション部品ごとに、そのアニメーション部品の優先度を示す。このような優先度は、そのアプリケーションapの開発者によって決定される。例えば、図3に示す部品優先度情報d2は、写真ビューワのアプリケーションapに予め設定されているアニメーション部品A~Eのそれぞれの優先度を示す。具体的には、部品優先度情報d2は、アニメーション部品AおよびBの優先度が「高」であることと、アニメーション部品C~Eのそれぞれの優先度が「低」であることを示す。
 図4は、部品状態制御情報d3の一例を示す図である。 
 部品状態制御情報d3は、図4に示すように、優先度ごとに、その優先度に対応するアニメーション部品のアニメーションの制御内容を示す。制御内容は、例えば「アニメーション有」または「アニメーション無」である。「アニメーション有」はアニメーションを行うことを示し、「アニメーション無」はアニメーションを行わないことを示す。つまり、図4に示す部品状態制御情報d3は、優先度「高」および「低」の何れに対しても、「アニメーション有」、つまりアニメーションを行うことを示す。このような部品状態制御情報d3の制御内容は、部品制御部104によって優先度ごとに更新される。
 図5は、更新された部品状態制御情報d3の一例を示す図である。
 例えば、部品状態制御情報d3が更新されると、その更新された部品状態制御情報d3は、優先度「高」に対して制御内容「アニメーション有」を示し、一方、優先度「低」に対しては制御内容「アニメーション無」を示す。つまり、図5に示す部品状態制御情報d3は、優先度「高」に対応するアニメーション部品についてはアニメーションを行うことを示し、優先度「低」に対応するアニメーション部品にいてはアニメーションを行わないことを示す。
 図6は、アニメーション制御装置100によるアニメーションを示す図である。
 例えば、実行部102は、上述の写真ビューワのアプリケーションapを実行アプリケーションapとして記憶部101から読み出して実行すると、写真の一覧をサムネイルで表示するためのアニメーションを行う。つまり、実行部102は、更新間隔ごとに、異なる表示画像を生成して表示部105に表示させる。写真の一覧には、サムネイルであるアニメーション部品A~Eが含まれる。
 実行部102は、アニメーションを行う前に、まず、記憶部101から部品優先度情報d2および部品状態制御情報d3を読み出し、それらに基づいて、アニメーションの対象とされるアニメーション部品を選択する。つまり、実行部102は、部品優先度情報d2に基づいて、アニメーション部品AおよびBの優先度がそれぞれ「高」であって、アニメーション部品C~Eの優先度がそれぞれ「低」であると判断する。さらに、実行部102は、図4に示す部品状態制御情報d3に基づいて、優先度「高」および「低」のアニメーション部品に対してアニメーションを行うと判断する。その結果、実行部102は、アニメーションの対象とされるアニメーション部品としてアニメーション部品A~Eを選択する。
 次に、実行部102は、図6の(a)→(b)→(c)に示すように、その選択されたアニメーション部品のアニメーションを行う。まず、実行部102は、アニメーションの開始時に、表示画像を生成して表示部105に表示させる。その結果、図6の(a)に示すように、アニメーション部品A~Eのうちアニメーション部品Aの一部だけが表示部105の表示領域105aの上部に表示される。
 さらに、実行部102は、更新間隔が経過すると、新たな表示画像を生成して表示部105に表示させる。その結果、図6の(b)に示すように、アニメーション部品A~Eのそれぞれの一部が表示部105の表示領域105aに表示される。さらに、実行部102は、描画処理時間が経過すると、新たな表示画像を生成して表示部105に表示させる。その結果、図6の(c)に示すように、アニメーション部品A~Eの全てが、表示部105の表示領域105a内の予め定められた位置で停止して表示される。
 このような、図6の(a)→(b)→(c)に示すアニメーションは、部品状態制御情報d3にしたがって制限を受けることなく行われ、アニメーション部品A~Eはそれぞれ表示領域105aの外部から内部にフェードインするように表示される。なお、図6のアニメーション部品を起点とする点線の矢印は、アニメーション部品が移動する方向(描画方向)を示す。
 部品制御部104は、記憶部101からCPU適正情報d1を取得し、実行アプリケーションapのアニメーション(例えば、図6の(a)→(b)→(c)に示すアニメーション)が開始されると、CPU103の使用率を監視する。また、CPU適正情報d1には、実行アプリケーションap、すなわち写真ビューワのアプリケーションapのCPU適正範囲が示されている。そこで、部品制御部104は、アニメーションに対するCPU103の使用率に基づくCPU平均使用率がそのCPU適正範囲から外れているか否かを判定し、外れていれば部品状態制御情報d3を更新する。例えば、CPU103のCPU平均使用率がCPU適正範囲(第1の適正値)よりも高ければ、部品制御部104は、優先度「低」に対して制御内容「アニメーション無」が示されるように、部品状態制御情報d3を更新する。つまり、図4に示す部品状態制御情報d3は、図5に示す部品状態制御情報d3に更新される。
 実行部102は、このように部品状態制御情報d3が更新されると、再び写真ビューワのアプリケーションapによるアニメーションを行うときには、その図5に示す更新された部品状態制御情報d3にしたがってアニメーションを行う。つまり、実行部102は、そのアニメーションを再び行う前に、部品優先度情報d2に基づいて、アニメーション部品AおよびBの優先度がそれぞれ「高」であって、アニメーション部品C~Eの優先度がそれぞれ「低」であると判断する。さらに、実行部102は、図5に示す更新された部品状態制御情報d3に基づいて、優先度「高」のアニメーション部品のみに対してアニメーションを行うと判断する。その結果、実行部102は、アニメーションの対象となるアニメーション部品としてアニメーション部品AおよびBのみを選択する。
 次に、実行部102は、図6の(a)→(d)→(c)に示すように、選択されたアニメーション部品のアニメーションを行う。まず、実行部102は、アニメーションの開始時に、表示画像を生成して表示部105に表示させる。その結果、図6の(a)に示すように、アニメーション部品A~Eのうちアニメーション部品Aの一部だけが表示部105の表示領域105aの上部に表示される。
 さらに、実行部102は、更新間隔が経過すると、新たな表示画像を生成して表示部105に表示させる。その結果、図6の(d)に示すように、アニメーション部品AおよびBの一部が表示部105の表示領域105aに表示される。このとき、アニメーション部品C~Eは表示されない。さらに、実行部102は、描画処理時間が経過すると、新たな表示画像を生成して表示部105に表示させる。その結果、図6の(c)に示すように、アニメーション部品A~Eの全てが表示部105の表示領域105aに表示される。
 このような、図6の(a)→(d)→(c)に示すアニメーションは、部品状態制御情報d3によって制限を受けて行われ、アニメーション部品AおよびBだけがそれぞれ表示領域105aの外部から内部にフェードインするように表示される。つまり、アニメーション部品C~Dは、図6の(d)に示すように、アニメーションが行われている間は表示されず、アニメーションが終了するとき、つまり、アニメーション部品AおよびBの移動が停止するときに、図6の(c)に示すように、予め定められた位置に唐突に表示される。
 図7は、アニメーション制御装置100の全体的な動作を示すフローチャートである。
 アニメーション制御装置100は、記憶部101に格納されている実行対象のアプリケーションapを実行する(ステップS101)。さらに、アニメーション制御装置100は、部品優先度情報d2および部品状態制御情報d3に基づいて、実行アプリケーションapによるアニメーションに設定されている複数のアニメーション部品の中から、アニメーションの対象とされるアニメーション部品を選択する(ステップS102)。
 次に、アニメーション制御装置100は、ステップS102で選択されたアニメーション部品のアニメーションを行い、そのアニメーションが行われている間のCPU103のCPU使用率(機器全体に対して使用されている使用率)を、サンプリング時間ごとに計測(または取得)する(ステップS103)。
 ステップS103のアニメーションが終了すると、アニメーション制御装置100は、ステップS103で計測されたCPU使用率から、アニメーションのみに対してCPU103が使用されている使用率の平均値をCPU平均使用率として算出し、そのCPU平均使用率がCPU適正範囲から外れているか否かを判定する(ステップS104)。
 ここで、アニメーション制御装置100は、CPU適正範囲から外れていると判定すると(ステップS104のY)、部品状態制御情報d3を更新する(ステップS105)。一方、アニメーション制御装置100は、CPU適正範囲から外れていないと判別すると(ステップS104のN)、部品状態制御情報d3を更新することなく処理を終了する。
 このようなステップS101~S105の処理は、アプリケーションapの実行の指示が受け付けられるごとに繰り返し実行される。したがって、アニメーション制御装置100は、ステップS104またはS105の後に、アプリケーションapの実行の指示を受け付けると、再びステップS101からの処理を繰り返し実行する。つまり、ステップS105で部品状態制御情報d3が更新されたときには、その更新された部品状態制御情報d3が次のステップS102の処理に用いられる。
 図8は、実行部102の動作を示すフローチャートである。
 実行部102は、実行対象のアプリケーションapと、CPU適正情報d1と、部品優先度情報d2と、部品状態制御情報d3とを記憶部101から読み出す(ステップS201)。実行部102は、実行対象のアプリケーションapを実行し、実行アプリケーションapに対応するCPU適正範囲をCPU適正情報d1から特定し、そのCPU適正範囲を部品制御部104に通知する(ステップS202)。
 次に、実行部102は、部品優先度情報d2と部品状態制御情報d3とに基づいて、実行アプリケーションapに予め設定されている複数のアニメーション部品の中から、アニメーションの対象とされるアニメーション部品を選択する(ステップS203)。さらに、実行部102は、アニメーションを開始したことを部品制御部104に通知する(ステップS204)。
 実行部102は、アニメーションの開始を部品制御部104に通知すると、アニメーションを開始し、描画内容の更新処理を実行する(ステップS205)。つまり、実行部102は、ステップS203で選択されたアニメーション部品を用いて表示画像を生成し、その表示画像を表示部105に出力する。表示部105は、その表示画像を実行部102から受け取って表示する。また、このようなステップS205が繰り返されるときには、実行部102は、実行アプリケーションapおよび部品状態制御情報d3の制御内容に基づいて、表示画像の中のアニメーション部品の状態(位置、大きさ、形状、色、および透明度などのうちの少なくとも1つ)が変更されるように、表示画像を更新し、その更新された表示画像を表示部105に出力する。このような、ステップS205の処理が繰り返されることによってアニメーションが実現される。
 実行部102は、ステップS205で描画内容の更新処理が実行されると、描画処理時間が経過したか否かを判別する(ステップS206)。ここで、経過したと判別すると(ステップS206のY)、実行部102は、アニメーションが終了したことを部品制御部104に通知する(ステップS207)。一方、経過していないと判別すると(ステップS206のN)、実行部102は、さらに、更新間隔が経過したか否かを判別する(ステップS208)。ここで、経過したと判別すると(ステップS208のY)、実行部102は、ステップS205からの処理を繰り返し実行する。一方、経過していないと判別すると(ステップS208のN)、実行部102は、ステップS206からの処理を繰り返し実行する。つまり、実行部102は描画処理時間または更新間隔の経過を待ち受ける。
 図9は、部品制御部104の動作を示すフローチャートである。
 部品制御部104は、実行部102から、CPU適正範囲を取得し(ステップS301)、アニメーションの開始の通知を受けると(ステップS302)、サンプリング時間の繰り返し計測を開始する(ステップS303)。
 次に、部品制御部104は、サンプリング時間が経過したか否かを判別する(ステップS304)。ここで、経過していないと判別すると(ステップS304のN)、部品制御部104は、ステップS304の処理を繰り返し実行する。つまり、部品制御部104はサンプリング時間の経過を待ち受ける。一方、経過したと判別すると(ステップS304のY)、部品制御部104は、CPU103のCPU使用率R(n)を取得して保存する(ステップS305)。例えば、機器またはアニメーション制御装置100に使用されるオペレーティングシステムがLinuxの場合、/procディレクトリ以下にあるstatファイルには、システムの状態を表す数値が格納されている。したがって、部品制御部104は、そのstatファイルにアクセスし、アクセス時のCPU使用率を取得して保存する。なお、CPU使用率R(n)のnは自然数であり、初期状態ではn=1である。
 次に、部品制御部104は、実行部102からアニメーションの終了の通知を受けたか否かを判別する(ステップS306)。ここで、部品制御部104は、通知を受けていないと判別すると(ステップS306のN)、ステップS304からの処理を繰り返し実行する。これにより、ステップS305が繰り返し行われることになる。このとき、n=n+1のように、nは1だけ増加される。したがって、ステップS305では、n個のCPU使用率R(1)、R(2)、…、R(n)が取得される。一方、部品制御部104は、通知を受けたと判別すると(ステップS306のY)、アニメーションの終了後のCPU使用率Rfを取得して保持する(ステップS307)。このとき、部品制御部104は、ステップS305と同様の方法でCPU使用率Rfを取得する。さらに、部品制御部104は、ステップS305で取得されて保存されたCPU使用率R(1)、R(2)、…、R(n)と、ステップS307で取得して保存されたCPU使用率Rfとを用いて、CPU103のアニメーションのみに対する使用率の平均であるCPU平均使用率Raを算出する(ステップS308)。例えば、部品制御部104は、CPU平均使用率RaをRa=(R(1)+R(2)+…+R(n))/n-Rfによって算出する。したがって、上述のサンプリング時間が短ければ短いほど、多くのCPU使用率R(n)を取得することができ、正確なCPU平均使用率Raを算出することができる。
 そして、部品制御部104は、ステップS308で算出されたCPU平均使用率Raが、ステップS301で取得されたCPU適正範囲から外れているか否かを判定する(ステップS309)。ここで、部品制御部104は、外れていると判定すると(ステップS309のY)、部品状態制御情報d3を記憶部101から読み出し(ステップS310)、その部品状態制御情報d3に示されている、低い優先度に対応する制御内容を変更する(ステップS311)。例えば、部品制御部104は、部品状態制御情報d3に示される優先度のうち、閾値よりも低い優先度、または最も低い優先度に対応付けられている制御内容を変更する。これにより、部品状態制御情報d3が更新される。その後、部品制御部104は、その更新された部品状態制御情報d3を記憶部101に格納する(ステップS312)。このとき、記憶部101に格納されている更新前の古い部品状態制御情報d3は上書きされて消去される。
 このように本実施の形態では、複数のアニメーション部品の第1の制御内容にしたがったアニメーションに必要な演算処理量であるCPUの使用率(CPU平均使用率)が第1の適正値よりも大きい場合には、優先度の低い描画部品、つまり変更対象部品のアニメーションの制御内容が第1の制御内容から第2の制御内容に変更されることによって、その優先度の低いアニメーション部品のアニメーションは制限され、一方、優先度の高い描画部品、つまり非変更対象部品のアニメーションの制御内容は変更されないため、その優先度の高いアニメーション部品のアニメーションは第1の制御内容にしたがって制限を受けることなく行われる。さらに、上述の演算処理量が多い場合には、優先度の低いアニメーション部品のアニメーションが制限されるために、その演算処理量を抑えて、演算処理に余裕を与えることができ、優先度の高いアニメーション部品のアニメーションを適切に行うことができる。したがって、複数のアニメーション部品の全てのアニメーションが制限されることを防ぐことができ、全体的なアニメーションの表示品質の低下を抑制することができる。さらに、アプリケーション開発者は、自らが意図するアニメーションの対象とされるアニメーション部品に対して高い優先度を部品優先度情報d2に設定しておけば、CPUの使用率が高い場合であっても、自らが意図したアニメーションを行うことができる。
 以上、本発明に係るアニメーション制御装置について、上記実施の形態を用いて説明したが、本発明はこれらに限定されるものではない。
 図10は、本発明に係るアニメーション制御装置の構成を示すブロック図である。
 アニメーション制御装置10は、アプリケーションプログラムによるアニメーションを制御する装置であって、アプリケーションプログラムに対して予め設定されている、表示対象の画像である複数の描画部品のそれぞれの優先度を示す部品優先度情報d2を参照することにより、複数の描画部品のそれぞれの優先度を特定する優先度特定部11と、複数の描画部品のアニメーションを行うアニメーション実行部14と、複数の描画部品のアニメーション実行部14による第1の制御内容にしたがったアニメーションに必要な演算処理量である判定値が、第1の適正値よりも大きいか否かを判定する判定部12と、判定部12によって大きいと判定された際に、優先度特定部11によって特定される優先度が低いほど、その優先度に対応する描画部品である変更対象部品のアニメーションに必要な演算処理量が少なくなるように、その変更対象部品のアニメーションの制御内容を、第1の制御内容から第2の制御内容に変更する部品制御部13とを備え、アニメーション実行部14は、変更対象部品のアニメーションを第2の制御内容にしたがって行い、複数の描画部品のうちの変更対象部品以外の描画部品である非変更対象部品のアニメーションを第1の制御内容にしたがって行う。
 ここで、図10に示す本発明と上記実施の形態との間には、以下のような対応関係がある。つまり、アニメーション制御装置10は上記実施の形態のアニメーション制御装置100に相当する。優先度特定部11およびアニメーション実行部14を含む構成要素は上記実施の形態の実行部102に相当し、判定部12および部品制御部13を含む構成要素は上記実施の形態の部品制御部104に相当する。また、アプリケーションプログラムおよび描画部品はそれぞれ、上記実施の形態のアプリケーションおよびアニメーション部品に相当する。さらに、第1の制御内容は、上記実施の形態の図4に示す部品状態制御情報d3に含まれる、優先度ごとの制御内容、例えば「アニメーション有」に相当し、第2の制御内容は、上記実施の形態の図5に示す部品状態制御情報d3に含まれる、優先度ごとの制御内容、例えば「アニメーション有」または「アニメーション無」に相当する。なお、第1の制御内容は、複数の描画部品のアニメーションのそれぞれに対して定められている制御内容であり、第2の制御内容はその第1の制御内容から変更された制御内容である。したがって、変更対象部品のアニメーションに対する制御内容が第1の制御内容から第2の制御内容に変更された後に、判定部12により繰り返し判定が行われる場合には、その変更対象部品のアニメーションに対しては、その第2の制御内容が第1の制御内容として扱われる。
 これにより、複数の描画部品(アニメーション部品)の第1の制御内容にしたがったアニメーションに必要な演算処理量であるCPUの使用率(CPU平均使用率)が第1の適正値よりも大きい場合には、優先度の低い描画部品のアニメーションの制御内容が第1の制御内容から第2の制御内容に変更されることによって、その優先度の低い描画部品のアニメーションは制限され、一方、優先度の高い描画部品のアニメーションの制御内容は変更されないため、その優先度の高い描画部品のアニメーションは第1の制御内容にしたがって制限を受けることなく行われる。さらに、上述の演算処理量が多い場合には、優先度の低い描画部品のアニメーションが制限されるために、その演算処理量を抑えて、演算処理に余裕を与えることができ、優先度の高い描画部品のアニメーションを適切に行うことができる。したがって、複数の描画部品の全てのアニメーションが制限されることを防ぐことができ、全体的なアニメーションの表示品質の低下を抑制することができる。さらに、アプリケーション開発者は、自らが意図するアニメーションの対象とされる描画部品に対して高い優先度を部品優先度情報d2に設定しておけば、CPUの使用率が高い場合であっても、自らが意図したアニメーションを行うことができる。
 したがって、本発明に係るアニメーション制御装置10は、上記実施の形態の図1に示すように、表示部105およびCPU103などの構成要素を備えていなくてもよい。
 また、上記実施の形態におけるアニメーション制御装置100では、図3の部品優先度情報d2に示すように、優先度を「高」と「低」の2段階で表していたが、3段階以上で細かく表してもよい。例えば、アニメーション部品の優先度を5段階で表し、アニメーション部品の優先度が、高いものから順にアニメーション部品A、B、C、D、Eとなるように、部品優先度情報d2を設定しておいてもよい。これにより、アニメーション部品A、B、C、DおよびEのそれぞれのアニメーションを個別に制限または制御することができる。また、このような場合、図7に示すフローチャートでは、ステップS103でアニメーションが行われ、ステップS104でCPU平均使用率がCPU適正範囲から外れると判定されるごとに、ステップS105で、部品状態制御情報d3において、優先度が低いアニメーション部品Eから、D、C、Bへの順に、そのアニメーション部品に対する制御内容が「アニメーション有」から「アニメーション無」に変更される。
 また、上記実施の形態におけるアニメーション制御装置100では、図4および5の部品状態制御情報d3に示すように、制御内容を「アニメーション有」または「アニメーション無」としたが、例えば、「通常フレームレート」または「低フレームレート」のように制御内容をフレームレートとしてもよい。なお、通常フレームレートは、低フレームレートよりもフレームレートが高い。これにより、優先度の高いアニメーション部品のアニメーションは通常のフレームレートで行われる一方で、優先度の低いアニメーション部品のアニメーションは低フレームレートで行われることになる。例えば、低フレームレートでは、更新間隔が2回経過するごとに1度だけ上述の描画内容の更新処理が行われるように、表示画像が間引きされる。これにより、アニメーションに対するCPU平均使用率を適正範囲に入れることができるとともに、優先度の低いアニメーションを全く行わない場合よりも、ユーザの見た目の劣化を最小限に抑えることができる。
 また、上記実施の形態におけるアニメーション制御装置100では、記憶部101に部品優先度情報d2が予め記憶されていたが、この部品優先度情報d2を自動的に生成してもよい。この場合、アニメーション制御装置100は、複数のアニメーション部品のそれぞれに対して優先度を決定し、複数のアニメーション部品のそれぞれに決定された優先度を示す部品優先度情報d2を生成する情報生成部を備える。情報生成部は、アニメーション部品の優先度を決定するためのパラメータとして、アニメーション部品の表示される領域のサイズ、データサイズ、ユーザの操作履歴、およびアニメーション部品のアニメーション効果のうち少なくとも1つを用いる。
 例えば、そのパラメータは、アニメーション部品の表示される領域のサイズであり、複数のアニメーション部品には、第1のアニメーション部品と、第1のアニメーション部品よりも表示される領域のサイズが小さい第2のアニメーション部品とがある。このような場合、情報生成部は、第1のアニメーション部品の方が前記第2のアニメーション部品よりも優先度が高くなるように、第1および第2のアニメーション部品の優先度を決定する。
 また、パラメータは、アニメーション部品のデータサイズであり、複数のアニメーション部品には、第1のアニメーション部品と、第1のアニメーション部品よりもデータサイズが小さい第2のアニメーション部品とがある。このような場合、情報生成部は、第1のアニメーション部品の方が第2のアニメーション部品よりも優先度が高くなるように、第1および第2のアニメーション部品の優先度を決定する。
 例えば、アプリケーション開発者は、表示される領域のサイズまたはデータサイズが大きいアニメーション部品ほど、そのアニメーション部品のアニメーションが行われることを強く望んでいる傾向にある。したがって、それらのサイズにしたがって優先度が決定され、その決定された優先度を示す部品優先度情報d2が生成されることによって、アプリケーション開発者は、優先度を部品優先度情報d2にわざわざ設定する必要がなく、アプリケーションの開発効率を向上することができる。
 また、パラメータはユーザの操作履歴である。この場合、アニメーション制御装置100は、さらに、複数のアニメーション部品のそれぞれに対して、そのアニメーション部品がユーザによって操作された履歴を操作履歴として記録する履歴記録部を備え、情報生成部は、アニメーション部品ごとに、そのアニメーション部品に対して記録されている操作履歴に基づいて優先度を決定する。
 例えば、アプリケーション開発者は、ユーザによって操作された頻度が多いアニメーション部品や、前回操作されたときからの経過時間が短いアニメーション部品ほど、そのアニメーション部品のアニメーションが行われることを強く望んでいる傾向にある。したがって、アニメーション部品の操作履歴に基づいて優先度が決定され、その決定された優先度を示す部品優先度情報d2が生成されることによって、アプリケーション開発者は、優先度を部品優先度情報d2にわざわざ設定する必要がなく、アプリケーションの開発効率を向上することができる。
 また、上記実施の形態では、アニメーションに対するCPU平均使用率が適正範囲から外れていることの一例として、主に、そのCPU平均使用率が適正範囲よりも高い場合を挙げた。つまり、CPU平均使用率が適正範囲の上限値である第1の適正値よりも高い場合に、優先度の低いアニメーション部品のアニメーションが制限されるように、部品状態制御情報d3を更新した。
 しかし、アニメーションに対するCPU平均使用率が適正範囲から外れているということは、そのCPU平均使用率が適正範囲よりも低い場合であってもよい。つまり、CPU平均使用率が適正範囲の下限値である第2の適正値よりも低い場合には、優先度の低いアニメーション部品のアニメーションの制限が解除されるように、部品状態制御情報d3を更新してもよい。このような場合、部品制御部104(判定部12)は、さらに、第1の適正値よりも小さい第2の適正値よりもCPU平均使用率が小さいか否かを判定し、部品制御部104(部品制御部13)は、さらに、小さいと判定された際に、優先度が低いほど、その優先度に対応するアニメーション部品である変更処理対象部品のアニメーションに必要な演算処理量が小さい変化率で多くなるように、その変更処理対象部品のアニメーションの制御内容を、第1の制御内容から第3の制御内容に変更する。そして、実行部102(アニメーション実行部14)は、さらに、変更処理対象部品のアニメーションを第3の制御内容にしたがって行い、複数のアニメーション部品のうちのその変更処理対象部品以外のアニメーション部品である非変更処理対象部品のアニメーションを第1の制御内容にしたがって行う。
 これにより、第1の制御内容によって、優先度の低いアニメーション部品に対するアニメーションの制限が必要以上に行われているような場合には、その制限を解除することができる。例えば、図5に示すように、部品状態制御情報d3において、低い優先度に対して第1の制御内容「アニメーション無」が設定されている場合に、その部品状態制御情報d3にしたがって複数のアニメーション部品のアニメーションが実行されると、複数のアニメーション部品のアニメーションに対するCPU平均使用率がCPU適正範囲(第2の適正値)よりも小さくなってしまうことがある。この場合、部品制御部104は、部品状態制御情報d3の低い優先度に対して設定されている第1の制御内容「アニメーション無」を緩和し、第3の制御内容「低フレームレート」に更新する。これにより、複数のアニメーション部品のアニメーションに対するCPU平均使用率をCPU適正範囲内に入れることができ、より適切なアニメーションを実現することができる。
 また、優先度が高、中および低のそれぞれのアニメーション部品があれば、優先度が低いアニメーション部品のアニメーションに必要な演算処理よりも、優先度が中程度のアニメーション部品のアニメーションに必要な演算処理量の方が大きな変化率で多くなるように、優先度が中および低のアニメーション部品のそれぞれのアニメーションの制御内容が第1の制御内容から第3の制御内容に変更される。つまり、優先度が中程度のアニメーション部品の方が、優先度が低いアニメーション部品よりも優先してそのアニメーションの制限が緩和される。したがって、アニメーションの制限が解除される場合でも、優先度の低いアニメーション部品に対するアニメーションは、優先度が中および高のアニメーション部品のアニメーションよりも制限された状態にしておくことができる。
 また、上記実施の形態では、CPU103の演算処理量として使用率(CPU使用率またはCPU平均使用率)を用いたが、このような相対的な値である割合(百分率)ではなく、絶対的な値を用いてもよい。
 また、上記実施の形態では、複数のアニメーション部品A~Eの図4に示す部品状態制御情報d3にしたがったアニメーションを実行し、その実行中のCPU平均使用率を取得、算出または計測したが、アニメーションを実行することなくそのCPU平均使用率を推定してもよい。例えば、アニメーション部品A~Eのデータサイズおよび部品状態制御情報d3に示される制御内容に基づいてCPU平均使用率を推定する。これにより、アニメーション制御装置100は、アニメーションを実行することなく、部品状態制御情報d3を適切に更新することができる。
 また、以下のような場合も本発明に含まれる。
 (1)上記のアニメーション制御装置は、具体的には、マイクロプロセッサ、ROM、RAM、ハードディスクユニット、ディスプレイユニット、キーボード、マウスなどから構成されるコンピュータシステムである。上記RAMまたはハードディスクユニットには、コンピュータプログラムが記憶されている。上記マイクロプロセッサが、上記コンピュータプログラムにしたがって動作することにより、アニメーション制御装置は、その機能を達成する。ここでコンピュータプログラムは、所定の機能を達成するために、コンピュータに対する指令を示す命令コードが複数個組み合わされて構成されたものである。
 (2)上記のアニメーション制御装置を構成する構成要素の一部または全部は、1個のシステムLSI(Large Scale Integration:大規模集積回路)から構成されているとしてもよい。システムLSIは、複数の構成部を1個のチップ上に集積して製造された超多機能LSIであり、具体的には、マイクロプロセッサ、ROM、RAMなどを含んで構成されるコンピュータシステムである。上記RAMには、コンピュータプログラムが記憶されている。上記マイクロプロセッサが、上記コンピュータプログラムにしたがって動作することにより、システムLSIは、その機能を達成する。
 また、上記のアニメーション制御装置を構成する構成要素の各部は、個別に1チップ化されていてもよいし、一部またはすべてを含むように1チップ化されていてもよい。
 また、ここでは、システムLSIと呼称したが、集積度の違いにより、IC、LSI、スーパーLSI、ウルトラLSIと呼称されることもある。また、集積回路化の手法はLSIに限られるものではなく、専用回路または汎用プロセッサで実現してもよい。また、LSI製造後に、プログラムすることが可能なFPGA(Field Programmable Gate Array)や、LSI内部の回路セルの接続や設定を再構成可能なリコンフィギュラブル・プロセッサを利用してもよい。
 さらには、半導体技術の進歩または派生する別技術によりLSIに置き換わる集積回路化の技術が登場すれば、当然、その技術を用いて構成要素の集積化を行ってもよい。バイオ技術の適応等が可能性としてありえる。
 (3)上記のアニメーション制御装置を構成する構成要素の一部または全部は、各装置に脱着可能なICカードまたは単体のモジュールから構成されているとしてもよい。上記ICカードまたは上記モジュールは、マイクロプロセッサ、ROM、RAMなどから構成されるコンピュータシステムである。上記ICカードまたは上記モジュールは、上記の超多機能LSIを含むとしてもよい。マイクロプロセッサが、コンピュータプログラムにしたがって動作することにより、上記ICカードまたは上記モジュールは、その機能を達成する。このICカードまたはこのモジュールは、耐タンパ性を有するとしてもよい。
 (4)本発明は、上記に示す方法であるとしてもよい。また、これらの方法をコンピュータにより実現するコンピュータプログラムであるとしてもよいし、上記コンピュータプログラムからなるデジタル信号であるとしてもよい。
 また、本発明は、上記コンピュータプログラムまたは上記デジタル信号をコンピュータ読み取り可能な記録媒体、例えば、フレキシブルディスク、ハードディスク、CD-ROM、MO、DVD、DVD-ROM、DVD-RAM、BD(Blu-ray Disc)、半導体メモリなどに記録したものとしてもよい。また、これらの記録媒体に記録されている上記デジタル信号であるとしてもよい。
 また、本発明は、上記コンピュータプログラムまたは上記デジタル信号を、電気通信回線、無線または有線通信回線、インターネットを代表とするネットワーク、データ放送等を経由して伝送するものとしてもよい。
 また、本発明は、マイクロプロセッサとメモリを備えたコンピュータシステムであって、上記メモリは、上記コンピュータプログラムを記憶しており、上記マイクロプロセッサは、上記コンピュータプログラムにしたがって動作するとしてもよい。
 また、上記プログラムまたは上記デジタル信号を上記記録媒体に記録して移送することにより、または上記プログラムまたは上記デジタル信号を上記ネットワーク等を経由して移送することにより、独立した他のコンピュータシステムにより実施するとしてもよい。
 (5)さらに加えて、本発明に係るアニメーション制御装置を集積化した半導体チップと、画像を描画するためのディスプレイとを組み合せて、様々な用途に応じた描画機器を構成することができる。携帯電話やテレビ、デジタルビデオレコーダ、デジタルビデオカメラ、カーナビゲーション等における情報描画手段として、本発明を利用することが可能である。ディスプレイとしては、ブラウン管(CRT)の他、液晶やPDP(プラズマディスプレイパネル)、有機ELなどのフラットディスプレイ、プロジェクターを代表とする投射型ディスプレイなどと組み合わせることが可能である。
 (6)上記実施の形態およびその他のバリエーションをそれぞれ組み合わせるとしてもよい。
 本発明に係るアニメーション制御装置は、全体的なアニメーションの表示品質の低下を抑制し、アプリケーション開発者が意図したアニメーションを行うことができるという効果を奏し、例えば、携帯電話、携帯音楽プレーヤ、デジタルカメラ、またはデジタルビデオカメラ等の電池駆動の携帯表示端末に適用することができるとともに、テレビ、デジタルビデオレコーダ、またはカーナビゲーション等の高解像度の情報表示機器における、メニュー表示、Webブラウザ、エディタ、EPG、または地図表示等を行う情報表示手段として利用価値が高い。
 10  アニメーション制御装置
 11  優先度特定部
 12  判定部
 13  部品制御部
 14  アニメーション実行部
 100  アニメーション制御装置
 101  記憶部
 102  実行部
 103  CPU
 104  部品制御部
 105  表示部
 200  部品格納部
 ap  アプリケーション 
 d1  CPU適正情報
 d2  部品優先度情報
 d3  部品状態制御情報 
 

Claims (13)

  1.  アプリケーションプログラムによるアニメーションを制御するアニメーション制御装置であって、
     前記アプリケーションプログラムに対して予め設定されている、表示対象の画像である複数の描画部品のそれぞれの優先度を示す部品優先度情報を参照することにより、前記複数の描画部品のそれぞれの優先度を特定する優先度特定部と、
     前記複数の描画部品のアニメーションを行うアニメーション実行部と、
     前記複数の描画部品の前記アニメーション実行部による第1の制御内容にしたがったアニメーションに必要な演算処理量である判定値が、第1の適正値よりも大きいか否かを判定する判定部と、
     前記判定部によって大きいと判定された際に、前記優先度特定部によって特定される優先度が低いほど、当該優先度に対応する描画部品である変更対象部品のアニメーションに必要な演算処理量が少なくなるように、当該変更対象部品のアニメーションの制御内容を、前記第1の制御内容から第2の制御内容に変更する部品制御部とを備え、
     前記アニメーション実行部は、前記変更対象部品のアニメーションを前記第2の制御内容にしたがって行い、前記複数の描画部品のうちの前記変更対象部品以外の描画部品である非変更対象部品のアニメーションを前記第1の制御内容にしたがって行う、
     アニメーション制御装置。
  2.  前記アニメーション制御装置は、さらに、
     優先度ごとに、当該優先度に対応する第1の制御内容を示す部品状態制御情報を記憶している記憶部と、
     前記複数の描画部品の前記アニメーション実行部による第1の制御内容にしたがったアニメーションに使用された演算処理量を計測する計測部とを備え、
     前記判定部は、前記計測部によって計測された前記演算処理量を前記判定値として用いることによって前記判定を行い、
     前記部品制御部は、前記記憶部に記憶されている前記部品状態制御情報によって示される、前記変更対象部品の優先度に対応する前記第1の制御内容を、前記第2の制御内容に変更し、
     前記アニメーション実行部は、前記記憶部に記憶されている前記部品状態制御情報によって示される第1および第2の制御内容にしたがって前記複数の描画部品のアニメーションを行う、
     請求項1に記載のアニメーション制御装置。
  3.  前記アニメーション制御装置は、さらに、
     CPUを備え、
     前記アニメーション実行部は、前記複数の描画部品の前記第1の制御内容にしたがったアニメーションに必要な演算処理を前記CPUに実行させ、
     前記判定部は、前記演算処理に使用される前記CPUの使用率を前記判定値として扱うことによって前記判定を行う、
     請求項1または2に記載のアニメーション制御装置。
  4.  前記部品制御部は、前記変更対象部品のアニメーションの制御内容を、アニメーションを実行することを示す前記第1の制御内容から、アニメーションを実行しないことを示す前記第2の制御内容に変更し、
     前記アニメーション実行部は、前記第1の制御内容にしたがって前記非変更対象部品のアニメーションを行い、前記第2の制御内容にしたがって前記変更対象部品のアニメーションを行わない、
     請求項1~3の何れか1項に記載のアニメーション制御装置。 
  5.  前記部品制御部は、前記変更対象部品のアニメーションの制御内容を、第1のフレームレートを示す前記第1の制御内容から、前記第1のフレームレートよりも低い第2のフレームレートを示す前記第2の制御内容に変更し、
     前記アニメーション実行部は、前記第1の制御内容にしたがって前記非変更対象部品のアニメーションを第1のフレームレートで行い、前記第2の制御内容にしたがって前記変更対象部品のアニメーションを前記第2のフレームレートで行う、
     請求項1~3の何れか1項に記載のアニメーション制御装置。
  6.  前記アニメーション制御装置は、さらに、
     前記複数の描画部品のそれぞれに対して優先度を決定し、決定された優先度を示す前記部品優先度情報を生成する情報生成部を備える
     請求項1~5の何れか1項に記載のアニメーション制御装置。
  7.  前記複数の描画部品には、第1の描画部品と、前記第1の描画部品よりも表示される領域のサイズが小さい第2の描画部品とがあり、
     前記情報生成部は、前記第1の描画部品の方が前記第2の描画部品よりも優先度が高くなるように、前記第1および第2の描画部品の優先度を決定する
     請求項6に記載のアニメーション制御装置。
  8.  前記複数の描画部品には、第1の描画部品と、前記第1の描画部品よりもデータサイズが小さい第2の描画部品とがあり、
     前記情報生成部は、前記第1の描画部品の方が前記第2の描画部品よりも優先度が高くなるように、前記第1および第2の描画部品の優先度を決定する
     請求項6に記載のアニメーション制御装置。
  9.  前記アニメーション制御装置は、さらに、
     前記複数の描画部品のそれぞれに対して、当該描画部品がユーザによって操作された履歴を操作履歴として記録する履歴記録部を備え、
     前記情報生成部は、描画部品ごとに、当該描画部品に対して記録されている前記操作履歴に基づいて優先度を決定する
     請求項6に記載のアニメーション制御装置。
  10.  前記判定部は、さらに、
     前記第1の適正値よりも小さい第2の適正値よりも前記判定値が小さいか否かを判定し、
     前記部品制御部は、さらに、
     前記判定部によって小さいと判定された際に、前記優先度特定部によって特定される優先度が低いほど、当該優先度に対応する描画部品である変更処理対象部品のアニメーションに必要な演算処理量が小さい変化率で多くなるように、当該変更処理対象部品のアニメーションの制御内容を、前記第1の制御内容から第3の制御内容に変更し、
     前記アニメーション実行部は、さらに、前記変更処理対象部品のアニメーションを前記第3の制御内容にしたがって行い、前記複数の描画部品のうちの前記変更処理対象部品以外の描画部品である非変更処理対象部品のアニメーションを前記第1の制御内容にしたがって行う、
     請求項1~9の何れか1項に記載のアニメーション制御装置。
  11.  アプリケーションプログラムによるアニメーションを制御するアニメーション制御方法であって、
     前記アプリケーションプログラムに対して予め設定されている、表示対象の画像である複数の描画部品のそれぞれの優先度を示す部品優先度情報を参照することにより、前記複数の描画部品のそれぞれの優先度を特定する優先度特定ステップと、
     前記複数の描画部品のアニメーションを行うアニメーション実行ステップと、
     前記複数の描画部品の前記アニメーション実行ステップによる第1の制御内容にしたがったアニメーションに必要な演算処理量である判定値が、第1の適正値よりも大きいか否かを判定する判定ステップと、
     前記判定ステップによって大きいと判定された際に、前記優先度特定ステップによって特定される優先度が低いほど、当該優先度に対応する描画部品である変更対象部品のアニメーションに必要な演算処理量が少なくなるように、当該変更対象部品のアニメーションの制御内容を、前記第1の制御内容から第2の制御内容に変更する部品制御ステップとを含み、
     前記アニメーション実行ステップでは、前記変更対象部品のアニメーションを前記第2の制御内容にしたがって行い、前記複数の描画部品のうちの前記変更対象部品以外の描画部品である非変更対象部品のアニメーションを前記第1の制御内容にしたがって行う、
     アニメーション制御方法。
  12.  アプリケーションプログラムによるアニメーションを制御するためのプログラムであって、
     前記アプリケーションプログラムに対して予め設定されている、表示対象の画像である複数の描画部品のそれぞれの優先度を示す部品優先度情報を参照することにより、前記複数の描画部品のそれぞれの優先度を特定する優先度特定ステップと、
     前記複数の描画部品のアニメーションを行うアニメーション実行ステップと、
     前記複数の描画部品の前記アニメーション実行ステップによる第1の制御内容にしたがったアニメーションに必要な演算処理量である判定値が、第1の適正値よりも大きいか否かを判定する判定ステップと、
     前記判定ステップによって大きいと判定された際に、前記優先度特定ステップによって特定される優先度が低いほど、当該優先度に対応する描画部品である変更対象部品のアニメーションに必要な演算処理量が少なくなるように、当該変更対象部品のアニメーションの制御内容を、前記第1の制御内容から第2の制御内容に変更する部品制御ステップとをコンピュータに実行させ、
     前記アニメーション実行ステップでは、前記変更対象部品のアニメーションを前記第2の制御内容にしたがって行い、前記複数の描画部品のうちの前記変更対象部品以外の描画部品である非変更対象部品のアニメーションを前記第1の制御内容にしたがって行う、
     プログラム。
  13.  アプリケーションプログラムによるアニメーションを制御する集積回路であって、
     前記アプリケーションプログラムに対して予め設定されている、表示対象の画像である複数の描画部品のそれぞれの優先度を示す部品優先度情報を参照することにより、前記複数の描画部品のそれぞれの優先度を特定する優先度特定部と、
     前記複数の描画部品のアニメーションを行うアニメーション実行部と、
     前記複数の描画部品の前記アニメーション実行部による第1の制御内容にしたがったアニメーションに必要な演算処理量である判定値が、第1の適正値よりも大きいか否かを判定する判定部と、
     前記判定部によって大きいと判定された際に、前記優先度特定部によって特定される優先度が低いほど、当該優先度に対応する描画部品である変更対象部品のアニメーションに必要な演算処理量が少なくなるように、当該変更対象部品のアニメーションの制御内容を、前記第1の制御内容から第2の制御内容に変更する部品制御部とを備え、
     前記アニメーション実行部は、前記変更対象部品のアニメーションを前記第2の制御内容にしたがって行い、前記複数の描画部品のうちの前記変更対象部品以外の描画部品である非変更対象部品のアニメーションを前記第1の制御内容にしたがって行う、
     集積回路。
     
PCT/JP2011/003561 2010-07-15 2011-06-22 アニメーション制御装置、アニメーション制御方法、プログラムおよび集積回路 Ceased WO2012008097A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2011538780A JP5722229B2 (ja) 2010-07-15 2011-06-22 アニメーション制御装置、アニメーション制御方法、プログラムおよび集積回路
CN201180003797.5A CN102483855B (zh) 2010-07-15 2011-06-22 动画控制装置、动画控制方法及集成电路
US13/395,663 US8917277B2 (en) 2010-07-15 2011-06-22 Animation control device, animation control method, program, and integrated circuit

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2010160997 2010-07-15
JP2010-160997 2010-07-15

Publications (1)

Publication Number Publication Date
WO2012008097A1 true WO2012008097A1 (ja) 2012-01-19

Family

ID=45469117

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2011/003561 Ceased WO2012008097A1 (ja) 2010-07-15 2011-06-22 アニメーション制御装置、アニメーション制御方法、プログラムおよび集積回路

Country Status (4)

Country Link
US (1) US8917277B2 (ja)
JP (1) JP5722229B2 (ja)
CN (1) CN102483855B (ja)
WO (1) WO2012008097A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2024531066A (ja) * 2021-09-22 2024-08-29 インターナショナル・ビジネス・マシーンズ・コーポレーション 動的リソース使用量のウェブブラウザ

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070016456A1 (en) * 2005-07-12 2007-01-18 International Business Machines Corporation System, method and program product for reporting status of contract performance or a process
US9396167B2 (en) 2011-07-21 2016-07-19 Flipboard, Inc. Template-based page layout for hosted social magazines
US9037592B2 (en) 2012-09-12 2015-05-19 Flipboard, Inc. Generating an implied object graph based on user behavior
CN103530898B (zh) * 2013-01-06 2017-04-05 Tcl集团股份有限公司 一种基于3d实时渲染的动画处理方法和系统
US10332233B2 (en) * 2013-08-14 2019-06-25 Flipboard, Inc. Preloading animation files in a memory of a client device
CN104461520B (zh) * 2014-11-25 2018-04-03 广州酷狗计算机科技有限公司 动画的播放帧频调整方法及装置
JP6542706B2 (ja) * 2016-04-13 2019-07-10 ファナック株式会社 数値制御装置
CN106227482B (zh) * 2016-07-25 2019-03-15 广东小天才科技有限公司 一种游戏画面刷新的控制方法及相关设备
CN110634174B (zh) * 2018-06-05 2023-10-10 深圳市优必选科技有限公司 一种表情动画过渡方法、系统及智能终端
CN111324407A (zh) * 2020-01-23 2020-06-23 努比亚技术有限公司 一种动画显示方法、终端及计算机可读存储介质
US11703990B2 (en) * 2020-08-17 2023-07-18 Microsoft Technology Licensing, Llc Animated visual cues indicating the availability of associated content

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11203504A (ja) * 1998-01-20 1999-07-30 Taito Corp ビデオゲーム装置に於ける画像処理方法
JPH11339060A (ja) * 1998-03-24 1999-12-10 Yamaha Corp 楽音および画像生成装置
JP2002018122A (ja) * 2000-07-04 2002-01-22 Namco Ltd ゲーム装置、及び情報記憶媒体

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6396509B1 (en) * 1998-02-21 2002-05-28 Koninklijke Philips Electronics N.V. Attention-based interaction in a virtual environment
JP2002238003A (ja) * 2000-12-07 2002-08-23 Matsushita Electric Ind Co Ltd 動画再生用ミドルウェア選択実行装置および方法
JP2002278658A (ja) 2001-03-19 2002-09-27 Fujitsu Ltd 情報処理装置
JP3926203B2 (ja) * 2002-05-15 2007-06-06 シャープ株式会社 コンテンツ表示装置、コンテンツ表示プログラム、該プログラムを記録した記録媒体、およびコンテンツ表示方法
JP2004318332A (ja) * 2003-04-14 2004-11-11 Sharp Corp テキストデータ表示装置、携帯電話装置、テキストデータ表示方法、およびテキストデータ表示プログラム
JP4520229B2 (ja) * 2003-07-01 2010-08-04 株式会社エヌ・ティ・ティ・ドコモ 通信装置およびプログラム
WO2006064698A1 (ja) * 2004-12-15 2006-06-22 Pioneer Corporation 操作指示装置、電子機器、操作指示方法、および操作指示プログラム
FR2881261A1 (fr) * 2005-01-26 2006-07-28 France Telecom Procede et dispositif de selection du niveau de detail par calcul de visibilite pour des scenes 3d multi-niveaux de details
US7990386B2 (en) * 2005-03-24 2011-08-02 Oracle America, Inc. Method for correlating animation and video in a computer system
US7477254B2 (en) * 2005-07-13 2009-01-13 Microsoft Corporation Smooth transitions between animations
US8013861B2 (en) * 2007-10-31 2011-09-06 International Business Machines Corporation Reducing a display quality of an area in a virtual universe to conserve computing resources
US20100127971A1 (en) * 2008-11-21 2010-05-27 Geovector Corp. Methods of rendering graphical images

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11203504A (ja) * 1998-01-20 1999-07-30 Taito Corp ビデオゲーム装置に於ける画像処理方法
JPH11339060A (ja) * 1998-03-24 1999-12-10 Yamaha Corp 楽音および画像生成装置
JP2002018122A (ja) * 2000-07-04 2002-01-22 Namco Ltd ゲーム装置、及び情報記憶媒体

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2024531066A (ja) * 2021-09-22 2024-08-29 インターナショナル・ビジネス・マシーンズ・コーポレーション 動的リソース使用量のウェブブラウザ
JP7762484B2 (ja) 2021-09-22 2025-10-30 インターナショナル・ビジネス・マシーンズ・コーポレーション 動的リソース使用量のウェブブラウザ

Also Published As

Publication number Publication date
US20120169741A1 (en) 2012-07-05
JP5722229B2 (ja) 2015-05-20
JPWO2012008097A1 (ja) 2013-09-05
CN102483855A (zh) 2012-05-30
CN102483855B (zh) 2016-04-13
US8917277B2 (en) 2014-12-23

Similar Documents

Publication Publication Date Title
JP5722229B2 (ja) アニメーション制御装置、アニメーション制御方法、プログラムおよび集積回路
KR101408168B1 (ko) 그래픽 사용자 인터페이스를 제공하는 방법 및 장치
KR102762358B1 (ko) 영상 특수 효과 처리 방법 및 장치
JP6689561B2 (ja) アプリケーションを管理する方法及びアプリケーションの管理を行うデバイス
EP2796975B1 (en) Screen control method and electronic device thereof
JP5761953B2 (ja) 情報処理装置およびその制御方法
CN103761132B (zh) 一种智能终端开机动画播放控制方法
US8713472B2 (en) Display apparatus, a method for a display control, and program
US20110167388A1 (en) Electronic device and method of browsing images thereon
CN111580917A (zh) 一种信息显示方法、装置、电子设备及存储介质
CN106605198A (zh) 基于组的用户界面重排
WO2014187043A1 (zh) 应用程序的显示处理方法及装置
WO2011158446A1 (ja) アニメーション制御装置、アニメーション制御方法およびアニメーション制御プログラム
CN107807760A (zh) 屏幕显示方法及装置
KR20170011363A (ko) 디스플레이 장치 및 디스플레이 방법
US8810588B2 (en) Display switching apparatus
WO2007072640A1 (ja) マルチウィンドウ表示装置、マルチウィンドウ表示方法、及び集積回路
US10120636B2 (en) Display control device and display control method for displaying content on multiple display screens
CN109819329B (zh) 一种窗口显示方法及智能电视
US11582514B2 (en) Source apparatus and control method therefor
CN114020376B (zh) 一种处理方法及设备
RU2622873C2 (ru) Способ и устройство для управления приложениями
JP4698430B2 (ja) 画面表示制御装置および画面表示制御方法
CN120386884A (zh) 一种显示设备
CN120196393A (zh) 一种客户端的窗口展示方法、装置、存储介质及电子设备

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180003797.5

Country of ref document: CN

WWE Wipo information: entry into national phase

Ref document number: 2011538780

Country of ref document: JP

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11806434

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 13395663

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11806434

Country of ref document: EP

Kind code of ref document: A1