Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Queuing method, storage medium, device and system for animation queue

A queuing system and animation technology, applied in the direction of program control design, program start/switch, multi-program device, etc., can solve the problem of incoherent animation connection

Active Publication Date: 2021-06-15
WUHAN DOUYU NETWORK TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the queuing method of the conventional animation queue mainly uses a timing strategy, that is, the time is up to execute the next animation, but if there is an error in the timer, there will be incoherent animations executed successively.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Queuing method, storage medium, device and system for animation queue
  • Queuing method, storage medium, device and system for animation queue

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0034] see figure 1 As shown, the embodiment of the present invention provides a method for queuing animation queues, the method comprising the following steps:

[0035] S1. Define an animation protocol that complies with the NSObject protocol;

[0036] An animation protocol is defined in the embodiment of the present invention, the name of this protocol is DYAnimationProtocol, and this animation protocol complies with the NSObject protocol. An optional function is defined inside the animation protocol. The optional function represents such a meaning. If you need to implement animation, you can implement this function, and if you don’t need to implement animation, you don’t need to implement this function. Optional functions are marked with the system keyword option.

[0037] The name of the optional function in the embodiment of the presen...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a queuing method, storage medium, equipment and system of an animation queue, and relates to the field of Internet mobile terminal application development. The method includes the following steps: defining an animation protocol complying with the NSObject protocol. According to the animation protocol, the execution process of each animation is packaged into an animation object. Create an animation queue class, rewrite the initialization function of the animation queue class, create a queue inside the rewritten initialization function, and create a lock. According to the method that only one animation object can be added once for one lock, the animation object is added to the queue and unlocked after the addition is completed. Play an added animation object, and remove the played animation object from the queue in the way that one lock can only remove the animation object once, unlock it after the removal, and then play the next added animation object animation object. The present invention can ensure the coherence of successively executed animations.

Description

technical field [0001] The invention relates to the field of Internet mobile application development, in particular to a queuing method, storage medium, equipment and system for an animation queue. Background technique [0002] With the rapid development of the mobile phone terminal, in the live broadcast app, in order to meet the needs of live broadcast, it is often necessary to add special effects, and animation is a kind of special effect. There is a priority order when these animations come to the client. How to achieve an effective It is very important to implement the queuing mechanism of the animation queue. [0003] At present, the queuing method of the conventional animation queue mainly uses a timing strategy, that is, the next animation is executed when the time is up, but if there is an error in the timer, there will be incoherent transitions between successively executed animations. Contents of the invention [0004] Aiming at the defects existing in the prio...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/48G06F9/50
CPCG06F9/4881G06F9/5016G06F2209/482
Inventor 汪刚张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products