WO2023029768A1 - 交互方法、装置、电子设备、可读存储介质及程序产品 - Google Patents

交互方法、装置、电子设备、可读存储介质及程序产品 Download PDF

Info

Publication number
WO2023029768A1
WO2023029768A1 PCT/CN2022/105606 CN2022105606W WO2023029768A1 WO 2023029768 A1 WO2023029768 A1 WO 2023029768A1 CN 2022105606 W CN2022105606 W CN 2022105606W WO 2023029768 A1 WO2023029768 A1 WO 2023029768A1
Authority
WO
WIPO (PCT)
Prior art keywords
path
virtual gift
target
control component
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2022/105606
Other languages
English (en)
French (fr)
Inventor
邵子钰
周诗婷
张鹏伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to EP22862909.3A priority Critical patent/EP4344209A4/en
Priority to JP2023579852A priority patent/JP2024530394A/ja
Publication of WO2023029768A1 publication Critical patent/WO2023029768A1/zh
Priority to US18/395,258 priority patent/US12266041B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • 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
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/57Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
    • A63F13/573Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game using trajectories of game objects, e.g. of a golf ball according to the point of impact
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/57Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
    • A63F13/577Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game using determination of contact between game characters or objects, e.g. to avoid collision between virtual racing cars
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41407Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
    • 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
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/44Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment involving timing of operations, e.g. performing an action within a time slot
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/24Indexing scheme for image data processing or generation, in general involving graphical user interfaces [GUIs]

Definitions

  • the present disclosure relates to the field of computer technology, and in particular to an interactive method, device, electronic equipment, readable storage medium and program product.
  • multimedia content such as movies, TV dramas, song performances, variety shows, etc.
  • users can enjoy rich multimedia content such as movies, TV dramas, song performances, variety shows, etc. through the live broadcast channel provided by the application program.
  • an application program displays multimedia content
  • users can also participate in the multimedia content and interact with objects in the multimedia content to increase interest.
  • users can give gifts with special effects to objects in the multimedia content.
  • the present disclosure provides an interactive method, device, electronic equipment, readable storage medium and program product.
  • the present disclosure provides an interaction method, including:
  • the control component and the first object and the second object included in the target virtual gift are displayed, and the control component is used to control the path of said target virtual gift;
  • the determining the target path of the first object according to the state of the control component includes: determining the target path according to the path indicated by the control component.
  • the method before determining the target path according to the path indicated by the control component, the method further includes: updating the control component indication in response to a first trigger operation on the control component path of.
  • controlling the movement of the first object along the target path includes:
  • the first object In response to a second trigger operation on the control component, the first object is controlled to move along the target path; or, based on displaying that the control component meets a preset duration, the first object is controlled to move along the target path. target path movement.
  • the method further includes: playing a second special effect at a preset position if the first object misses the second object while moving along the target path.
  • playing the second special effect at a preset position includes:
  • a second special effect corresponding to the offset angle is acquired, and the second special effect is played at the preset position.
  • the method before controlling the movement of the first object along the target path, the method further includes:
  • a style display interface In response to a trigger operation on the style entry label in the virtual gift display interface, display a style display interface, the style display interface including one or more styles corresponding to the target virtual gift;
  • the style of the target virtual gift is switched to the target style.
  • the display parameters of the second object within the hitable range of the first object are different from the display parameters of the second object within the unhitable range of the first object.
  • the display parameters include: one or more of brightness, size, hue, saturation, and animation effects.
  • an interaction device including:
  • a receiving module configured to receive a trigger operation on a target virtual gift in the virtual gift display interface
  • the processing module is further configured to generate a control component and the first object and the second object included in the target virtual gift in response to a trigger operation on the target virtual gift in the virtual gift display interface;
  • the display module is also used to display a control component and the first object and the second object included in the target virtual gift, and the control component is used to control the path of the target virtual gift;
  • the processing module is further configured to determine a target path corresponding to the first object according to the state of the control component; and control the first object to start moving along the target path;
  • the display module is also used to display that the first object moves along the target path, and when the first object hits the second object during the movement, play the The first special effect corresponding to the second object.
  • the present disclosure provides an electronic device, including: a memory, a processor, and computer program instructions;
  • said memory is configured to store said computer program instructions
  • the processor is configured to execute the computer program instructions to implement the interaction method according to any one of the first aspect.
  • the present disclosure provides a readable storage medium, including: including: computer program instructions;
  • the computer program instructions are executed by at least one processor of the electronic device, so as to implement the interaction method according to any one of the first aspect.
  • the present disclosure provides a program product, including: computer program instructions;
  • the computer program instructions are stored in a readable storage medium, and at least one processor of the electronic device reads the computer program instructions from the readable storage medium;
  • the at least one processor executes the computer program instructions, so that the electronic device implements the interaction method according to any one of the first aspect.
  • the present disclosure provides a chip system, which includes: a processor; when the processor executes computer instructions stored in the memory, the electronic device executes the first aspect and the interaction method described in any one of the first aspect.
  • FIGS. 1A-1L are schematic diagrams of human-computer interaction interfaces provided by embodiments of the present disclosure.
  • FIG. 2 is a schematic flowchart of an interaction method provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of an interaction method provided by another embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of an interaction device provided by an embodiment of the present disclosure.
  • Fig. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • the present disclosure provides an interactive method, device, electronic device, readable storage medium and program product.
  • the display control component based on the trigger operation of the target virtual gift included in the virtual gift display interface, the display control component , the movement path of the target virtual gift can be controlled by operating the control component, while satisfying the user's need to interact with the objects in the multimedia content through the virtual gift, it also realizes the user's personalized control of the movement path and direction of the virtual gift, making the user Being able to participate in multimedia content in a relatively diversified interactive way improves the user's enthusiasm for watching multimedia content and in-depth interaction.
  • the target virtual gift includes a first object and a second object.
  • the first object starts to move along the target path. If the first object moves along the target path and hits the second object, it will be played at the position where it hits the second object.
  • the special effect corresponding to the second object if the first object moves along the target path but misses the second object, another special effect will be played; through the interesting interactive method, the user can deeply participate in the interaction, which is conducive to improving The motivation of users to use special effects again.
  • the multimedia content may include video programs, video performances, real-time recorded content, pre-recorded content, etc., which is not limited in the present disclosure.
  • Objects in multimedia content for example, when the multimedia content is a dance performance, the object may include one or more dance performers; when the multimedia content is a cross talk performance, the object may include a cross talk performer or multiple cross talk performers; When the multimedia content is a TV series or a movie, the objects in the multimedia content may include an actor.
  • Electronic devices can be tablet computers, mobile phones (such as folding screen mobile phones, large-screen mobile phones, etc.), wearable devices, vehicle-mounted devices, augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) equipment, notebook computers, super Mobile personal computer (ultra-mobile personal computer, UMPC), netbook, personal digital assistant (personal digital assistant, PDA), smart TV, smart screen, high-definition TV, 4K TV, smart speaker, smart projector, etc. of things, IOT) equipment, this disclosure does not make any restrictions on the specific type of electronic equipment.
  • the present disclosure does not limit the type of the operating system of the electronic device.
  • Android system Linux system
  • Windows system iOS system
  • the embodiments of the present disclosure take an electronic device as an example, and describe the interaction method provided by the present disclosure in detail in combination with the accompanying drawings and application scenarios.
  • the electronic device is taken as a mobile phone, and a short video social APP1 (abbreviated as application 1) is installed in the mobile phone, and the real-time recorded singing performance is played in the application 1, wherein the real-time recorded singing performance is the multimedia content.
  • application 1 a short video social APP1
  • FIG. 1A-FIG. 1L are schematic diagrams of human-computer interaction interfaces provided by the embodiments of the present disclosure.
  • application 1 may exemplarily display a user interface 11 shown in FIG. 1A on the mobile phone, wherein the user interface 11 is used to display multimedia content.
  • the user interface 11 includes: a multimedia content playing area 11a and an entry label 11b for entering a virtual gift display page.
  • the present disclosure does not limit parameters such as the area shape, area position, area size, and whether the areas overlap with the play area 11a and the entry label 11b.
  • the play area 11a may include the entire screen of the mobile phone, and the entry label 11b may be located inside the play area 11a and suspended on the upper layer of the play area 11a.
  • the playing area 11a is used to display a playing picture of multimedia content, so that the user can watch the multimedia content.
  • the playing area 11a can also be used to display the attention button of the account associated with the currently played multimedia content, the number of views of the currently played multimedia content, the title of the currently played multimedia content, and the like.
  • the playing area 11a can also be used to display controls related to the currently playing multimedia content; for example, a button for closing the currently playing multimedia content, a button for sharing the currently playing multimedia content, and a button for The button for casting multimedia content and so on.
  • the above-mentioned controls related to the currently played multimedia content can be set in the top area of the play area 11a, or can also be set in the bottom area of the play area 11a, if the number of controls is large, some controls can also be set in the play area 11a
  • the top area of part of which is set at the bottom area of the playback area 11a, the positions of these controls can be flexibly set according to requirements, and the present disclosure does not limit the parameters such as the display style and size of the controls.
  • the user interface 11 may further include: a comment area 11c, and the comment area 11c is used to display comment information on the currently playing multimedia content.
  • FIG. 1A shows that the comment area 11c includes comment information published by users bbb1 to bbb4 respectively.
  • the comment area 11c may also include an input box for posting comment information, and this disclosure does not limit the display parameters of the input box.
  • the present disclosure does not limit the manner of displaying comment information in the comment area 11c.
  • a preset number of pieces of comment information can be scrolled and displayed in the comment area 11c according to the order of publication time of the comment information; wherein, the latest comment information can be displayed at the bottom of the comment area 11c, and the earliest comment information can be displayed.
  • the top comment information of the comment area 11c can be disappeared, and the latest comment information can be displayed at the bottom of the comment area 11c.
  • the present disclosure does not limit whether the user interface 11 displays the comment area 11c.
  • the user interface 11 may also include a button for controlling the display or closing of the comment area, and based on a trigger operation (such as a click operation) on the button, it is possible to control whether to display the comment area in the user interface. It should be noted that the user interface 11 does not show a button for controlling the display or closing of the comment area.
  • the comment area 11c may overlap with the play area 11a, and the comment area 11c may be suspended on the upper layer of the play area 11a.
  • the present disclosure does not limit the positional relationship between the entry tab 11b and the comment area 11c.
  • the entry label 11b is located inside the comment area 11c, and the entry label 11b is displayed on the upper layer of the comment area 11c.
  • the entry label 11b may not overlap with the comment area 11c.
  • the entry label 11b may also be set on the side of the play area 11a, and try not to block the playing screen of the multimedia content.
  • the application 1 can exemplarily display the user interface 12 shown in FIG. 1B on the mobile phone, wherein, The user interface 12 includes: a virtual gift display interface 12a.
  • the virtual gift display interface 12a is used to display the virtual gift, so that the information of the virtual gift provided by the application 1 can be viewed.
  • the virtual gift display interface 12a can include an area 12b for displaying each virtual gift, wherein the area 12b can display relevant information of the virtual gift, for example, the cover of the virtual gift, the name of the virtual gift, the value of the virtual gift, whether the virtual gift is One or more of the newly launched gifts and other information.
  • the present disclosure does not limit the display manner of the area 12b corresponding to each virtual gift in the virtual gift display interface 12a. And there are no limitations on parameters such as the area size and area shape of the area 12b corresponding to the virtual gift.
  • the regions 12b corresponding to multiple virtual gifts can be displayed sequentially from left to right and from top to bottom, and the size of each region 12b is the same, for example, as shown in FIG. 1B , the virtual gift display interface 12a 4 virtual gifts are displayed in each row, including two rows. Users can swipe left and right to view more virtual gifts.
  • controls related to virtual gifts may also be displayed in the area 12b.
  • the default state of the controls related to the virtual gift is hidden display, and based on the user's trigger operation (such as clicking on any position in the area 12b), one or more controls related to the virtual gift can be displayed, for example, in Fig.
  • the default state is used to hide and display the control related to the virtual gift; in other embodiments, the default state of the control related to the virtual gift is the display state.
  • the application 1 may display a user interface 13 as shown in FIG. 1C on the mobile phone as an example.
  • a trigger operation such as a click operation
  • the application 1 may display a user interface 13 as shown in FIG. 1C on the mobile phone as an example.
  • a gift control 12c for giving a virtual gift to an object in the multimedia content may be displayed in the area 12b.
  • the present disclosure does not limit the display manner of the target virtual gift selected by the user.
  • the target virtual gift selected by the user may be highlighted, and the area 12b corresponding to the target virtual gift may be slightly larger than the areas of other unselected virtual gifts.
  • the target virtual gift selected by the user may not be highlighted, that is, all virtual gifts are displayed in the same way when they are selected and not selected.
  • the application 1 may display an unlock permission interface on the mobile phone.
  • the user can unlock the right to use the corresponding target virtual gift by operating the relevant controls in the unlocking authority interface.
  • the application 1 can display on the mobile phone all objects included in the triggered target virtual gift and a control component for controlling the moving path of the target virtual gift.
  • the unlock permission interface is the purchase interface; if the virtual gift permission is unlocked by completing interactive tasks, the unlock permission interface is the interactive task interface. It should be noted that, in this embodiment of the present disclosure, there is no limitation on how the user unlocks the permission of the virtual gift, and any method can be used to realize it. Therefore, this embodiment will not describe it in detail.
  • 1D-1L exemplarily show the implementation of all the objects included in the triggered target virtual gift and the control component for controlling the moving path of the objects included in the target virtual gift.
  • Application 1 receives a trigger operation (such as a click operation) on the gift control 12c in the area 12b corresponding to "archery", and application 1 displays the user interface 14 shown in FIG. 1D on the mobile phone as an example.
  • a trigger operation such as a click operation
  • the user interface 14 includes: a first object 14a and a second object 14b included in the target virtual gift, and a control component 14c for controlling the moving path of the first object 14a of the virtual gift.
  • the first object 14a can be the bow and arrow included in the virtual gift "archery”, and the first object 14a is used to move along the path w1 indicated by the control component 14c; the second object 14b is the first object 14a along the control component When the path indicated by 14c moves, the target to be shot.
  • the first object 14a can be arranged in the area near the bottom of the mobile phone screen, and the second object 14b can be arranged in the area near the top of the mobile phone screen.
  • the component and the objects included in the virtual gift block the playing screen of the multimedia content, thereby reducing the impact of giving the virtual gift on the user watching the multimedia content.
  • the disclosure does not limit display parameters such as brightness, size, color, saturation, and animation effects of the first object 14a.
  • the first object 14a when the first object 14a is a bow and arrow, the "bow” can be made of gold, the body part of the “arrow” can also be made of the same gold color as the "bow", and the arrow part of the "arrow” can be made of red heart shape.
  • the first object can also adopt other styles.
  • part or all of the traditional "arrow” can be replaced by some preset objects to increase interest, such as a preset
  • the object is an "aircraft", which is not limited in the present disclosure.
  • the application 1 may also support setting the style of the first object 14a, and this disclosure does not limit the implementation manner of setting the style of the first object 14a.
  • the application 1 may include a style entry tag for entering the style presentation interface in the user interface that displays all the objects and control components included in the triggered target virtual gift (the style entry tag is for example shown in FIG. 1D Shown entry label 14d), can enter style display interface 15a by entry label 14d, can display multiple different styles in the style display interface 15a, for the user to select favorite style.
  • a style entry tag for entering the style presentation interface in the user interface that displays all the objects and control components included in the triggered target virtual gift
  • the style entry tag is for example shown in FIG. 1D Shown entry label 14d
  • can enter style display interface 15a by entry label 14d can display multiple different styles in the style display interface 15a, for the user to select favorite style.
  • application 1 receives a trigger operation (such as a click operation) for the entry label 14d shown in FIG. 1D, application 1 responds to the trigger operation, and application 1 may display a user interface as shown in FIG. 1E on the mobile phone. 15, wherein the user interface 15 includes a style display interface 15a corresponding to the first object 14a, the style display interface 15a can display a variety of different styles, and the user can set by clicking the area of the desired style.
  • a trigger operation such as a click operation
  • This disclosure does not limit the presentation of various styles in the style display interface 15a.
  • a corresponding style entry label can be set for each object.
  • the style corresponding to the object is displayed; or, each style may include styles corresponding to all objects included in the entire target virtual gift, and the user may directly select.
  • Styles 1 to 4 are bow and arrow parts as styles, and application 1 receives a trigger for style 3. Operation (such as click operation), then the application 1 displays the user interface shown in Figure 1F on the mobile phone as an example, in the user interface 16 shown in Figure 1F, the arrow part of the bow and arrow included in the first object 14b is the selected style 3 plane shapes.
  • the application 1 supports the preview effect.
  • the application 1 supports the preview effect.
  • Fig. 1E to Fig. 1F assuming that the user first selects style 3, but the user previews and finds that he does not like this style, he can re-select another style and preview the effect, or exit the target virtual gift style setting, That is, after exiting the style presentation interface 15a, follow-up operations are performed based on the original style.
  • the style display interface 15a may include a close button, and the user can exit the style display interface 15a by operating the close button; Any position outside the display interface 15a to exit the style display interface 15a.
  • the second object 14b is a target to be shot by the first object 14a.
  • the present disclosure does not limit parameters such as whether the second object 14b has an animation effect, the number of the second object 14b, the motion state, the display parameters, the specific type of special effect animation corresponding to the second object 14b, and the like.
  • the second object 14b may be a dynamic style or a static style.
  • the second object 14b is a dynamic style
  • the stars of the second object can be continuously blinking.
  • any dynamic effect can be adopted, and it is not limited to the situation described here.
  • whether the second object 14b adopts a dynamic pattern or a static pattern may be related to whether the second object 14b is within the shooting range of the first object 14a; for example, if the second object 14b is within the shooting range of the first object 14a, then the second object 14b The second object 14b adopts a dynamic pattern; if the second object 14b is outside the shooting range of the first object 14a, the second object 14b adopts a static pattern.
  • the second object 14b in the middle position adopts a dynamic style, such as musical notes can be constantly flashing, correspondingly, in the most
  • a static pattern that is, neither the heart nor the star blinks.
  • the quantity of the second object 14b may be multiple, or may be one, and the present disclosure does not limit the quantity of the second object 14b.
  • Fig. 1D shows the situation that the quantity of the second object 14b is 3, in the actual scene, the quantity of the second object 14b also can be set more or less, for example, the quantity of the second object 14b can be 2 1, 4, etc.
  • the position of the second object 14b may be constantly changing or static.
  • the position of the second object 14b can move from left to right, so that the first object shoots the moving target, increasing the difficulty factor of shooting and satisfying the needs of some users for shooting difficulty.
  • the position of the second object 14b is not limited to moving in the direction from left to right, and may also move in the direction from right to left, etc.
  • the present disclosure does not limit the movement mode of the second object 14b.
  • the shooting difficulty can be controlled by controlling the moving speed of the second object 14b. The faster the moving speed of the second object 14b, the higher the shooting difficulty, and the slower the moving speed of the second object 14b, the lower the shooting difficulty.
  • the position of the second object 14b may be static, thereby reducing the difficulty of shooting. By setting the position of the second object 14b as a moving state or a static state, the requirements of different users on the difficulty of shooting the virtual gift can be met.
  • the display parameters of the second object 14b that can be hit by the first object 14a and the second object 14b that cannot be hit by the first object 14a are different.
  • first object 14a moves along the path indicated by the control assembly 14c, and the second object 14b can be hit by the first object 14a, it means that the second object 14b is within the shooting range of the first object 14a, then it can be set by setting the The display parameters of the second object 14b are used to prompt the user to hit the target according to the current path. If the first object 14a moves along the path indicated by the control component 14c, and the second object 14b cannot be hit by the first object 14a, it means that the second object 14b is not within the shooting range of the first object 14a, and then the second object 14b can be set to The display parameters of the second object 14b are used to prompt the user to adjust the path of the first object 14a by operating the control component 14c.
  • the display parameter may include brightness.
  • the second object 14b in the middle position is in the shooting range of the first object 14a, then the brightness of the second object 14b in the middle position can be the first brightness value; the two second objects 14b on the left and right sides If they are not within the shooting range of the first object 14a, the brightness of the two second objects 14b on the left and right sides is the second brightness value, wherein the first brightness value is greater than the second brightness value.
  • Display parameters can also include dimensions.
  • the second object 14b in the middle position is in the shooting range of the first object 14a, then the second object 14b in the middle position is set to the first size; the two second objects 14b on the left and right sides are not in
  • the two second objects 14b on the left and right sides are set to a second size, wherein the first size is greater than the second size, for example, the first size is 3cm*3cm, and the second size is 2cm*2cm.
  • Dimensions can also be expressed in pixels.
  • brightness and size can also be combined, for example, the second object within the shooting range of the first object has higher brightness and larger size, and is outside the shooting range of the first object The second object has lower brightness and smaller size.
  • the display parameters are not limited to brightness and size, and can also be other parameters, such as hue, saturation, etc., as long as the user can distinguish which are the second objects within the shooting range of the first object and which are within the shooting range of the first object. A second object outside the shooting range of the shot will do.
  • the display parameters of the second object 14b within the shooting range and the distance between the shooting range are set differently.
  • each second object 14b corresponds to a special effect animation. If the first object 14a moves along the path indicated by the control component and hits the second object 14b, the second object 14b will be played at the position where the second object 14b is hit. Corresponding special effects animation. If the virtual gift includes multiple second objects 14b, the special effect animation corresponding to each second object 14b may not be completely the same.
  • the special effect animation corresponding to the second object 14b on the side is a star special effect; if the first object 14a moves according to the current path w1 and can hit the second object in the middle position, then the first object 14a hits the second object 14b in the middle position Afterwards, the music note special effect is played at the position of the second object 14b hitting the middle position. If after adjusting the path of the first object 14a, the first object 14a can hit the rightmost second special effect 14b, then play the star special effect at the position where the rightmost second object 14b hits.
  • the target virtual gift provides multiple second objects 14b, and the special effect animation corresponding to each second object 14b is different, so that users can choose according to their own needs or preferences, so as to shoot the target virtual gift corresponding to the special effect animation that they want to play.
  • the second object 14b satisfies the needs of users and improves user experience.
  • the control component 14c is mainly used to control the path of the first object 14a.
  • Application 1 receives a trigger operation (such as a sliding operation) on the control component 14c, and application 1 can adjust the direction of the indicated path w1 by analyzing the rotation angle of the trigger operation. And the application 1 can adjust the orientation of the first object 14a at the same time.
  • a trigger operation such as a sliding operation
  • the target virtual gift is "archery" as an example.
  • the direction of the default path w1 displayed by App 1 on the mobile phone is straight ahead, that is, the dotted line w1 shown in Figure 1D
  • application 1 exemplarily displays the user interface shown in FIG. 1H on the mobile phone, and the path in the user interface shown in FIG. 1H
  • w2 has a changed path direction, and the path direction is shifted to the right by an angle of ⁇ .
  • application 1 exemplarily displays the screen shown in FIG. 1I on the mobile phone.
  • User interface compared with the path w3 in the user interface shown in FIG. 1I and the path w1 shown in FIG. 1D , the path direction has changed, and the path direction is shifted to the left by an angle of ⁇ .
  • the path w1 is represented by a white dotted line.
  • the original path that is, the path w1 may not be displayed.
  • the application 1 when the application 1 responds to the first trigger operation of adjusting the path, the application 1 synchronously adjusts the orientation of the first object 14a.
  • the direction of the bow and arrow is also shifted to the right by ⁇ ; in the embodiment shown in Figure 1I, when the path is shifted to the left by ⁇ , the direction of the bow and arrow is also shifted to the left beta. In this way, the user can obtain a feeling in a more realistic archery scene.
  • control component 14c can also control the first object 14a to start moving along the indicated path, that is, control the first object 14a to launch.
  • Application 1 receives a second trigger operation (such as a drag operation) on the control component 14c, and application 1 controls part or all of the first object 14a to start moving along the path indicated by the control component 14c.
  • application 1 responds to the drag operation of the control component 14c, application 1 can exemplarily display the user interface 20 shown in FIG. 1J on the mobile phone, wherein, in the user interface 20 shown in FIG. 1J, the arrow The included part of the "arrow” moves forward along the path w2 shown in FIG. 1H , and the part of the "bow” included in the bow and arrow can disappear after the "arrow” is fired. That is, during the shooting process of the first object 14a, a part of the first object 14a moves along the path for shooting the target, while the other part disappears.
  • Part of the image blocks the playback screen of the multimedia content, while displaying the target virtual gift, it ensures the comfort of the user watching the multimedia content.
  • the location may also display the comment area 11c and controls related to the multimedia content, etc., so that the user can obtain comment information related to the multimedia content in time.
  • the other part does not need to disappear, and it only needs to be displayed at the position of the emission starting point of the first object 14a, which is not limited in the present disclosure.
  • the first object 14a can move along the path indicated by the control component at a preset speed, and the present disclosure does not limit the preset speed, for example, the preset speed can be a constant speed, or can be The fast-to-slow approach.
  • the "arrow" included in the first object 14a moves forward for a certain distance from the starting point, but does not hit the second object 14b. If the "arrow" included in the first object 14a moves along the If the path continues to move forward, the rightmost second object 14b in the user interface 20 can be hit.
  • the application 1 can determine whether the first object 14a hits the second object 14b by analyzing whether the area of the first object 14a moving along the path indicated by the control component 14c overlaps with the area of the second object 14b; When the first object 14a hits the second object 14b, the special effect animation corresponding to the hit second object is played at the position where the second object 14b hits.
  • the application 1 determines that the "arrow" hits the rightmost side by analyzing the overlap between the region of the "arrow” included in the first object 14a and the region of the rightmost second object 14b. If the second object 14b on the right side is hit, the star special effect is played at the position where the rightmost second object 14b is hit.
  • the first guide information can also be displayed in the control component 14c, and the first guide information can be realized by combining image guide and text description.
  • the first guide information is mainly used to guide the user to correctly operate the control component, and the present disclosure does not limit the implementation manner of the first guide information.
  • the user interface 14 shown in FIG. 1D it includes: a guide image 14e and a text prompt area 14f.
  • the guide image 14e can be an arc with arrows at both ends, to indicate that the user can slide in any direction pointed by the arrow; the text content of "slide left, right, drag and launch" can be displayed in the text prompt area 14f, so that Users can obtain text description information for operating control components.
  • the position of the first guidance information can be set according to requirements, and the position shown in FIG. 1D is only an example.
  • the position of the first guide information can be set at a position that does not affect the first object 14a, so as to reduce the occlusion between the first guide information and the first object 14a when the orientation of the first object 14a changes during the adjustment process.
  • the first guide information may disappear, or may also be displayed in the user interface, which is not limited in the present disclosure.
  • control component 14c may further include: a timer 14g, wherein the timer 14g is used for timing, and the timing result is used to control the first object to start along the path indicated by the control component 14c. sports.
  • the timer 14g can measure time in units of "seconds".
  • the present disclosure does not limit parameters such as the display style, display position, and size of the timer 14g.
  • the timer 14g can adopt a circular style, a square style, an ellipse style, or a complex timer style with relatively simple lines, among which, Fig. 1D exemplarily shows that the timer 14g adopts a relatively simple circular style.
  • the timer 14g may be displayed under the first object 14a included in the target virtual gift, or the timer 14g may be displayed on the left or right side of the first object 14a included in the target virtual gift.
  • the first object 14a is controlled to start moving along the path indicated by the control component 14c.
  • the timer 14g may start timing from the moment when the application 1 displays the control component 14c and all objects included in the triggered target virtual gift.
  • the timing method can be a countdown method or a sequence timing method.
  • the application 1 receives a trigger operation (such as a slide operation to the left or a slide operation to the right) for the control component 14c during the timing of the timer 14g, the timer 14g is set to an initial value (for example, 5), and in the control When the component 14c adjusts the path, it begins to count down again; if the application 1 does not receive a trigger operation (such as a drag operation) on the control component 14c during the countdown process, it will control the first object to move along the The path indicated by the control component 14c moves; if the countdown is restarted, but the countdown has not yet ended, application 1 receives a trigger operation (such as a drag operation) on the control component 14c, then application 1 responds to the trigger operation and controls the first object along the control The path movement indicated by component 14c.
  • a trigger operation such as a slide operation to the left or a slide operation to the right
  • the first object 14a moves along the path finally indicated by the control assembly 14c, but fails to hit any target (i.e. the second object).
  • FIG. Indicates the condition of the path motion. Please refer to the user interface 21 shown in FIG. 1K, the path ultimately indicated by the control component 14c is shown as the line s1 (hereinafter referred to as the path s1), the path s1 has a large deviation to the right, and the three second objects 14b above are not In the shooting range of the first object 14a, that is to say, the first object 14a cannot hit any second object 14b while moving along the path s1 shown in FIG. Animation effects.
  • the preset special effect animation to be played has nothing to do with the degree of deviation from the nearest second object 14b, that is, regardless of the offset At any angle, as long as the first object 14a does not hit any second object 14b, the preset animation with special effects will be played.
  • a special effect animation A may be preset, and the special effect animation A will be played as long as the first object 14a does not hit the second object 14b.
  • multiple special effect animations can be preset, for example, the three special effect animations of animation special effects A, B, and C can follow the preset order (such as the order from A to C).
  • special effect animation A is played; when the target virtual gift is given for the second time and does not hit the second object 14b, special effect animation B is played; the third time the target virtual gift is not hit When the second object 14b is in the middle, the special effect animation C is played; or, one of the multiple special effect animations may be selected to play in a random manner.
  • the deviation degree of the first object 14a from the nearest second object 14b can be analyzed according to the degree of deviation. Different, play different special effects animation.
  • the following three correspondences are preset: if the angle away from the nearest second object 14b is within 30 degrees, the special effect animation A will be played; if the angle away from the nearest second object 14b is within the range of 30 degrees to 60 degrees, the Special effect animation B; when the angle away from the nearest second object 14b is within the range of 60 degrees to 90 degrees, special effect animation C is played.
  • the application 1 can play different special effect animations by analyzing the degree of deviation between the path when the first object 14a cannot hit the second object 14b and the closest second object 14b.
  • the path s1 is the moving path of the first object 14a, and any second object 14b cannot be hit along the path s1, and the first object 14a deviates from the nearest second object when shooting.
  • 14b is the rightmost second object 14b in the user interface; if the first object 14a wants to hit the rightmost second object 14b, the first object 14a needs to move along the path s2 displayed in the user interface 21 .
  • the degree of offset can be determined by analyzing the included angle between paths s1 and s2, combined with that shown in Figure 1K, assuming that the included angle between paths s1 and s2 is 25 degrees, and then querying the above corresponding relationship, it can be seen that it is determined to
  • the special effect animation played is special effect animation A.
  • the preset position can be the end position of the path indicated by the control component, a position close to the top of the screen, a position close to the side of the screen, etc., so as to minimize the impact on the playing screen of the multimedia content when the special effect animation is played at the preset position. block.
  • the application 1 can exemplarily display the user interface 22 shown in Figure 1L on the mobile phone, as shown in Figure 1L,
  • the user interface 22 includes: besides all objects and control components included in the triggered target virtual gift, it may also include second guide information.
  • the second guide information can be realized by combining images and text information, and the second guide information exemplarily includes a guide image 22 a and a text prompt area 22 b in the user interface 22 .
  • the user interface 22 includes: a guide image 22a and a text prompt area 22b.
  • the text prompt area 22b can display the prompt words "adjust left and right, drag and launch” as shown in FIG. and the trajectory image 22a2, the trajectory image 22a2 can be an arc with arrows at both ends, the gesture 22a1 can move back and forth along the arc, and the user can prompt based on the text content displayed in the text prompt area 22b and the animation effect of the guide image 22a , perform the correct action.
  • the second guidance information may disappear, and then the user formally operates the target virtual gift.
  • the animation effect of the guidance gesture may be displayed repeatedly.
  • the present disclosure does not limit parameters such as the display manner, display position, and display style of the second guidance information.
  • the text prompt area 22b can be located below the guide image 22a, and the guide image 22a can be located below the first object 14a; or, the text prompt area 22b included in the second guide information can be located on the left or right side of the guide image 22a. position, the guide image 22a is located below the first object 14a.
  • the server can update the user interfaces of all clients associated with the multimedia content synchronously.
  • the user interface shown in Figure 1J and Figure 1K can be the user interface of the gift-giving audience, or the user interface of the live broadcast terminal and the non-gift-giving audience; except Figure 1J And other user interfaces other than those in FIG. 1K are user interfaces of the gift-giving audience.
  • FIG. 1A to FIG. 1L are only illustrations of the interaction method provided by the present disclosure, and are not limitations on the interaction method provided by the present disclosure.
  • FIG. 2 is a schematic flowchart of the interaction method provided by the present disclosure. Referring to Figure 2, the method provided in this embodiment includes:
  • An application program is installed on the electronic device, and after the application program is started, multimedia content in the application program can be played.
  • the present disclosure does not limit the specific types of application programs and the specific types and contents of multimedia content.
  • the electronic device can receive a trigger operation (such as a click operation) input by the user on the target virtual gift in the virtual gift display interface, and in response to the trigger operation, the application program displays on the electronic device
  • the triggered target virtual gift includes the first object and the second object, and a control component for controlling the movement path of the first object.
  • the target virtual gift in the user interface shown in FIGS. 1A-1L includes a first object 14a, a second object 14b and a control component 14c.
  • first object 14a the second object 14b, and the control component 14c
  • display parameters such as display size, style, quantity, position, and animation effect of the first object, the second object, and the control components.
  • the displayed control component corresponds to a default state, which can indicate a default path.
  • the direction of path w1 shown in FIG. Input the first trigger operation for the control component (such as the left sliding operation or the right sliding operation described in the foregoing embodiments), and the application adjusts the state of the control component in response to the first trigger operation, that is, adjusts the path indicated by the control component
  • the path indicated by the adjusted control component is the target path, for example, the path w2 shown in FIG. 1H and the path w3 shown in FIG. 1I are target paths;
  • the default path of is the target path, for example, the path w1 shown in FIG. 1D is used as the target path.
  • the adjustment may be performed through multiple consecutive first trigger operations, and the present disclosure does not limit the number of first trigger operations.
  • the display parameters of the second object within the shooting range of the first object may be different from the display parameters of the second object outside the shooting range of the first object.
  • the display parameters may include: one or more of brightness, size, hue, saturation, and animation effects.
  • the first object may be controlled to start moving along the target path through a second trigger operation (such as a drag operation) on the control component.
  • a second trigger operation such as a drag operation
  • the first object when there is no second trigger operation on the control component, the first object can be triggered to start moving along the target path based on time.
  • the specific implementation can refer to the timer in the embodiment shown in Figure 1D above. description, which will not be repeated here.
  • the first special effect and the second special effect are different special effects
  • the first special effect is the special effect animation played when the first object successfully hits the second object
  • the second special effect is the first object unsuccessfully hits the second object
  • the first special effect corresponding to the second object may be played at the position where the second object hits.
  • the second special effect may be played at a preset position.
  • the present disclosure does not limit the preset position, and the preset position may be any position in the user interface.
  • the second special effect may be a preset special effect animation, or may be a special effect animation determined from a plurality of preset special effect animations in a preset sequence or in a random selection manner.
  • the second special effect may be determined according to the degree of deviation of the target path from the nearest second object.
  • the specific implementation may refer to the description of the embodiment shown in FIG. 1K , which will not be repeated here.
  • the display parameters of the second object within the shooting range of the first object are different from the display parameters of the second object outside the shooting range of the first object.
  • the parameters are different, and the disclosure does not limit the display parameters.
  • the brightness of the second object within the shooting range of the first object may be higher than the brightness of the second object outside the shooting range of the first object; or, the size of the second object within the shooting range of the first object larger than the size of the second object outside the shooting range of the first object; or, the brightness and size can be combined to distinguish the second object inside and outside the shooting range of the first object.
  • a prompt can be given to the user operating the target virtual gift, according to Which second object can be hit by the current path increases the probability of successful shooting and improves the user's enthusiasm for using the virtual gift.
  • steps S203 to S205 are not only for users who operate the target virtual gift, but also for users associated with multimedia content, where users associated with multimedia content may include: other users who watch multimedia content As for the user and the user who provides the multimedia content, if the multimedia content is a real-time recorded singing performance, the user who provides the multimedia content is the user who records the singing performance.
  • the control component in the process of playing multimedia content, based on the trigger operation of the target virtual gift included in the virtual gift display interface, the control component is displayed, and the movement path of the target virtual gift can be controlled by operating the control component.
  • the virtual gift interacts with the objects in the multimedia content, it realizes the user's personalized control of the moving path and direction of the virtual gift, enabling the user to participate in the multimedia content in a variety of interactive ways, improving the viewing experience of the user. Motivation for multimedia content and deep interaction.
  • the target virtual gift includes a first object and a second object. The first object starts to move along the target path. If the first object moves along the target path and hits the second object, it will be played at the position where it hits the second object.
  • Fig. 3 is a flowchart of an interaction method provided by another embodiment of the present disclosure.
  • the interaction method provided in this embodiment is based on the embodiment shown in FIG. 2.
  • controlling the second object to move along the target path it may also include:
  • the application program can support the user to customize the style of the target virtual gift.
  • the style display interface can be entered through the style entry label in the virtual gift display interface.
  • the style display interface can display various styles in a preset way, and then switch the style of the target virtual gift based on the user's choice For the user's favorite style.
  • the style entry label can be as shown in the entry label 14d in the embodiment shown in Figure 1D
  • application 1 responds to the user's trigger operation (such as a click operation) on the entry label 14d, enters the style display interface, and selects the realization of the target style
  • trigger operation such as a click operation
  • the method provided in this embodiment can realize the user-defined style of the target virtual gift, so as to meet the personalized needs of the user, and help to increase the enthusiasm for using the virtual gift.
  • the present disclosure also provides an interaction device.
  • Fig. 4 is a schematic structural diagram of an interaction device provided by an embodiment of the present disclosure.
  • the interaction device 400 provided in this embodiment includes:
  • the display module 401 is used for playing multimedia content.
  • the receiving module 402 is configured to receive a trigger operation on a target virtual gift in the virtual gift display interface.
  • the processing module 403 is further configured to generate a control component and a first object and a second object included in the target virtual gift in response to a trigger operation on the target virtual gift in the virtual gift display interface.
  • the display module 401 is further configured to display a control component and the first object and the second object included in the target virtual gift, and the control component is used to control the path of the target virtual gift.
  • the processing module 403 is further configured to determine a target path corresponding to the first object according to the state of the control component; and control the first object to start moving along the target path.
  • the display module 401 is further configured to display that the first object moves along the target path, and when the first object hits the second object during the movement, play at the position where the second object hits The first special effect corresponding to the second object.
  • the processing module 403 is specifically configured to determine the target path according to the path indicated by the control component.
  • the receiving module 402 is also used to receive the first trigger operation on the control component; the processing module 403 is used to update the path indicated by the control component; the display module 401 is also used to display the updated path.
  • the receiving module 402 is also used to receive the second trigger operation on the control component; the processing module 403 is used to control the movement of the first object along the target path; the display module 401 is also used to display the first object Move along the target path.
  • the processing module 403 is further configured to control the first object to move along the target path based on the fact that the control component does not receive the trigger operation to meet the preset duration; the display module 401 is also configured to display the first object along the target path. path movement.
  • the display module 401 is further configured to play a second special effect at a preset position.
  • the processing module 403 is further configured to obtain the offset angle between the target path and the reference path, wherein the reference path is based on the distance between the second object and the starting point of the target path determined by the connection; and according to the offset angle, obtain the second special effect corresponding to the offset angle.
  • the display module 401 is specifically configured to display the second special effect corresponding to the offset angle.
  • the receiving module 402 before controlling the first object to move along the target path, is also configured to receive a trigger operation on the style entry label in the virtual gift display interface; correspondingly, the display module 401 is also configured to It is used to display a style display interface, and the style display interface includes one or more styles corresponding to the target virtual gift.
  • the receiving module 402 is also used to receive a trigger operation on the target style in the style display interface; correspondingly, the processing module 403 is also used to switch the target virtual gift to the target style; the display module 401 is also used to display The target style.
  • the display parameters of the second object within the hitable range of the first object are different from the display parameters of the second object within the unhitable range of the first object.
  • the display parameters include: one or more of brightness, size, hue, saturation, and animation effects.
  • the interaction device provided in this embodiment can be used to implement the technical solutions of any of the above method embodiments.
  • the implementation principles and technical effects are similar, and reference can be made to the detailed description of the above method embodiments. For the sake of brevity, details are not repeated here.
  • FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • an electronic device 500 provided in this embodiment includes: a memory 501 and a processor 502 .
  • the memory 501 may be an independent physical unit, and may be connected with the processor 502 through the bus 503 .
  • the memory 501 and the processor 502 may also be integrated together, implemented by hardware, and the like.
  • the memory 501 is used to store program instructions, and the processor 502 invokes the program instructions to execute the technical solution of any one of the above method embodiments.
  • the foregoing electronic device 500 may also include only the processor 502 .
  • the memory 501 for storing programs is located outside the electronic device 500, and the processor 502 is connected to the memory through circuits/wires, and is used to read and execute the programs stored in the memory.
  • the processor 502 may be a central processing unit (central processing unit, CPU), a network processor (network processor, NP) or a combination of CPU and NP.
  • CPU central processing unit
  • NP network processor
  • the processor 502 may further include a hardware chip.
  • the aforementioned hardware chip may be an application-specific integrated circuit (application-specific integrated circuit, ASIC), a programmable logic device (programmable logic device, PLD) or a combination thereof.
  • the aforementioned PLD may be a complex programmable logic device (complex programmable logic device, CPLD), a field-programmable gate array (field-programmable gate array, FPGA), a general array logic (generic array logic, GAL) or any combination thereof.
  • the memory 501 may include a volatile memory (volatile memory), such as a random-access memory (random-access memory, RAM); the memory may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory) ), a hard disk (hard disk drive, HDD) or a solid-state drive (solid-state drive, SSD); the memory can also include a combination of the above-mentioned types of memory.
  • volatile memory such as a random-access memory (random-access memory, RAM
  • non-volatile memory such as a flash memory (flash memory)
  • HDD hard disk drive
  • solid-state drive solid-state drive
  • the present disclosure provides a chip system, which is applied to an electronic device including a memory and a sensor; the chip system includes: a processor; when the processor executes the interaction method of the foregoing embodiments.
  • the present disclosure provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor so that an electronic device implements the interaction method of the foregoing embodiments.
  • the present disclosure provides a computer program product, which causes the computer to execute the interaction method of the foregoing embodiments when the computer program product is run on the computer.
  • all or part of the functions may be implemented by software, hardware, or a combination of software and hardware.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • a computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present disclosure are produced in whole or in part.
  • a computer can be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • Computer instructions may be stored on a computer readable storage medium.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server, a data center, etc. integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a solid state disk (solid state disk, SSD)), etc.
  • a magnetic medium for example, a floppy disk, a hard disk, or a magnetic tape
  • an optical medium for example, DVD
  • a semiconductor medium for example, a solid state disk (solid state disk, SSD)

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本公开涉及一种交互方法、装置、电子设备、可读存储介质及程序产品,其中,所述交互方法包括:在播放多媒体内容的过程中,响应于对虚拟礼物展示界面中的目标虚拟礼物的触发操作,显示控制组件以及所述目标虚拟礼物包括的第一对象和第二对象,所述控制组件用于控制所述目标虚拟礼物的路径;根据所述控制组件的状态,确定所述第一对象对应的目标路径;控制所述第一对象沿所述目标路径运动,且所述第一对象在运动过程中击中所述第二对象,则在击中所述第二对象的位置播放所述第二对象对应的第一特效。

Description

交互方法、装置、电子设备、可读存储介质及程序产品
相关申请的交叉引用
本申请要求于2021年08月30日提交的,申请号为202111006308.3、发明名称为“交互方法、装置、电子设备、可读存储介质及程序产品”的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本公开涉及计算机技术领域,尤其涉及一种交互方法、装置、电子设备、可读存储介质及程序产品。
背景技术
随着互联网技术的不断发展,用户获取多媒体内容的方式也不断变化。例如,用户可以通过应用程序所提供的直播途径,欣赏到电影、电视剧、歌曲表演、综艺节目等等丰富的多媒体内容。在应用程序展示多媒体内容时,用户还可以参与到多媒体内容中,与多媒体内容中的对象进行互动,以增加趣味性,例如,用户可以向多媒体内容中的对象赠送特效礼物。
因此,如何使用户与多媒体内容中的对象之间的互动更加多样化是当前亟待解决的问题。
发明内容
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开提供了一种交互方法、装置、电子设备、可读存储介质及程序产品。
第一方面,本公开提供了一种交互方法,包括:
在播放多媒体内容的过程中,响应于对虚拟礼物展示界面中的目标虚拟礼物的触发操作,显示控制组件以及所述目标虚拟礼物包括的第一对象和第二对象,所述控制组件用于控制所述目标虚拟礼物的路径;
根据所述控制组件的状态,确定所述第一对象对应的目标路径;
控制所述第一对象沿所述目标路径运动,且所述第一对象在运动过程中击中所述第二对象,则在击中所述第二对象的位置播放所述第二对象对应的第一特效。
在一些可能的设计中,所述根据所述控制组件的状态,确定所述第一对象的目标路径,包括:根据所述控制组件指示的路径,确定所述目标路径。
在一些可能的设计中,所述根据所述控制组件指示的路径,确定所述目标路径之前,所述方法还包括:响应于对所述控制组件的第一触发操作,更新所述控制组件指示的路径。
在一些可能的设计中,所述控制所述第一对象沿所述目标路径运动,包括:
响应于对所述控制组件的第二触发操作,则控制所述第一对象沿所述目标路径运动;或者,基于显示所述控制组件满足预设时长,则控制所述第一对象沿所述目标路径运动。
在一些可能的设计中,所述方法还包括:若所述第一对象沿所述目标路径运动过程中未击中所述第二对象,则在预设位置播放第二特效。
在一些可能的设计中,所述在预设位置播放第二特效,包括:
获取所述目标路径与参考路径之间的偏移角度,其中,所述参考路径是根据所述第二对象和所述目标路径的起点之间的连线确定的;
根据所述偏移角度,获取所述偏移角度对应的第二特效,并在所述预设位置播放所述第二特效。
在一些可能的设计中,所述控制所述第一对象沿所述目标路径运动之前,所述方法还包括:
响应于对所述虚拟礼物展示界面中样式入口标签的触发操作,显示样式展示界面,所述样式展示界面包括所述目标虚拟礼物对应的一种或者多种样式;
响应于对所述样式展示界面中目标样式的触发操作,将所述目标虚拟礼物的样式切换为所述目标样式。
在一些可能的设计中,处于所述第一对象可击中范围内的第二对象的显示参数和处于所述第一对象不可击中范围的第二对象的显示参数不同。
在一些可能的设计中,所述显示参数包括:亮度、尺寸、色调、饱和度、动画效果中的一个或者多个。
第二方面,本公开提供了一种交互装置,包括:
显示模块,用于播放多媒体内容;
接收模块,用于接收对虚拟礼物展示界面中的目标虚拟礼物的触发操作;
处理模块,还用于响应于对虚拟礼物展示界面中的目标虚拟礼物的触发操作,生成控制组件以及目标虚拟礼物包括的第一对象和第二对象;
所述显示模块,还用于显示控制组件以及所述目标虚拟礼物包括的第一对象和第二对象,所述控制组件用于控制所述目标虚拟礼物的路径;
所述处理模块,还用于根据所述控制组件的状态,确定所述第一对象对应的目标路径;以及控制所述第一对象沿目标路径开始运动;
显示模块,还用于显示所述第一对象沿所述目标路径运动,且所述第一对象在运动过程中击中所述第二对象时,在击中所述第二对象的位置播放所述第二对象对应的第一特效。
第三方面,本公开提供一种电子设备,包括:存储器、处理器以及计算机程序指令;
所述存储器被配置为存储所述计算机程序指令;
所述处理器被配置为执行所述计算机程序指令,以实现如第一方面任一项所述的交互方法。
第四方面,本公开提供一种可读存储介质,包括:包括:计算机程序指令;
所述计算机程序指令被电子设备的至少一个处理器执行,以实现如第一方面任一项所述的交互方法。
第五方面,本公开提供一种程序产品,包括:计算机程序指令;
所述计算机程序指令存储于可读存储介质中,电子设备的至少一个处理器从所述可读存储介质中读取所述计算机程序指令;
所述至少一个处理器执行所述计算机程序指令,使得所述电子设备实现如第一方面任一项所述的交互方法。
第六方面,本公开提供一种芯片系统,芯片系统包括:处理器;当处理器执行存储器中存储的计算机指令时,电子设备执行第一方面及第一方面任一项所述的交互方法。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
为了更清楚地说明本公开实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1A-图1L为本公开实施例提供的人机交互界面示意图;
图2为本公开一实施例提供的交互方法的流程示意图;
图3为本公开另一实施例提供的交互方法的流程示意图;
图4为本公开一实施例提供的交互装置的结构示意图;
图5为本公开一实施例提供的电子设备的结构示意图。
具体实施方式
为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以 相互组合。
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。
示例性地,本公开提供一种交互方法、装置、电子设备、可读存储介质及程序产品,在播放多媒体内容的过程,基于对虚拟礼物展示界面包括的目标虚拟礼物的触发操作,显示控制组件,通过操作控制组件可以控制目标虚拟礼物的移动路径,在满足用户通过虚拟礼物与多媒体内容中的对象进行互动的同时,实现了用户对虚拟礼物的移动路径、移动方向的个性化控制,使得用户能够以较为多样化的互动方式参与到多媒体内容中,提升了用户观看多媒体内容和深入互动的积极性。
另外,目标虚拟礼物包括第一对象和第二对象,第一对象沿目标路径开始运动,若第一对象沿目标路径运动,且击中了第二对象,则在击中第二对象的位置播放第二对象对应的特效;若第一对象沿目标路径运动,但未击中第二对象,则播放另一特效;通过具有趣味性的互动方式,使得用户能够深度参与到互动中,有利于提高用户再次使用特效的积极性。
其中,多媒体内容可以包括视频节目、视频表演、实时录制的内容、预先录制好的内容等等,本公开对此不作限制。
多媒体内容中的对象,例如,在多媒体内容为舞蹈表演时,对象可以包括一个或多个舞蹈表演者;在多媒体内容为相声表演时,对象可以包括一个相声表演者或者多个相声表演者;在多媒体内容为电视剧或者电影时,多媒体内容中的对象可以包括一个演员。
其中,本公开的交互方法由电子设备来执行。电子设备可以是平板电脑、手机(如折叠屏手机、大屏手机等)、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)、智能电视、智慧屏、高清电视、4K电视、智能音箱、智能投影仪等物联网(the internet of things,IOT)设备,本公开对电子设备的具体类型不作任何限制。
其中,本公开对电子设备的操作系统的类型不做限定。例如,Android系统、Linux系统、Windows系统、iOS系统等。
基于前述描述,本公开实施例以电子设备为例,结合附图和应用场景,对本公开提供的交互方法进行详细阐述。
结合图1A-图1L,介绍本公开的交互方法的实现过程。为便于说明,以电子设备为手 机,手机中安装有短视频社交APP1(简称为:应用1),应用1中播放实时录制的歌唱表演,其中,实时录制的歌唱表演即为多媒体内容。
其中,图1A-图1L为本公开实施例提供的人机交互界面示意图。
在应用1接收到用于进入到多媒体内容的触发操作,应用1可在手机上示例性地显示图1A中所示的用户界面11,其中,用户界面11用于展示多媒体内容。
其中,用户界面11包括:多媒体内容的播放区域11a和用于进入虚拟礼物展示页面的入口标签11b。本公开对于播放区域11a和入口标签11b的区域形状、区域位置、区域大小以及区域之间是否重叠等参数不作限定。例如,播放区域11a可以包括整个手机屏幕,入口标签11b可以位于播放区域11a内部,且悬浮于播放区域11a的上层。
播放区域11a,用于显示多媒体内容的播放画面,使用户能够观看多媒体内容。另外,播放区域11a,还可以用于展示与当前播放的多媒体内容相关联的账号的关注按钮、当前播放的多媒体内容的观看数量、当前播放的多媒体内容的标题等等内容。此外,播放区域11a,还可以用于展示与当前播放的多媒体内容相关的控件;例如,用于关闭当前播放的多媒体内容的按钮、用于分享当前播放的多媒体内容的按钮、用于将当前播放的多媒体内容进行投屏的按钮等等。
其中,上述与当前播放的多媒体内容相关的控件可以设置于播放区域11a的顶部区域,或者,也可以设置在播放区域11a的底部区域,若控件数量较多,也可以一部分控件设置在播放区域11a的顶部区域,一部分设置在播放区域11a的底部区域,可根据需求灵活设置这些控件的位置,且本公开对于控件的显示样式、大小等参数不作限定。
请继续参照图1A所示,用户界面11中还可以包括:评论区域11c,评论区域11c用于显示针对当前播放的多媒体内容的评论信息。例如图1A中示出了评论区域11c包括用户bbb1至用户bbb4分别发表的评论信息。评论区域11c还可以包括用于发表评论信息的输入框,本公开对于输入框的显示参数不作限定。
其中,本公开对于评论区域11c显示评论信息的方式不作限定。例如,可以按照评论信息的发表时间先后顺序,在评论区域11c中滚动显示预设数量条评论信息;其中,最新发表的评论信息可以显示在评论区域11c的最下方,时间最早的评论信息可以显示在评论区域11c的最上方,当有新的评论信息时,可以使评论区域11c的最上方的评论信息消失,并将最新的评论信息显示在评论区域11c的最下方。
本公开对于用户界面11是否显示评论区域11c不作限定。一些情况下,用户界面11中还可以包括用于控制评论区域显示或者关闭的按钮,基于对该按钮的触发操作(如点击操作),从而实现控制用户界面中是否显示评论区域。需要说明的是,用户界面11中并未示出用于控制评论区域显示或者关闭的按钮。
一些情况下,当用户界面11显示评论区域11c时,评论区域11c与播放区域11a之间可以重叠,且评论区域11c可以悬浮设置于播放区域11a的上层。
此外,本公开对入口标签11b与评论区域11c之间的位置关系不作限定。例如,参照图1A所示的用户界面11中,入口标签11b位于评论区域11c的内部,且入口标签11b位于评论区域11c上层显示。实际应用中,入口标签11b也可以与评论区域11c不发生任何重叠,例如,入口标签11b也可以设置播放区域11a的侧边,且尽量不遮挡多媒体内容的播放画面。
在图1A所示用户界面的基础上,在应用1接收到对入口标签11b的触发操作(例如点击操作),应用1可手机上示例性地显示如图1B所示的用户界面12,其中,用户界面12包括:虚拟礼物展示界面12a。
虚拟礼物展示界面12a,用于展示虚拟礼物,使得能够查看应用1提供的虚拟礼物的信息。虚拟礼物展示界面12a可以包括用于展示每个虚拟礼物的区域12b,其中,区域12b可以显示虚拟礼物的相关信息,例如,虚拟礼物的封面、虚拟礼物的名称、虚拟礼物的价值、虚拟礼物是否为新推出的礼物等信息中的一项或多项。
本公开对于每个虚拟礼物对应的区域12b在虚拟礼物展示界面12a中的显示方式不作限定。且对于虚拟礼物对应的区域12b的区域大小、区域形状等参数不作限定。
示例性地,多个虚拟礼物对应的区域12b可以按照由左至右、由上至下的顺序依次显示,且每个区域12b的大小相同,例如,图1B中所示,虚拟礼物展示界面12a中每行展示4个虚拟礼物,包括两行,用户可以通过左右滑动,查看更多的虚拟礼物。
此外,区域12b中还可以显示与虚拟礼物相关的控件,例如,赠送控件。一些实施例中,与虚拟礼物相关的控件默认状态为隐藏显示,基于用户的触发操作(如点击区域12b中的任意位置),可以显示与虚拟礼物相关的一个或多个控件,例如,在图1B所示的用户界面12中,即采用默认状态隐藏显示与虚拟礼物相关的控件的方式;另一些实施例中,与虚拟礼物相关的控件默认状态为显示状态。
响应于对区域12b的任意位置的触发操作(如点击操作),应用1可以在手机上示例性地显示如图1C所示的用户界面13。参照图1C所示,用户界面13中,区域12b中可以显示用于将虚拟礼物赠送给多媒体内容中的对象的赠送控件12c。
本公开对于与用户选中的目标虚拟礼物的显示方式不作限定。例如,参照图1C所示,用户选中的目标虚拟礼物可以突出显示,目标虚拟礼物对应的区域12b可以比其他未选中的虚拟礼物的区域尺寸稍大一些。当然,用户选中的目标虚拟礼物也可以不突出显示,即,所有的虚拟礼物被选中和未被选中时,采用相同的显示方式。
若用户未解锁针对目标虚拟礼物权限时,当应用1接收到对赠送控件12c的触发操作,应用1可以在手机上显示解锁权限界面。用户则可以通过操作解锁权限界面中的相关控件,解锁对于相应目标虚拟礼物的使用权限。若用户已解锁针对目标虚拟礼物的权限之后,应用1可在手机上显示所触发的目标虚拟礼物包括的所有对象以及用于控制目标虚拟礼物移动路径的控制组件。
若解锁虚拟礼物权限是通过购买的方式,则解锁权限界面即为购买界面;若解锁虚拟礼物权限是通过完成互动任务的方式,则解锁权限界面即为互动任务界面。需要说明的是,本公开实施例中用户解锁对虚拟礼物权限的实现方式不作限定,可采用任意的方式实现,因此,本实施例对此不详细赘述。
图1D-图1L示例性地示出了所触发的目标虚拟礼物包括的所有对象以及用于控制目标虚拟礼物包括的对象移动路径的控制组件的实现方式。
假设,用户想要赠送给多媒体内容中的对象的目标虚拟礼物为图1C中虚拟礼物展示界面12a中第一行第一列的虚拟礼物,该目标虚拟礼物为“射箭”,且用户已解锁针对目标虚拟礼物的权限。应用1接收到针对“射箭”对应的区域12b中的赠送控件12c的触发操作(如点击操作),应用1在手机上示例性地显示图1D所示的用户界面14。
请参照图1D所示,用户界面14包括:目标虚拟礼物包括的第一对象14a和第二对象14b,以及用于控制虚拟礼物的第一对象14a的移动路径的控制组件14c。其中,第一对象14a可以为“射箭”这一虚拟礼物包括的弓箭,且第一对象14a用于沿控制组件14c所指示的路径w1运动;第二对象14b即为第一对象14a沿控制组件14c指示的路径运动时,要射击的目标物。
第一对象14a可以设置在靠近手机屏幕底部的区域,第二对象14b可以设置在靠近手机屏幕顶部的区域,这样设置的目的是为了在用户向多媒体内容中的对象赠送虚拟礼物时,减小控制组件以及虚拟礼物包括的对象对多媒体内容的播放画面的遮挡,从而减小赠送虚拟礼物对用户观看多媒体内容的影响。
对于第一对象14a:
本公开对于第一对象14a显示亮度、尺寸、颜色、饱和度、动画效果等显示参数不作限定。例如,第一对象14a为弓箭时,“弓”可以采用金色,“箭”的箭身部分也可以采用与“弓”相同的金色,“箭”的箭头部分则可以采用红色爱心形状。当然,第一对象也可以采用其他样式,例如,第一对象14a为弓箭时,可以由一些预先设定的物体替代传统的“箭”的部分或者全部,以增加趣味性,例如预先设定的物体为“飞机”,本公开对此不作限定。
此外,应用1还可以支持设置第一对象14a的样式,本公开对于设置第一对象14a的样式的实现方式不作限制。
一种可能的实现方式,应用1在显示所触发的目标虚拟礼物包括的所有对象以及控制组件的用户界面中,可以包括用于进入样式展示界面的样式入口标签(样式入口标签例如图1D中所示的入口标签14d),通过入口标签14d可以进入样式展示界面15a,样式展示界面15a中可以显示多种不同的样式,以供用户选择喜爱的样式。
例如,应用1接收到针对图1D中所示的入口标签14d的触发操作(如点击操作),应用1响应该触发操作,应用1可以示例性地在手机上显示如图1E所示的用户界面15,其中,用户界面15包括第一对象14a对应的样式展示界面15a,样式展示界面15a可以展示多种不同的样式,用户可以通过点击想要样式的区域进行设置。
本公开对于样式展示界面15a中各种样式的展示方式不作限定,例如,可以按照目标虚拟礼物包括的各个对象分类,针对每个对象设置相应的样式入口标签,基于对一对象的样式入口标签,展示该对象对应的样式;或者,每个样式可以包括整个目标虚拟礼物所包括的所有对象分别对应的样式,用户可以直接进行选择。
请继续参照图1E示例性所示的样式展示界面,样式展示界面15a中,显示了4种样式,样式1至样式4均为弓箭的箭头部分为样式,应用1接收到针对该样式3的触发操作(如点击操作),则应用1在手机上示例性地显示如图1F所示的用户界面,图1F所示的用户界面16中,第一对象14b包括的弓箭的箭头部分为选中的样式3飞机形状。
此外,设置目标虚拟礼物的样式的过程中,应用1支持预览效果。结合上述图1E至图1F所示的实施例,假设用户先选择了样式3,但用户预览发现并不喜欢该样式,可以重新选择其他样式,并预览效果,也可以退出目标虚拟礼物样式设置,即退出样式展示界面15a,则以原先的样式为准进行执行后续操作。
其中,本公开对退出样式展示界面15a的实现方式不作限定,例如,样式展示界面15a中可以包括关闭按钮,用户通过操作关闭按钮,即可退出样式展示界面15a;又如,用户可以通过点击样式展示界面15a之外的任意位置,退出样式展示界面15a。
对于第二对象14b:
第二对象14b,为第一对象14a要射击的目标物。本公开对于第二对象14b是否具有动画效果、第二对象14b的数量、运动状态、显示参数、第二对象14b对应特效动画的具体类型等等参数不作限定。
其中,第二对象14b可以为动态样式,也可以为静态样式。例如,第二对象14b为动态样式时,图1D中所示的用户界面14中处于最左侧的第二对象中的爱心、处于中间位置的第二对象中的音乐符、以及处于最右侧的第二对象的星星均可以不断闪烁。当然,第二对象14b为动态样式时,可以采用任意的动态效果,并不限于此处描述的情况。
需要说明的是,这里的“静态样式”表示不具有动态效果;“动态样式”表示具有动态 效果。
此外,第二对象14b采用动态样式还是静态样式,可以与第二对象14b是否处于第一对象14a的射击范围内相关;例如,若第二对象14b处于第一对象14a的射击范围内,则第二对象14b采用动态样式;若第二对象14b处于第一对象14a的射击范围之外,则第二对象14b采用静态样式。
结合图1D所示实施例,若用户界面14中,中间位置的第二对象14b处于射击范围内,则中间位置的第二对象14b采用动态样式,如音乐符可以不断闪烁,相应地,处于最左侧的第二对象14b和处于最右侧的第二对象14b采用静态样式,即爱心和星星均不闪烁。
其中,第二对象14b的数量可以为多个,也可以为1个,本公开对于第二对象14b的数量不作限定。例如,图1D中示出了第二对象14b的数量为3个的情况,实际场景中,第二对象14b的数量也可以设置更多或者更少,例如,第二对象14b的数量可以为2个、4个等等。
此外,第二对象14b的位置可以是不断变化的,也可以是静止的。
例如,第二对象14b的位置可以按照由左向右的方向移动,以使第一对象射击处于移动状态中的目标物,增加射击难度系数,满足一些用户对于射击难度的需求。当然,第二对象14b的位置并不限于按照由左向右的方向移动,也可以按照由右向左的方向移动等等,本公开对于第二对象14b的运动方式不作限定。此外,可以通过控制第二对象14b的移动速度,来控制射击难度,第二对象14b的移动速度越快,射击难度越高,第二对象14b的移动速度越慢,射击难度越低,若用户在射击难度较高时,能够击中目标物,可以使用户获得较高的成就感,进一步提升用户使用礼物特效的积极性。又如,第二对象14b的位置可以是处于静止的,从而降低射击难度。通过设置第二对象14b的位置为运动状态或者静止状态,可以满足不同用户对于虚拟礼物的射击难度的需求。
此外,若第一对象14a沿控制组件14c所指示的路径运动,能够被第一对象14a击中的第二对象14b和不能被第一对象14a击中的第二对象14b的显示参数不同。
若第一对象14a沿控制组件14c所指示的路径运动,第二对象14b能够被第一对象14a击中,则说明该第二对象14b处于第一对象14a的射击范围内,则可以通过设置该第二对象14b的显示参数,以提示用户按照当前的路径运动能够击中目标物。若第一对象14a沿控制组件14c所指示的路径运动,第二对象14b无法被第一对象14a击中,则说明该第二对象14b不处于第一对象14a的射击范围内,则可以通过设置该第二对象14b的显示参数,以提示用户可以通过操作控制组件14c调整第一对象14a的路径。
其中,显示参数可以包括亮度。例如,图1D中所示,中间位置的第二对象14b处于第一对象14a的射击范围,则中间位置的第二对象14b亮度可以为第一亮度值;左右两侧 的两个第二对象14b不处于第一对象14a的射击范围,则左右两侧的这两个第二对象14b亮度为第二亮度值,其中,第一亮度值大于第二亮度值。
显示参数还可以包括尺寸。例如,参照图1G所示,中间位置的第二对象14b处于第一对象14a的射击范围,则中间位置的第二对象14b设置为第一尺寸;左右两侧的两个第二对象14b不处于第一对象14a的射击范围,则左右两侧的这两个第二对象14b设置为第二尺寸,其中,第一尺寸大于第二尺寸,例如,第一尺寸为3cm*3cm,第二尺寸为2cm*2cm。尺寸也可以通过像素表示。
在另一些实施例中,也可以将亮度和尺寸进行结合,例如,处于第一对象的射击范围内的第二对象具有更高的亮度和更大的尺寸,处于第一对象的射击范围之外的第二对象具有更低的亮度和更小的尺寸。
当然,显示参数也并不限于亮度和尺寸,还可以是其他参数,例如色调、饱和度等等,只要能够使用户区分哪些是处于第一对象的射击范围内的第二对象和处于第一对象的射击范围之外的第二对象即可。
若用户通过操作控制组件14c调整了第一对象14a的路径,即调整了第一对象14a的射击范围,仍然依据该原则,将处于射击范围内的第二对象14b的显示参数和处于射击范围之外的第二对象14b的显示参数设置为不同。
此外,每个第二对象14b对应一特效动画,若第一对象14a沿控制组件指示的路径运动,且击中了第二对象14b,则在击中第二对象14b的位置播放第二对象14b对应的特效动画。若虚拟礼物包括多个第二对象14b时,每个第二对象14b对应的特效动画可以不完全相同。
示例性地,如图1D中所示的用户界面14中,最左侧的第二对象14b对应的特效动画为爱心特效,中间位置的第二对象14b对应的特效动画为音乐符特效,最右侧的第二对象14b对应的特效动画为星星特效;若第一对象14a按照当前的路径w1运动,能够击中中间位置的第二对象,则第一对象14a击中中间位置的第二对象14b之后,在击中中间位置的第二对象14b的位置播放音乐符特效。若调整第一对象14a的路径之后,第一对象14a能够击中最右侧的第二特效14b,则在击中最右侧的第二对象14b的位置播放星星特效。
本公开,目标虚拟礼物通过提供多个第二对象14b,且每个第二对象14b对应的特效动画不同,使得用户能够根据自身的需求或者喜好进行选择,从而射击想要播放的特效动画对应的第二对象14b,满足用户的需求,提升用户体验。
接下来,继续介绍控制组件14c:
控制组件14c,主要用于控制第一对象14a的路径。应用1收到针对控制组件14c的触发操作(如滑动操作),应用1可通过分析触发操作的旋转角度,调整其所指示的路径w1 的方向。且应用1可以同时调整第一对象14a的朝向。
继续以前文中所述,目标虚拟礼物为“射箭”为例,若用户触发目标虚拟礼物之后,应用1在手机上显示的默认的路径w1的方向为正前方,即图1D中所示的虚线w1,应用1接收到针对控制组件14c的第一触发操作(如向左滑动操作)后,应用1在手机上示例性地显示图1H所示的用户界面,图1H所示的用户界面中的路径w2与图1D中所示的路径w1相比较,路径方向发生了变化,路径方向向右偏移,偏移角度为α。
又如,在图1D所示实施例的基础上,应用1接收到针对控制组件14c的第一触发操作(如向右滑动操作)后,应用1在手机上示例性地显示图1I所示的用户界面,图1I所示的用户界面中的路径w3与图1D中所示的路径w1相比较,路径方向发生了变化,路径方向向左偏移,偏移角度为β。
需要说明的是,在图1H和图1I所示实施例中,为了能够说明路径w1与路径w2、路径w1与路径w3之间的区别,因此,用白色虚线表示路径w1,在实际应用中,通过控制组件14c调整路径时,原先的路径,即路径w1可以不显示。
结合图1H和图1I中所示的情况,当第一触发操作为向左滑动操作时,路径方向向右偏移;当第一触发操作为向右滑动操作时,路径方向向左发生偏移。即,滑动操作的方向和路径偏移的方向是相反的,这样设置更加符合用户的习惯。且滑动操作生成的滑动轨迹越长,且滑动轨迹指示的旋转角度越大,路径方向偏移角度越大;滑动操作生成的滑动轨迹越短,,且滑动轨迹指示的旋转角度越小,路径偏移角度越小。
此外,结合图1H和图1I所示的情况,应用1响应调整路径的第一触发操作时,应用1同步地调整第一对象14a的朝向。如图1H所示实施例,路径向右偏移α时,弓箭的朝向也向右偏移α;如图1I所示实施例,路径向左偏移β时,弓箭的朝向也向左偏移β。这样能够使得用户获得更加符合真实的射箭场景中的感受。
此外,控制组件14c还可以控制第一对象14a沿其指示的路径开始运动,即控制第一对象14a发射。应用1收到针对控制组件14c的第二触发操作(如拖拽操作),应用1控制第一对象14a的部分或者全部沿控制组件14c指示的路径开始运动。
继续结合前文中所述,假设,目标虚拟礼物为“射箭”为例,且第一对象14a按照图1H所示的路径w2开始运动;应用1接收到针对控制组件14c的第二触发操作(如拖拽操作),应用1响应于对控制组件14c的拖拽操作,应用1可在手机上示例性地显示图1J所示的用户界面20,其中,图1J所示的用户界面20中,弓箭包括的“箭”这一部分沿着图1H中所示的路径w2向前移动,弓箭包括的“弓”这一部分在“箭”发射出去之后可以消失。即,在第一对象14a射击的过程中,第一对象14a的一部分沿路径运动,用于射击目标物,而另一部分则消失不见,一方面,能够避免处于第一对象14a的发射起点的这部分 图像对多媒体内容的播放画面的遮挡,在展示目标虚拟礼物的同时,保证了用户观看多媒体内容的舒适性,另一方面,处于第一对象14a的发射起点的这部分图像消失不显示,相应位置还可以显示评论区域11c以及与多媒体内容相关的控件等等,使得用户能够及时获得与多媒体内容相关的评论信息。
当然,在实际场景中,若第一对象14a的一部分发射出去,另一部分也可以不用消失,在第一对象14a的发射起点的的位置进行显示即可,本公开对此不作限定。
需要说明的是,第一对象14a可以按照预先设定的速度沿控制组件所指示的路径移动,本公开对于预先设定的速度不作限定,例如,预先设定的速度可以是匀速,也可以是先快变慢的方式。
在图1J所示的用户界面20中,第一对象14a包括的“箭”由起点向前移动了一段距离,但并未击中第二对象14b,若第一对象14a包括的“箭”沿该路径继续向前运动,则可以击中用户界面20中最右侧的第二对象14b。
其中,应用1可以通过分析沿控制组件14c指示的路径移动的第一对象14a的区域与第二对象14b的区域之间是否发生重叠,确定第一对象14a是否击中第二对象14b;若确定第一对象14a击中第二对象14b,则在击中第二对象14b的位置播放被击中的第二对象对应的特效动画。如图1J所示的情况,应用1通过分析第一对象14a包括的“箭”的区域与最右侧的第二对象14b的区域之间发生重叠,则确定“箭”击中了最右侧的第二对象14b,则在击中该最右侧的第二对象14b的位置播放星星特效。
此外,控制组件14c中还可以显示第一引导信息,第一引导信息可以采用图像引导结合文字说明的方式实现。第一引导信息主要用于引导用户正确地操作控制组件,本公开对于第一引导信息的实现方式不作限定。
例如,参照图1D所示的用户界面14,包括:引导图像14e和文字提示区域14f。例如,引导图像14e可以为两端带有箭头的圆弧,以指示用户可以朝着箭头所指的任一方向滑动;文字提示区域14f中可以显示“左右滑动拖拽发射”的文字内容,使用户能够获得操作控制组件的文字说明信息。
第一引导信息的位置可以根据需求设定,图1D中所示的位置仅是示例。第一引导信息的位置可以设置在不影响第一对象14a的位置,减小调整过程中,第一对象14a的朝向发生变化时,第一引导信息与第一对象14a之间发生遮挡。
且用户进行左右滑动调整路径时,以及控制第一对象发射时,第一引导信息可以消失,或者,也可以显示在用户界面中,本公开对此不作限定。
此外,参照图1D所示的用户界面14,控制组件14c还可以包括:计时器14g,其中,计时器14g用于进行计时,计时的结果用于控制第一对象沿控制组件14c指示的路径开始运动。计时器14g可以“秒”为时间单位进行计时。
本公开对于计时器14g的显示样式、显示位置、尺寸等参数不作限制。示例性地,计时器14g可以采用线条较为简洁的圆形样式、方形样式、椭圆样式、或者复杂的计时器样式等等,其中,图1D中则示例性地示出了计时器14g采用较为简洁的圆形样式。示例性地,计时器14g可以显示在目标虚拟礼物包括的第一对象14a的下方,或者,计时器14g可以显示在目标虚拟礼物包括的第一对象14a的左侧或者右侧等等位置。
例如,若计时器14g的数值等于预设值(例如5秒),则控制第一对象14a沿控制组件14c指示的路径开始运动。
其中,计时器14g可以从应用1显示控制组件14c以及所触发的目标虚拟礼物包括的所有对象的时刻,开始进行计时。计时方式可以采用倒计时的方式,也可以采用顺序计时的方式。
此外,若在计时器14g进行计时期间,应用1接收到针对控制组件14c的触发操作(如向左滑动操作或者向右滑动操作),计时器14g置为初始值(例如5),并在控制组件14c调整路径结束时开始重新倒计时;若重新倒计时的过程中,应用1没有接收到对控制组件14c的触发操作(如拖拽操作),则在计时器14g重新倒计时结束时控制第一对象沿控制组件14c指示的路径运动;若重新倒计时,但倒计时还未结束时,应用1接收到对控制组件14c的触发操作(如拖拽操作),则应用1响应触发操作,控制第一对象沿控制组件14c指示的路径运动。
在一些情况下,第一对象14a沿控制组件14c最终指示的路径运动,但无法击中任何目标物(即第二对象),例如图1K示例性示出了第一对象14a沿控制组件14c最终指示的路径运动的情形。请参照图1K所示的用户界面21,控制组件14c最终指示的路径如线条s1所示(以下称为路径s1),路径s1向右偏移角度较大,上方3个第二对象14b均不处于第一对象14a射击范围内,也就是说,第一对象14a沿图1K所示的路径s1运动无法击中任何一个第二对象14b,这样的情况下,则根据播放预先设定的另一动画特效。
一种可能的实现方式,第一对象14a未击中任何一个第二对象14b时,要播放的预先设定的特效动画与偏离最近的第二对象14b的偏移程度无关,即,无论偏移多少角度,只要第一对象14a未击中任一第二对象14b,则播放该预先设定的特效动画。
例如,可以预先设定一个特效动画A,只要第一对象14a未击中第二对象14b,则播放该特效动画A。又如,可以预先设定多个特效动画,例如,动画特效A、B、C三个特效动 画,可以按照预设设定的顺序(如由A至C的顺序),当用户第一次赠送该目标虚拟礼物未击中第二对象14b时,播放特效动画A,第二次赠送该目标虚拟礼物未击中第二对象14b时,播放特效动画B,第三次赠送该目标虚拟礼物未击中第二对象14b时,播放特效动画C;或者,也可以采用随机的方式从多个特效动画中选择一个播放。
另一种可能的实现方式,第一对象14a未击中任何一个第二对象14b时,可以通过分析第一对象14a在射击时偏离最近的第二对象14b的偏移程度,根据偏移程度的不同,播放不同的特效动画。
例如,预先设定以下三种对应关系:偏离最近的第二对象14b的角度在30度以内,则播放特效动画A;偏离最近的第二对象14b的角度在30度到60度范围内,播放特效动画B;偏离最近的第二对象14b的角度在60度到90度范围内,播放特效动画C。
实际应用场景中,可以预先设定更多或者更少的偏移程度与特效动画之间的对应关系,并不限于上述示例中所描述的3种对应关系。
此外,应用1可通过分析在第一对象14a无法击中第二对象14b时的路径与距离最近的第二对象14b之间的偏移程度,播放不同的特效动画。例如,请参照图1K所示的用户界面21,路径s1为第一对象14a的移动路径,沿路径s1无法击中任何一个第二对象14b,第一对象14a在射击时偏离最近的第二对象14b为用户界面中最右侧的第二对象14b;若第一对象14a想要击中该最右侧的第二对象14b,则第一对象14a需要按照用户界面21中显示的路径s2运动。可通过分析路径s1与s2之间的夹角,确定偏移程度,结合图1K中所示,假设路径s1与s2之间的夹角为25度,再查询上述对应关系,可知,则确定要播放的特效动画为特效动画A。
结合上述示例,假设路径s1与s2之间的夹角为25度时,且特效动画A可以为“难过”的表情特效动画,则应用1可在预设位置播放“难过”的表情特效动画。
基于图1K所示实施例,第一对象14a未击中第二对象14b时,可以在预设位置播放相应的特效动画。本公开对于预设位置不作限定。例如,预设位置可以为控制组件所指示的路径的终点位置、靠近屏幕上方的位置、靠近屏幕侧边的位置等等,尽可能减少在预设位置播放特效动画时,对多媒体内容的播放画面遮挡。
在上述描述的基础上,若用户首次使用目标虚拟礼物,则可以在用户触发目标虚拟礼物之后,应用1在手机上示例性地显示如图1L所示的用户界面22,参照图1L所示,用户界面22包括:所触发的目标虚拟礼物包括的所有对象和控制组件之外,还可以包括第二引导信息。其中,第二引导信息可以结合图像和文字信息实现,第二引导信息示例性地包括用户界面22中引导图像22a和文字提示区域22b。
参照图1L所示,用户界面22包括:引导图像22a和文字提示区域22b。其中,文字提示区域22b中可以显示如图1L所示的“左右调整拖拽发射”的提示字样,这与第一引导信息类似;引导图像22a可以具有动画效果,引导图像22a可以包括:手势22a1和轨迹图像22a2,轨迹图像22a2可以为两端带有箭头的圆弧,手势22a1可以沿圆弧左右来回移动,用户可以基于文字提示区域22b中显示的文字内容以及引导图像22a的动画效果的提示,执行正确的操作。当用户执行一次正确的操作之后,第二引导信息可以消失,之后,用户再正式操作目标虚拟礼物。
当用户基于第二引导信息执行一次正确操作之前,引导手势的动画效果可以重复展示。
本公开对于第二引导信息的显示方式、显示位置、显示样式等参数不作限定。例如,文字提示区域22b可以位于引导图像22a的下方,引导图像22a可以位于第一对象14a的下方;或者,第二引导信息包括的文字提示区域22b可以位于引导图像22a的左侧或者右侧的位置,引导图像22a位于第一对象14a的下方。
需要说明的是,当送礼观众端控制第一对象14a沿控制组件14c最终指示的路径开始运动,服务端可以同步地更新与多媒体内容相关联的所有客户端的用户界面。结合上述图1A至图1L所示的用户界面,其中,图1J以及图1K所示的用户界面,可以是送礼观众端的用户界面,也可以是直播端和非送礼观众端的用户界面;除图1J以及图1K之外的其他用户界面为送礼观众端的用户界面。
需要说明的是,上述图1A至图1L所示的用户界面,仅是对本公开提供的交互方法的示例说明,并不是对本公开提供的交互方法的限制。
基于图1A至图1L所示的描述,结合图2,对本公开提供的交互方法的具体实现过程进行详细介绍。图2为本公开提供的交互方法的流程示意图。参照图2所示,本实施例提供的方法包括:
S201、在播放多媒体内容的过程中,响应于对虚拟礼物展示界面中目标虚拟礼物的触发操作,显示控制组件以及目标虚拟礼物包括的第一对象和第二对象。
电子设备上安装有应用程序,并且在启动应用程序后,可以播放应用程序中的多媒体内容。本公开对于应用程序的具体类型以及多媒体内容的具体类型和内容均不作限定。
电子设备在播放应用程序中的多媒体内容的过程中,可以接收用户输入的对虚拟礼物展示界面中目标虚拟礼物的触发操作(如点击操作),响应于该触发操作,应用程序在电子设备上显示所触发的目标虚拟礼物包括的第一对象和第二对象、以及控制第一对象的移动路径的控制组件。例如图1A-图1L所示的用户界面中目标虚拟礼物包括的第一对象14a、第二对象14b以及控制组件14c。
关于第一对象14a、第二对象14b以及控制组件14c的详细介绍,可参照前述实施例的描述,此处不再赘述。本公开对于第一对象、第二对象以及控制组件的显示尺寸、样式、数量、位置、动画效果等显示参数不作限定。
S202、根据控制组件的状态,确定第一对象对应的目标路径。
基于对目标虚拟礼物的触发操作,所显示的控制组件对应一默认状态,其可以指示一默认路径,例如,图1D所示路径w1的方向为正前方,在此基础上,用户可以向电子设备输入针对控制组件的第一触发操作(例如前述实施例中描述的向左滑动操作或者向右滑动操作),应用程序响应第一触发操作调整控制组件的状态,即调整控制组件所指示的路径,调整后控制组件所指示的路径即为目标路径,例如图1H所示的路径w2、图1I所示的路径w3,为目标路径;或者,用户也可以不操作控制组件,则以控制组件所指示的默认路径为目标路径,例如采用图1D所示的路径w1为目标路径。
需要说明的是,用户通过控制组件调整路径时,可通过连续的多个第一触发操作进行调整,本公开对于第一触发操作的数量不作限定。
且处于第一对象的射击范围内的第二对象的显示参数与处于第一对象的射击范围之外的第二对象的显示参数可以不同。其中。显示参数可以包括:亮度、尺寸、色调、饱和度、动画效果中的一个或者多个。实现方式可参照前文所示实施例中关于第二对象的相关描述,简明起见,此处不再赘述。
S203、控制第一对象沿目标路径运动。
一种可能的实现方式,可通过对控制组件的第二触发操作(如拖拽操作)控制第一对象沿目标路径开始运动,具体实现方式可以参照前文中的描述,此处不再赘述。
另一种可能的实现方式,对控制组件无第二触发操作的情况下,可基于时间触发第一对象沿目标路径开始运动,具体实现方式可以参照前文中图1D所示实施例中关于计时器的描述,此处不再赘述。
若第一对象沿目标路径运动,且能够击中第二对象,则执行S204;若第一对象沿目标路径运动,但未击中第二对象,则执行S205。
S204、在击中第二对象的位置播放第二对象对应的第一特效。
S205、在预设位置播放第二特效。
其中,第一特效和第二特效为不同的特效,第一特效为第一对象成功击中第二对象的情况下所播放的特效动画,第二特效为第一对象未成功击中第二对象的情况下所播放的特效动画。
第一对象击中第二对象时,可以在击中第二对象的位置播放第二对象对应的第一特效。具体实现方式可以参照图1J所示实施例的描述,此处不再赘述。
第一对象未击中第二对象时,可以在预设位置播放第二特效,本公开对于预设位置不作限定,预设位置可以为用户界面中的任意位置。
在一些实施例中,第二特效可以为预先设定的特效动画,也可以是按照预先设定顺序或者按照随机选择的方式从预先设定的多个特效动画中确定的一个特效动画。
另一些实施例中,第二特效可以根据目标路径偏离最近的第二对象的偏移程度确定,具体实现方式可以参照图1K所示实施例的描述,此处不再赘述。
需要说明的是,控制组件指示第一对象的路径时,沿该路径运动,处于第一对象的射击范围内的第二对象的显示参数与处于第一对象的射击范围外的第二对象的显示参数不同,本公开对于显示参数不作限定。例如,处于第一对象的射击范围内的第二对象的亮度可以高于处于第一对象的射击范围外的第二对象的亮度;或者,处于第一对象的射击范围内的第二对象的尺寸大于处于第一对象的射击范围外的第二对象的尺寸;或者,同时可以结合亮度和尺寸,区分处于第一对象射击范围之内和射击范围之外的第二对象。
本公开通过将处于第一对象的射击范围之内的第二对象和处于第一对象的射击范围之外的第二对象的显示参数设置为不同,可以给操作目标虚拟礼物的用户以提示,按照当前的路径可以击中哪个第二对象,增加射击成功的概率,提高用户使用虚拟礼物的积极性。
此外,还需要说明的是,步骤S203至步骤S205,不仅是对操作目标虚拟礼物的用户,还可以针对与多媒体内容关联的用户,其中,与多媒体内容关联的用户可以包括:观看多媒体内容的其他用户以及提供多媒体内容的用户,假设多媒体内容为实时录制的歌唱表演时,提供多媒体内容的用户即为录制歌唱表演的用户。
本实施例提供的方法,在播放多媒体内容的过程,基于对虚拟礼物展示界面包括的目标虚拟礼物的触发操作,显示控制组件,通过操作控制组件可以控制目标虚拟礼物的移动路径,在满足用户通过虚拟礼物与多媒体内容中的对象进行互动的同时,实现了用户对虚拟礼物的移动路径、移动方向的个性化控制,使得用户能够以较为多样化的互动方式参与到多媒体内容中,提升了用户观看多媒体内容和深入互动的积极性。另外,目标虚拟礼物包括第一对象和第二对象,第一对象沿目标路径开始运动,若第一对象沿目标路径运动,且击中了第二对象,则在击中第二对象的位置播放第二对象对应的特效;若第一对象沿目标路径运动,但未击中第二对象,则播放另一特效;通过具有趣味性的互动方式,使得用户能够深度参与到互动中,有利于提高用户再次使用特效的积极性。
图3为本公开另一实施例提供的交互方法的流程图。参照图3所示,本实施例提供的交互方法在图2所示实施例的基础上,S203、控制第二对象沿目标路径运动之前,还可以包括:
S2031、响应于对虚拟礼物展示界面中样式入口标签的触发操作,显示样式展示界面,样式展示界面包括目标虚拟礼物对应的一种或者多种样式。
S2032、响应于对样式展示界面中目标样式的触发操作,将目标虚拟礼物的样式切换为目标样式。
本方案中,应用程序可以支持用户自定义目标虚拟礼物的样式。
一些实施例中,可以通过虚拟礼物展示界面中的样式入口标签进入样式展示界面,样式展示界面可以按照预设的方式展示各种不同的样式,再基于用户的选择,将目标虚拟礼物的样式切换为用户喜爱的样式。
其中,样式入口标签可以如图1D所示实施例中的入口标签14d所示,应用1响应用户对入口标签14d的触发操作(如点击操作),进入到样式展示界面,并选择目标样式的实现方式,可以参照图1D、图1E以及图1F所示实施例的详细描述,简明起见,此处不再赘述。
本实施例提供的方法,可以实现用户自定义目标虚拟礼物的样式,从而满足用户的个性化需求,有利于提升用于使用虚拟礼物的积极性。
示例性地,本公开还提供一种交互装置。
图4为本公开一实施例提供的交互装置的结构示意图。参照图4所示,本实施例提供的交互装置400包括:
显示模块401,用于播放多媒体内容。
接收模块402,用于接收对虚拟礼物展示界面中的目标虚拟礼物的触发操作。
处理模块403,还用于响应于对虚拟礼物展示界面中的目标虚拟礼物的触发操作,生成控制组件以及目标虚拟礼物包括的第一对象和第二对象。
显示模块401,还用于显示控制组件以及所述目标虚拟礼物包括的第一对象和第二对象,所述控制组件用于控制所述目标虚拟礼物的路径。
处理模块403,还用于根据所述控制组件的状态,确定所述第一对象对应的目标路径;以及控制所述第一对象沿目标路径开始运动。
显示模块401,还用于显示所述第一对象沿所述目标路径运动,且所述第一对象在运动过程中击中所述第二对象时,在击中所述第二对象的位置播放所述第二对象对应的第一特效。
在一些可能的设计中,处理模块403,具体用于根据控制组件指示的路径,确定目标路径。
在一些可能的设计中,接收模块402,还用于接收对控制组件的第一触发操作;处理 模块403,用于更新控制组件指示的路径;显示模块401,还用于显示更新后的路径。
在一些可能的设计中,接收模块402,还用于接收对控制组件的第二触发操作;处理模块403,用于控制第一对象沿目标路径运动;显示模块401,还用于显示第一对象沿目标路径运动。
在一些可能的设计中,处理模块403,还用于基于控制组件未接收到触发操作满足预设时长,则控制第一对象沿目标路径运动;显示模块401,还用于显示第一对象沿目标路径运动。
在一些可能的设计中,若第一对象沿所述目标路径运动过程中未击中所述第二对象,显示模块401,还用于在预设位置播放第二特效。
在一些可能的设计中,处理模块403,还用于获取目标路径与参考路径之间的偏移角度,其中,所述参考路径是根据所述第二对象和所述目标路径的起点之间的连线确定的;并根据所述偏移角度,获取所述偏移角度对应的第二特效。
相应地,显示模块401,具体用于显示偏移角度对应的第二特效。
在一些可能的设计中,控制所述第一对象沿所述目标路径运动之前,接收模块402,还用于接收对虚拟礼物展示界面中样式入口标签的触发操作;相应地,显示模块401,还用于显示样式展示界面,所述样式展示界面包括所述目标虚拟礼物对应的一种或者多种样式。
接收模块402,还用于接收对所述样式展示界面中目标样式的触发操作;相应地,处理模块403,还用于将目标虚拟礼物切换为所述目标样式;显示模块401,还用于显示所述目标样式。
在一些可能的设计中,所述处于所述第一对象可击中范围内的第二对象的显示参数和处于所述第一对象不可击中范围的第二对象的显示参数不同。
在一些可能的设计中,显示参数包括:亮度、尺寸、色调、饱和度、动画效果中的一个或者多个。
本实施例提供的交互装置,可以用于实现上述任一方法实施例的技术方案,其实现原理以及技术效果类似,可参照上述方法实施例的详细描述,简明起见,此处不再赘述。
图5为本公开一实施例提供的电子设备的结构示意图。参照图5所示,本实施例提供的电子设备500,包括:存储器501和处理器502。
其中,存储器501可以是独立的物理单元,与处理器502可以通过总线503连接。存储器501、处理器502也可以集成在一起,通过硬件实现等。
存储器501用于存储程序指令,处理器502调用该程序指令,执行以上任一方法实施例的技术方案。
可选地,当上述实施例的方法中的部分或全部通过软件实现时,上述电子设备500也可以只包括处理器502。用于存储程序的存储器501位于电子设备500之外,处理器502通过电路/电线与存储器连接,用于读取并执行存储器中存储的程序。
处理器502可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合。
处理器502还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。
存储器501可以包括易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM);存储器也可以包括非易失性存储器(non-volatile memory),例如快闪存储器(flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD);存储器还可以包括上述种类的存储器的组合。
示例性地,本公开提供一种芯片系统,芯片系统应用于包括存储器和传感器的电子设备;芯片系统包括:处理器;当处理器执行前文实施例的交互方法。
示例性地,本公开提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器使得电子设备执行时实现前文实施例的交互方法。
示例性地,本公开提供一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行前文实施例的交互方法。
在上述实施例中,全部或部分功能可以通过软件、硬件、或者软件加硬件的组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本公开实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包 括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (13)

  1. 一种交互方法,包括:
    在播放多媒体内容的过程中,响应于对虚拟礼物展示界面中的目标虚拟礼物的触发操作,显示控制组件以及所述目标虚拟礼物包括的第一对象和第二对象,所述控制组件用于控制所述目标虚拟礼物的路径;
    根据所述控制组件的状态,确定所述第一对象对应的目标路径;
    控制所述第一对象沿所述目标路径运动,且所述第一对象在运动过程中击中所述第二对象,则在击中所述第二对象的位置播放所述第二对象对应的第一特效。
  2. 根据权利要求1所述的方法,其中,所述根据所述控制组件的状态,确定所述第一对象的目标路径,包括:
    根据所述控制组件指示的路径,确定所述目标路径。
  3. 根据权利要求2所述的方法,其中,所述根据所述控制组件指示的路径,确定所述目标路径之前,所述方法还包括:
    响应于对所述控制组件的第一触发操作,更新所述控制组件指示的路径。
  4. 根据权利要求1至3任一项所述的方法,其中,所述控制所述第一对象沿所述目标路径运动,包括:
    响应于对所述控制组件的第二触发操作,则控制所述第一对象沿所述目标路径运动;或者,
    基于所述控制组件未接收到触发操作满足预设时长,则控制所述第一对象沿所述目标路径运动。
  5. 根据权利要求1所述的方法,其中,所述方法还包括:
    若所述第一对象沿所述目标路径运动过程中未击中所述第二对象,则在预设位置播放第二特效。
  6. 根据权利要求5所述的方法,其中,所述在预设位置播放第二特效,包括:
    获取所述目标路径与参考路径之间的偏移角度,其中,所述参考路径是根据所述第二对象和所述目标路径的起点之间的连线确定的;
    根据所述偏移角度,获取所述偏移角度对应的第二特效,并在所述预设位置播放所述第二特效。
  7. 根据权利要求1至3任一项所述的方法,其中,所述控制所述第一对象沿所述目标路径运动之前,所述方法还包括:
    响应于对所述虚拟礼物展示界面中样式入口标签的触发操作,显示样式展示界面,所述样式展示界面包括所述目标虚拟礼物对应的一种或者多种样式;
    响应于对所述样式展示界面中目标样式的触发操作,将所述目标虚拟礼物的样式切换 为所述目标样式。
  8. 根据权利要求1至3任一项所述的方法,其中,处于所述第一对象可击中范围内的第二对象的显示参数和处于所述第一对象不可击中范围的第二对象的显示参数不同。
  9. 根据权利要求8所述的方法,其中,所述显示参数包括:亮度、尺寸、色调、饱和度、动画效果中的一个或者多个。
  10. 一种交互装置,其中,包括:
    显示模块,用于播放多媒体内容;
    接收模块,用于接收对虚拟礼物展示界面中的目标虚拟礼物的触发操作;
    处理模块,还用于响应于对虚拟礼物展示界面中的目标虚拟礼物的触发操作,生成控制组件以及目标虚拟礼物包括的第一对象和第二对象;
    所述显示模块,还用于显示控制组件以及所述目标虚拟礼物包括的第一对象和第二对象,所述控制组件用于控制所述目标虚拟礼物的路径;
    所述处理模块,还用于根据所述控制组件的状态,确定所述第一对象对应的目标路径;以及控制所述第一对象沿目标路径开始运动;
    显示模块,还用于显示所述第一对象沿所述目标路径运动,且所述第一对象在运动过程中击中所述第二对象时,在击中所述第二对象的位置播放所述第二对象对应的第一特效。
  11. 一种电子设备,其中,包括:存储器、处理器以及计算机程序指令;
    所述存储器被配置为存储所述计算机程序指令;
    所述处理器被配置为执行所述计算机程序指令,以实现如权利要求1至9任一项所述的交互方法。
  12. 一种可读存储介质,其中,包括:计算机程序指令;
    所述计算机程序指令被电子设备的至少也一个处理器执行,以实现如权利要求1至9任一项所述的交互方法。
  13. 一种程序产品,其中,包括:计算机程序指令;所述计算机程序指令存储于可读存储介质中,电子设备的至少一个处理器从所述可读存储介质中读取所述计算机程序指令;
    所述至少一个处理器执行所述计算机程序指令,使得所述电子设备实现如权利要求1至9任一项所述的交互方法。
PCT/CN2022/105606 2021-08-30 2022-07-14 交互方法、装置、电子设备、可读存储介质及程序产品 Ceased WO2023029768A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP22862909.3A EP4344209A4 (en) 2021-08-30 2022-07-14 INTERACTION METHOD AND DEVICE, ELECTRONIC DEVICE, READABLE STORAGE MEDIUM AND PROGRAM PRODUCT
JP2023579852A JP2024530394A (ja) 2021-08-30 2022-07-14 インタラクション方法、装置、電子機器、可読記憶媒体及びプログラム製品
US18/395,258 US12266041B2 (en) 2021-08-30 2023-12-22 Interaction method for displaying a control component based on a trigger operation in multimedia contents

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111006308.3A CN115733995A (zh) 2021-08-30 2021-08-30 交互方法、装置、电子设备、可读存储介质及程序产品
CN202111006308.3 2021-08-30

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/395,258 Continuation US12266041B2 (en) 2021-08-30 2023-12-22 Interaction method for displaying a control component based on a trigger operation in multimedia contents

Publications (1)

Publication Number Publication Date
WO2023029768A1 true WO2023029768A1 (zh) 2023-03-09

Family

ID=85290964

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/105606 Ceased WO2023029768A1 (zh) 2021-08-30 2022-07-14 交互方法、装置、电子设备、可读存储介质及程序产品

Country Status (5)

Country Link
US (1) US12266041B2 (zh)
EP (1) EP4344209A4 (zh)
JP (1) JP2024530394A (zh)
CN (1) CN115733995A (zh)
WO (1) WO2023029768A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116489442A (zh) * 2023-04-04 2023-07-25 北京优酷科技有限公司 一种直播互动方法、装置、电子设备及计算机存储介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN121255334A (zh) * 2021-11-30 2026-01-02 腾讯科技(深圳)有限公司 基于会话的信息展示方法、装置、设备、介质及程序产品
CN115396684B (zh) * 2022-08-23 2024-07-23 抖音视界有限公司 一种连麦展示方法、装置、电子设备、计算机可读介质
US12361620B2 (en) * 2023-03-22 2025-07-15 Zoom Communications, Inc. Visual asset display and controlled movement in a video communication session
CN118747053A (zh) * 2024-06-28 2024-10-08 北京字跳网络技术有限公司 一种虚拟场景中的交互方法、装置、设备和存储介质
CN118779050A (zh) * 2024-07-05 2024-10-15 北京字跳网络技术有限公司 信息展示方法、装置、电子设备、存储介质和程序产品
CN118860213B (zh) * 2024-09-23 2025-07-08 北京达佳互联信息技术有限公司 基于作品的互动方法、遮挡图像的设置方法、装置和终端

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493630A (zh) * 2019-09-11 2019-11-22 广州华多网络科技有限公司 虚拟礼物特效的处理方法和装置、直播系统
CN111225226A (zh) * 2019-12-31 2020-06-02 广州华多网络科技有限公司 赠送虚拟礼物的交互方法、电子设备和装置
CN111246307A (zh) * 2020-01-16 2020-06-05 腾讯科技(深圳)有限公司 一种虚拟礼物生成的方法、相关装置、设备及存储介质
JP6751193B1 (ja) * 2019-10-31 2020-09-02 グリー株式会社 動画処理方法、サーバ装置及びコンピュータプログラム
CN112619134A (zh) * 2020-12-22 2021-04-09 上海米哈游天命科技有限公司 发射目标飞行距离的确定方法、装置、设备及存储介质

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2002085477A1 (ja) * 2001-04-16 2004-08-05 株式会社バンプレスト 通信ネットワークを利用した景品獲得ゲームシステム
US20130085018A1 (en) * 2011-09-30 2013-04-04 My Line Golf, Inc. Systems and methods for displaying a golf green and a predicted path of a putt on the golf green
CN106502554B (zh) * 2015-09-08 2021-09-17 腾讯科技(深圳)有限公司 一种显示控制方法及装置
US20190196690A1 (en) * 2017-06-23 2019-06-27 Zyetric Virtual Reality Limited First-person role playing interactive augmented reality
US12515122B2 (en) * 2018-03-29 2026-01-06 King.Com Limited Controlling a display of a computer device
CN108769814B (zh) * 2018-06-01 2022-02-01 腾讯科技(深圳)有限公司 视频互动方法、装置、终端及可读存储介质
CN110585712A (zh) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 在虚拟环境中投掷虚拟爆炸物的方法、装置、终端及介质
US11682154B2 (en) * 2019-10-31 2023-06-20 Gree, Inc. Moving image processing method of a moving image viewed by a viewing user, a server device controlling the moving image, and a computer program thereof
CN111083505B (zh) * 2019-11-19 2021-12-28 广州方硅信息技术有限公司 直播间虚拟礼物交互方法、电子设备和装置
JP6788756B1 (ja) * 2020-01-27 2020-11-25 グリー株式会社 情報処理システム、情報処理方法およびコンピュータプログラム
CN111757135B (zh) * 2020-06-24 2022-08-23 北京字节跳动网络技术有限公司 直播互动方法、装置、可读介质及电子设备
CN111897483A (zh) * 2020-08-11 2020-11-06 网易(杭州)网络有限公司 直播交互处理方法、装置、设备及存储介质
CN112584188A (zh) * 2020-12-01 2021-03-30 北京达佳互联信息技术有限公司 数据处理方法、装置及介质
KR20230112723A (ko) * 2020-12-11 2023-07-27 스냅 인코포레이티드 전자 거래 활성화된 증강 현실 경험
CN113225581B (zh) * 2021-05-17 2022-09-30 腾讯科技(深圳)有限公司 直播互动方法、装置及电子设备
JP7461654B2 (ja) * 2021-06-28 2024-04-04 グリー株式会社 情報処理システム、情報処理方法、情報処理プログラム
CN113992922A (zh) * 2021-09-23 2022-01-28 北京达佳互联信息技术有限公司 游戏直播互动方法、装置、电子设备及存储介质
CN121255334A (zh) * 2021-11-30 2026-01-02 腾讯科技(深圳)有限公司 基于会话的信息展示方法、装置、设备、介质及程序产品

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493630A (zh) * 2019-09-11 2019-11-22 广州华多网络科技有限公司 虚拟礼物特效的处理方法和装置、直播系统
JP6751193B1 (ja) * 2019-10-31 2020-09-02 グリー株式会社 動画処理方法、サーバ装置及びコンピュータプログラム
CN111225226A (zh) * 2019-12-31 2020-06-02 广州华多网络科技有限公司 赠送虚拟礼物的交互方法、电子设备和装置
CN111246307A (zh) * 2020-01-16 2020-06-05 腾讯科技(深圳)有限公司 一种虚拟礼物生成的方法、相关装置、设备及存储介质
CN112619134A (zh) * 2020-12-22 2021-04-09 上海米哈游天命科技有限公司 发射目标飞行距离的确定方法、装置、设备及存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4344209A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116489442A (zh) * 2023-04-04 2023-07-25 北京优酷科技有限公司 一种直播互动方法、装置、电子设备及计算机存储介质
WO2024208139A1 (zh) * 2023-04-04 2024-10-10 北京优酷科技有限公司 一种直播互动方法、装置、电子设备及计算机存储介质

Also Published As

Publication number Publication date
JP2024530394A (ja) 2024-08-21
US12266041B2 (en) 2025-04-01
EP4344209A1 (en) 2024-03-27
US20240127518A1 (en) 2024-04-18
CN115733995A (zh) 2023-03-03
EP4344209A4 (en) 2024-10-02

Similar Documents

Publication Publication Date Title
CN115733995A (zh) 交互方法、装置、电子设备、可读存储介质及程序产品
JP7587063B2 (ja) アプリケーションのページ表示方法、装置及び機器
US9743145B2 (en) Second screen dilemma function
KR102204485B1 (ko) 오디오-비주얼 내비게이션 및 통신
WO2022022196A1 (zh) 弹幕发布及展示方法及电子设备
US20150110457A1 (en) Second Screen Shopping Function
WO2023030122A1 (zh) 信息回复方法、装置、电子设备、可读存储介质及程序产品
US11785178B2 (en) Method, system, and non-transitory computer readable record medium for providing communication using video call bot
US9578370B2 (en) Second screen locations function
JP7328459B2 (ja) アクションカードストランドを備えたゲームコンソールアプリケーション
WO2023061057A1 (zh) 直播内容展示方法、装置、电子设备及可读存储介质
CN114339076A (zh) 视频拍摄方法、装置、电子设备以及存储介质
JP2024520586A (ja) 動画処理方法、装置、機器及び記憶媒体
US20230073045A1 (en) Multimedia playback method, apparatus, terminal, and storage medium
EP4472213A1 (en) User control mode of a companion application
JP2025523518A (ja) ユーザインタラクションのための方法、装置、デバイス、及び記憶媒体
US20240231602A1 (en) Interaction method and apparatus, electronic device, and readable storage medium
Yongliang et al. Exploration of the interactive narrative modes and application form of AR animations
JP2021149683A (ja) 動画を再生するためのプログラム、システム、及び方法
WO2023165364A1 (zh) 基于虚拟现实的视频播放方法、装置及电子设备
CN121442135A (zh) 显示方法、装置、电子设备及计算机可读存储介质
WO2026045698A1 (zh) 一种内容互动方法、装置、计算机设备和程序产品
HK40077382B (zh) 多媒体播放方法、装置、终端及存储介质
CN120144035A (zh) 作品处理方法及装置、电子设备、存储介质及程序产品
Love Voice of the Patriots: An Interview with Canadian Video Game Performer David Hayter

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: 22862909

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022862909

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2023579852

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2022862909

Country of ref document: EP

Effective date: 20231222

NENP Non-entry into the national phase

Ref country code: DE