CN112689168A - Dynamic effect processing method, dynamic effect display method and dynamic effect processing device - Google Patents

Dynamic effect processing method, dynamic effect display method and dynamic effect processing device Download PDF

Info

Publication number
CN112689168A
CN112689168A CN202011461901.2A CN202011461901A CN112689168A CN 112689168 A CN112689168 A CN 112689168A CN 202011461901 A CN202011461901 A CN 202011461901A CN 112689168 A CN112689168 A CN 112689168A
Authority
CN
China
Prior art keywords
dynamic effect
display
element information
effect object
elements
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011461901.2A
Other languages
Chinese (zh)
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.)
Sichuan Jinxiongmao New Media Co ltd
Original Assignee
Sichuan Jinxiongmao New Media 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 Sichuan Jinxiongmao New Media Co ltd filed Critical Sichuan Jinxiongmao New Media Co ltd
Priority to CN202011461901.2A priority Critical patent/CN112689168A/en
Publication of CN112689168A publication Critical patent/CN112689168A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The application provides a dynamic effect processing method, a dynamic effect display method and a dynamic effect processing device, and relates to the technical field of network televisions. The method comprises the following steps: acquiring element information of a dynamic effect object to be displayed, wherein the element information comprises: the dynamic effect objects comprise a plurality of dynamic effect elements and display attributes of the elements, the element information is obtained by performing display element decomposition on the dynamic effect objects, and the plurality of display elements with the same style in the dynamic effect objects correspond to the same dynamic effect element in the element information; and sending element information corresponding to the dynamic effect object to the terminal equipment. The display elements of the dynamic effect objects are decomposed, the display elements with the same patterns correspond to the same dynamic effect element, reconstruction grouping of the display elements is achieved, the repeated utilization rate of the display elements is improved, resource consumption of a memory, a network and the like when the dynamic effect objects are sent to the terminal equipment is reduced, the dynamic effect objects can be smoothly played by the terminal equipment, and the problem of blocking caused by over-large occupied resources is avoided.

Description

Dynamic effect processing method, dynamic effect display method and dynamic effect processing device
Technical Field
The invention relates to the technical field of network televisions, in particular to a dynamic effect processing method, a dynamic effect display method and a dynamic effect processing device.
Background
An Internet Protocol Television (IPTV) is a large-screen display technology that integrates Internet, multimedia, and communication technologies, and provides a variety of interactive services including digital tv to home users. The network television supports dynamic effect display.
Currently, a dynamic effect may be stored by one or more dynamic effect source files. The network television can obtain the dynamic effect associated source file from the server side, and performs integral triggering and integral presentation in a large screen.
However, the prior art method has the defects that the resource occupation ratio of the related source files of the dynamic effect is too large, the display effect is discontinuous and not smooth, the dynamic effect is connected and the like.
Disclosure of Invention
The present invention aims to provide a dynamic effect processing method, a dynamic effect display method and a dynamic effect processing apparatus, so as to solve the problems of discontinuous and unsmooth display effect, unstable dynamic effect linkage and the like caused by too large resource occupation of dynamic effect related source files in the prior art.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, an embodiment of the present application provides a dynamic effect processing method, including:
acquiring element information of a dynamic effect object to be displayed, wherein the element information comprises: the element information is obtained by performing display element decomposition on the dynamic effect object, and a plurality of display elements with the same style in the dynamic effect object correspond to the same dynamic effect element in the element information;
and sending element information corresponding to the dynamic effect object to terminal equipment.
Optionally, before the obtaining of the element corresponding to the dynamic effect object to be displayed, the method further includes:
performing display element decomposition on the dynamic effect object to obtain at least one dynamic effect element;
generating the display attribute of each dynamic effect element according to the display effect information of the dynamic effect object;
and combining the obtained at least one dynamic effect element and the generated display attributes of each dynamic effect element into element information of the dynamic effect object to be displayed.
Optionally, the performing display element decomposition on the dynamic effect object to obtain at least one dynamic effect element includes:
performing display element decomposition on the dynamic effect object to obtain a plurality of elements to be selected;
and taking the candidate elements with the same style as the dynamic effect elements.
Optionally, the sending element information corresponding to the dynamic effect object to the terminal device includes:
removing the dynamic effect elements stored on the terminal equipment from the element information to obtain the removed element information;
and sending the removed element information to the terminal equipment.
Optionally, the presentation attribute includes: display sequence, motion trail, time length, display angle, display color and display size.
In a second aspect, an embodiment of the present application further provides a dynamic effect display method, including:
receiving element information of a dynamic effect object to be displayed, wherein the element information comprises: the element information is obtained by performing display element decomposition on the dynamic effect object, and a plurality of display elements with the same style in the dynamic effect object correspond to the same dynamic effect element in the element information;
and displaying the dynamic effect object according to the element information of the dynamic effect object.
Optionally, the displaying the dynamic effect object according to the element information of the dynamic effect object includes:
creating a dynamic rendering template;
rendering each dynamic effect element by using the dynamic effect rendering template according to the display attribute of each dynamic effect element;
and displaying each rendered dynamic effect element.
Optionally, displaying the dynamic effect object according to the element information of the dynamic effect object, including:
locally reading, from the terminal device, an animation element that belongs to the animation object and is not included in the element information;
and displaying the dynamic effect object according to the element information of the dynamic effect object and the dynamic effect element which belongs to the dynamic effect object and is not contained in the element information.
Optionally, the presentation attribute includes: display sequence, motion trail, time length, display angle, display color and display size.
In a third aspect, an embodiment of the present application further provides a dynamic effect processing apparatus, where the apparatus includes: the device comprises an acquisition module and a sending module;
the obtaining module is configured to obtain element information of a dynamic effect object to be displayed, where the element information includes: the element information is obtained by performing display element decomposition on the dynamic effect object, and a plurality of display elements with the same style in the dynamic effect object correspond to the same dynamic effect element in the element information;
and the sending module is used for sending the element information corresponding to the dynamic effect object to the terminal equipment.
Optionally, the apparatus further comprises: a processing module;
the processing module is used for carrying out display element decomposition on the dynamic effect object to obtain at least one dynamic effect element; generating the display attribute of each dynamic effect element according to the display effect information of the dynamic effect object; and combining the obtained at least one dynamic effect element and the generated display attributes of each dynamic effect element into element information of the dynamic effect object to be displayed.
Optionally, the processing module is further configured to perform display element decomposition on the dynamic effect object to obtain a plurality of elements to be selected; and taking the candidate elements with the same style as the dynamic effect elements.
Optionally, the sending module is further configured to remove, from the element information, a dynamic effect element that is already stored in the terminal device, so as to obtain the removed element information; and sending the removed element information to the terminal equipment.
Optionally, the presentation attribute includes: display sequence, motion trail, time length, display angle, display color and display size.
In a fourth aspect, an embodiment of the present application further provides a dynamic effect display device, where the device includes: the display device comprises a receiving module and a display module;
the receiving module is configured to receive element information of a dynamic effect object to be displayed, where the element information includes: the element information is obtained by performing display element decomposition on the dynamic effect object, and a plurality of display elements with the same style in the dynamic effect object correspond to the same dynamic effect element in the element information;
the display module is used for displaying the dynamic effect object according to the element information of the dynamic effect object.
Optionally, the display module is further configured to:
creating a dynamic rendering template;
rendering each dynamic effect element by using the dynamic effect rendering template according to the display attribute of each dynamic effect element;
and displaying each rendered dynamic effect element.
Optionally, the display module is further configured to:
locally reading, from the terminal device, an animation element that belongs to the animation object and is not included in the element information;
and displaying the dynamic effect object according to the element information of the dynamic effect object and the dynamic effect element which belongs to the dynamic effect object and is not contained in the element information.
Optionally, the presentation attribute includes: display sequence, motion trail, time length, display angle, display color and display size.
In a fifth aspect, an embodiment of the present application further provides a server, including: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the server is running, the processor executing the machine-readable instructions to perform the steps of the method as provided by the first aspect.
In a sixth aspect, an embodiment of the present application further provides a terminal device, including: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating over the bus when the terminal device is operating, the processor executing the machine-readable instructions to perform the steps of the method as provided by the second side.
In a seventh aspect, this application provides a storage medium, and this application provides a storage medium having a computer program stored thereon, where the computer program is executed by a processor to perform the steps of the method as provided in the first aspect or the second aspect.
The beneficial effect of this application is:
the embodiment of the application provides a dynamic effect processing method, a dynamic effect display method and a dynamic effect processing device, wherein the method comprises the following steps: acquiring element information of a dynamic effect object to be displayed, wherein the element information comprises: the dynamic effect objects comprise a plurality of dynamic effect elements and display attributes of the elements, the element information is obtained by performing display element decomposition on the dynamic effect objects, and the plurality of display elements with the same style in the dynamic effect objects correspond to the same dynamic effect element in the element information; and sending element information corresponding to the dynamic effect object to the terminal equipment. In the scheme, the display elements of the dynamic effect object are decomposed to obtain a plurality of element information of the dynamic effect object, the display elements with the same style are corresponding to the same dynamic effect element, the display elements are reconstructed and grouped, the repeated utilization rate of the elements with the same style is improved, and the resource consumption of the dynamic effect object when being sent to the terminal equipment, such as a memory and a network, is reduced, so that the dynamic effect object can be smoothly played by the terminal equipment, and the problem of blocking caused by over-occupation of resources is avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of a dynamic effect processing system according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a server according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a dynamic effect processing method according to an embodiment of the present application;
FIG. 4 is a schematic flow chart illustrating another dynamic effect processing method according to an embodiment of the present disclosure;
FIG. 5 is a schematic flow chart illustrating another dynamic effect processing method according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 7 is a schematic flow chart illustrating a dynamic effect displaying method according to an embodiment of the present application;
fig. 8 is a schematic flow chart of another dynamic effect displaying method provided in the embodiment of the present application;
fig. 9 is a schematic flow chart illustrating another dynamic effect displaying method according to an embodiment of the present application;
fig. 10 is an interaction flow diagram of a method for processing and displaying dynamic effects according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a dynamic effect processing apparatus according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a dynamic effect display device according to an embodiment of the present application.
Icon: 100-a dynamic effect processing system; 101-a server; 102-a terminal device; 103-a network; 104-database.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention.
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that in the embodiments of the present application, the term "comprising" is used to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.
Fig. 1 is a schematic structural diagram of a dynamic effect processing system according to an embodiment of the present disclosure; for example, the animation processing system 100 may be used for animation display effects such as live gifts, interactive information, and the like in network televisions. As shown in fig. 1, the dynamic effect processing system 100 includes: one or more of a server 101, a terminal device 102, a network 103, and a database 104, where the server 101 may include a processor that performs instruction operations.
In some embodiments, the terminal device 102 may be an electronic device with a display function, such as a set-top box, a television, or a television integrated with a set-top box, and may also be another electronic device, such as a computer, a mobile internet access device, a tablet, a mobile phone terminal, and the like.
The terminal device 102 may further include a trigger terminal device and a display terminal device, where a user of the trigger terminal device may be a person who triggers a dynamic effect object to be displayed, and a user of the display terminal device may be a person who receives and displays the dynamic effect object.
For example, when a user a needs to push a gift-giving or interactive information-like dynamic effect object to another online user B, the user a may click an icon or an instruction of the dynamic effect object to be displayed in the trigger terminal device, the server 101 obtains element information of the dynamic effect object to be displayed corresponding to the trigger instruction according to the received trigger instruction, and sends the element information corresponding to the dynamic effect object to the display terminal device, and the display terminal device displays the dynamic effect object according to the received element information of the dynamic effect object to be displayed, so that the user B of the display terminal device can receive a gift-giving or interactive information-like dynamic effect picture pushed by the user a in the trigger terminal device, and interactivity between different users in the trigger terminal device and the display terminal device is improved.
The network 103 may be used for the exchange of information and/or data, for example, the network 103 may be any type of wired or wireless network, or any combination thereof. The database 104 may store presentation attributes and/or animation trigger instructions for each animation element.
For example, the server 101 may access the presentation attributes and/or the animation trigger instructions of the animation elements stored in the terminal device 102 or the database 104, or any combination thereof via the network 103 to implement triggered presentation of the animation objects.
It will be appreciated that the configuration shown in FIG. 1 is merely illustrative and that the dynamic processing system 100 may include more or fewer components than shown in FIG. 1 or may have a different configuration than shown in FIG. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Fig. 2 is a schematic structural diagram of a server according to an embodiment of the present application; as shown in fig. 2, the server 101 includes a memory 201, a processor 202, and a communication unit 203. The memory 201, the processor 202 and the communication unit 203 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
The memory 201 stores software functional modules stored in the memory 201 in the form of software or firmware (firmware), and the processor 202 executes various functional applications and data processing by running the software programs and modules stored in the memory 201, that is, implements the dynamic effect processing method in the embodiment of the present invention.
The Memory 201 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), and the like. The memory 201 is used for storing a program, and the processor 202 executes the program after receiving an execution instruction.
The processor 202 may be an integrated circuit chip having signal processing capabilities. The Processor 202 may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like.
The communication unit 203 is used for establishing communication connection between the server 101 and the terminal device 102 and the database 104 through the network 103, and realizing the transceiving operation of network signals and data information.
The dynamic effect processing method provided by the present application is explained by a plurality of embodiments as follows.
Fig. 3 is a schematic flow chart of a dynamic effect processing method according to an embodiment of the present application; the method is applied to the server in fig. 1, and optionally, as shown in fig. 3, the method may include:
s301, acquiring element information of the dynamic effect object to be displayed.
Wherein the element information includes: the dynamic effect objects comprise a plurality of dynamic effect elements and display attributes of the elements, the element information is obtained by decomposing the display elements of the dynamic effect objects, and the display elements with the same style in the dynamic effect objects correspond to the same dynamic effect element in the element information.
In this embodiment, for example, if the user clicks an icon or an instruction on the terminal device to trigger a dynamic effect object to be presented, where the dynamic effect object may be a dynamic effect picture such as a praise, a blooming firework, and the like, then the element information of the dynamic effect object to be presented may be: the method comprises the steps of ordering the love heart and the fireworks, and the various display attributes of the love heart and the fireworks in the dynamic effect, wherein the display attributes can be the display size, the display color, the display duration and the like of the love heart and the fireworks in the whole dynamic effect.
For example, in the animation of the first frame and the second frame, the property of favoring the presentation may include: the display sizes are 10% and 15% respectively, and the display color is red, praise prefers to have a dynamic display effect from small to large.
Each element information is obtained by decomposing display elements of the dynamic effect object, for example, the praise love with the display size of 10% in the dynamic effect object can be decomposed as one display element according to the art dynamic effect, the praise love with the display size of 15% can be decomposed as another display element, and fireworks with the display duration of 3 seconds can be decomposed as another display element to obtain a plurality of different display elements. It should be noted that the decomposition granularity of the display elements may be large or small, and more, fewer, or other display elements may also be decomposed, which is not limited in this embodiment.
Because the variety of the dynamic effect objects is various, the display elements included in each dynamic effect object are also different, and in order to effectively manage and utilize the decomposed display elements, a plurality of display elements with the same style in the dynamic effect objects correspond to the same dynamic effect element in the element information. For example, the praise love heart shown at 10% in the above example corresponds to the same action element as the praise love heart shown at 15% in size. By classifying a plurality of display elements in the dynamic effect object into one dynamic effect element, the display elements are reconstructed and grouped, the repeated utilization rate of the elements with the same pattern is improved, and the resource consumption of a memory, a network and the like when the dynamic effect object is played by the terminal equipment is also reduced.
Optionally, a plurality of display elements with the same style can be corresponded to the same dynamic effect element in the element information, and the dynamic effect element is uploaded to the database according to the preset classification, so that the uniform management of the dynamic effect element is realized.
And S302, sending element information corresponding to the dynamic effect object to the terminal equipment.
For example, on the basis of the above embodiment, the action elements and the display attributes corresponding to the action objects such as praise love, fireworks and the like can be sent to the terminal device to generate and display the action effect picture, so that the terminal device can smoothly play the action objects, and the problem of blocking caused by over-large occupied resources can be avoided.
To sum up, the embodiment of the present application provides a dynamic effect processing method, which includes: acquiring element information of a dynamic effect object to be displayed, wherein the element information comprises: the dynamic effect objects comprise a plurality of dynamic effect elements and display attributes of the elements, the element information is obtained by performing display element decomposition on the dynamic effect objects, and the plurality of display elements with the same style in the dynamic effect objects correspond to the same dynamic effect element in the element information; and sending element information corresponding to the dynamic effect object to the terminal equipment. In the scheme, the display elements of the dynamic effect object are decomposed to obtain a plurality of element information of the dynamic effect object, the display elements with the same style are corresponding to the same dynamic effect element, the display elements are reconstructed and grouped, the repeated utilization rate of the elements with the same style is improved, and the resource consumption of the dynamic effect object when being sent to the terminal equipment, such as a memory and a network, is reduced, so that the dynamic effect object can be smoothly played by the terminal equipment, and the problem of blocking caused by over-occupation of resources is avoided.
FIG. 4 is a schematic flow chart illustrating another dynamic effect processing method according to an embodiment of the present disclosure; the above step S301 shown in fig. 4: before obtaining the element corresponding to the dynamic effect object to be displayed, the method further comprises the following steps:
s401, performing display element decomposition on the dynamic effect object to obtain at least one dynamic effect element.
For example, a Graphics Interchange Format (GIF) is adopted to decompose the display elements in the dynamic effect object a one by one to obtain a plurality of candidate elements such as a1, a2, A3, and the like, and the candidate elements with the same pattern are used as one dynamic effect element, so that the dynamic effect elements in the dynamic effect object are reconstructed and grouped.
For example, if the dynamic effect object is a dynamic effect picture of praise and fireworks blooming, the elements of the praise and fireworks in different styles in each frame of dynamic effect picture can be decomposed to obtain a plurality of candidate elements, the element of the praise and the fireworks in the same style is used as one dynamic effect element, and the element of the fireworks in the same style is used as another dynamic effect element, so as to obtain a plurality of dynamic effect elements in the whole dynamic effect picture.
S402, generating the display attribute of each dynamic effect element according to the display effect information of the dynamic effect object.
For example, in the whole animation display effect, the praise love heart display effect information may include: the display color is red, the display duration is 1 second, and the display size is changed from small to large, so that different display attributes like love can be determined in each frame of moving effect picture display.
Optionally, the presentation attribute of each action element may include: the display order, the motion trail, the time length, the display angle, the display color and the display size enable various different display attributes such as the display order, the motion trail, the time length, the display angle, the display color and the display size to be used for displaying the action effect pictures of the action effect elements, and the display diversity of the action effect objects is achieved.
And S403, combining the obtained at least one dynamic effect element and the generated display attributes of each dynamic effect element into element information of a dynamic effect object to be displayed.
For example, the obtained praise love and the display attributes of the praise love in each frame of dynamic effect picture display are reconstructed to combine element information of the dynamic effect object to be displayed, so that the functions of decomposing and recombining a plurality of dynamic effect elements in the dynamic effect object, reducing resource consumption and the like are realized.
FIG. 5 is a schematic flow chart illustrating another dynamic effect processing method according to an embodiment of the present disclosure; the above step S301 shown in fig. 5: sending element information corresponding to the dynamic effect object to the terminal equipment, wherein the element information comprises:
s501, removing the dynamic effect elements stored on the terminal equipment from the element information to obtain the removed element information.
In an implementation manner, the terminal device may store some dynamic effect elements with higher usage frequency locally in the terminal device, each stored dynamic effect element may have a unique identifier, and the terminal device may notify the server of the identifiers of the stored dynamic effect elements. Furthermore, before the server sends the element information of the dynamic effect elements, whether the dynamic effect elements in the element information of the dynamic effect objects are stored on the terminal device or not can be determined according to the obtained identification of each dynamic effect element of the dynamic effect objects. If the element information is saved, the dynamic element can be removed from the element information.
For example, the obtained dynamic effect object is a dynamic effect in which praise and fireworks appear to be diffused and disappear in the whole dynamic effect picture, but the praise mark is pre-stored on the terminal device, so that the praise of a plurality of dynamic effect elements corresponding to the dynamic effect object can be removed, and the removed element information, namely the fireworks, is obtained.
And S502, sending the removed element information to the terminal equipment.
For example, on the basis of the above embodiment, only the firework element information from which the element information has been removed is sent to the terminal device.
Through the processing, the resource consumption of memory, network and the like occupied by the element information when the terminal equipment plays the dynamic effect object is reduced, so that the terminal equipment can smoothly play the dynamic effect object, and the problems that the playing effect is not smooth, and the gap is caused by the fact that the dynamic effect is lost due to unsmooth linking can be avoided.
The following explains a terminal device applied to the dynamic effect display method provided by the present application by a plurality of embodiments.
Fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application; as shown in fig. 6, the terminal device may be a chip that may be integrated into the terminal device or the terminal device, and the terminal may be an electronic device having a data processing function.
The terminal device includes: memory 601, processor 602, and communication unit 603. The memory 601, the processor 602 and the communication unit 603 are electrically connected directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
The memory 601 is used for storing programs, and the processor 602 calls the programs stored in the memory 601 to execute the following embodiments of the activity exhibition method.
The communication unit 603 is configured to establish a communication connection between the server 101 and the terminal device 102 and the database 104 through the network 103, and implement a receiving operation of a network signal and element information of a dynamic effect object to be displayed.
Fig. 7 is a schematic flow chart illustrating a dynamic effect displaying method according to an embodiment of the present application; the method is applied to a terminal device in a dynamic effect processing system, and as shown in fig. 7, the method comprises the following steps:
s701, receiving element information of the dynamic effect object to be displayed.
Wherein the element information includes: the dynamic effect objects comprise a plurality of dynamic effect elements and display attributes of the elements, the element information is obtained by decomposing the display elements of the dynamic effect objects, and the display elements with the same style in the dynamic effect objects correspond to the same dynamic effect element in the element information.
For example, on the basis of the above embodiment, the element information of the dynamic effect object to be displayed, sent by the server, may be accepted, such as the like love and firework in the above embodiment, and a plurality of display attributes of the like love and firework in the dynamic effect, where the display attributes may be the display size, the display color, the display duration, and the like of the like love and firework in the whole dynamic effect.
And S702, displaying the dynamic effect object according to the element information of the dynamic effect object.
For example, the action object is displayed by using the like and fireworks and various display attributes of the like and fireworks in the action.
To sum up, the embodiment of the present application provides a dynamic effect display method, which includes: receiving element information of a dynamic effect object to be displayed; wherein the element information includes: the dynamic effect objects comprise a plurality of dynamic effect elements and display attributes of the elements, the element information is obtained by performing display element decomposition on the dynamic effect objects, and the plurality of display elements with the same style in the dynamic effect objects correspond to the same dynamic effect element in the element information; and displaying the dynamic effect object according to the element information of the dynamic effect object. In the scheme, the dynamic effect object is decomposed into a plurality of display elements in the server, and the plurality of display elements with the same style are used as the same dynamic effect element, so that the plurality of dynamic effect elements in the dynamic effect object are reconstructed and grouped. The technical defects that resource occupation is too large, display effects of the dynamic effect objects are not consistent and smooth, linking dynamic effect is lost to cause blank, a hardware system is difficult to support and the like due to the fact that resource files of the too large dynamic effect objects are sent to the terminal equipment are avoided, and meanwhile the requirements of interactive interaction/game products with too many dynamic effect objects can be met.
Fig. 8 is a schematic flow chart of another dynamic effect displaying method provided in the embodiment of the present application; as shown in fig. 8, the optional step S702: according to the element information of the dynamic effect object, the dynamic effect object is displayed, and the method comprises the following steps:
s801, creating a dynamic rendering template.
For example, in the terminal device, a rendering engine is used to create a plurality of dynamic effect rendering templates, and the dynamic effect rendering templates can be used to control the display time axis, color rendering, angle transformation and size transformation of the element information of the dynamic effect object in the dynamic effect picture.
S802, rendering each dynamic effect element by using a dynamic effect rendering template according to the display attribute of each dynamic effect element.
Optionally, the display attributes of the dynamic effect objects may include: display sequence, motion trajectory, time length, display angle, display color, display size, and the like.
For example, in combination with the display attributes of the dynamic effect objects, the created dynamic effect rendering template is used for rendering various dynamic effect elements such as like likes of points and fireworks.
And S803, displaying each dynamic effect element after rendering.
On the basis of the embodiment, after the dynamic effect elements are rendered, the rendered dynamic effect elements can be displayed in the terminal equipment, so that the dynamic effect elements in the dynamic effect object are superposed again, the dynamic effect display effect of the dynamic effect object is accurately realized, and the aim of reducing resource consumption is fulfilled.
Fig. 9 is a schematic flow chart illustrating another dynamic effect displaying method according to an embodiment of the present application; as shown in fig. 9, the optional step S702: according to the element information of the dynamic effect object, the dynamic effect object is displayed, and the method comprises the following steps:
s901, locally reading the dynamic effect elements which belong to the dynamic effect objects and are not contained in the element information from the terminal equipment.
For example, the obtained dynamic effect object is a dynamic effect in which like hearts and fireworks are diffused and disappear in the whole dynamic effect picture, but the like hearts are stored locally in the terminal device in advance, so that only the dynamic effect elements which are not stored locally in the terminal device can be read, and thus, the situation that the terminal device needs to occupy more bandwidth resources to receive the element information of the dynamic effect object can be effectively avoided, and the efficiency of sending the element information of the dynamic effect object to the terminal device by the server is improved.
S902, displaying the dynamic effect object according to the element information of the dynamic effect object and the dynamic effect elements which belong to the dynamic effect object and are not contained in the element information.
For example, the element information of the dynamic element fireworks read locally from the terminal device and the element information of the like sent by the server can be displayed on the terminal device.
Fig. 10 is an interaction flow diagram of a method for processing and displaying dynamic effects according to an embodiment of the present application; as shown in fig. 10, the method may include:
s1001, the server decomposes display elements of the dynamic effect object to obtain a plurality of elements to be selected, and the elements to be selected with the same style are used as one dynamic effect element.
S1002, the server generates the display attribute of each dynamic effect element according to the display effect information of the dynamic effect object.
S1003, the server combines the obtained at least one dynamic effect element and the generated display attributes of the dynamic effect elements into element information of a dynamic effect object to be displayed.
S1004, the server acquires element information of the dynamic effect object to be displayed, and eliminates the dynamic effect elements stored on the terminal equipment from the element information to obtain the eliminated element information.
S1005, the terminal equipment reads the dynamic effect elements which belong to the dynamic effect object and are not contained in the element information from the terminal equipment locally;
and S1006, the terminal device displays the dynamic effect object according to the element information of the dynamic effect object and the dynamic effect element which belongs to the dynamic effect object and is not contained in the element information.
S1007, the terminal device creates a dynamic effect rendering template, and renders each dynamic effect element by using the dynamic effect rendering template according to the display attribute of each dynamic effect object;
and S1008, displaying each rendered dynamic effect element by the terminal equipment.
Optionally, specific implementation steps and beneficial effects of the interaction method have been described in detail in the foregoing specific embodiments, and are not described in detail here.
The following describes a dynamic effect processing device, a dynamic effect display device, a storage medium, and the like for executing the dynamic effect processing device, the dynamic effect display device, the storage medium, and the like provided by the present application, and specific implementation processes and technical effects thereof are referred to above, and are not described in detail below.
Fig. 11 is a dynamic effect processing apparatus provided in an embodiment of the present application, and as shown in fig. 11, the apparatus includes: an acquisition module 1101 and a sending module 1102;
an obtaining module 1101, configured to obtain element information of a dynamic effect object to be displayed, where the element information includes: the dynamic effect objects comprise a plurality of dynamic effect elements and display attributes of the elements, the element information is obtained by performing display element decomposition on the dynamic effect objects, and the plurality of display elements with the same style in the dynamic effect objects correspond to the same dynamic effect element in the element information;
a sending module 1102, configured to send element information corresponding to the dynamic effect object to the terminal device.
Optionally, the apparatus further comprises: a processing module;
the processing module is used for carrying out display element decomposition on the dynamic effect object to obtain at least one dynamic effect element; generating the display attribute of each dynamic effect element according to the display effect information of the dynamic effect object; and combining the obtained at least one dynamic effect element and the generated display attributes of each dynamic effect element into element information of a dynamic effect object to be displayed.
Optionally, the processing module is further configured to perform display element decomposition on the dynamic effect object to obtain a plurality of elements to be selected; and taking the elements to be selected with the same style as an action element.
Optionally, the sending module 1102 is further configured to remove the dynamic effect elements that have been stored in the terminal device from the element information, so as to obtain the removed element information; and sending the removed element information to the terminal equipment.
Optionally, the presentation attribute comprises: display sequence, motion trail, time length, display angle, display color and display size.
Fig. 12 is a schematic structural diagram of a dynamic effect display device according to an embodiment of the present application, and as shown in fig. 12, the device includes: a receiving module 1201 and a display module 1202;
a receiving module 1201, configured to receive element information of a dynamic effect object to be displayed, where the element information includes: the dynamic effect objects comprise a plurality of dynamic effect elements and display attributes of the elements, the element information is obtained by performing display element decomposition on the dynamic effect objects, and the plurality of display elements with the same style in the dynamic effect objects correspond to the same dynamic effect element in the element information;
and a display module 1202, configured to display the dynamic effect object according to the element information of the dynamic effect object.
Optionally, the display module 1202 is further configured to:
creating a dynamic rendering template;
rendering each dynamic effect element by using a dynamic effect rendering template according to the display attribute of each dynamic effect element;
and displaying the rendered dynamic effect elements.
Optionally, the display module 1202 is further configured to:
locally reading dynamic effect elements which belong to dynamic effect objects and are not contained in element information from the terminal equipment;
and displaying the dynamic effect object according to the element information of the dynamic effect object and the dynamic effect element which belongs to the dynamic effect object and is not contained in the element information.
Optionally, the presentation attribute comprises: display sequence, motion trail, time length, display angle, display color and display size.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Optionally, the invention also provides a program product, for example a computer-readable storage medium, comprising a program which, when being executed by a processor, is adapted to carry out the above-mentioned method embodiments.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

Claims (10)

1. A dynamic effect processing method is characterized by comprising the following steps:
acquiring element information of a dynamic effect object to be displayed, wherein the element information comprises: the element information is obtained by performing display element decomposition on the dynamic effect object, and a plurality of display elements with the same style in the dynamic effect object correspond to the same dynamic effect element in the element information;
and sending element information corresponding to the dynamic effect object to terminal equipment.
2. The method according to claim 1, wherein before obtaining the element corresponding to the dynamic effect object to be displayed, the method further comprises:
performing display element decomposition on the dynamic effect object to obtain at least one dynamic effect element;
generating the display attribute of each dynamic effect element according to the display effect information of the dynamic effect object;
and combining the obtained at least one dynamic effect element and the generated display attributes of each dynamic effect element into element information of the dynamic effect object to be displayed.
3. The method of claim 2, wherein the performing display element decomposition on the dynamic effect object to obtain at least one dynamic effect element comprises:
performing display element decomposition on the dynamic effect object to obtain a plurality of elements to be selected;
and taking the candidate elements with the same style as the dynamic effect elements.
4. The method according to any one of claims 1-3, wherein the sending element information corresponding to the dynamic effect object to the terminal device includes:
removing the dynamic effect elements stored on the terminal equipment from the element information to obtain the removed element information;
and sending the removed element information to the terminal equipment.
5. The method of any of claims 1-3, wherein the presentation attribute comprises: display sequence, motion trail, time length, display angle, display color and display size.
6. A dynamic effect display method is characterized by comprising the following steps:
receiving element information of a dynamic effect object to be displayed, wherein the element information comprises: the element information is obtained by performing display element decomposition on the dynamic effect object, and a plurality of display elements with the same style in the dynamic effect object correspond to the same dynamic effect element in the element information;
and displaying the dynamic effect object according to the element information of the dynamic effect object.
7. The method according to claim 6, wherein said presenting the dynamic effect object according to the element information of the dynamic effect object comprises:
creating a dynamic rendering template;
rendering each dynamic effect element by using the dynamic effect rendering template according to the display attribute of each dynamic effect element;
and displaying each rendered dynamic effect element.
8. The method according to claim 6 or 7, wherein the presenting the dynamic effect object according to the element information of the dynamic effect object comprises:
locally reading dynamic effect elements which belong to the dynamic effect objects and are not contained in the element information from a terminal device;
and displaying the dynamic effect object according to the element information of the dynamic effect object and the dynamic effect element which belongs to the dynamic effect object and is not contained in the element information.
9. The method of claim 6 or 7, wherein the presentation attribute comprises: display sequence, motion trail, time length, display angle, display color and display size.
10. A kinetic treatment device, characterized in that the device comprises: the device comprises an acquisition module and a sending module;
the obtaining module is configured to obtain element information of a dynamic effect object to be displayed, where the element information includes: the element information is obtained by performing display element decomposition on the dynamic effect object, and a plurality of display elements with the same style in the dynamic effect object correspond to the same dynamic effect element in the element information;
and the sending module is used for sending the element information corresponding to the dynamic effect object to the terminal equipment.
CN202011461901.2A 2020-12-09 2020-12-09 Dynamic effect processing method, dynamic effect display method and dynamic effect processing device Pending CN112689168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011461901.2A CN112689168A (en) 2020-12-09 2020-12-09 Dynamic effect processing method, dynamic effect display method and dynamic effect processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011461901.2A CN112689168A (en) 2020-12-09 2020-12-09 Dynamic effect processing method, dynamic effect display method and dynamic effect processing device

Publications (1)

Publication Number Publication Date
CN112689168A true CN112689168A (en) 2021-04-20

Family

ID=75449283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011461901.2A Pending CN112689168A (en) 2020-12-09 2020-12-09 Dynamic effect processing method, dynamic effect display method and dynamic effect processing device

Country Status (1)

Country Link
CN (1) CN112689168A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568548A (en) * 2021-08-05 2021-10-29 北京达佳互联信息技术有限公司 Animation information processing method and apparatus
CN114090167A (en) * 2021-11-30 2022-02-25 东风汽车有限公司东风日产乘用车公司 Festival color egg display method, device, equipment and storage medium
CN114518817A (en) * 2022-01-10 2022-05-20 荣耀终端有限公司 Display method, electronic equipment and storage medium
CN117333586A (en) * 2023-11-30 2024-01-02 浙江口碑网络技术有限公司 Image processing method and device, storage medium and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070091095A1 (en) * 2005-10-21 2007-04-26 Ming-Jang Chen Computer executable graphic method of generating animation elements
US20090079735A1 (en) * 2005-11-02 2009-03-26 Streamezzo Method of optimizing rendering of a multimedia scene, and the corresponding program, signal, data carrier, terminal and reception method
WO2012152504A1 (en) * 2011-05-11 2012-11-15 Sony Corporation Synchronization of active 3d glasses on a displayed signal
CN106611435A (en) * 2016-12-22 2017-05-03 广州华多网络科技有限公司 Animation processing method and device
CN108174288A (en) * 2017-12-27 2018-06-15 深圳创维-Rgb电子有限公司 Playback method, device, display terminal and storage medium
CN108881997A (en) * 2018-07-24 2018-11-23 北京奇艺世纪科技有限公司 Animation file generates and playback method, device and system
CN109147016A (en) * 2018-07-26 2019-01-04 乐蜜有限公司 The dynamic effect screen generating method of one kind, device, electronic equipment and storage medium
CN109710255A (en) * 2018-12-24 2019-05-03 网易(杭州)网络有限公司 Effect processing method, special effect processing device, electronic equipment and storage medium
CN109903359A (en) * 2019-03-15 2019-06-18 广州市百果园网络科技有限公司 A kind of display methods of particle, device, mobile terminal and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070091095A1 (en) * 2005-10-21 2007-04-26 Ming-Jang Chen Computer executable graphic method of generating animation elements
US20090079735A1 (en) * 2005-11-02 2009-03-26 Streamezzo Method of optimizing rendering of a multimedia scene, and the corresponding program, signal, data carrier, terminal and reception method
WO2012152504A1 (en) * 2011-05-11 2012-11-15 Sony Corporation Synchronization of active 3d glasses on a displayed signal
CN106611435A (en) * 2016-12-22 2017-05-03 广州华多网络科技有限公司 Animation processing method and device
CN108174288A (en) * 2017-12-27 2018-06-15 深圳创维-Rgb电子有限公司 Playback method, device, display terminal and storage medium
CN108881997A (en) * 2018-07-24 2018-11-23 北京奇艺世纪科技有限公司 Animation file generates and playback method, device and system
CN109147016A (en) * 2018-07-26 2019-01-04 乐蜜有限公司 The dynamic effect screen generating method of one kind, device, electronic equipment and storage medium
CN109710255A (en) * 2018-12-24 2019-05-03 网易(杭州)网络有限公司 Effect processing method, special effect processing device, electronic equipment and storage medium
CN109903359A (en) * 2019-03-15 2019-06-18 广州市百果园网络科技有限公司 A kind of display methods of particle, device, mobile terminal and storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568548A (en) * 2021-08-05 2021-10-29 北京达佳互联信息技术有限公司 Animation information processing method and apparatus
CN114090167A (en) * 2021-11-30 2022-02-25 东风汽车有限公司东风日产乘用车公司 Festival color egg display method, device, equipment and storage medium
CN114090167B (en) * 2021-11-30 2024-02-27 东风汽车有限公司东风日产乘用车公司 Festival color egg display method, device, equipment and storage medium
CN114518817A (en) * 2022-01-10 2022-05-20 荣耀终端有限公司 Display method, electronic equipment and storage medium
CN116501210A (en) * 2022-01-10 2023-07-28 荣耀终端有限公司 Display method, electronic equipment and storage medium
CN116501210B (en) * 2022-01-10 2024-06-11 荣耀终端有限公司 Display method, electronic equipment and storage medium
CN117333586A (en) * 2023-11-30 2024-01-02 浙江口碑网络技术有限公司 Image processing method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
US10873769B2 (en) Live broadcasting method, method for presenting live broadcasting data stream, and terminal
CN112689168A (en) Dynamic effect processing method, dynamic effect display method and dynamic effect processing device
CN110570698B (en) Online teaching control method and device, storage medium and terminal
CN106611435B (en) Animation processing method and device
CN109525851B (en) Live broadcast method, device and storage medium
CN106375696B (en) A kind of film recording method and device
CN113457160B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN109309842B (en) Live broadcast data processing method and device, computer equipment and storage medium
CN110784730B (en) Live video data transmission method, device, equipment and storage medium
CN112073754B (en) Cloud game screen projection method and device, computer equipment, computer readable storage medium and cloud game screen projection interaction system
CN109168026A (en) Instant video display methods, device, terminal device and storage medium
CN108924661A (en) Data interactive method, device, terminal and storage medium based on direct broadcasting room
CN112243137A (en) Live broadcast interface updating method, device, server and system
CN111078078B (en) Video playing control method, device, terminal and computer readable storage medium
US20240089561A1 (en) Multimedia data publishing method and apparatus, and device and medium
CN105933720A (en) Live video release notification method and device
CN111464828A (en) Virtual special effect display method, device, terminal and storage medium
CN113727142A (en) Cloud rendering method and device and computer-storable medium
CN114095744A (en) Video live broadcast method and device, electronic equipment and readable storage medium
CN111970527B (en) Live broadcast data processing method and device
CN111949908A (en) Media information processing method and device, electronic equipment and storage medium
CN110996087B (en) Video display method and device
CN105610849B (en) Method and device for generating sharing label and method and device for displaying attribute information
CN113891162B (en) Live broadcast room loading method and device, computer equipment and storage medium
CN112954452B (en) Video generation method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210420

RJ01 Rejection of invention patent application after publication