WO2021068652A1 - 动画对象的展示方法、装置、电子设备及存储介质 - Google Patents

动画对象的展示方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2021068652A1
WO2021068652A1 PCT/CN2020/109947 CN2020109947W WO2021068652A1 WO 2021068652 A1 WO2021068652 A1 WO 2021068652A1 CN 2020109947 W CN2020109947 W CN 2020109947W WO 2021068652 A1 WO2021068652 A1 WO 2021068652A1
Authority
WO
WIPO (PCT)
Prior art keywords
animation
display
target image
animation display
target
Prior art date
Application number
PCT/CN2020/109947
Other languages
English (en)
French (fr)
Inventor
刘元辰
Original Assignee
北京字节跳动网络技术有限公司
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 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Publication of WO2021068652A1 publication Critical patent/WO2021068652A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/802D [Two Dimensional] animation, e.g. using sprites
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8146Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2213/00Indexing scheme for animation
    • G06T2213/12Rule based animation

Definitions

  • the present disclosure relates to the field of Internet technology, for example, to a method, device, electronic device, and storage medium for displaying animation objects.
  • Webcasting technology is a technology that provides users with real-time broadcast of streaming media programs based on Internet communications. With the rapid development of webcast technology, the number of users of the live broadcast platform is increasing day by day.
  • the users of the live broadcast platform mainly include two kinds, one is the audience who watch the live broadcast, and the other is the host who conducts the live broadcast.
  • viewers can select one or some specific virtual gifts from the candidate virtual gifts provided by the live broadcast platform to give to their favorite anchors, and at the same time, the anchors can also receive certain rewards by receiving virtual gifts.
  • the present disclosure provides a display method, device, electronic device, and storage medium of animation objects, so as to realize combined display of images of at least two animation objects and enhance animation special effects when the animation objects are displayed.
  • the present disclosure provides a method for displaying animation objects.
  • the method is applied to a server and includes:
  • the display data of the target image is sent to each user client in the target live broadcast room, so as to display the target image on each user client.
  • the present disclosure also provides a display device for animation objects, including:
  • the determining module is configured to: when receiving at least two animation display instructions for the target live broadcast room, determine whether the at least two animation display instructions meet a set condition;
  • a generating module configured to: if the at least two animation display instructions meet a set condition, generate a target image based on the animation object associated with the at least two animation display instructions;
  • the sending module is configured to send the display data of the target image to each user client in the target live broadcast room, so as to display the target image on each user client.
  • the present disclosure also provides a device, including:
  • One or more processors are One or more processors;
  • Storage device configured to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the animation object display method according to any embodiment of the present disclosure.
  • the present disclosure also provides a storage medium containing computer-executable instructions, when the computer-executable instructions are executed by a computer processor, they are used to execute the animation object display method according to any embodiment of the present disclosure.
  • FIG. 1 is a schematic flowchart of a method for displaying animation objects provided by Embodiment 1 of the present disclosure
  • FIG. 2 is a schematic flowchart of a method for displaying animation objects provided by Embodiment 2 of the present disclosure
  • FIG. 3 is a schematic structural diagram of an animation object display device provided by Embodiment 3 of the disclosure.
  • FIG. 4 is a schematic structural diagram of an electronic device provided by Embodiment 4 of the disclosure.
  • first and second mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units. relationship.
  • Fig. 1 is a schematic flow chart of a method for displaying an animated object provided by Embodiment 1 of the present disclosure.
  • the method can be applied to a scene in which a virtual gift presented by a user to an anchor in a live broadcast room is combined and displayed, and the corresponding animation display instruction Specifically, it is a virtual gift giving instruction.
  • the method can be executed by an animation object display device, which can be implemented in the form of at least one of software and hardware, and is usually integrated in a terminal, such as a server.
  • the method for displaying animation objects includes the following steps:
  • Step 110 When receiving at least two animation display instructions for the target live broadcast room, determine whether the at least two animation display instructions meet a set condition.
  • the animation display instruction is an instruction triggered by the user through the client.
  • the instruction to give a gift to a certain anchor triggered by the user through the client of the live broadcast room installed on his mobile phone is a form of the animation display instruction.
  • the realization of most client application functions requires the cooperation of the server. When the user triggers the instruction through the client, the server will receive the instruction accordingly.
  • the setting condition is specifically a judging condition for determining whether the images of the animation objects associated with the at least two animation display instructions are combinable. For example, if one of the images of the animation object associated with the at least two animation display instructions is a rocket and the other is a flame, then the two images are considered to be combinable, and the combined image is a rocket ejected with flames.
  • the setting conditions include at least one of the following:
  • the time difference between receiving the at least two animation display instructions is within a preset range; for example, the first animation display instruction is received at the current moment, and the second animation display instruction is received 10ms later, because these two animation display instructions
  • the receiving time difference of the two animation display instructions is relatively short, and the combined display of the images of the animation objects associated with the two animation display instructions will not cause a significant delay to the user's viewing. Therefore, it can be determined that the two animation display instructions meet the combined conditions.
  • the at least two animation display instructions are respectively sent by different user clients; assuming that the two animation display instructions received at the same time are respectively sent by different user clients, it is determined that the two animation display instructions meet the combination condition. Or the two animation display instructions received at different times but the receiving time difference is within the preset range are sent by different user clients respectively, then it is determined that the two animation display instructions meet the combination condition.
  • the images of the animation objects associated with the at least two animation display instructions belong to the images in the same set combination group; for example, assume that the images of the animation objects associated with the two animation display instructions are rockets and flames, and rockets and flames If the images belong to the same set combination group, it is determined that the two animation display instructions meet the combination condition.
  • the total number of images of the same paragraph associated with the at least two animation display instructions reaches the threshold. For example, if the total number of "rose flower" images associated with all animation display instructions reaches 999, it is determined that all animation display instructions meet the combination condition.
  • Step 120 If the set conditions are met, generate a target image based on the animation objects associated with the at least two animation display instructions.
  • the images of the animation objects associated with the at least two animation display instructions are rockets and flames, respectively, then a target image is generated based on the animation objects associated with the at least two animation display instructions, and the target image is specifically for generating jetting Flame rocket.
  • the images of the animation objects associated with the at least two animation display instructions are independent 999 roses, then a target image is generated based on the animation objects associated with the at least two animation display instructions, and the target image is specifically Generate "heart-shaped" rose clusters.
  • the display effect of the animation object can be enhanced, and a strong sense of entertainment can be brought to the user.
  • generating a target image based on the animation objects associated with the at least two animation display instructions includes:
  • the animation display parameter includes at least one of the following: an animation pattern, a display duration of the animation pattern, and an animation display mode
  • the animation object includes a virtual gift.
  • the attribute features of the animation object include dynamic features.
  • the animation object includes rockets and flames. By configuring animation display parameters, a rocket that rises while spraying flames can be obtained, and the flames are closer to reality and eject from the tail of the rocket. , The flame slowly spreads from a small group to a larger area, and the transparency of the flame also changes over time. It starts to be all visible, gradually becomes translucent, and finally becomes invisible, etc., to improve the combined effect The display effect makes the displayed animation more realistic.
  • the method further includes:
  • the display data of the target image is sent to each user client in the target live broadcast room.
  • two animation display instructions for the target live room are received at the same time or within a set time period.
  • One of the animation display instructions is associated with the animation object "Little Rose”
  • the other animation display instruction is associated with the animation
  • the object is "Rainbow”
  • the target image is generated based on “Little Rose” and “Rainbow”
  • the display data of "Little Rose” and the display data of "Rainbow” are respectively sent to each user client in turn to
  • Each user client displays the special effects of "Little Rose” and the special effects of "Rainbow” separately.
  • the server uses the time of displaying the special effects of "Little Rose” and the time of "Rainbow” separately on the user client to execute the special effects based on " The operation of generating target images by “Little Rose” and “Rainbow”, and sending the display data of the target image to each user client in the target live broadcast room, and after the separate display of "Little Rose” and “Rainbow” is over
  • the effect of displaying the target image for example, the special effect of the target image is the effect of playing a "colorful rose", so as to achieve the purpose of displaying without delay on each user client.
  • Step 130 Send the display data of the target image to each user client in the target live broadcast room, so as to display the target image on each user client.
  • the technical solution of the embodiment of the present disclosure when at least two animation display instructions for the target live broadcast room are received, it is determined whether the at least two animation display instructions meet the set conditions; if the set conditions are met, it is based on the The animation objects associated with at least two animation display instructions generate a target image; the display data of the target image is sent to each user client in the target live broadcast room, so that the target image is performed on each user client.
  • the technical means of display achieves the combined display of the images of at least two animation objects, and the purpose of enhancing the animation special effects when the animation objects are displayed.
  • the method further includes:
  • the invitation instruction is sent to the client of the target user.
  • the client of user A sends an animation display instruction for the target live room to the server, and at the same time sends an invitation instruction that invites user B to initiate an animation display instruction with him
  • the server sends an instruction to the client of user B at this time.
  • the client sends the invitation instruction while waiting for a response interval.
  • the image of the animation object associated with the animation display instruction sent by the client of user A is related to the client of user B.
  • the image of the animation object associated with the sent animation display instruction generates a target image, and the display data of the target image is sent to each user client to display the animation effect of the target image on each user client.
  • the animation display instruction may specifically be an instruction sent by the user to the live broadcast room to present a virtual gift to the anchor.
  • FIG. 2 is a schematic flowchart of a method for displaying an animation object provided by the second embodiment of the disclosure.
  • this embodiment has further improved the solution, specifically adding "based on at least one of the current time and current weather conditions, the background color of the target image is generated in real time", or "according to the current live room
  • the live theme generates the animation tones or background tones of the target image in real time, and then dynamically adjusts the combined animation effects of the animation objects according to some real-time dynamic information, which further enhances the display effect and improves the user’s viewing immersion. purpose.
  • the method includes:
  • Step 210 When receiving at least two animation display instructions for the target live broadcast room, determine whether the at least two animation display instructions meet a set condition.
  • Step 220 If the set conditions are met, a target image is generated based on the animation objects associated with the at least two animation display instructions, and a background hue of the display target image is generated in real time according to at least one of the current time and current weather conditions.
  • an animation tone or a background tone of the target image is generated in real time.
  • the background hue of the display target image is adjusted to dark yellow
  • the background hue of the display target image is adjusted to fiery red
  • the background hue of the display target image is adjusted to a rainy scene tone
  • the background hue of the display target image is adjusted to a snowy scene tone
  • the animation tone or background tone of the target image can be generated in real time.
  • the current live broadcast theme of the target live broadcast room is wedding
  • the animation hue or background hue of the displayed target image can be adjusted to white.
  • the animation hue or background hue of the displayed target image can be adjusted to gray to enhance the user's immersion when watching the live broadcast room.
  • Step 230 Send the display data of the target image to each user client in the target live broadcast room, so as to display the target image on each user client.
  • the at least two animation display instructions for the target live broadcast room when at least two animation display instructions for the target live broadcast room are received, it is determined whether the at least two animation display instructions meet the set conditions; if the set conditions are met, it is based on the The animation objects associated with at least two animation display instructions generate a target image; the display data of the target image is sent to each user client in the target live broadcast room, so that the target image is performed on each user client.
  • the technical means of display realize the combined display of the images of at least two animated objects to enhance the special effects of animation when the animated objects are displayed; and generate the background color of the target image in real time according to at least one of the current time and current weather conditions , Or according to the current live broadcast theme of the live broadcast room, the technical means of generating the animation tones or background tones of the target image in real time can achieve the purpose of further enhancing the display effect of the animation objects, and at the same time, it can achieve the purpose of improving the user's immersion when watching the live broadcast room.
  • FIG. 3 is an animation object display device provided in the third embodiment of the present disclosure.
  • the device includes: a determining module 310, a generating module 320, and a sending module 330;
  • the determining module 310 is configured to: when receiving at least two animation display instructions for the target live broadcast room, determine whether the at least two animation display instructions meet a set condition; the generating module 320 is configured to: If at least two animation display instructions meet the set conditions, a target image is generated based on the animation objects associated with the at least two animation display instructions; the sending module 330 is configured to send the display data of the target image to the target Each user client in the live broadcast room displays the target image on each user client.
  • the setting conditions include at least one of the following:
  • the time difference between receiving the at least two animation display instructions is within a preset range
  • the at least two animation display instructions are respectively sent by different user clients
  • the images of the animation objects associated with the at least two animation display instructions belong to images in the same set combination group
  • the total number of images of the same paragraph associated with the at least two animation display instructions reaches the threshold.
  • the sending module 330 is further configured to:
  • the invitation instruction is sent to the client of the target user.
  • the generating module 320 includes:
  • a configuration unit configured to configure animation display parameters according to the attribute characteristics of the animation object
  • the animation display parameter includes at least one of the following: an animation pattern, a display duration of the animation pattern, and an animation display mode, and the animation object includes a virtual gift.
  • the generating module 320 is further configured to:
  • a background hue of the display target image is generated in real time.
  • the generating module 320 may further include:
  • the determining unit is configured to determine the current live broadcast theme of the target live broadcast room
  • the adjustment unit is configured to generate, in real time, an animation tone or a background tone of the display target image according to the live broadcast theme.
  • the sending module 330 is configured as:
  • the display data of the target image is sent to each user client in the target live broadcast room.
  • the technical solution of the embodiment of the present disclosure when at least two animation display instructions for the target live broadcast room are received, it is determined whether the at least two animation display instructions meet the set conditions; if the set conditions are met, it is based on the The animation objects associated with at least two animation display instructions generate a target image; the display data of the target image is sent to each user client in the target live broadcast room, so that the target image is performed on each user client.
  • the technical means of display achieves the combined display of the images of at least two animation objects, and the purpose of enhancing the animation special effects when the animation objects are displayed.
  • the animation object display device provided by the embodiment of the present disclosure can execute the animation object display method provided by any embodiment of the present disclosure, and has the functional modules and effects corresponding to the execution method.
  • the electronic device 400 may be, for example, the terminal device or the server shown in FIG. 4.
  • the terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, PDA), tablet computers (PAD), and portable multimedia players (Portable Media Player). , PMP), mobile terminals such as vehicle-mounted terminals (such as vehicle navigation terminals), and fixed terminals such as digital TVs, desktop computers, etc.
  • PMP Personal Digital Assistant
  • PMP Personal Digital Assistant
  • PMP mobile terminals
  • vehicle-mounted terminals such as vehicle navigation terminals
  • fixed terminals such as digital TVs, desktop computers, etc.
  • the electronic device shown in FIG. 4 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
  • the electronic device 400 may include a processing device 401, such as a central processing unit, a graphics processor, etc., and the processing device 401 may be based on a program stored in a read-only memory (Read-Only Memory, ROM) 402 or A program loaded from the storage device 406 to a random access memory (RAM) 403 executes various appropriate actions and processing. In the RAM 403, various programs and data required for the operation of the electronic device 400 are also stored.
  • the processing device 401, the ROM 402, and the RAM 403 are connected to each other through a bus 404.
  • An input/output (Input/Output, I/O) interface 405 is also connected to the bus 404.
  • the following devices can be connected to the I/O interface 405: including input devices 406 such as touch screens, touch panels, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; including, for example, liquid crystal displays (LCD) , Output devices 407 such as speakers, vibrators, etc.; storage devices 406 including, for example, magnetic tapes, hard disks, etc.; and communication devices 409.
  • the communication device 409 may allow the electronic device 400 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 4 shows an electronic device 400 having various devices, it should be understood that it is not required to implement or have all the illustrated devices. It may alternatively be implemented or provided with more or fewer devices.
  • an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 409, or installed from the storage device 406, or installed from the ROM 402.
  • the processing device 401 When the computer program is executed by the processing device 401, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
  • the embodiments of the present disclosure provide a computer storage medium, and a computer program is stored on the computer storage medium.
  • the program is executed by a processor, the method for displaying the animation object provided by the above-mentioned embodiment is realized.
  • the aforementioned computer storage medium of the present disclosure may be a computer-readable storage medium.
  • the computer-readable storage medium may include, for example, a system, apparatus, or device that is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor, or a combination of any of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, RAM, ROM, Erasable Programmable Read-Only Memory, EPROM) or flash memory, optical fiber, compact Disc Read-Only Memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • CD-ROM compact Disc Read-Only Memory
  • a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable storage medium is a computer-readable medium.
  • the computer-readable medium may also include a computer-readable signal medium.
  • the computer-readable signal medium may be included in a baseband or a data signal propagated as part of a carrier wave, which carries a computer-readable signal medium.
  • the program code This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable signal medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
  • the client and the server can communicate with any currently known or future-developed network protocol such as HyperText Transfer Protocol (HTTP), and can communicate with digital data in any form or medium.
  • Communication e.g., communication network
  • Examples of communication networks include Local Area Network (LAN), Wide Area Network (WAN), the Internet (for example, the Internet), and end-to-end networks (for example, ad hoc end-to-end networks), as well as any current Know or develop a network in the future.
  • LAN Local Area Network
  • WAN Wide Area Network
  • the Internet for example, the Internet
  • end-to-end networks for example, ad hoc end-to-end networks
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
  • the foregoing computer-readable medium carries one or more programs, and when the foregoing one or more programs are executed by the electronic device, the electronic device is configured to:
  • the display data of the target image is sent to each user client in the target live broadcast room, so as to display the target image on each user client.
  • the computer program code used to perform the operations of the present disclosure can be written in one or more programming languages or a combination thereof.
  • the above-mentioned programming languages include but are not limited to object-oriented programming languages such as Java, Smalltalk, C++, and Including conventional procedural programming languages-such as "C" language or similar programming languages.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer may be connected to the user's computer through any kind of network, including a LAN or WAN, or may be connected to an external computer, for example, using an Internet service provider to connect through the Internet.
  • each block in the flowchart or block diagram may represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logical function Executable instructions.
  • the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown in succession can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure can be implemented in software or hardware. Among them, the name of the unit does not constitute a limitation on the unit itself under certain circumstances.
  • the editable content display unit can also be described as an "editing unit".
  • exemplary types of hardware logic components include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), and application specific standard products (Application Specific Standard Product, ASSP), System on a Chip (SOC), Complex Programmable Logic Device (CPLD), etc.
  • FPGA Field Programmable Gate Array
  • ASIC Application Specific Integrated Circuit
  • ASSP Application Specific Standard Product
  • SOC System on a Chip
  • CPLD Complex Programmable Logic Device
  • a computer-readable medium may be a tangible medium, and the computer-readable medium may contain or store a program for use by the instruction execution system, apparatus, or device or in combination with the instruction execution system, apparatus, or device.
  • [Example 1] provides a method for displaying animated objects, which includes:
  • the display data of the target image is sent to each user client in the target live broadcast room, so as to display the target image on each user client.
  • Example 2 provides a method for displaying animated objects.
  • the setting conditions include at least one of the following:
  • the time difference between receiving the at least two animation display instructions is within a preset range
  • the at least two animation display instructions are respectively sent by different user clients
  • the images of the animation objects associated with the at least two animation display instructions belong to images in the same set combination group
  • the total number of images of the same paragraph associated with the at least two animation display instructions reaches the threshold.
  • Example 3 provides a method for displaying animation objects.
  • the setting conditions include that the at least two animation display instructions are respectively for different user clients
  • the method further includes:
  • the invitation instruction is sent to the client of the target user.
  • Example 4 provides an animation object display method.
  • generating a target image based on the animation object associated with the at least two animation display instructions includes:
  • the animation display parameter includes at least one of the following: an animation pattern, a display duration of the animation pattern, and an animation display mode, and the animation object includes a virtual gift.
  • Example 5 provides a method for displaying animation objects.
  • generating a target image based on the animation objects associated with the at least two animation display instructions further includes:
  • a background hue of the display target image is generated in real time.
  • Example 6 provides an animation object display method.
  • generating a target image based on the animation object associated with the at least two animation display instructions further includes:
  • an animation tone or a background tone of the target image is generated in real time.
  • Example 7 provides an animation object display method.
  • the target image is generated based on the animation object associated with the at least two animation display instructions.
  • the method also includes:
  • the display data of the target image is sent to each user client in the target live broadcast room.
  • Example 8 provides an animation object display device, which includes:
  • the determining module is configured to: when receiving at least two animation display instructions for the target live broadcast room, determine whether the at least two animation display instructions meet a set condition;
  • a generating module configured to: if the at least two animation display instructions meet a set condition, generate a target image based on the animation object associated with the at least two animation display instructions;
  • the sending module is configured to send the display data of the target image to each user client in the target live broadcast room, so as to display the target image on each user client.
  • Example 9 provides an electronic device including:
  • One or more processors are One or more processors;
  • Storage device configured to store one or more programs
  • the one or more processors implement the following animation object display method:
  • the display data of the target image is sent to each user client in the target live broadcast room, so as to display the target image on each user client.
  • Example 10 provides a storage medium containing computer-executable instructions that, when executed by a computer processor, are configured to execute the following animation object Display method:
  • the display data of the target image is sent to each user client in the target live broadcast room, so as to display the target image on each user client.

Abstract

公开了一种动画对象的展示方法、装置、电子设备及存储介质。动画对象的展示方法包括:当接收到针对目标直播间的至少两个动画展示指令时,确定所述至少两个动画展示指令是否满足设定条件;若满足设定条件,则基于所述至少两个动画展示指令所关联的动画对象生成目标图像;将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端,以在每个用户客户端对所述目标图像进行展示。

Description

动画对象的展示方法、装置、电子设备及存储介质
本申请要求在2019年10月10日提交中国专利局、申请号为201910960416.0的中国专利申请的优先权,以上申请的全部内容通过引用结合在本申请中。
技术领域
本公开涉及互联网技术领域,例如涉及一种动画对象的展示方法、装置、电子设备及存储介质。
背景技术
网络直播技术是一种以互联网通讯为基础,为用户提供流媒体节目实时播放的技术。随着网络直播技术的快速发展,直播平台的用户量也在与日俱增。
直播平台的用户主要包括两种,一种是观看直播的观众,另一种是进行直播的主播。通常,观众可以从直播平台所提供的候选虚拟礼物中挑选某个或者某些个特定的虚拟礼物送给自己喜爱的主播,同时,主播也可以通过收取虚拟礼物获得一定的报酬。
当观众给主播送礼物时,在观众的客户端以及主播的客户端会同时展示礼物的动画特效。目前,对礼物进行展示时的动画特效大多过于简单,娱乐效果欠佳。
发明内容
本公开提供一种动画对象的展示方法、装置、电子设备及存储介质,以实现对至少两个动画对象的图像进行结合展示,增强动画对象展示时的动画特效。
本公开提供了一种动画对象的展示方法,该方法应用于服务器,包括:
当接收到针对目标直播间的至少两个动画展示指令时,确定所述至少两个动画展示指令是否满足设定条件;
若满足设定条件,则基于所述至少两个动画展示指令所关联的动画对象生成目标图像;
将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端,以在每个用户客户端对所述目标图像进行展示。
本公开还提供了一种动画对象的展示装置,包括:
确定模块,配置为:当接收到针对目标直播间的至少两个动画展示指令时,确定所述至少两个动画展示指令是否满足设定条件;
生成模块,配置为:若所述至少两个动画展示指令满足设定条件,则基于所述至少两个动画展示指令所关联的动画对象生成目标图像;
发送模块,配置为:将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端,以在每个用户客户端对所述目标图像进行展示。
本公开还提供了一种设备,包括:
一个或多个处理器;
存储装置,配置为存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本公开任一实施例所述的动画对象的展示方法。
本公开还提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如本公开任一实施例所述的动画对象的展示方法。
附图说明
图1为本公开实施例一所提供的一种动画对象的展示方法流程示意图;
图2为本公开实施例二所提供的一种动画对象的展示方法流程示意图;
图3为本公开实施例三所提供的一种动画对象的展示装置结构示意图;
图4为本公开实施例四所提供的一种电子设备结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。本公开的方法实施方式中记载的步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少 一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
实施例一
图1为本公开实施例一所提供的一种动画对象的展示方法流程示意图,该方法可适用于对用户向直播间的主播赠送的虚拟礼物进行结合展示的场景,对应的所述动画展示指令具体为虚拟礼物的赠送指令。该方法可以由动画对象的展示装置来执行,该装置可以通过软件和硬件至少之一的形式实现,并通常集成于终端,例如服务器。
如图1所述,本实施例提供的动画对象的展示方法包括如下步骤:
步骤110、当接收到针对目标直播间的至少两个动画展示指令时,确定所述至少两个动画展示指令是否满足设定条件。
所述动画展示指令为用户通过客户端所触发的指令,例如用户通过自己手机上安装的直播间的客户端触发的向某主播赠送礼物的指令即为一种形式的所述动画展示指令。大多数客户端应用功能的实现均需要服务器的配合服务,当用户通过客户端触发所述指令时,服务器会相应接收到所述指令。
所述设定条件具体为确定所述至少两个动画展示指令所关联的动画对象的图像是否具有可结合性的判定条件。例如所述至少两个动画展示指令所关联的动画对象的图像一个是火箭,另一个是火焰,则认为这两个图像具有可结合性,结合后的图像即为带着火焰喷射的火箭。
所述设定条件包括下述至少一种:
接收到所述至少两个动画展示指令的时间差在预设范围内;例如,当前时刻接收到第一个动画展示指令,10ms之后又接收到第二个动画展示指令,由于这两个动画展示指令的接收时间差较短,对这两个动画展示指令所关联的动画对象的图像进行结合展示不会给用户的观看带来明显的延迟,因此可确定这两个动画展示指令满足结合条件。
所述至少两个动画展示指令分别为不同用户客户端发送;假设同一时刻接收到的两个动画展示指令分别为不同用户客户端发送,则确定这两个动画展示指令满足结合条件。或者不同时刻接收到的,但是接收时间差在预设范围内的两个动画展示指令分别为不同用户客户端发送的,则确定这两个动画展示指令满足结合条件。
所述至少两个动画展示指令所关联的动画对象的图像属于同一设定结合组中的图像;例如,假设两个动画展示指令所关联的动画对象的图像分别为火箭和火焰,而火箭和火焰属于同一设定组合组中的图像,则确定这两个动画展示指令满足结合条件。
所述至少两个动画展示指令所关联的同款图像的总数达到阈值。例如所有动画展示指令所关联的“玫瑰花”图像的总数达到999,则确定所有动画展示指令满足结合条件。
步骤120、若满足设定条件,则基于所述至少两个动画展示指令所关联的动画对象生成目标图像。
例如所述至少两个动画展示指令所关联的动画对象的图像分别为火箭和火焰,则基于所述至少两个动画展示指令所关联的动画对象生成目标图像,所述目标图像具体为生成喷射着火焰的火箭。再例如所述至少两个动画展示指令所关联的动画对象的图像为独立的999朵玫瑰花,则基于所述至少两个动画展示指令所关联的动画对象生成目标图像,所述目标图像具体为生成“心形”的玫瑰花簇。
通过基于每个动画展示指令所关联的独立的动画对象的图像生成更夸张的新的目标图像,可增强动画对象的展示效果,给用户带来较强的娱乐感。
示例性的,基于所述至少两个动画展示指令所关联的动画对象生成目标图 像,包括:
根据所述动画对象的属性特征配置动画展示参数;
其中,所述动画展示参数包括下述至少一种:动画图案、动画图案的展示持续时间和动画展示方式,所述动画对象包括虚拟礼物。所述动画对象的属性特征包括动态特征,例如所述动画对象包括火箭和火焰,通过配置动画展示参数可得到一边喷射火焰一边上升的火箭,且所述火焰更加贴近现实,从火箭的尾部喷出,火焰从开始的一小团慢慢扩散至更大范围,且火焰的透明度也随着时间发生变化,又开始的全部可见,慢慢到半透明,最后到不可见等,以提高结合后的展示效果,使所展示的动画更具有真实性。
基于所述至少两个动画展示指令所关联的动画对象生成目标图像的同时,所述方法还包括:
分别将每个动画展示指令所关联的动画对象的图像的展示数据发送至每个用户客户端,以在每个用户客户端对所述图像进行单独展示;
当基于所述至少两个动画展示指令所关联的动画对象生成目标图像的操作完成时,将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端。
例如,在同一时刻,或者设定时长内分别接收到针对目标直播间的两个动画展示指令,其中一个动画展示指令所关联的动画对象为“小玫瑰”,另一个动画展示指令所关联的动画对象为“彩虹”,则在基于“小玫瑰”以及“彩虹”生成目标图像的同时,分别将“小玫瑰”的展示数据以及“彩虹”的展示数据依次发送至每个用户客户端,以在每个用户客户端分别单独展示“小玫瑰”的特效,以及“彩虹”的特效,服务器利用在用户客户端分别单独展示“小玫瑰”的特效的时间以及“彩虹”的特效的时间执行基于“小玫瑰”以及“彩虹”生成目标图像的操作,并将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端,并在“小玫瑰”和“彩虹”单独展示结束后展示所述目标图像的效果,例如所述目标图像的特效是播放“七彩玫瑰”的效果,从而达到在每个用户客户端进行无延迟展示的目的。
步骤130、将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端,以在每个用户客户端对所述目标图像进行展示。
本公开实施例的技术方案,通过当接收到针对目标直播间的至少两个动画展示指令时,确定所述至少两个动画展示指令是否满足设定条件;若满足设定条件,则基于所述至少两个动画展示指令所关联的动画对象生成目标图像;将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端,以在每个用户客户端对所述目标图像进行展示的技术手段,实现了对至少两个动画对象的图像进行结合展示,增强动画对象展示时的动画特效的目的。
在上述实施例技术方案的基础上,在所述设定条件包括所述至少两个动画展示指令分别为不同用户客户端发送的情况下,所述方法还包括:
若接收到邀请目标用户共同发起动画展示指令时,向所述目标用户的客户端发送邀请指令。具体的,若用户A的客户端向服务器发送了一个针对目标直播间的动画展示指令,同时发送了一个邀请用户B与自己共同发起动画展示指令的邀请指令时,此时服务器向用户B的客户端发送邀请指令,同时等待一个响应间隔,当接收到用户B的客户端发起的动画展示指令时,基于用户A的客户端发送的动画展示指令所关联的动画对象的图像与用户B的客户端发送的动画展示指令所关联的动画对象的图像生成目标图像,并将所述目标图像的展示数据发送至每个用户客户端,以在每个用户客户端展示目标图像的动画效果。所述动画展示指令具体可以是用户向直播间发送的给主播赠送虚拟礼物的指令。通过邀请其他用户与自己共同给同一个主播送礼物,可增强用户的活跃性,以及主播与用户之间的互动性,可增强娱乐感,使用户获得较佳的使用体验。
实施例二
图2为本公开实施例二所提供的一种动画对象的展示方法的流程示意图。在上述实施例的基础上,本实施例对方案进行了进一步改进,具体是增加了“根据当前时间和当前天气状况至少之一实时生成展示目标图像的背景色调”,或者“根据直播间当前的直播主题实时生成展示目标图像的动画色调或者背景色调”的步骤,进而可以根据一些实时的动态信息动态调整动画对象结合后的动画效果,进一步增强了展示效果,同时可达到提高用户观看沉浸感的目的。
如图2所示,所述方法包括:
步骤210、当接收到针对目标直播间的至少两个动画展示指令时,确定所述至少两个动画展示指令是否满足设定条件。
步骤220、若满足设定条件,则基于所述至少两个动画展示指令所关联的动画对象生成目标图像,并根据当前时间和当前天气状况至少之一实时生成展示目标图像的背景色调。
或者,确定所述目标直播间当前的直播主题;
根据所述直播主题实时生成展示目标图像的动画色调或者背景色调。
例如,若所述当前时间为傍晚,则将展示目标图像的背景色调调整为暗黄色,若当前时间为中午,则将展示目标图像的背景色调调整为火红色。
或者,若当前天气状况为小雨,则将展示目标图像的背景色调调整为雨景色调,若当前天气状况为小雪,则将展示目标图像的背景色调调整为雪景色调。
还可以根据目标直播间当前的直播主题,实时生成展示目标图像的动画色调或者背景色调。例如目标直播间当前的直播主题为婚礼,则可将展示目标图像的动画色调或者背景色调调整为白色。或者通过文字内容识别获知目标直播间当前的直播主题的气氛为悲伤,则可将展示目标图像的动画色调或者背景色调调整为灰色,以增强用户观看直播间时的沉浸感。
步骤230、将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端,以在每个用户客户端对所述目标图像进行展示。
本公开实施例的技术方案,通过当接收到针对目标直播间的至少两个动画展示指令时,确定所述至少两个动画展示指令是否满足设定条件;若满足设定条件,则基于所述至少两个动画展示指令所关联的动画对象生成目标图像;将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端,以在每个用户客户端对所述目标图像进行展示的技术手段,实现了对至少两个动画对象的图像进行结合展示,增强动画对象展示时的动画特效的目的;并通过根据当前时间和当前天气状况至少之一实时生成展示目标图像的背景色调,或者根据直播间当前的直播主题实时生成展示目标图像的动画色调或者背景色调的技术手段,实现了进一步增强动画对象展示效果的目的,同时可达到提高用户观看直播间时沉浸感的目的。
实施例三
图3为本公开实施例三提供的一种动画对象的展示装置,该装置包括:确 定模块310、生成模块320和发送模块330;
其中,确定模块310,配置为:当接收到针对目标直播间的至少两个动画展示指令时,确定所述至少两个动画展示指令是否满足设定条件;生成模块320,配置为:若所述至少两个动画展示指令满足设定条件,则基于所述至少两个动画展示指令所关联的动画对象生成目标图像;发送模块330,配置为:将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端,以在每个用户客户端对所述目标图像进行展示。
在上述技术方案的基础上,所述设定条件包括下述至少一种:
接收到所述至少两个动画展示指令的时间差在预设范围内;
所述至少两个动画展示指令分别为不同用户客户端发送;
所述至少两个动画展示指令所关联的动画对象的图像属于同一设定结合组中的图像;
所述至少两个动画展示指令所关联的同款图像的总数达到阈值。
在上述技术方案的基础上,在所述设定条件包括所述至少两个动画展示指令分别为不同用户客户端发送的情况下,发送模块330还配置为:
若接收到邀请目标用户共同发起动画展示指令时,向所述目标用户的客户端发送邀请指令。
在上述技术方案的基础上,生成模块320包括:
配置单元,配置为根据所述动画对象的属性特征配置动画展示参数;
其中,所述动画展示参数包括下述至少一种:动画图案、动画图案的展示持续时间和动画展示方式,所述动画对象包括虚拟礼物。
在上述技术方案的基础上,生成模块320还配置为:
根据当前时间和当前天气状况至少之一实时生成展示目标图像的背景色调。
在上述技术方案的基础上,生成模块320还可以包括:
确定单元,配置为确定所述目标直播间当前的直播主题;
调整单元,配置为根据所述直播主题实时生成展示目标图像的动画色调或者背景色调。
在上述技术方案的基础上,发送模块330配置为:
分别将每个动画展示指令所关联的动画对象的图像的展示数据发送至每个用户客户端,以在每个用户客户端对所述图像进行单独展示;
当基于所述至少两个动画展示指令所关联的动画对象生成目标图像的操作完成时,将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端。
本公开实施例的技术方案,通过当接收到针对目标直播间的至少两个动画展示指令时,确定所述至少两个动画展示指令是否满足设定条件;若满足设定条件,则基于所述至少两个动画展示指令所关联的动画对象生成目标图像;将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端,以在每个用户客户端对所述目标图像进行展示的技术手段,实现了对至少两个动画对象的图像进行结合展示,增强动画对象展示时的动画特效的目的。
本公开实施例所提供的动画对象的展示装置可执行本公开任意实施例所提供的动画对象的展示方法,具备执行方法相应的功能模块和效果。
值得注意的是,上述装置所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本公开实施例的保护范围。
实施例四
下面参考图4,其示出了用来实现本公开实施例提供的动画对象的展示方法的电子设备400的结构示意图,所述电子设备400例如可以为图4中所示的终端设备或服务器。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、平板电脑(PAD)、便携式多媒体播放器(Portable Media Player,PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图4示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图4所示,电子设备400可以包括处理装置401,例如中央处理器、图形处理器等,所述处理装置401可以根据存储在只读存储器(Read-Only Memory,ROM)402中的程序或者从存储装置406加载到随机访问存储器(Ramdom Access Memory,RAM)403中的程序而执行各种适当的动作和处理。在RAM 403中,还存储有电子设备400操作所需的各种程序和数据。处理装置401、ROM 402以及RAM 403通过总线404彼此相连。输入/输出(Input/Output,I/O)接口405也连接至总线404。
通常,以下装置可以连接至I/O接口405:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置406;包括例如液晶显示器(Liquid Crystal Display,LCD)、扬声器、振动器等的输出装置407;包括例如磁带、硬盘等的存储装置406;以及通信装置409。通信装置409可以允许电子设备400与其他设备进行无线或有线通信以交换数据。虽然图4示出了具有多种装置的电子设备400,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
根据本公开的实施例,上文参考流程图描述的过程可以通过计算机软件程序来实现。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态的计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置409从网络上被下载和安装,或者从存储装置406被安装,或者从ROM 402被安装。在该计算机程序被处理装置401执行时,执行本公开实施例的方法中限定的上述功能。
未在本实施例中详尽描述的内容可参见上述实施例,并且本实施例与上述实施例具有相同的效果。
实施例五
本公开实施例提供了一种计算机存储介质,计算机存储介质上存储有计算机程序,该程序被处理器执行时实现上述实施例所提供的动画对象的展示方法。
本公开上述的计算机存储介质可以是计算机可读存储介质。计算机可读存储介质例如可以包括不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包 括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、RAM、ROM、可擦式可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)或闪存、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。该计算机可读存储介质属于计算机可读介质,计算机可读介质还可以包括计算机可读信号介质,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如超文本传输协议(HyperText Transfer Protocol,HTTP)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(Local Area Network,LAN),广域网(Wide Area Network,WAN),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备配置为:
当接收到针对目标直播间的至少两个动画展示指令时,确定所述至少两个动画展示指令是否满足设定条件;
若满足设定条件,则基于所述至少两个动画展示指令所关联的动画对象生成目标图像;
将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端,以在每个用户客户端对所述目标图像进行展示。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络,包括LAN或WAN连接到用户计算机,或者,可以连接到外部计算机,例如利用因特网服务提供商来通过因特网连接。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,可编辑内容显示单元还可以被描述为“编辑单元”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Product,ASSP)、片上系统(System on a Chip,SOC)、复杂可编程逻辑设备 (Complex Programmable Logic Device,CPLD)等等。
在本公开的上下文中,计算机可读介质可以是有形的介质,计算机可读介质可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。根据本公开的一个或多个实施例,【示例一】提供了一种动画对象的展示方法,该方法包括:
当接收到针对目标直播间的至少两个动画展示指令时,确定所述至少两个动画展示指令是否满足设定条件;
若满足设定条件,则基于所述至少两个动画展示指令所关联的动画对象生成目标图像;
将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端,以在每个用户客户端对所述目标图像进行展示。
根据本公开的一个或多个实施例,【示例二】提供了一种动画对象的展示方法,可选的,所述设定条件包括下述至少一种:
接收到所述至少两个动画展示指令的时间差在预设范围内;
所述至少两个动画展示指令分别为不同用户客户端发送;
所述至少两个动画展示指令所关联的动画对象的图像属于同一设定结合组中的图像;
所述至少两个动画展示指令所关联的同款图像的总数达到阈值。
根据本公开的一个或多个实施例,【示例三】提供了一种动画对象的展示方法,可选的,当所述设定条件包括所述至少两个动画展示指令分别为不同用户客户端发送时,所述方法还包括:
若接收到邀请目标用户共同发起动画展示指令时,向所述目标用户的客户端发送邀请指令。
根据本公开的一个或多个实施例,【示例四】提供了一种动画对象的展示方法,可选的,基于所述至少两个动画展示指令所关联的动画对象生成目标图像,包括:
根据所述动画对象的属性特征配置动画展示参数;
其中,所述动画展示参数包括下述至少一种:动画图案、动画图案的展示持续时间和动画展示方式,所述动画对象包括虚拟礼物。
根据本公开的一个或多个实施例,【示例五】提供了一种动画对象的展示方法,可选的,基于所述至少两个动画展示指令所关联的动画对象生成目标图像,还包括:
根据当前时间和当前天气状况至少之一实时生成展示目标图像的背景色调。
根据本公开的一个或多个实施例,【示例六】提供了一种动画对象的展示方法,可选的,基于所述至少两个动画展示指令所关联的动画对象生成目标图像,还包括:
确定所述目标直播间当前的直播主题;
根据所述直播主题实时生成展示目标图像的动画色调或者背景色调。
根据本公开的一个或多个实施例,【示例七】提供了一种动画对象的展示方法,可选的,基于所述至少两个动画展示指令所关联的动画对象生成目标图像的同时,所述方法还包括:
分别将每个动画展示指令所关联的动画对象的图像的展示数据发送至每个用户客户端,以在每个用户客户端对所述图像进行单独展示;
当基于所述至少两个动画展示指令所关联的动画对象生成目标图像的操作完成时,将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端。
根据本公开的一个或多个实施例,【示例八】提供了一种动画对象的展示装置,该装置包括:
确定模块,配置为:当接收到针对目标直播间的至少两个动画展示指令时,确定所述至少两个动画展示指令是否满足设定条件;
生成模块,配置为:若所述至少两个动画展示指令满足设定条件,则基于所述至少两个动画展示指令所关联的动画对象生成目标图像;
发送模块,配置为:将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端,以在每个用户客户端对所述目标图像进行展示。
根据本公开的一个或多个实施例,【示例九】提供了一种电子设备,所述电子设备包括:
一个或多个处理器;
存储装置,配置为存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如下所述的动画对象的展示方法:
当接收到针对目标直播间的至少两个动画展示指令时,确定所述至少两个动画展示指令是否满足设定条件;
若满足设定条件,则基于所述至少两个动画展示指令所关联的动画对象生成目标图像;
将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端,以在每个用户客户端对所述目标图像进行展示。
根据本公开的一个或多个实施例,【示例十】提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时配置为执行下述的动画对象的展示方法:
当接收到针对目标直播间的至少两个动画展示指令时,确定所述至少两个动画展示指令是否满足设定条件;
若满足设定条件,则基于所述至少两个动画展示指令所关联的动画对象生成目标图像;
将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端,以在每个用户客户端对所述目标图像进行展示。
虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的 某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。

Claims (16)

  1. 一种动画对象的展示方法,应用于服务器,所述方法包括:
    当接收到针对目标直播间的至少两个动画展示指令时,确定所述至少两个动画展示指令是否满足设定条件;
    若满足设定条件,则基于所述至少两个动画展示指令所关联的动画对象生成目标图像;
    将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端,以在每个用户客户端对所述目标图像进行展示。
  2. 根据权利要求1所述的方法,其中,所述设定条件包括下述至少一种:
    接收到所述至少两个动画展示指令的时间差在预设范围内;
    所述至少两个动画展示指令分别为不同用户客户端发送;
    所述至少两个动画展示指令所关联的动画对象的图像属于同一设定结合组中的图像;
    所述至少两个动画展示指令所关联的同款图像的总数达到阈值。
  3. 根据权利要求2所述的方法,其中,在所述设定条件为所述至少两个动画展示指令分别为不同用户客户端发送的情况下,所述方法还包括:
    若接收到邀请目标用户共同发起动画展示指令时,向所述目标用户的客户端发送邀请指令。
  4. 根据权利要求1、2或3所述的方法,其中,所述基于所述至少两个动画展示指令所关联的动画对象生成目标图像,包括:
    根据所述动画对象的属性特征配置动画展示参数;
    其中,所述动画展示参数包括下述至少一种:动画图案、动画图案的展示持续时间和动画展示方式,所述动画对象包括虚拟礼物。
  5. 根据权利要求4所述的方法,其中,所述基于所述至少两个动画展示指令所关联的动画对象生成目标图像,还包括:
    根据当前时间和当前天气状况至少之一实时生成展示所述目标图像的背景 色调。
  6. 根据权利要求4所述的方法,其中,所述基于所述至少两个动画展示指令所关联的动画对象生成目标图像,还包括:
    确定所述目标直播间当前的直播主题;
    根据所述直播主题实时生成展示所述目标图像的动画色调或者背景色调。
  7. 根据权利要求1至6任一项所述的方法,其中,所述基于所述至少两个动画展示指令所关联的动画对象生成目标图像的同时,所述方法还包括:
    分别将每个动画展示指令所关联的动画对象的图像的展示数据发送至每个用户客户端,以在每个用户客户端对所述图像进行单独展示;
    当基于所述至少两个动画展示指令所关联的动画对象生成目标图像的操作完成时,将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端。
  8. 一种动画对象的展示装置,包括:
    确定模块,配置为:当接收到针对目标直播间的至少两个动画展示指令时,确定所述至少两个动画展示指令是否满足设定条件;
    生成模块,配置为:若所述至少两个动画展示指令满足设定条件,则基于所述至少两个动画展示指令所关联的动画对象生成目标图像;
    发送模块,配置为:将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端,以在每个用户客户端对所述目标图像进行展示。
  9. 根据权利要求8所述的装置,其中,所述设定条件包括下述至少一种:
    接收到所述至少两个动画展示指令的时间差在预设范围内;
    所述至少两个动画展示指令分别为不同用户客户端发送;
    所述至少两个动画展示指令所关联的动画对象的图像属于同一设定结合组中的图像;
    所述至少两个动画展示指令所关联的同款图像的总数达到阈值。
  10. 根据权利要求9所述的装置,其中,在所述设定条件为所述至少两个 动画展示指令分别为不同用户客户端发送的情况下,所述发送模块还配置为:
    若接收到邀请目标用户共同发起动画展示指令时,向所述目标用户的客户端发送邀请指令。
  11. 根据权利要求8、9或10所述的装置,其中,所述生成模块包括:
    配置单元,配置为根据所述动画对象的属性特征配置动画展示参数;
    其中,所述动画展示参数包括下述至少一种:动画图案、动画图案的展示持续时间和动画展示方式,所述动画对象包括虚拟礼物。
  12. 根据权利要求11所述的装置,其中,所述生成模块还配置为:
    根据当前时间和当前天气状况至少之一实时生成展示所述目标图像的背景色调。
  13. 根据权利要求11所述的装置,其中,所述生成模块还包括:
    确定单元,配置为确定所述目标直播间当前的直播主题;
    调整单元,配置为根据所述直播主题实时生成展示目标图像的动画色调或者背景色调。
  14. 根据权利要求8至13任一项所述的装置,其中,所述发送模块配置为:
    分别将每个动画展示指令所关联的动画对象的图像的展示数据发送至每个用户客户端,以在每个用户客户端对所述图像进行单独展示;
    当基于所述至少两个动画展示指令所关联的动画对象生成所述目标图像的操作完成时,将所述目标图像的展示数据发送至所述目标直播间的每个用户客户端。
  15. 一种电子设备,其中,所述电子设备包括:
    一个或多个处理器;
    存储装置,配置为存储一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1至7中任一项所述的动画对象的展示方法。
  16. 一种包含计算机可执行指令的存储介质,其中,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1至7中任一项所述的动画对象的展示方法。
PCT/CN2020/109947 2019-10-10 2020-08-19 动画对象的展示方法、装置、电子设备及存储介质 WO2021068652A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910960416.0 2019-10-10
CN201910960416.0A CN110730374B (zh) 2019-10-10 2019-10-10 一种动画对象的展示方法、装置、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2021068652A1 true WO2021068652A1 (zh) 2021-04-15

Family

ID=69220923

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/109947 WO2021068652A1 (zh) 2019-10-10 2020-08-19 动画对象的展示方法、装置、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN110730374B (zh)
WO (1) WO2021068652A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113041625A (zh) * 2021-04-25 2021-06-29 腾讯科技(深圳)有限公司 直播界面的显示方法、装置、设备及可读存储介质
CN114501050A (zh) * 2022-01-24 2022-05-13 北京百度网讯科技有限公司 用于输出信息的方法和装置
CN115243095A (zh) * 2021-04-30 2022-10-25 百度在线网络技术(北京)有限公司 推送待播报数据、播报数据的方法和装置
WO2024002162A1 (zh) * 2022-06-28 2024-01-04 北京字跳网络技术有限公司 直播间互动方法、装置、设备及介质

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110730374B (zh) * 2019-10-10 2022-06-17 北京字节跳动网络技术有限公司 一种动画对象的展示方法、装置、电子设备及存储介质
CN111343467B (zh) * 2020-02-10 2021-10-26 腾讯科技(深圳)有限公司 一种直播数据处理方法、装置、电子设备及存储介质
CN111369645B (zh) * 2020-02-28 2023-12-05 北京百度网讯科技有限公司 表情信息的展现方法、装置、设备及介质
CN113727164B (zh) * 2020-05-26 2024-04-26 百度在线网络技术(北京)有限公司 直播间入口显示方法、装置、电子设备和存储介质
CN113838167A (zh) * 2020-06-22 2021-12-24 北京字节跳动网络技术有限公司 用于生成动画的方法和装置
CN111899192B (zh) 2020-07-23 2022-02-01 北京字节跳动网络技术有限公司 交互方法、装置、电子设备及计算机可读存储介质
CN114501041B (zh) * 2021-04-06 2023-07-14 抖音视界有限公司 特效显示方法、装置、设备及存储介质
CN113244614B (zh) * 2021-06-07 2021-10-26 腾讯科技(深圳)有限公司 图像画面展示方法、装置、设备及存储介质
CN113490061B (zh) * 2021-07-01 2022-12-27 北京云生万物科技有限公司 基于弹幕的直播互动方法及设备
CN114245031B (zh) * 2021-12-20 2024-02-23 北京字跳网络技术有限公司 图像展示方法、装置、电子设备及存储介质
CN114443198B (zh) * 2022-01-26 2024-03-29 阿里巴巴(中国)有限公司 视图组件管理方法、装置、存储介质及计算机程序产品

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243463A (zh) * 2014-09-09 2014-12-24 广州华多网络科技有限公司 一种展示虚拟物品的方法和装置
CN104994421A (zh) * 2015-06-30 2015-10-21 广州华多网络科技有限公司 一种直播频道中虚拟物品的互动方法、装置和系统
CN107241636A (zh) * 2017-05-25 2017-10-10 北京潘达互娱科技有限公司 一种虚拟礼物展示方法及装置
CN107333145B (zh) * 2017-07-04 2018-08-10 武汉斗鱼网络科技有限公司 一种虚拟礼物展示方法及装置
JP6491388B1 (ja) * 2018-08-28 2019-03-27 グリー株式会社 配信ユーザの動きに基づいて生成されるキャラクタオブジェクトのアニメーションを含む動画をライブ配信する動画配信システム、動画配信方法及び動画配信プログラム
CN110730374A (zh) * 2019-10-10 2020-01-24 北京字节跳动网络技术有限公司 一种动画对象的展示方法、装置、电子设备及存储介质

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108289234B (zh) * 2018-01-05 2021-03-16 武汉斗鱼网络科技有限公司 一种虚拟礼物特效动画展示方法、装置和设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243463A (zh) * 2014-09-09 2014-12-24 广州华多网络科技有限公司 一种展示虚拟物品的方法和装置
CN104994421A (zh) * 2015-06-30 2015-10-21 广州华多网络科技有限公司 一种直播频道中虚拟物品的互动方法、装置和系统
CN107241636A (zh) * 2017-05-25 2017-10-10 北京潘达互娱科技有限公司 一种虚拟礼物展示方法及装置
CN107333145B (zh) * 2017-07-04 2018-08-10 武汉斗鱼网络科技有限公司 一种虚拟礼物展示方法及装置
JP6491388B1 (ja) * 2018-08-28 2019-03-27 グリー株式会社 配信ユーザの動きに基づいて生成されるキャラクタオブジェクトのアニメーションを含む動画をライブ配信する動画配信システム、動画配信方法及び動画配信プログラム
CN110730374A (zh) * 2019-10-10 2020-01-24 北京字节跳动网络技术有限公司 一种动画对象的展示方法、装置、电子设备及存储介质

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113041625A (zh) * 2021-04-25 2021-06-29 腾讯科技(深圳)有限公司 直播界面的显示方法、装置、设备及可读存储介质
CN113041625B (zh) * 2021-04-25 2023-03-14 腾讯科技(深圳)有限公司 直播界面的显示方法、装置、设备及可读存储介质
CN115243095A (zh) * 2021-04-30 2022-10-25 百度在线网络技术(北京)有限公司 推送待播报数据、播报数据的方法和装置
CN114501050A (zh) * 2022-01-24 2022-05-13 北京百度网讯科技有限公司 用于输出信息的方法和装置
CN114501050B (zh) * 2022-01-24 2024-04-19 北京百度网讯科技有限公司 用于输出信息的方法和装置
WO2024002162A1 (zh) * 2022-06-28 2024-01-04 北京字跳网络技术有限公司 直播间互动方法、装置、设备及介质

Also Published As

Publication number Publication date
CN110730374B (zh) 2022-06-17
CN110730374A (zh) 2020-01-24

Similar Documents

Publication Publication Date Title
WO2021068652A1 (zh) 动画对象的展示方法、装置、电子设备及存储介质
US11812232B2 (en) Electronic device and music visualization method thereof
CN109525853B (zh) 直播间封面展示方法、装置、终端、服务器及可读介质
WO2020083021A1 (zh) 视频录制方法、视频播放方法、装置、设备及存储介质
CN105450642B (zh) 一种基于在线直播的数据处理方法、相关装置及系统
WO2018094556A1 (zh) 直播间视频流推送控制方法及相应的服务器与移动终端
US11178358B2 (en) Method and apparatus for generating video file, and storage medium
WO2022017184A1 (zh) 交互方法、装置、电子设备及计算机可读存储介质
US20220309723A1 (en) Method, apparatus, electronic device, and computer-readable medium for displaying special effects
WO2020010819A1 (zh) 基于直播间的数据交互方法、装置、终端和存储介质
WO2022089178A1 (zh) 视频处理方法及设备
WO2022095840A1 (zh) 直播间创建方法、装置、电子设备及存储介质
GB2589731A (en) Video processing method and apparatus, terminal and medium
WO2023165370A1 (zh) 一种信息交互方法、装置、显示设备及存储介质
WO2023056847A1 (zh) 表情显示的方法、装置、设备及存储介质
WO2023000888A1 (zh) 云应用的实现方法、装置、电子设备和存储介质
WO2023071606A1 (zh) 交互方法、装置、电子设备和存储介质
WO2022042634A1 (zh) 音频数据的处理方法、装置、设备及存储介质
US20240119082A1 (en) Method, apparatus, device, readable storage medium and product for media content processing
WO2023116480A1 (zh) 多媒体内容的发布方法、装置、设备、介质和程序产品
WO2023078069A1 (zh) 一种直播互动方法、系统及相关装置
CN105721904B (zh) 显示装置和控制显示装置的内容输出的方法
WO2023045973A1 (zh) 直播礼物云渲染方法、装置、电子设备及存储介质
WO2023001065A1 (zh) 群组互动方法、装置、设备及存储介质
WO2023093698A1 (zh) 游戏直播的交互方法、存储介质、程序产品及电子设备

Legal Events

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

Ref document number: 20874965

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16/08/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20874965

Country of ref document: EP

Kind code of ref document: A1