CN105808060B - A kind of method and apparatus of playing animation - Google Patents

A kind of method and apparatus of playing animation Download PDF

Info

Publication number
CN105808060B
CN105808060B CN201610128168.XA CN201610128168A CN105808060B CN 105808060 B CN105808060 B CN 105808060B CN 201610128168 A CN201610128168 A CN 201610128168A CN 105808060 B CN105808060 B CN 105808060B
Authority
CN
China
Prior art keywords
animation
homepage
display area
animation play
play device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610128168.XA
Other languages
Chinese (zh)
Other versions
CN105808060A (en
Inventor
白伟民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co Ltd
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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201610128168.XA priority Critical patent/CN105808060B/en
Publication of CN105808060A publication Critical patent/CN105808060A/en
Application granted granted Critical
Publication of CN105808060B publication Critical patent/CN105808060B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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

Abstract

The invention discloses a kind of method and apparatus of playing animation, belong to field of computer technology.The described method includes: loading animation play device, and the broadcast window of the animation play device is placed in except the display area of the homepage after homepage unlatching;When receiving the play instruction of the first animation, the broadcast window of the animation play device is moved within the display area of the homepage, first animation is played by the animation play device;After first animation play, the broadcast window of the animation play device is moved back to except the display area of the homepage.Using the present invention, the process resource of terminal can be saved.

Description

A kind of method and apparatus of playing animation
Technical field
The present invention relates to field of computer technology, in particular to a kind of method and apparatus of playing animation.
Background technique
With the made rapid progress of Internet technology, this industry of network main broadcaster is flourished.Host broadcasts on the net It puts or gives a performance, spectators can open relevant webpage or application program watches program.
Spectators when watching program, can to host's gifts, for example, virtual fresh flower, virtual cake etc., when There are spectators to choose present and clicks when giving key, it can be in program broadcast interface in all terminals for playing actual programs Play present animation.Terminal generally can first be loaded animation play device, then be broadcast using animation play device when playing present animation It puts present animation, after animation play, then animation play device is closed to (if not closing animation play device, animation if can be held It is continuous to be shown in current page, influence user experience when spectators watch program).
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
When needing to play a plurality of present animation, terminal can repeat to load and close animation play device, in this way, the place of terminal It is larger to manage resource consumption.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of method and apparatus of playing animation.Institute It is as follows to state technical solution:
In a first aspect, providing a kind of method of playing animation, which comprises
After homepage unlatching, animation play device is loaded, and the broadcast window of the animation play device is placed in the master Except the display area of the page;
When receiving the play instruction of the first animation, the broadcast window of the animation play device is moved to the homepage Within the display area in face, first animation is played by the animation play device;
After first animation play, the broadcast window of the animation play device is moved back into the homepage Except display area.
Second aspect, provides a kind of device of playing animation, and described device includes:
Loading module, for loading animation play device, and by the broadcasting window of the animation play device after homepage unlatching Mouth is placed in except the display area of the homepage;
Playing module, for when receiving the play instruction of the first animation, by the broadcast window of the animation play device It is moved within the display area of the homepage, first animation is played by the animation play device;
Mobile module is used for after first animation play, and the broadcast window of the animation play device is mobile It returns except the display area of the homepage.
Technical solution provided in an embodiment of the present invention has the benefit that
In the embodiment of the present invention, after homepage unlatching, animation play device is loaded, and by the broadcast window of animation play device It is placed in except the display area of homepage, when receiving the play instruction of the first animation, by the broadcast window of animation play device It is moved within the display area of homepage, the first animation is played by animation play device, it, will after the first animation play The broadcast window of animation play device moves back to except the display area of homepage.In this way, when needing to play a plurality of animation, terminal Without repeating to load and close animation play device, broadcast window need to only be moved, so as to save the place of terminal Manage resource.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of method flow diagram of playing animation provided in an embodiment of the present invention;
Fig. 2 is a kind of interface schematic diagram of playing animation provided in an embodiment of the present invention;
Fig. 3 is a kind of position view of the broadcast window of animation play device provided in an embodiment of the present invention;
Fig. 4 is a kind of change in location schematic diagram of the broadcast window of animation play device provided in an embodiment of the present invention;
Fig. 5 is a kind of apparatus structure schematic diagram of playing animation provided in an embodiment of the present invention;
Fig. 6 is a kind of apparatus structure schematic diagram of playing animation provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
The embodiment of the invention provides a kind of method of playing animation, the executing subject of this method is terminal.Wherein, terminal It can be any terminal with animation play function, such as mobile phone, computer, can be equipped in terminal for browse page Face, the application program for watching video, while the application program can load animation play device, as web browser, video class are answered With program etc..Processor, memory, audio output unit can be set in the terminal, processor can be used for dynamic to playing The process of picture is handled, and memory can be used for storing the data of the data and generation that need in following treatment processes, eventually Screen, input unit, communication component are also provided in end, screen is displayed for needing to show in following treatment processes To the content of user, the animation such as played, input unit can be used for user and input instruction or setting information to terminal.This implementation In example, using terminal as mobile phone, the application program of installation is to be broadcast live for class application program, carries out the detailed description of scheme, other Situation is similar therewith, and the present embodiment is not repeated.
Below in conjunction with specific embodiment, process flow shown in FIG. 1 is described in detail, content can be as Under:
Step 101, after homepage unlatching, animation play device is loaded, and the broadcast window of animation play device is placed in master Except the display area of the page.
Wherein, homepage can be the homepage of live streaming class application program, specifically, can be the view of some direct broadcast band Frequency plays the page.Animation play device is independently of the player plug-in unit of video player in above-mentioned homepage, for playing more Short and small animation.
In an implementation, user can open above-mentioned live streaming class application program at the terminal, some net cast is watched in click, The video playing page (i.e. homepage), which is opened, so as to triggering terminal plays above-mentioned video.At this moment, terminal can load animation Player, and the broadcast window of animation play device is placed in except the display area of homepage, in order to avoid the broadcasting of animation play device Window shelters from homepage.Herein, the display area of homepage may be considered the play area either homepage of video Whole region.
Step 102, when receiving the play instruction of the first animation, the broadcast window of animation play device is moved to homepage Within the display area in face, the first animation is played by animation play device.
In an implementation, when user watches some net cast by terminal, virtual present can be given to video playing person, Such as virtual fresh flower, virtual cake.Virtual present herein can be above-mentioned live streaming class application program setting, be passed through by user What number of ways was exchanged.If there is some user gives virtual present to video playing person, then the virtual present is corresponding Animation may be displayed on it is all play the net casts terminals on.It chooses some virtual present in user and clicks and give After key, terminal can receive the play instruction of the corresponding animation of the virtual present (i.e. the first animation).It can will move later The broadcast window for drawing player is moved within the display area of homepage, and plays the first animation by animation play device, such as Shown in Fig. 2.In addition, broadcast window can be placed in homepage in order to avoid the first animation influences user's watching video live broadcast Fringe region is shown, alternatively, the broadcast window of animation play device is carried out transparence display.
Step 103, after the first animation play, the broadcast window of animation play device is moved back to the display of homepage Except region.
In an implementation, terminal can show always first after playing the first animation in the broadcast window of animation play device The last frame picture of animation.At this moment, the experience of video is watched in order to not influence user, terminal can broadcasting animation play device It puts window to move back to except the display area of homepage, as shown in Figure 3.Herein, the position where broadcast window can be with step 101 it is identical, can also with the difference of step 101, as long as meet except the display area of homepage.In addition, will move The process for drawing the broadcast window disengaging homepage of player can use a variety of animation effects, such as fade in and fade out, size conversion flies Enter to fly out etc..
Optionally, it is contemplated that homepage can be divided into full screen display and window shows two kinds of possibility, correspondingly, above-mentioned steps 101 can be such that after homepage unlatching to the processing of step 103, load animation play device, and by the broadcasting of animation play device Window is placed in except the display area of screen, when receiving the play instruction of the first animation, by the broadcasting window of animation play device Mouth is moved within the display area of screen, plays the first animation by animation play device, will after the first animation play The broadcast window of animation play device moves back to except the display area of screen.
In an implementation, the coordinate system of the available screen of terminal, if the left upper coordinate of screen is (0,0), screen Coordinate is (1242,2208) at the lower right corner, and the coordinate of arbitrary point can be (X, Y) in screen, wherein 0≤X≤1242,0 < =Y≤2208.When above-mentioned homepage is opened, terminal can load animation play device, and make the broadcast window of animation play device The coordinate (An, Bn) of middle all the points be all satisfied An≤0 or An >=1242 or Bn≤0 or Bn >=2208, so then It can determine that broadcast window is placed in except the display area of screen.Meanwhile terminal animation play device when can set playing animation Broadcast window coordinate, even if broadcast window is all placed within the display area of screen, then all in broadcast window The coordinate (An, Bn) of point is all satisfied 0≤An≤1242,0≤Bn≤2208.Later, when terminal receives the first animation When play instruction, the broadcast window of animation play device can be moved to the display area of screen according to the setting value of above-mentioned coordinate Within, then play the first animation.After the first animation play, the broadcast window of adjustable animation play device is corresponding The coordinate (An, Bn) of point so that (An, Bn) meet An≤0 or An >=1242 or Bn≤0 or Bn >=2208, i.e., The broadcast window of animation play device is moved back to except the display area of screen.
Optionally, it if there is multiple animations to need to play simultaneously, can be hidden again after playing all animations The broadcast window of animation play device, corresponding processing can be such that when the first animation play finishes, if animation play device is not Other animations are played, the broadcast window of animation play device are moved back to except the display area of homepage.When the first animation play When finishing, if animation play device is playing other animations, after all other animation plays, by animation play device Broadcast window moves back to except the display area of homepage.
In an implementation, animation play device is when playing an animation, if receiving the play instruction of other animations at this time, Then it can continue to play other animations after playing current animation.Specifically, when the first animation play finishes, if eventually End detects that animation play device does not play other animations, then the broadcast window of animation play device can be moved back to the aobvious of homepage Show except region.And if when the first animation play finishes, it, can be with if animation play device is still playing other animations After whole animation plays, then the broadcast window of animation play device moved back to except the display area of homepage.Value It obtains one to be mentioned that, it is contemplated that animation play device, which opens animation file, may need the of short duration time, may be set in animation play device Other animations are not played in preset duration after playing an animation, then the broadcast window of animation play device is moved back into homepage Except the display area in face.
Optionally, based on user to the different operation of homepage, terminal can also make corresponding processing to animation play device, Several possible scenes are given as follows:
Scene one closes animation play device when receiving the out code of homepage.
In an implementation, user can click the page close key on homepage in watching video live broadcast, and terminal then may be used To receive the out code of homepage, then terminal can choose first closing animation play device, then turn off homepage.This No matter place's animation play device is in except the display area of homepage or within the display area of homepage, i.e., no matter animation is broadcast It puts whether device is playing animation, as long as terminal receives the out code of homepage, immediately closes off animation play device.When So, user can be arranged at the terminal when the out code for receiving homepage, move if animation play device is playing some It draws, then can close animation play device after current animation finishes.
Scene two, if the broadcast window of animation play device is placed in except the display area of homepage and the viewing area of screen Within domain, then when the full screen display for receiving homepage instructs, the broadcast window of animation play device is moved to the display of screen Except region.
In an implementation, user at the terminal watching video live broadcast when, the mode that window broadcasting can be used plays and works as Preceding video namely homepage are non-full screen display.At this moment, the broadcast window of animation play device can be placed in the viewing area of homepage Except domain and within the display area of screen.In this way, terminal if, can receive if user clicks the maximization button of homepage Full screen display to homepage instructs, and then homepage can be extended to full frame show.Meanwhile terminal can be by animation The broadcast window of player moves to except the display area of homepage, also will the broadcast window remove screen display area, As shown in Figure 4.
Scene three, during the first animation play, when the minimum for receiving homepage instructs, pause plays first Animation, and the broadcast window of animation play device is moved to except the display area of screen.
In an implementation, it is also provided with minimum key in the homepage of net cast, when user needs temporarily to open When other pages, above-mentioned minimum key can be clicked, terminal then can receive the minimum instruction of homepage, so as to Current page is switched into other pages by the homepage of net cast.And if user click minimize key when, animation Player is playing the first animation, then when terminal receives the minimum instruction of homepage, can control animation play device Pause plays the first animation, and the broadcast window of animation play device is moved to except the display area of screen.In this way, in terminal When showing other pages, the broadcast window of animation play device will not be shown.
Scene four, it is when the minimum for receiving homepage cancels instruction, then the broadcast window of animation play device is mobile To the display area of homepage, and continue to play the first animation.
In embodiment, the processing based on above-mentioned scene three, terminal carries out homepage after minimum shows, if user Current page is switched back into homepage, the minimum that terminal then can receive homepage cancels instruction, and then can be by animation The broadcast window of player moves back within the display area of homepage, then proceedes to play in scene three and suspends the first of broadcasting Animation.Optionally, user can be set, and after terminal is adjusted to the homepage of net cast to minimize display, can will move The broadcast window for drawing player is moved to except the display area of screen, but can continue to play the first animation, if cancelling Before homepage minimizes, the first animation is not finished, then the broadcast window of animation play device can be moved back to minimum Position before;And terminate if the first animation has played, the broadcast window of animation play device can be kept in screen Except display area.
In the embodiment of the present invention, after homepage unlatching, animation play device is loaded, and by the broadcast window of animation play device It is placed in except the display area of homepage, when receiving the play instruction of the first animation, by the broadcast window of animation play device It is moved within the display area of homepage, the first animation is played by animation play device, it, will after the first animation play The broadcast window of animation play device moves back to except the display area of homepage.In this way, when needing to play a plurality of animation, terminal Without repeating to load and close animation play device, broadcast window need to only be moved, so as to save the place of terminal Manage resource.
Based on the same technical idea, the embodiment of the invention also provides a kind of devices of playing animation, as shown in figure 5, The device includes:
Loading module 501, for loading animation play device, and broadcasting the animation play device after homepage unlatching Window is put to be placed in except the display area of the homepage;
Playing module 502, for when receiving the play instruction of the first animation, by the broadcasting window of the animation play device Mouth is moved within the display area of the homepage, is passed through the animation play device and is played first animation;
Mobile module 503, for after first animation play, the broadcast window of the animation play device to be moved Except the display area for moving back the homepage.
Optionally, the display area of the homepage is the display area of screen.
Optionally, the mobile module 503, is used for:
When first animation play finishes, if the animation play device does not play other animations, by the animation The broadcast window of player moves back to except the display area of the homepage;
The mobile module 503, is also used to:
When first animation play finishes, if the animation play device is playing other animations, all its After its animation play, the broadcast window of the animation play device is moved back to except the display area of the homepage.
Optionally, as shown in fig. 6, described device further include:
Closedown module 504, for when receiving the out code of the homepage, closing the animation play device.
Optionally, the mobile module 503, is also used to:
If the broadcast window of the animation play device is placed in except the display area of the homepage and the display of screen Within region, then when the full screen display for receiving the homepage instructs, the broadcast window of the animation play device is moved to Except the display area of the screen.
Optionally, the mobile module 503, is also used to:
During first animation play, when the minimum for receiving the homepage instructs, pause plays institute The first animation is stated, and the broadcast window of the animation play device is moved to except the display area of screen.
Optionally, the mobile module 503, is also used to:
It is when the minimum for receiving the homepage cancels instruction, then the broadcast window of the animation play device is mobile To the display area of the homepage, and continue to play first animation.
In the embodiment of the present invention, after homepage unlatching, animation play device is loaded, and by the broadcast window of animation play device It is placed in except the display area of homepage, when receiving the play instruction of the first animation, by the broadcast window of animation play device It is moved within the display area of homepage, the first animation is played by animation play device, it, will after the first animation play The broadcast window of animation play device moves back to except the display area of homepage.In this way, when needing to play a plurality of animation, terminal Without repeating to load and close animation play device, broadcast window need to only be moved, so as to save the place of terminal Manage resource.
It should be understood that the device of playing animation provided by the above embodiment is in playing animation, only with above-mentioned each function Can module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different functions Module is completed, i.e., the internal structure of device is divided into different functional modules, described above all or part of to complete Function.In addition, the device of playing animation provided by the above embodiment and the embodiment of the method for playing animation belong to same design, Specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Referring to FIG. 7, a present invention also exemplary embodiment proposes a kind of structural schematic diagram of terminal, which can be with Method for the playing audio-fequency data for implementing to provide in above-described embodiment.Specifically:
Terminal 900 may include RF (Radio Frequency, radio frequency) circuit 110, include one or more meter The memory 120 of calculation machine readable storage medium storing program for executing, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, the processing for including one or more than one processing core The components such as device 180 and power supply 190.It will be understood by those skilled in the art that terminal structure shown in Fig. 7 is not constituted pair The restriction of terminal may include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.Wherein:
RF circuit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, one or the processing of more than one processor 180 are transferred to;In addition, the data for being related to uplink are sent to Base station.In general, RF circuit 110 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication.Wireless communication, which can be used, appoints (Global System of Mobile communication, the whole world are moved for one communication standard or agreement, including but not limited to GSM Dynamic communication system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short Messaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operation Software program and module, thereby executing various function application and data processing.Memory 120 can mainly include storage journey Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created number according to terminal 900 According to (such as audio data, phone directory etc.) etc..In addition, memory 120 may include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input unit 130 to memory 120 access.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 130 may include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and terminal 500 that are supplied to user Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof. Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal Show device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects touching on it or nearby After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing device 180 according to the type of touch event Corresponding visual output is provided on display panel 141.Although touch sensitive surface 131 and display panel 141 are conducts in Fig. 7 Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and display Panel 141 is integrated and realizes and outputs and inputs function.
Terminal 900 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when terminal 900 is moved in one's ear Panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally Three axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely In other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensors that terminal 900 can also configure, herein It repeats no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 900.Audio Electric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to sound by loudspeaker 161 by circuit 160 Sound signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160 Audio data is converted to, then by after the processing of audio data output processor 180, such as another end is sent to through RF circuit 110 End, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that earphone jack, To provide the communication of peripheral hardware earphone Yu terminal 900.
WiFi belongs to short range wireless transmission technology, and terminal 900 can help user's transceiver electronics by WiFi module 170 Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 7 is shown WiFi module 170, but it is understood that, and it is not belonging to must be configured into for terminal 900, it can according to need completely Do not change in the range of the essence of invention and omits.
Processor 180 is the control centre of terminal 900, utilizes each portion of various interfaces and connection whole mobile phone Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120 Interior data execute the various functions and processing data of terminal 900, to carry out integral monitoring to mobile phone.Optionally, processor 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modem processor, Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing Line communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 900 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 190 can also include one or more direct current or AC power source, recharging system, power supply event Hinder the random components such as detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal 900 can also include camera, bluetooth module etc., and details are not described herein.Specifically in this reality It applies in example, the display unit of terminal 900 is touch-screen display, and terminal 900 further includes having memory and one or one Above program, one of them perhaps more than one program be stored in memory and be configured to by one or one with Upper processor execution states one or more than one program includes the instruction for performing the following operation:
After homepage unlatching, animation play device is loaded, and the broadcast window of the animation play device is placed in the master Except the display area of the page;
When receiving the play instruction of the first animation, the broadcast window of the animation play device is moved to the homepage Within the display area in face, first animation is played by the animation play device;
After first animation play, the broadcast window of the animation play device is moved back into the homepage Except display area.
Optionally, the display area of the homepage is the display area of screen.
Optionally, described after first animation play, the broadcast window of the animation play device is moved back to Except the display area of the homepage, comprising:
When first animation play finishes, if the animation play device does not play other animations, by the animation The broadcast window of player moves back to except the display area of the homepage;
The method also includes:
When first animation play finishes, if the animation play device is playing other animations, all its After its animation play, the broadcast window of the animation play device is moved back to except the display area of the homepage.
Optionally, the method also includes:
When receiving the out code of the homepage, the animation play device is closed.
Optionally, the method also includes:
If the broadcast window of the animation play device is placed in except the display area of the homepage and the display of screen Within region, then when the full screen display for receiving the homepage instructs, the broadcast window of the animation play device is moved to Except the display area of the screen.
Optionally, the method also includes:
During first animation play, when the minimum for receiving the homepage instructs, pause plays institute The first animation is stated, and the broadcast window of the animation play device is moved to except the display area of screen.
Optionally, the pause plays first animation, and the broadcast window of the animation play device is moved to screen After except the display area of curtain, further includes:
It is when the minimum for receiving the homepage cancels instruction, then the broadcast window of the animation play device is mobile To the display area of the homepage, and continue to play first animation.
In the embodiment of the present invention, after homepage unlatching, animation play device is loaded, and by the broadcast window of animation play device It is placed in except the display area of homepage, when receiving the play instruction of the first animation, by the broadcast window of animation play device It is moved within the display area of homepage, the first animation is played by animation play device, it, will after the first animation play The broadcast window of animation play device moves back to except the display area of homepage.In this way, when needing to play a plurality of animation, terminal Without repeating to load and close animation play device, broadcast window need to only be moved, so as to save the place of terminal Manage resource.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (12)

1. a kind of method of playing animation, which is characterized in that the described method includes:
After homepage unlatching, animation play device is loaded, and the broadcast window of the animation play device is placed in the homepage Display area except;
When receiving the play instruction of the first animation, the broadcast window of the animation play device is moved to the homepage Within display area, first animation is played by the animation play device;
After first animation play, the broadcast window of the animation play device is moved back to the display of the homepage Except region;
If the broadcast window of the animation play device is placed in except the display area of the homepage and the display area of screen Within, then when the full screen display for receiving the homepage instructs, the broadcast window of the animation play device is moved to described Except the display area of screen.
2. the method according to claim 1, wherein the display area of the homepage is the viewing area of screen Domain.
3., will be described the method according to claim 1, wherein described after first animation play The broadcast window of animation play device moves back to except the display area of the homepage, comprising:
When first animation play finishes, if the animation play device does not play other animations, by the animation play The broadcast window of device moves back to except the display area of the homepage;
The method also includes:
When first animation play finishes, if the animation play device is playing other animations, all other dynamic After picture finishes, the broadcast window of the animation play device is moved back to except the display area of the homepage.
4. the method according to claim 1, wherein the method also includes:
When receiving the out code of the homepage, the animation play device is closed.
5. the method according to claim 1, wherein the method also includes:
During first animation play, when the minimum for receiving the homepage instructs, pause plays described the One animation, and the broadcast window of the animation play device is moved to except the display area of screen.
6. according to the method described in claim 5, it is characterized in that, the pause plays first animation, and described will move After the broadcast window of picture player is moved to except the display area of screen, further includes:
When the minimum for receiving the homepage cancels instruction, then the broadcast window of the animation play device is moved to institute It states within the display area of homepage, and continues to play first animation.
7. a kind of device of playing animation, which is characterized in that described device includes:
Loading module, for loading animation play device, and the broadcast window of the animation play device is set after homepage unlatching Except the display area of the homepage;
Playing module, for when receiving the play instruction of the first animation, the broadcast window of the animation play device to be moved To the display area of the homepage, first animation is played by the animation play device;
Mobile module, for after first animation play, the broadcast window of the animation play device to be moved back to institute Except the display area for stating homepage;
If the broadcast window of the animation play device is placed in except the display area of the homepage and the display area of screen Within, then when the full screen display for receiving the homepage instructs, the broadcast window of the animation play device is moved to described Except the display area of screen.
8. device according to claim 7, which is characterized in that the display area of the homepage is the viewing area of screen Domain.
9. device according to claim 7, which is characterized in that the mobile module is used for:
When first animation play finishes, if the animation play device does not play other animations, by the animation play The broadcast window of device moves back to except the display area of the homepage;
The mobile module, is also used to:
When first animation play finishes, if the animation play device is playing other animations, all other dynamic After picture finishes, the broadcast window of the animation play device is moved back to except the display area of the homepage.
10. device according to claim 7, which is characterized in that described device further include:
Closedown module, for when receiving the out code of the homepage, closing the animation play device.
11. device according to claim 7, which is characterized in that the mobile module is also used to:
During first animation play, when the minimum for receiving the homepage instructs, pause plays described the One animation, and the broadcast window of the animation play device is moved to except the display area of screen.
12. device according to claim 11, which is characterized in that the mobile module is also used to:
When the minimum for receiving the homepage cancels instruction, then the broadcast window of the animation play device is moved to institute It states within the display area of homepage, and continues to play first animation.
CN201610128168.XA 2016-03-07 2016-03-07 A kind of method and apparatus of playing animation Active CN105808060B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610128168.XA CN105808060B (en) 2016-03-07 2016-03-07 A kind of method and apparatus of playing animation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610128168.XA CN105808060B (en) 2016-03-07 2016-03-07 A kind of method and apparatus of playing animation

Publications (2)

Publication Number Publication Date
CN105808060A CN105808060A (en) 2016-07-27
CN105808060B true CN105808060B (en) 2019-03-15

Family

ID=56467736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610128168.XA Active CN105808060B (en) 2016-03-07 2016-03-07 A kind of method and apparatus of playing animation

Country Status (1)

Country Link
CN (1) CN105808060B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106411712A (en) * 2016-10-19 2017-02-15 天脉聚源(北京)传媒科技有限公司 Electronic gift display method and device
CN106792101B (en) * 2017-01-03 2019-09-20 青岛海信电器股份有限公司 Home interface method of adjustment, device and smart television
CN106897002B (en) * 2017-01-22 2019-09-06 武汉天喻教育科技有限公司 Double screens control system and control method under a kind of mode of extension based on WPF
CN107450911A (en) * 2017-07-05 2017-12-08 口碑(上海)信息技术有限公司 Player method, device and the electronic equipment of animated element
CN108733447B (en) * 2018-05-28 2021-06-29 北京酷我科技有限公司 Video detail page animation expansion algorithm
CN109101148A (en) * 2018-06-28 2018-12-28 珠海麋鹿网络科技有限公司 A kind of window response method and its device based on the mobile acquisition object of operation object
CN110968378A (en) * 2018-09-29 2020-04-07 北京字节跳动网络技术有限公司 GIF animation operation method, device, electronic equipment and storage medium
CN110134527B (en) * 2019-04-09 2023-05-30 创新先进技术有限公司 Data processing method, client and electronic equipment
CN113448466B (en) * 2021-07-09 2023-06-20 腾讯科技(深圳)有限公司 Animation display method, device, electronic equipment and storage medium
CN116843800B (en) * 2023-08-29 2023-11-24 深圳有咖互动科技有限公司 Animation information transmission method, device, electronic equipment and computer readable medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094169A (en) * 2006-06-23 2007-12-26 腾讯科技(深圳)有限公司 Method, system, and client terminal for playing back advertisement in procedure of buffering network living broadcast
CN101136815A (en) * 2006-08-31 2008-03-05 腾讯科技(深圳)有限公司 Method and system for broadcasting advertisement during network living broadcast buffering process
CN101430781A (en) * 2007-11-05 2009-05-13 上海柯楠网络科技有限公司 Advertisement putting method for network video
CN101483054A (en) * 2008-12-25 2009-07-15 深圳市迅雷网络技术有限公司 Method and apparatus for playing multimedia file
CN102566931A (en) * 2011-12-31 2012-07-11 奇智软件(北京)有限公司 Method and device for displaying suspended window

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094169A (en) * 2006-06-23 2007-12-26 腾讯科技(深圳)有限公司 Method, system, and client terminal for playing back advertisement in procedure of buffering network living broadcast
CN101136815A (en) * 2006-08-31 2008-03-05 腾讯科技(深圳)有限公司 Method and system for broadcasting advertisement during network living broadcast buffering process
CN101430781A (en) * 2007-11-05 2009-05-13 上海柯楠网络科技有限公司 Advertisement putting method for network video
CN101483054A (en) * 2008-12-25 2009-07-15 深圳市迅雷网络技术有限公司 Method and apparatus for playing multimedia file
CN102566931A (en) * 2011-12-31 2012-07-11 奇智软件(北京)有限公司 Method and device for displaying suspended window

Also Published As

Publication number Publication date
CN105808060A (en) 2016-07-27

Similar Documents

Publication Publication Date Title
CN105808060B (en) A kind of method and apparatus of playing animation
CN106791894B (en) A kind of method and apparatus playing live video
CN104967900B (en) A kind of method and apparatus generating video
CN105554550B (en) Video broadcasting method and device
CN106488296B (en) A kind of method and apparatus showing video barrage
CN105183296B (en) interactive interface display method and device
CN107438200A (en) The method and apparatus of direct broadcasting room present displaying
CN106933525B (en) A kind of method and apparatus showing image
CN104519404B (en) The player method and device of graphic interchange format file
CN104036536B (en) The generation method and device of a kind of stop-motion animation
CN105828160B (en) Video broadcasting method and device
CN104159140B (en) A kind of methods, devices and systems of Video processing
CN105224556B (en) Waterfall stream interface display methods and device
CN105227890B (en) Video call method and device
CN105094513B (en) User&#39;s head portrait setting method, device and electronic equipment
CN109388304A (en) A kind of screenshotss method and terminal device
CN104915091B (en) A kind of method and apparatus for the prompt information that Shows Status Bar
CN106293375B (en) A kind of method for changing scenes and equipment
CN104967865B (en) Video previewing method and device
CN104602135B (en) Control the method and device of played in full screen
CN104965722B (en) A kind of method and device of display information
CN108958805A (en) menu display method and device
CN104991699B (en) A kind of method and apparatus of video display control
CN106504303B (en) A kind of method and apparatus playing frame animation
CN108881617A (en) A kind of display changeover method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17

Applicant after: Guangzhou KuGou Networks Co., Ltd.

Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F

Applicant before: Guangzhou KuGou Networks Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant