WO2023169183A1 - 直播间交互方法、装置、电子设备、介质及程序产品 - Google Patents

直播间交互方法、装置、电子设备、介质及程序产品 Download PDF

Info

Publication number
WO2023169183A1
WO2023169183A1 PCT/CN2023/076807 CN2023076807W WO2023169183A1 WO 2023169183 A1 WO2023169183 A1 WO 2023169183A1 CN 2023076807 W CN2023076807 W CN 2023076807W WO 2023169183 A1 WO2023169183 A1 WO 2023169183A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
target gift
information
live broadcast
gift
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/CN2023/076807
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 US18/846,232 priority Critical patent/US20250203127A1/en
Publication of WO2023169183A1 publication Critical patent/WO2023169183A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • 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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
    • 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04808Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen

Definitions

  • Embodiments of the present disclosure relate to the field of computer technology, and in particular, to a live broadcast room interaction method, a live broadcast room interaction device, and computer-readable storage media, electronic equipment, and computer program products that implement the live broadcast room interaction method.
  • embodiments of the present disclosure provide a live broadcast room interaction method, including:
  • the display information is sent to the server, so that the display information is sent to the second client through the server, so that the target gift is displayed on the live broadcast room page according to the display information on the second client. .
  • the input operation includes a touch operation; and in response to the input operation for the target gift, obtaining display information corresponding to the target gift includes:
  • the touch point movement information includes movement information of a single touch point
  • the step of obtaining the The display information corresponding to the target gift includes:
  • the information of the display path corresponding to the target gift is obtained, and the display information includes the information of the display path.
  • the touch point movement information includes movement information corresponding to multiple touch points respectively; based on the touch point movement information, Obtain the display information corresponding to the target gift, including:
  • the display information includes information on the display size and/or display angle.
  • the display information includes display size information
  • the display size and/or display angle information corresponding to the target gift is obtained based on the movement information corresponding to the multiple touch points.
  • the display size information corresponding to the target gift is determined.
  • the display information includes display angle information
  • the display size and/or display angle information corresponding to the target gift is obtained based on the movement trajectory information corresponding to the multiple touch points, include:
  • the information of the display angle corresponding to the target gift is obtained.
  • obtaining display information corresponding to the target gift includes:
  • the display information corresponding to the target display mode is obtained as the display information corresponding to the target gift.
  • the target display method includes: one or more of a display path, a display size, and a display angle.
  • the method further includes:
  • the target gift is controlled to end from being displayed on the live broadcast room page.
  • inventions of the present disclosure provide a live broadcast room interaction device, which is applied to the first client.
  • the live broadcast room interaction device includes:
  • a display module configured to display the target gift on the live broadcast room page in response to a triggering operation on the target gift on the gift panel;
  • a processing module configured to obtain display information corresponding to the target gift in response to an input operation for the target gift
  • a communication module configured to send the display information to a server, so that the display information is sent to a second client through the server, so that the second client can display the information on the live broadcast room page based on the display information.
  • the target gift is displayed.
  • embodiments of the present disclosure provide a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the first aspect and the live broadcast room interaction method described in any one of the first aspects are implemented. .
  • embodiments of the present disclosure provide an electronic device, including: a memory and a processor; the memory is configured to store computer program instructions; the processor is configured to execute the computer program instructions to implement The first aspect and the live broadcast room interaction method described in any one of the first aspect.
  • embodiments of the present disclosure provide a computer program product.
  • the computer program product When the computer program product is executed by an electronic device, the electronic device implements the live broadcast room interaction method as described in the first aspect or any one of the first aspects. .
  • Figure 1 is a schematic flowchart of a live broadcast room interaction method provided by some embodiments of the present disclosure
  • Figure 2 is a schematic flowchart of a live broadcast room interaction method provided by other embodiments of the present disclosure.
  • Figure 3a is a schematic diagram of determining the display path of a target gift based on the movement information of a single touch point provided by some embodiments of the present disclosure
  • Figure 3b is a schematic diagram of the display size and display angle of the target gift determined based on movement information of multiple touch points provided by some embodiments of the present disclosure
  • Figure 4 is a schematic flowchart of a live broadcast room interaction method provided by other embodiments of the present disclosure.
  • Figures 5a to 5f are human-computer interaction interface diagrams provided by some embodiments of the present disclosure.
  • Figure 6 is a schematic structural diagram of a live broadcast room interactive device provided by some embodiments of the present disclosure.
  • Figure 7 is a schematic structural diagram of an electronic device provided by some embodiments of the present disclosure.
  • At least one (item) refers to one or more, and “plurality” refers to two or more.
  • “And/or” is used to describe the relationship between associated objects, indicating that there can be three relationships. For example, “A and/or B” can mean: only A exists, only B exists, and A and B exist simultaneously. Where A and B can be singular or plural. The character “/” generally indicates that the related objects are in an "or” relationship. “At least one of the following” or similar expressions thereof refers to any combination of these items, including any combination of a single item (items) or a plurality of items (items).
  • At least one of a, b or c can mean: a, b, c, "a and b", “a and c", “b and c", or "a and b and c” ”, where a, b, c can be single or Multiple.
  • embodiments of the present disclosure provide a live broadcast room interaction method, a live broadcast room interaction device, and computer-readable storage media, electronic equipment, and computer program products that implement the live broadcast room interaction method.
  • Embodiments of the present disclosure provide live broadcast room interaction methods, devices, electronic devices, media and program products.
  • the method includes: in response to a trigger operation for a target gift on the gift panel, displaying the target gift on the live broadcast room page; in response to a target gift being triggered on the gift panel;
  • the input operation of the gift obtains the display information corresponding to the target gift;
  • the first client sends the display information to the server to send the display information to the second client through the server, so that the second client can display the live broadcast room page based on the display information. Display the target gift.
  • the user after the user gives the target gift in the live broadcast room, he can change the display mode of the target gift through input operations, so that the user who sent the target gift can participate in controlling the display mode of the target gift, and other users in the live broadcast room (such as anchors or other Users) can also simultaneously see that the target gift is displayed in the changed display method, which enriches the gift interaction method in the live broadcast room, helps to improve the interactivity between different users in the live broadcast room, and improves the user experience.
  • other users in the live broadcast room such as anchors or other Users
  • the live broadcast room interaction method provided by the present disclosure can be implemented by the live broadcast room interaction device provided by the present disclosure, and the live broadcast room interaction device can be implemented by any software and/or hardware.
  • the interactive device in the live broadcast room can be a tablet, a mobile phone (such as a folding screen mobile phone, a large screen mobile phone, etc.), a wearable device, a vehicle-mounted device, or augmented reality (AR)/virtual reality (virtual reality, etc.) VR) equipment, laptops, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), smart TVs, smart screens, high-definition TVs, 4K TVs and other Internet of Things (the internet of things (IoT) devices, this disclosure does not place any restrictions on the specific types of electronic devices.
  • IoT Internet of Things
  • This disclosure does not limit the type of operating system of the electronic device.
  • the types of operating systems of electronic devices include but are not limited to Android systems, Linux systems, Windows systems, iOS systems, etc.
  • the electronic device is a mobile phone
  • the client (hereinafter referred to as client 1) is installed on the mobile phone corresponding to user 1
  • the client 2 is installed on the mobile phone corresponding to user 2
  • the client 2 is installed on the mobile phone corresponding to user 3.
  • User 1 is a viewer in the live broadcast room.
  • User 1 can enter the live broadcast room through client 1 installed on the mobile phone, send gifts and change the display method of gifts.
  • User 2 is a publisher.
  • user 3 On the anchor side of the live broadcast, user 3 is another viewer in the live broadcast room.
  • Client 1 corresponding to user 1 can be understood as the first client
  • client 2 corresponding to user 2 and client 3 corresponding to user 3 can be understood as the second client.
  • Figure 1 is a schematic flowchart of a live broadcast room interaction method provided by some embodiments of the present disclosure. The method of this embodiment is applied to the first client. Please refer to Figure 1. The method provided by this embodiment includes steps S101 to S103.
  • step S101 in response to a triggering operation on the target gift on the gift panel, the target gift is displayed on the live broadcast room page.
  • the Gifts panel can be used to display collections of virtual gifts.
  • the virtual gifts displayed in the gift panel may include, but are not limited to, one or more of: video gifts, animated gifts, etc.
  • Animated gifts include, for example, Graphics Interchange Format (GIF, Graphics Interchange Format) animated gifts.
  • the trigger operation for the target gift on the gift panel may be, but is not limited to, a click operation, voice operation, etc. for the target gift.
  • user 1 starts the client 1 installed on the mobile phone and enters the live broadcast room that he wants to watch.
  • Client 1 can provide a button 1 for entering the gift panel on the live broadcast room page.
  • User 1 can use button 1 to Enter the gift panel and select a virtual gift in the gift panel as the target gift.
  • User 1 sends the target gift by clicking on the display area corresponding to the target gift.
  • client 1 can send the target gift information to the server through the mobile phone, and the server can send the target gift information and target gift data to user 2 and user 3, so that they can be displayed in the respective live broadcast room pages of user 2 and user 3.
  • Present goals gifts are the information of the target gift is the display information of the target gift, and the data of the target gift is the data of the target gift itself.
  • step S102 in response to an input operation for the target gift, display information corresponding to the target gift is obtained.
  • the display information may include: display path information, display size information, display One or more items of information including display angle and display shape. That is, the user can control one or more of the display path, display size, display angle, and display shape of the target gift through input operations.
  • the displayed information may be for the complete target gift or for part of the target gift (if the target gift includes two parts, the displayed information may be for one part), and this disclosure does not limit this. .
  • the first client in response to the user's setting request, provides a display setting panel, receives the user's input operation on the display setting panel, and determines the display information corresponding to the target gift.
  • the display setting panel can provide display setting options or editing controls.
  • the user can input display information through the display setting options or editing controls.
  • the first client receives the display information input by the user and uses the display information as the display information corresponding to the target gift.
  • the display setting panel can provide multiple display modes, and the user can select one of the multiple display modes provided by the display setting panel as the target display mode.
  • the first client determines the display information corresponding to the target display mode as the display information corresponding to the target gift.
  • the display settings panel may provide multiple labels, and the multiple labels respectively correspond to display modes of different dimensions.
  • the display settings panel includes label 1, label 2 and label 3; among them, label 1 is used to enter the display path setting panel, which is used to display multiple display paths; label 2 is used to enter the display size setting panel, which displays The size setting panel can provide options or editing controls for setting the display size; label 3 is used to enter the display angle setting panel, and the display angle setting panel can provide options or editing controls for setting the display angle.
  • the user can switch by clicking on the above-mentioned labels 1 to 3, and then set the display mode of the target gift in multiple different dimensions through the setting panels corresponding to each dimension.
  • the user can input a touch operation on the target gift through the touch screen of the electronic device, and obtain display information on the target gift in response to the touch operation on the target gift.
  • Different touch operation types can be used to control how the target gift is displayed in different dimensions.
  • the touch operation may be a single-touch type or a multi-touch type.
  • Single-touch type touch operations can be used to control the display path of the target gift
  • multi-touch type touch operations can be used to control the display size and/or display angle of the target gift.
  • step S103 the display information is sent to the server, so that the display information is sent to the server through the server.
  • the second client displays the target gift on the live broadcast room page according to the display information.
  • client 1 can send the display information for the target gift to the server through the mobile phone, and then send it to the corresponding electronic devices of user 2 and user 3 through the server.
  • user 1 selects a display path through the display settings panel in the live broadcast room page of the mobile phone.
  • User 1's mobile phone sends the display path information to the server, and the server sends the display path information to user 2 and user 3 respectively.
  • client in order to control the target gift to move according to the display path selected by User 1 in the live broadcast room page of the respective client of User 2 and User 3.
  • user 2 and user 3 can simultaneously view user 1's control of the display mode of the target gift.
  • the client can also provide a corresponding permission switch.
  • the permission When the permission is turned off, the gift will be displayed in the original way corresponding to it.
  • the permission When the permission is turned on, it can be displayed in the display mode set by the user who sent the gift, and follow the gift sending process. of users’ actions on gifts. Therefore, when the second client displays the target gift, it is also necessary to combine the permission switch status related to gift display in the second client.
  • the second client may display the first display mode identification and the second display mode identification. In response to the user's triggering operation on the first display mode identifier in the second client, the second client enables the first display mode, so that the target gift is displayed on the live broadcast room page based on the display information on the second client.
  • the display information is the display information corresponding to the first client.
  • the second client turns off the first display mode and enables the second display mode, so that the second client displays all the information on the live broadcast room page according to the default information.
  • the target gift is displayed.
  • the default information may be gift display information preset by the application. This facilitates different users to choose different display modes, improves display flexibility, and better meets user needs.
  • the target gift in response to a triggering operation for a target gift on the gift panel, is displayed on the live broadcast room page, and guidance information corresponding to the target gift is displayed.
  • the guidance information may match the type of the target gift.
  • the first guidance information is displayed, and the first guidance information is the guidance information corresponding to the first type; when the type of the target gift is the second type, the second guidance is displayed.
  • the second guidance information is guidance information corresponding to the second type.
  • the target gift when the target gift is a mobile gift such as an airplane or a sports car, in response to a triggering operation on the target gift on the gift panel, movement trajectory guidance information is displayed to guide the user to follow the movement trajectory. Adjust the display method of the target gift in the live broadcast room.
  • deformation guidance information is displayed (such as trying to touch a flower to bloom with two fingers outward) to guide the user.
  • the display mode of the target gift in the live broadcast room is adjusted according to the deformation information. This further enriches gift interaction methods, enhances the interactive atmosphere in the live broadcast room, and makes the display method of gifts more consistent with the gifts and in line with user expectations.
  • the corresponding relationship between the display information and the input operation may be pre-stored by the server. According to The corresponding relationship determines the display information corresponding to the current input operation, and delivers the display information to the client. For example, when the touch operation gesture is a leftward gesture, the displayed information is that the gift moves to the left; when the touch operation gesture is a rightward gesture, the displayed information is that the gift moves to the right. This improves gift display efficiency.
  • the first client after the first client sends the display information corresponding to the target gift to the second client (such as the anchor) through the server, it sends a request message to the second client to request the second client to follow the instructions.
  • the display information corresponding to the target gift sent by the first client displays the target gift.
  • the target gift is displayed according to the display information on the live broadcast room page.
  • the user can change the display mode of the target gift through input operations, so that the user who sends the target gift can participate in controlling the display mode of the target gift, which is conducive to improving the user's ability to send the target gift.
  • enthusiasm in addition, other users in the live broadcast room (such as anchors or other users) can also simultaneously see that the target gifts are displayed according to the changed display method, which enriches the display method of the target gifts and helps to improve the communication between different users in the live broadcast room. interactivity between.
  • Figure 2 is a schematic flowchart of a live broadcast room interaction method provided by other embodiments of the present disclosure. Please refer to Figure 2. The method in this embodiment includes steps S201 to S204.
  • step S201 in response to a triggering operation on the target gift on the gift panel, the target gift is displayed on the live broadcast room page.
  • Step S201 in this embodiment is similar to step S101 in the embodiment shown in Figure 1. Refer to Figure 1 The detailed description of the embodiments will not be repeated here for the sake of simplicity.
  • step S102 can be implemented through steps S202 to S203 in this embodiment.
  • step S202 in response to a touch operation on the target gift, the touch point movement information corresponding to the touch operation is obtained.
  • the types of touch operations may include: single-touch and multi-touch, and the touch point movement information generated based on different types of touch operations also has differences.
  • the type of touch operation is single-touch
  • the touch point movement information may include movement information of a single touch point
  • the type of touch operation is multi-touch
  • the touch point movement information may include Movement information corresponding to multiple touch points.
  • different types of touch operations can be used to control how the target gift is displayed in different dimensions.
  • the touch operation when receiving a user's input of a touch operation, it may first be determined whether the touch operation is a single touch or a multi-touch, and then, the touch operation may be performed in a preset manner (such as periodically). Determine the location information of a single or multiple touch points and corresponding time information to obtain touch point movement information. That is, the movement information of the touch point may include: location information and time information of the touch point.
  • the position information of the touch point can be represented by the coordinate value (x, y) of the touch point in a two-dimensional coordinate system established based on the touch screen of the electronic device.
  • the type of touch operation is determined to be a single-touch, that is, the user touches the touch screen of the electronic device corresponding to the first client with a single finger (such as an index finger).
  • a single finger such as an index finger.
  • the touch operation is a single-touch operation.
  • the first touch time and the first touch position of the plurality of first touch points corresponding to the touch operation that is, the position coordinates of the touch point in the touch screen of the electronic device corresponding to the first client).
  • touch operation is a continuous action
  • multiple touch points can be determined continuously, and the multiple touch points are generated in sequence in time.
  • four touch points generated successively are determined according to the single-touch operation of the user's index finger, which are respectively touch point a1 to touch point a4; wherein touch point a1 corresponds to The time corresponding to touch point a2 is t1, and the position is (x1, y1); the time corresponding to touch point a2 is t2, and the position is (x2, y2); the time corresponding to touch point a3 is t3, and the position is (x3, y3); The time corresponding to control point a4 is t4, and the position is (x4, y4).
  • touch points are used as an example for explanation.
  • the type of touch operation is multi-touch
  • multiple fingers such as two fingers, respectively: thumb and index finger.
  • determine the information of the touch points generated by each finger such as determining the second touch time and second touch position of multiple second touch points generated by the thumb's touch operation (such as thumb The position coordinates of the touch point generated by the thumb on the touch screen of the electronic device corresponding to the first client), and the third touch time and the third touch point of the plurality of third touch points generated by the touch operation of the index finger.
  • Three touch positions (such as the position coordinates of the touch point generated by the index finger on the touch screen of the electronic device corresponding to the first client).
  • touch point b1 touch point b4
  • touch point c1 touch point Control point c4
  • the time corresponding to touch point b1 and touch point c1 is t1
  • the position of touch point b1 is (x1 b , y1 b )
  • the position of touch point c1 is (x1 c , y1 c )
  • the time corresponding to touch point b2 and touch point c2 is t2
  • the position of touch point b2 is (x2 b , y2 b )
  • the position of touch point c2 is (x2 c , y2 c )
  • touch point b3 The time corresponding to touch point
  • step S203 based on the touch point movement information, corresponding display information of the target gift is obtained.
  • the type of touch operation is single-touch.
  • the position information and sequence of each discrete point in the display path on the display screen of the electronic device can be determined based on the movement information of a single touch point, thereby obtaining information on the display path corresponding to the target gift.
  • the normalized coordinate value can be used as the position information of the touch point, so that the position of each discrete point in the display path is also normalized.
  • the client can calculate the position of each discrete point included in the display path in the display screen of the electronic device corresponding to the second client based on the normalized coordinate values, thereby adapting to display screens with different sizes.
  • the second client accurately displays the target gift.
  • connection line s1 from touch point a1 to touch point a4 is the display path of the target gift
  • touch point a1 to touch point a4 is the display path corresponding to the target gift.
  • the positions corresponding to the touch point a1 to the touch point a4 are the positions of the discrete points in the display path on the display screen of the electronic device.
  • the normalized coordinate values can be used as the position information of each first touch point, so that the positions of each discrete point in the display path are also normalized.
  • the second client can calculate the position of each discrete point included in the display path in the display screen of the electronic device corresponding to the second client based on the normalized coordinate values, thereby adapting to display screens with different sizes. The second client accurately displays the target gift.
  • the type of touch operation is multi-touch.
  • the distance changes of the connection lines between the multiple touch points and the rotation angle can be determined based on the movement information corresponding to the multiple touch points and the time sequence in which the touch points occur. Afterwards, the display size of the target gift can be determined based on the change in distance, and the display angle of the target gift can be determined based on the change in rotation angle.
  • Both the display size and the display angle can be represented by a matrix, and each element in the matrix can represent the position of different key points of the target gift on the display screen of the electronic device.
  • the values of each element in the matrix can be expressed in a normalized manner.
  • connection line s2 from the touch point b1 to the touch point b4 is the movement trajectory of the thumb
  • the connection line s3 from the touch point c1 to the touch point c4 is the movement trajectory of the index finger.
  • the dotted line segment s4 in the example in FIG. 3b is the connection line between the touch point b1 and the touch point c1
  • the dotted line segment s5 is the connection line between the touch point b2 and the touch point c2.
  • the display size of the target gift can be determined. If the length of the dotted line segment s5 is greater than the dotted line segment s4, it means that the target gift needs to be enlarged and displayed. If the length of the dotted line segment s4 If it is greater than the dotted line segment s5, it means that the target gift needs to be displayed in a reduced size. The specific proportion of enlarged display or reduced display can be determined according to the size of the difference.
  • the target gift Display angle By calculating the angle between the dotted line segment s4 and the dotted line segment s5 (that is, the rotation angle), determine the target gift Display angle. If the included angle is 0, it means that the display angle of the target gift does not need to be adjusted; if the included angle is not equal to 0, it means that the display angle of the target gift needs to be adjusted.
  • the specific display angle can be determined according to the size of the included angle. In some cases, if the target gift has a three-dimensional structure, the display angle can be determined based on the distance change and angle between the dotted line segment s4 and the dotted line segment s5.
  • the touch points generated by the thumb and index finger respectively at time t1 and time t2 are used as examples to illustrate how to determine the display angle in some embodiments.
  • the thumb and index finger generate more and more touch points
  • the connection between the multiple touch points recorded at the same time and the connection between the multiple touch points at the previous time are calculated in a similar way as above.
  • the distance change and rotation angle transformation of the line determine a new set of display size and display angle information.
  • step S204 the display information is sent to the server, so that the display information is sent to the second client through the server, so that the target gift is displayed on the live broadcast room page on the second client according to the display information.
  • Step S204 in this embodiment is similar to step S103 in the embodiment shown in FIG. 1. Reference may be made to the detailed description of the embodiment shown in FIG. 1. For the sake of simplicity, details will not be described again here.
  • the user input touch operation may be implemented through continuous actions. Therefore, the determination of the location information and time information of the touch point, and the generation of display information for the target gift can be performed in parallel.
  • the display information is generated, it is sent to the server in time to be sent to the second client, ensuring that the second client can promptly follow the user's operation on the target gift in the first client.
  • the display mode of the target gift can be changed through touch operation, so that the user who sends the target gift can participate in controlling the display mode of the target gift, which is conducive to improving the user's sending target.
  • the enthusiasm of the gift for the user, the input operation method is simple and convenient, has good flexibility, and can meet the user's personalized needs, and different types of touch operations can control the display mode of the target gift in different dimensions, which is more interesting Strong; in addition, other users in the live broadcast room (such as anchors or other users) can also simultaneously see that the target gifts are displayed in the changed display method, which enriches the display method of the target gifts and helps to improve the communication between different users in the live broadcast room. of interactivity.
  • FIG. 4 is a schematic flowchart of a live broadcast room interaction method provided by other embodiments of the present disclosure. Referring to FIG. 4 , the method in this embodiment includes steps S401 to S402.
  • step S401 in response to a triggering operation on the target gift on the gift panel, the target gift is displayed on the live broadcast room page, and the timer starts.
  • the first client can start the timer.
  • step S402 when the timing reaches the preset duration, the target gift is controlled to end displaying on the live broadcast room page.
  • the default duration can be understood as the effective display duration of the target gift. After starting the timing, the user can input an input operation for the target gift, and within a preset time period after starting the timing, the user's input operation for the target gift can be regarded as a valid operation. This disclosure does not limit the preset duration.
  • the preset duration can be set as needed. For example, the preset duration can be set to 10 seconds, 15 seconds, etc.
  • the first client sends the target gift information to the server, and sends the target gift information to the second client through the server.
  • the second client starts the timer and starts timing when the target gift is displayed on the live broadcast room page.
  • the timing duration of the second client reaches the preset duration, the second client controls the display of the target gift to end.
  • Figures 5a to 5f are schematic diagrams of the human-computer interaction interface provided by the present disclosure.
  • user 1 is the audience watching the live broadcast and user 2 is the anchor who publishes the live broadcast.
  • Client 1 is installed on the electronic device (such as a mobile phone) used by user 1.
  • Figures 5a to 5f are schematic diagrams of the user interface displayed by the client 1 corresponding to the user 1.
  • client 1 After user 1 starts client 1 and enters the live broadcast room he wants to watch, client 1 exemplarily displays user interface 51 as shown in Figure 5a on his mobile phone.
  • the user interface 51 shown in Figure 5a is mainly used to display the live broadcast room page watched by user 1.
  • the live broadcast content displayed on the live broadcast room page is the multimedia content released by user 2.
  • User interface 51 may also include a button 501 for entering the gift panel.
  • the client 1 receives the triggering operation of the button 501 by the user 1, and the client 1 can exemplarily display the user interface 52 as shown in Figure 5b on the mobile phone.
  • the user interface 52 includes: area 502.
  • the area 502 is used to display a gift panel.
  • the gift panel is used to display a gift collection. The user can select a gift from the gift collection displayed in the gift panel to send to the live broadcast room.
  • the client 1 exemplarily displays the user interface 53 shown in Figure 5c on the mobile phone.
  • the user interface 53 includes: an area 503, which is used to display the airplane gift that the user 1 chooses to send. This disclosure does not limit the display parameters such as the size and position of the area 503.
  • the client 1 may start timing, for example, display a timer in the area 504 of the user interface 53 and start timing.
  • prompt information can also be displayed in the user interface 53 to prompt the user to input touch operations for the target gift to control the display mode of the target gift, such as display path, display size, display angle, etc.
  • the user interface 53 further includes an area 505 , which is used to display prompt messages in text.
  • the text content is: "Slide the screen or control the flight of the gift through the button below, come and try it.”
  • the text content can also be other content, and is not limited to the example in Figure 5c.
  • the client 1 receives the touch operation input by the user 1 on the mobile phone screen, and can determine the single-touch or multi-touch in the manner as shown in the previous embodiment shown in Figure 2, and determine the touch operation based on the touch. Click move information to generate display information.
  • the client 1 receives the touch operation input by the user 1, where k1 in Figure 5d is the trajectory formed by connecting multiple touch points determined by the client 1, and the target gift is The initial position moves along the trajectory shown by k1. That is, k1 is the display path of the target gift.
  • the client 1 receives a multi-touch operation input by the user 1, where k2 and k3 are formed by the connection of touch points generated by the two fingers of the user 1 touching the screen of the mobile phone.
  • the trajectory changes the display size and display angle of the target gift according to the changes in the distance between k2 and k3 and the rotation angle.
  • Figure 5e shows a situation in which the target gift is rotated 180 degrees and the display size is reduced.
  • the gift can move along the preset path.
  • the path shown in k4 in Figure 5e is the preset path corresponding to the airplane, and the airplane moves along the path shown in k4.
  • the display angle and display size are constantly changing.
  • the client 1 can also display a button 506 for entering the display setting panel in the user interface 53.
  • the client 1 receives the trigger operation (such as a click operation) of the button 506 from the user 1,
  • Client 1 displays the user interface 56 as shown in Figure 5f on the mobile phone.
  • the user interface 56 includes: area 507.
  • the area 507 is used to display the display setting panel. The user can set the display path, display size, display angle, etc. through the display setting panel. wait.
  • area 507 also includes: label 507a, label 507b, and label 507c.
  • the label 507a is used to display a path setting panel in the area 507d, and the display path setting panel is used to display multiple display paths for the user to choose.
  • Label 507b is used to display a size setting panel in area 507d, and the display size setting panel can provide display size editing options.
  • the label 507c is used to display the angle setting panel in the area 507d, and the display angle setting panel can provide display angle editing options.
  • the method also includes, in response to the user's preview operation for the target display mode (for example, it may be any candidate display path among multiple candidate display paths), displaying gift preview information corresponding to the target display mode to facilitate the user Adjust the display mode in time according to the preview information.
  • the target display mode for example, it may be any candidate display path among multiple candidate display paths
  • the available display modes are listed in the area 507 and corresponding identifiers are added, so that the user can clearly understand the details of each display mode. Details.
  • client 1 can send the display information to the server, and the server sends the display information to the client corresponding to user 2 , the client corresponding to user 2 displays the target gift on the live broadcast room page according to the received display information.
  • the client corresponding to user 2 displays the implementation method of the target gift on the live broadcast room page based on the received display information.
  • the client 1 corresponding to user 1 and the client corresponding to user 2 can display the gift according to the preset display mode corresponding to the gift.
  • the client corresponding to user 1 and the client corresponding to user 2 can respond synchronously to user 1's input operation on the gift.
  • the airplane gift moves along the path k4.
  • the target gift when user 1 selects the target gift, the target gift is not sent to the live broadcast room. Previously, you could also set the display mode of the target gift through the display settings panel. After determining the display mode of the target gift, send it to the live broadcast room, so that the target gift can be displayed in the live broadcast room page in the way set by the user.
  • the present disclosure is not limited to enabling the user to control the display mode of the target gift through the methods shown in the embodiment shown in Figures 5a to 5f.
  • the control can also be achieved through other methods, and the present disclosure does not limit this. Make limitations.
  • the present disclosure also provides a live broadcast room interactive device.
  • FIG. 6 is a schematic structural diagram of a live broadcast room interactive device provided by some embodiments of the present disclosure.
  • the live broadcast room interactive device 600 provided in this embodiment includes:
  • the display module 601 is configured to display the target gift on the live broadcast room page in response to a triggering operation on the target gift on the gift panel.
  • the processing module 602 is configured to obtain display information corresponding to the target gift in response to an input operation for the target gift.
  • the communication module 603 is used to send the display information to the server, so that the display information is sent to the second client through the server, so that the second client can display the live broadcast room page according to the display information.
  • the target gift is displayed.
  • the input operation includes a touch operation; the processing module 602 is specifically configured to: in response to the touch operation on the target gift, obtain the touch point movement information corresponding to the touch operation; based on The touch point movement information is used to obtain the corresponding display information of the target gift.
  • the touch point movement information includes movement information of a single touch point; the processing module 602 is specifically configured to: according to the single touch The movement information of the point is used to obtain the information of the display path corresponding to the target gift, and the display information includes the information of the display path.
  • the touch point movement information includes movement information corresponding to multiple touch points respectively; the processing module 602 is specifically configured to: according to the Movement information corresponding to multiple touch points is used to obtain information on display size and/or display angle corresponding to the target gift, where the display information includes information on display size and/or display angle.
  • the processing module 602 Specifically used to: determine the distance between the multiple touch points according to the movement information corresponding to the multiple touch points; determine the corresponding distance between the target gift according to the distance between the multiple touch points. display size information.
  • the processing module 602 is specifically configured to: determine the movement information of the multiple touch points according to the movement information corresponding to the multiple touch points.
  • the rotation angle of the connection line; according to the rotation angle of the connection line of the plurality of touch points, the information of the display angle corresponding to the target gift is obtained.
  • the processing module 602 is specifically configured to: in response to an input operation for a target display mode in the display setting panel corresponding to the target gift, obtain the display information corresponding to the target display mode as the corresponding target gift. display information; wherein, the target display method includes: one or more of a display path, a display size, and a display angle.
  • the processing module 602 is further configured to: start timing when the target gift is displayed on the live broadcast room page; and when the timing duration is longer than the preset duration, control the target gift to be removed from the live broadcast room page. The page display ends.
  • the device provided in this embodiment can be used to execute the technical solution of the first client in any of the foregoing method embodiments. Its implementation principles and technical effects are similar. Please refer to the detailed description of the foregoing method embodiments. For the sake of conciseness, they will not be described again here. .
  • embodiments of the present disclosure also provide an electronic device.
  • Figure 7 is a schematic structural diagram of an electronic device provided by some embodiments of the present disclosure.
  • the electronic device 700 provided in this embodiment includes: a memory 701 and a processor 702 .
  • the memory 701 may be an independent physical unit, and may be connected to the processor 702 through a bus 703 .
  • the memory 701 and the processor 702 can also be integrated together and implemented through hardware.
  • the memory 701 is used to store program instructions, and the processor 702 calls the program instructions to execute the live broadcast room interaction method provided by any of the above method embodiments.
  • the above electronic device 700 may also include only the processor 702.
  • the memory 701 for storing programs is located outside the electronic device 700, and the processor 702 is connected to the memory through circuits/wires for reading and executing the programs stored in the memory.
  • the processor 702 may be a central processing unit (CPU), a network processor (NP), or a combination of CPU and NP.
  • CPU central processing unit
  • NP network processor
  • the processor 702 may further include hardware chips.
  • the above-mentioned hardware chip can be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof.
  • the above-mentioned PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a general array logic (GAL) or any combination thereof.
  • the memory 701 may include volatile memory (volatile memory), such as random-access memory (RAM); the memory may also include non-volatile memory (non-volatile memory), such as flash memory (flash memory). ), hard disk drive (hard disk drive, HDD) or solid-state drive (solid-state drive, SSD); the memory can also include a combination of the above types of memory.
  • volatile memory such as random-access memory (RAM)
  • non-volatile memory such as flash memory (flash memory).
  • flash memory flash memory
  • HDD hard disk drive
  • solid-state drive solid-state drive
  • the present disclosure also provides a readable storage medium, including: computer program instructions.
  • the computer program instructions When the computer program instructions are executed by at least one processor of an electronic device, the electronic device enables the electronic device to implement the live broadcast room interaction provided by any of the above method embodiments. method.
  • the present disclosure also provides a computer program product.
  • the computer program product When the computer program product is run on a computer, the computer implements the live broadcast room interaction method provided by any of the above method embodiments.
  • the present disclosure also provides a computer program, including: instructions, which when executed by a processor cause the processor to execute the live broadcast room interaction method provided according to any of the above method embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开实施例涉及一种直播间交互方法、装置、电子设备、介质及程序产品,该方法包括:响应于针对礼物面板上的目标礼物的触发操作,在直播间页面显示目标礼物;响应于针对目标礼物的输入操作,获取目标礼物对应的显示信息;第一客户端将显示信息发送至服务器,通过服务器将显示信息发送至第二客户端,从而在第二客户端根据显示信息在直播间页面对目标礼物进行显示。通过该方法,用户发送目标礼物后,通过输入操作改变目标礼物的显示方式,直播间其他用户也可以同步观看到目标礼物按照改变后的显示方式展示,有助于提高直播间不同用户之间的互动性。

Description

直播间交互方法、装置、电子设备、介质及程序产品
相关申请的交叉引用
本公开是以中国申请号为202210239352.7,申请日为2022年3月11日,题目为“直播间交互方法、装置、电子设备、介质及程序产品”的申请为基础,并主张其优先权,该中国申请的公开内容在此作为整体引入本公开中。
技术领域
本公开实施例涉及计算机技术领域,尤其涉及一种直播间交互方法,直播间交互装置,以及实现播间交互方法的计算机可读存储介质、电子设备及计算机程序产品。
背景技术
随着互联网信息技术的飞速发展,直播业务也随之发展,越来越多的直播平台随之产生,用户可以通过直播平台在直播间内观看主播的直播内容,当用户在直播间内观看直播视频时,可以赠送主播礼物,以实现与主播的互动。
发明内容
第一方面,本公开实施例提供了一种直播间交互方法,包括:
响应于针对礼物面板上的目标礼物的触发操作,在直播间页面显示目标礼物;
响应于针对所述目标礼物的输入操作,获取所述目标礼物对应的显示信息;
将所述显示信息发送至服务器,以通过所述服务器将所述显示信息发送至第二客户端,从而在所述第二客户端根据所述显示信息在直播间页面对所述目标礼物进行显示。
在一些实施例中,所述输入操作包括触控操作;所述响应于针对所述目标礼物的输入操作,获取所述目标礼物对应的显示信息,包括:
响应于针对所述目标礼物的触控操作,获取所述触控操作对应的触控点移动 信息;
基于所述触控点移动信息,获取所述目标礼物的对应的显示信息。
在一些实施例中,若所述触控操作的类型为单点触控,所述触控点移动信息包括单个触控点的移动信息,所述基于所述触控点移动信息,获取所述目标礼物对应的显示信息,包括:
根据所述单个触控点的移动信息,获取所述目标礼物对应的显示路径的信息,所述显示信息包括所述显示路径的信息。
在一些实施例中,若所述触控操作的类型为多点触控,所述触控点移动信息包括多个触控点分别对应的移动信息;所述基于所述触控点移动信息,获取所述目标礼物对应的显示信息,包括:
根据所述多个触控点分别对应的移动信息,获取所述目标礼物对应的显示尺寸和/或显示角度的信息,所述显示信息包括显示尺寸和/或显示角度的信息。
在一些实施例中,若所述显示信息包括显示尺寸的信息,则所述根据所述多个触控点分别对应的移动信息,获取所述目标礼物对应的显示尺寸和/或显示角度的信息,包括:
根据所述多个触控点分别对应的移动信息,确定所述多个触控点之间的距离;
根据所述多个触控点之间的距离,确定所述目标礼物对应的显示尺寸的信息。
在一些实施例中,若所述显示信息包括显示角度的信息,则根据所述多个触控点分别对应的移动轨迹信息,获取所述目标礼物对应的显示尺寸和/或显示角度的信息,包括:
根据所述多个触控点分别对应的移动信息,确定所述多个触控点的连线的旋转角度;
根据所述多个触控点的连线的旋转角度,获取所述目标礼物对应的显示角度的信息。
在一些实施例中,所述响应于针对所述目标礼物的输入操作,获取所述目标礼物对应的显示信息,包括:
响应于针对所述目标礼物对应的显示设置面板中目标显示方式的输入操作,获取所述目标显示方式对应的显示信息为所述目标礼物对应的显示信息。
在一些实施例中,所述目标显示方式包括:显示路径、显示尺寸、显示角度中的一项或多项。
在一些实施例中,所述方法还包括:
在所述直播间页面展示所述目标礼物时,开始计时;
在计时时长大于预设时长时,控制所述目标礼物从所述直播间页面显示结束。
第二方面,本公开实施例提供一种直播间交互装置,应用于第一客户端,所述直播间交互装置包括:
显示模块,用于响应于针对礼物面板上的目标礼物的触发操作,在直播间页面显示目标礼物;
处理模块,用于响应于针对所述目标礼物的输入操作,获取所述目标礼物对应的显示信息;
通信模块,用于将所述显示信息发送至服务器,以通过所述服务器将所述显示信息发送至第二客户端,从而在所述第二客户端根据所述显示信息在直播间页面对所述目标礼物进行显示。
第三方面,本公开实施例提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现第一方面及第一方面任一项所述的直播间交互方法。
第四方面,本公开实施例提供一种电子设备,包括:存储器和处理器;所述存储器,被配置为存储计算机程序指令;所述处理器,被配置为执行所述计算机程序指令,以实现第一方面及第一方面任一项所述的直播间交互方法。
第五方面,本公开实施例提供一种计算机程序产品,当所述计算机程序产品被电子设备执行,使得所述电子设备实现如第一方面或者第一方面任一项所述的直播间交互方法。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例 或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本公开一些实施例提供的直播间交互方法的流程示意图;
图2为本公开另一些实施例提供的直播间交互方法的流程示意图;
图3a为本公开一些实施例提供的基于单个触控点的移动信息确定目标礼物的显示路径的示意图;
图3b为本公开一些实施例提供的基于多个触控点的移动信息确定的目标礼物的显示尺寸以及显示角度的示意图;
图4为本公开另一些实施例提供的直播间交互方法的流程示意图;
图5a至图5f为本公开一些实施例提供的人机交互界面图;
图6为本公开一些实施例提供的直播间交互装置的结构示意图;
图7为本公开一些实施例提供的电子设备的结构示意图。
具体实施方式
为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。
应当理解,在下文中,“至少一个(项)”是指一个或者多个,“多个”是指两个或两个以上。“和/或”用于描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:只存在A,只存在B以及同时存在A和B三种情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,“a和b”,“a和c”,“b和c”,或“a和b和c”,其中a,b,c可以是单个,也可以是 多个。
目前直播过程中的礼物赠送方式较为单一,难以满足用户对直播交互性日益增长的需求,影响用户体验。
为了解决上述技术问题,本公开实施例提供了一种直播间交互方法,直播间交互装置,以及实现直播间交互方法的计算机可读存储介质、电子设备及计算机程序产品。
本公开实施例提供了直播间交互方法、装置、电子设备、介质及程序产品,该方法包括:响应于针对礼物面板上的目标礼物的触发操作,在直播间页面显示目标礼物;响应于针对目标礼物的输入操作,获取目标礼物对应的显示信息;第一客户端将显示信息发送至服务器,以通过服务器将显示信息发送至第二客户端,从而在第二客户端根据显示信息在直播间页面对目标礼物进行显示。通过该方法,用户在直播间赠送目标礼物后,可以通过输入操作改变目标礼物的显示方式,使得发送目标礼物的用户可以参与控制该目标礼物的展示方式,直播间的其他用户(如主播或者其他用户)也可以同步看到目标礼物按照改变后的显示方式展示,丰富了直播间礼物交互方式,有助于提高直播间不同用户之间的互动性,提升了用户体验。
在一些实施例中,本公开提供的直播间交互方法可以由本公开提供的直播间交互装置实现,直播间交互装置可以通过任意的软件和/或硬件的方式实现。在一些实施例中,直播间交互装置可以为平板电脑、手机(如折叠屏手机、大屏手机等)、可穿戴设备、车载设备、增强现实(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系统等。
基于前述描述,本公开的实施例将以电子设备为例,结合附图和应用场景,对本公开提供的直播间交互方法进行详细阐述。
在下述实施例中以电子设备为手机,且用户1对应的手机上安装有客户端(以下简称为客户端1),用户2对应的手机上安装有客户端2,用户3对应的手机上安装有客户端3为例进行举例说明,其中,用户1为直播间的一观众,用户1可以通过手机上安装的客户端1进入直播间,并发送礼物以及改变礼物的显示方式,用户2为发布直播的主播端,用户3为直播间的另一观众。
用户1对应的客户端1可以理解为第一客户端,用户2对应的客户端2以及用户3对应的客户端3可以理解为第二客户端。
图1为本公开一些实施例提供的直播间交互方法的流程示意图。本实施例的方式应用于第一客户端,请参阅图1所示,本实施例提供的方法包括步骤S101~步骤S103。
在步骤S101中,响应于针对礼物面板上的目标礼物的触发操作,在直播间页面显示目标礼物。
礼物面板可以用于展示虚拟礼物合集。在一些实施例中,礼物面板中所展示的虚拟礼物可以但不限于包括:视频礼物、动画礼物等的一种或多种。动画礼物例如包括图形交换格式(GIF,Graphics Interchange Format)动画礼物。
针对礼物面板上的目标礼物的触发操作可以但不限于是针对目标礼物的点击操作、语音操作等等。
在一些实施例中,用户1启动手机上安装的客户端1并进入想要观看的直播间,客户端1可以在直播间页面中提供用于进入礼物面板的按钮1,用户1可以通过按钮1进入礼物面板,并选择礼物面板中一虚拟礼物作为目标礼物,用户1通过点击目标礼物对应的展示区域来发送该目标礼物。之后,客户端1可以通过手机将目标礼物的信息发送给服务器,服务器可以将目标礼物的信息以及目标礼物的数据发送给用户2和用户3,以在用户2和用户3各自的直播间页面中展示目标礼物。目标礼物的信息为目标礼物的显示信息,目标礼物的数据为目标礼物本身的数据。
在步骤S102中,响应于针对目标礼物的输入操作,获取目标礼物对应的显示信息。
在一些实施例中,显示信息可以包括:显示路径的信息、显示尺寸的信息、显 示角度、显示形状的信息中的一项或多项。即,用户可以通过输入操作,控制目标礼物的显示路径、显示尺寸、显示角度、显示形状中的一项或多项。
需要说明的是,显示信息可以是针对完整的目标礼物的,也可以是针对部分目标礼物的(如目标礼物包括两部分,则显示信息可以是针对其中一部分的),本公开对此不做限定。
在一些实施例中,响应于用户的设置请求,第一客户端提供显示设置面板,接收用户针对显示设置面板的输入操作,确定目标礼物对应的显示信息。
例如,显示设置面板可以提供显示设置选项或者编辑控件,用户可以通过显示设置选项或者编辑控件输入显示信息,第一客户端接收用户输入的显示信息并将该显示信息作为目标礼物对应的显示信息。
又如,显示设置面板可以提供多种显示方式,用户可以从显示设置面板提供的多种显示方式中选择一个作为目标显示方式。第一客户端根据用户选择的目标显示方式,确定该目标显示方式对应的显示信息作为目标礼物对应的显示信息。
在一些实施例中,显示设置面板可以提供多个标签,多个标签分别对应不同维度的显示方式。例如,显示设置面板包括标签1、标签2和标签3;其中,标签1用于进入显示路径设置面板,显示路径设置面板用于展示多种显示路径;标签2用于进入显示尺寸设置面板,显示尺寸设置面板可以提供设置显示尺寸的选项或者编辑控件;标签3用于进入显示角度设置面板,显示角度设置面板可以提供设置显示角度的选项或者编辑控件。用户可通过点击上述标签1至标签3进行切换,从而通过各个维度分别对应的设置面板,设置目标礼物在多个不同维度的显示方式。
在另一些实施例中,用户可以通过电子设备的触摸屏幕输入针对目标礼物的触控操作,响应针对目标礼物的触控操作,获得针对目标礼物的显示信息。不同的触控操作类型可以用于控制目标礼物在不同维度的显示方式。例如,触控操作可以为单点触控类型或者多点触控类型。单点触控类型的触控操作可以用于控制目标礼物的显示路径,多点触控类型的触控操作可以用于控制目标礼物的显示尺寸和/或显示角度。
在步骤S103中,将显示信息发送至服务器,以通过服务器将显示信息发送至 第二客户端,从而在第二客户端根据显示信息在直播间页面对所述目标礼物进行显示。
结合前述步骤S101中示例的场景,基于用户1的输入操作,客户端1可以通过手机将针对目标礼物的显示信息发送给服务器,通过服务器发送给用户2以及用户3各自对应的电子设备。
例如,用户1通过手机的直播间页面中的显示设置面板选择了一显示路径,用户1的手机将显示路径的信息发送给服务器,由服务器将显示路径的信息发送给用户2和用户3各自对应的客户端,以便在用户2和用户3各自的客户端的直播间页面中控制目标礼物按照用户1所选择的显示路径移动。从而实现用户1在发送目标礼物,并且操作目标礼物的显示方式的情况下,用户2和用户3能够同步地观看到用户1针对目标礼物的显示方式的控制。
在一些实施例中,客户端还可以提供相应的权限开关,当关闭权限时,按照礼物对应的原始方式显示,当权限打开时可以按照发送礼物的用户所设置的显示方式显示,且跟随发送礼物的用户针对礼物的操作。因此,第二客户端展示目标礼物时,还需要结合第二客户端中与礼物显示相关的权限开关情况。在一些实施例中,第二客户端可以显示第一显示模式标识和第二显示模式标识。响应于用户在第二客户端中针对第一显示模式标识的触发操作,第二客户端启用第一显示模式,从而在第二客户端根据所述显示信息在直播间页面对所述目标礼物进行显示,所述显示信息即与所述第一客户端对应的显示信息。响应于用户在第二客户端中针对第二显示模式标识的触发操作,第二客户端关闭第一显示模式并启用第二显示模式,从而在第二客户端根据默认信息在直播间页面对所述目标礼物进行显示。所述默认信息可以是所述应用预设的礼物显示信息。由此方便不同用户选择不同的显示模式,提高显示的灵活性,更好的满足用户需求。
在一些实施例中,响应于针对礼物面板上的目标礼物的触发操作,在直播间页面显示目标礼物,并显示与所述目标礼物对应的引导信息。
在一些实施例中,所述引导信息可以与所述目标礼物的类型相匹配。在目标礼物的类型为第一类型时,显示第一引导信息,所述第一引导信息为与所述第一类型对应的引导信息;在目标礼物的类型为第二类型时,显示第二引导信息,所述 第二引导信息为与所述第二类型对应的引导信息。
在一些实施例中,在所述目标礼物为飞机、跑车等移动型礼物的情况下,响应于针对礼物面板上的目标礼物的触发操作,显示移动轨迹引导信息,以引导用户按照所述移动轨迹调整所述目标礼物在直播间的显示方式。在所述目标礼物为花朵等形变型礼物的情况下,响应于针对礼物面板上的目标礼物的触发操作,显示形变引导信息(如尝试通过两个手指外扩触控花朵盛开),以引导用户按照所述形变信息调整所述目标礼物在直播间的显示方式。由此,进一步丰富礼物互动方式,增强直播间互动氛围,而且使得礼物的显示方式与礼物更匹配,符合用户预期。
响应于针对所述目标礼物的输入操作,获取所述目标礼物对应的显示信息,在一些实施例中,也可以是服务端预存显示信息与输入操作(如触控操作手势)的对应关系,根据所述对应关系确定当前输入操作对应的显示信息,并将显示信息下发至客户端。例如在触控操作手势为向左手势时,显示信息为礼物向左运动,在触控操作手势为向右手势时,显示信息为礼物向右运动。由此提高礼物显示效率。
此外,在一些实施例中,第一客户端通过服务器将目标礼物对应的显示信息发送给第二客户端(如主播端)之后,向第二客户端发送请求消息,以请求第二客户端按照第一客户端发送的目标礼物对应的显示信息展示目标礼物,第二客户端同意请求之后,在直播间页面按照显示信息展示目标礼物。
本实施例提供的方法,用户在直播间赠送目标礼物后,可以通过输入操作改变目标礼物的显示方式,使得发送目标礼物的用户可以参与控制该目标礼物的显示方式,有利于提升用户发送目标礼物的积极性;此外,直播间的其他用户(如主播或者其他用户)也可以同步看到目标礼物按照改变后的显示方式进行展示,丰富了目标礼物的展示方式,有助于提高直播间不同用户之间的互动性。
在一些实施例中,上述输入操作可以包括但不限于触控操作。图2为本公开另一些实施例提供的直播间交互方法的流程示意图。请参阅图2所示,本实施例的方法包括步骤S201~步骤S204。
在步骤S201中,响应于针对礼物面板上的目标礼物的触发操作,在直播间页面显示目标礼物。
本实施例中步骤S201与图1所示实施例中步骤S101类似,可参照图1所示 实施例的详细描述,简明起见,此处不再赘述。
结合图1所示,步骤S102可以通过本实施例中步骤S202至S203实现。
在步骤S202中,响应于针对目标礼物的触控操作,获取所述触控操作对应的触控点移动信息。
结合前文所述,触控操作的类型可以包括:单点触控和多点触控,基于不同类型的触控操作所生成的触控点移动信息也具有差异。例如,若触控操作的类型为单点触控,则触控点移动信息可以包括单个触控点的移动信息;若触控操作的类型为多点触控,则触控点移动信息可以包括多个触控点分别对应的移动信息。且不同类型的触控操作可以用于控制目标礼物在不同维度的显示方式。
在一些实施例中,在接收到用户在输入触控操作时,可以先确定触控操作为单点触控,还是多点触控,之后,可以按照预先设定的方式(如周期性地)确定单个或者多个触控点的位置信息以及相应的时间信息,从而获得触控点移动信息,即,触控点的移动信息可以包括:触控点的位置信息和时间信息。触控点的位置信息可以通过触控点在基于电子设备的触摸屏幕所建立的二维坐标系中的坐标值(x,y)表示。
在一些实施例中,假设确定触控操作的类型为单点触控时,即用户是单个手指(例如食指)触控第一客户端对应的电子设备的触控屏幕,此时,可以确定触控操作对应的多个第一触控点的第一触控时间和第一触控位置(即触控点在第一客户端对应的电子设备的触控屏幕中的位置坐标)。
例如,触控操作是连续动作,则可以能够连续确定多个触控点,多个触控点按照时间先后顺序依次产生。在一些实施例中,如图3a所示,根据用户食指的单点触控操作确定先后产生的4个触控点,分别为触控点a1至触控点a4;其中,触控点a1对应的时刻为t1,位置为(x1,y1);触控点a2对应的时刻为t2,位置为(x2,y2);触控点a3对应的时刻为t3,位置为(x3,y3);触控点a4对应的时刻为t4,位置为(x4,y4)。基于用户输入的连续的触控操作,可以确定更多触控点的位置信息和时间信息,此处以4个触控点为例进行说明。
在一些实施例中,假设确定触控操作的类型为多点触控时,即用户是多个手指(如两个手指,分别为:大拇指和食指)触控第一客户端对应的电子设备的触控 屏幕,此时,确定各手指分别产生的触控点的信息,如确定大拇指的触控操作所产生的多个第二触控点的第二触控时间和第二触控位置(如大拇指所产生的触控点在第一客户端对应的电子设备的触控屏幕中的位置坐标),以及食指的触控操作所产生的多个第三触控点的第三触控时间和第三触控位置(如食指所产生的触控点在第一客户端对应的电子设备的触控屏幕中的位置坐标)。
例如,触控操作是连续动作,则能够连续确定各手指分别产生的多个触控点,各手指分别产生的多个触控点按照时间先后顺序排列。在一些实施例中,如图3b所示,可以根据用户大拇指和食指的多点触控操作确定8个触控点,分别为触控点b1至触控点b4、触控点c1至触控点c4;其中,触控点b1和触控点c1对应的时刻为t1,触控点b1的位置为(x1b,y1b),触控点c1的位置为(x1c,y1c);触控点b2和触控点c2对应的时刻为t2,触控点b2的位置为(x2b,y2b),触控点c2的位置为(x2c,y2c);触控点b3和触控点c3对应的时刻为t3,触控点b3的位置为(x3b,y3b),触控点c3的位置为(x3c,y3c);触控点b4和触控点c4对应的时刻为t4,触控点b4的位置为(x4b,y4b),触控点c4的位置为(x4c,y4c)。基于用户输入的连续的触控操作,可以确定更多触控点的位置信息和时间信息,此处以8个触控点为例进行说明。
在步骤S203中,基于所述触控点移动信息,获取所述目标礼物的对应的显示信息。
下面将以触控操作的类型为单点触控和多点触控,分别介绍如何获取目标礼物的显示信息。
一、触控操作的类型为单点触控
在一些实施例中,可根据单个触控点的移动信息确定显示路径中各个离散点在电子设备的显示屏幕中的位置信息以及先后顺序,从而获得目标礼物对应的显示路径的信息。
在确定依次产生的各第一触控点的位置时,可以采用归一化的坐标值作为触控点的位置信息,这样显示路径中的各离散点的位置也是归一化表示的,第二客户端可以基于归一化的坐标值计算出显示路径的中所包括的各个离散点在第二客户端对应的电子设备的显示屏幕中的位置,从而适应具有不同尺寸的显示屏幕的 第二客户端准确地展示目标礼物。
在一些实施例中,如图3a所示,触控点a1至触控点a4的连线s1即为目标礼物的显示路径,触控点a1至触控点a4即对应目标礼物的显示路径中的4个离散点,触控点a1至触控点a4分别对应的位置即为显示路径中的离散点在电子设备的显示屏幕中的位置。
在确定依次产生的各第一触控点的位置时,可以采用归一化的坐标值作为各第一触控点的位置信息,这样显示路径中的各离散点的位置也是归一化表示的,第二客户端可以基于归一化的坐标值计算出显示路径的中所包括的各个离散点在第二客户端对应的电子设备的显示屏幕中的位置,从而适应具有不同尺寸的显示屏幕的第二客户端准确地展示目标礼物。
二、触控操作的类型为多点触控
在一些实施例中,可以根据多个触控点分别对应的移动信息,以触控点发生的时间先后顺序为基础,确定多个触控点之间的连线的距离变化情况以及旋转角度的变化情况,之后,基于距离的变化情况可以确定目标礼物的显示尺寸,基于旋转角度的变化情况可以确定目标礼物的显示角度。
显示尺寸以及显示角度均可以通过矩阵的方式表示,矩阵中的各元素可以表示目标礼物的不同关键点在电子设备的显示屏幕中的位置。此外,为了适应具有不同尺寸的显示屏幕的第二客户端,在触控操作为多点触控的情况下,矩阵中各个元素的值均可以通过归一化的方式表示。
在一些实施例中,如图3a所示,触控点b1至触控点b4的连线s2为大拇指的移动轨迹,触控点c1至触控点c4的连线s3为食指的移动轨迹。图3b中示例的虚线段s4为触控点b1与触控点c1的连线,虚线段s5为触控点b2与触控点c2的连线。
通过比较虚线段s4和虚线段s5的距离的差值,可以确定目标礼物的显示尺寸,若虚线段s5的长度大于虚线段s4,则表示需要将目标礼物的放大展示,若虚线段s4的长度大于虚线段s5,则表示需要将目标礼物缩小展示。具体放大展示或者缩小展示的比例,可根据差值的大小确定。
通过计算虚线段s4和虚线段s5之间的夹角(即旋转角度),确定目标礼物的 显示角度。若夹角为0,则表示不需要调整目标礼物的显示角度;若夹角不等于0,则表示需要调整目标礼物的显示角度。具体的显示角度可以根据夹角的大小确定。在一些情况下,若目标礼物具有三维的结构,则可以结合虚线段s4和虚线段s5之间的距离变化和夹角大小,确定显示角度。
此处以t1时刻和t2时刻大拇指和食指分别产生的触控点为例在一些实施例中说明如何确定显示角度。随着大拇指和食指产生越来越多的触控点,通过如上类似的方式计算同一时刻所记录的多个触控点之间的连线与前一时刻多个触控点之间的连线的距离变化和旋转角度变换,从而确定一组新的显示尺寸和显示角度的信息。
需要说明的是,上述确定显示尺寸以及显示角度的方式仅为示例,还可以通过其他方式实现。
在步骤S204中,将显示信息发送至服务器,以通过服务器将显示信息发送至第二客户端,从而在第二客户端根据显示信息在直播间页面对目标礼物进行显示。
本实施例中步骤S204与图1所示实施例中步骤S103类似,可参照图1所示实施例的详细描述,简明起见,此处不再赘述。
此外,还需要说明的是,用户输入触控操作可能是通过连续的动作实现,因此,可以并行执行触控点的位置信息以及时间信息的确定、以及针对目标礼物的显示信息的生成,当有显示信息生成时,便及时发送给服务器,以发送给第二客户端,保证第二客户端能够及时跟随用户在第一客户端中针对目标礼物的操作。
本实施例提供的方法,用户在直播间赠送目标礼物后,可以通过触控操作改变目标礼物的显示方式,使得发送目标礼物的用户可以参与控制该目标礼物的显示方式,有利于提升用户发送目标礼物的积极性;对于用户来说,该输入操作的方式简单方便,灵活性好,可满足用户个性化的需求,且不同类型的触控操作,可以控制目标礼物不同维度的显示方式,趣味性较强;此外,直播间的其他用户(如主播或者其他用户)也可以同步看到目标礼物按照改变后的显示方式进行展示,丰富了目标礼物的展示方式,有助于提高直播间不同用户之间的互动性。
图4为本公开另一些实施例提供的直播间交互方法的流程示意图。参照图4所示,本实施例的方法包括步骤S401~步骤S402。
在步骤S401中,响应于对礼物面板上目标礼物的触发操作,在直播间页面展示目标礼物,且开始计时。
用户通过第一客户端在直播间发送目标礼物时,第一客户端可以启动计时器开始计时。
在步骤S402中,当计时时长达到预设时长,控制目标礼物从所述直播间页面显示结束。
预设时长可以理解为目标礼物的有效显示时长。在开始计时之后,用户可以输入针对目标礼物的输入操作,且在开始计时之后的预设时长内,用户输入的针对目标礼物的输入操作可以视为有效操作。本公开对于预设时长不做限定,预设时长可以根据需要设置,例如可以将预设时长设置为10秒、15秒等等。
此外,第一客户端将目标礼物的信息发送给服务器,并通过服务器将目标礼物的信息发送给第二客户端,第二客户端在直播间页面展示目标礼物时启动计时器,且开始计时。当第二客户端的计时时长达到预设时长,第二客户端则控制目标礼物显示结束。
图5a至图5f所示实施例为本公开提供的人机交互界面示意图。在图5a至图5f所示实施例中,以用户1为观看直播的观众,用户2为发布直播的主播为例进行举例说明。用户1所使用的电子设备(如手机)上安装有客户端1。其中,图5a至图5f为用户1对应的客户端1所展示的用户界面示意图。
请参照图5a所示,用户1在启动客户端1,并进入想要观看的直播间之后,客户端1在手机上示例性地显示如图5a所示的用户界面51。图5a所示的用户界面51主要用于显示用户1观看的直播间页面,直播间页面所展示的直播内容为用户2发布的多媒体内容。
用户界面51还可以包括用于进入礼物面板的按钮501。
客户端1接收到用户1针对按钮501的触发操作,客户端1可以在手机上示例性地显示如图5b所示的用户界面52。
请参阅图5b所示,用户界面52包括:区域502,区域502用于展示礼物面板,礼物面板用于展示礼物集合,用户可以从礼物面板所展示的礼物集合中选择一个礼物发送至直播间。
假设用户1选择了区域502中第一行第一列的飞机礼物作为目标礼物,用户1通过点击飞机礼物对应的发送按钮,以将该飞机礼物发送至直播间。客户端1在手机上示例性地展示图5c所示的用户界面53。
用户界面53包括:区域503,区域503用于展示用户1选择发送的飞机礼物。本公开对于区域503的尺寸、位置等等显示参数不做限定。
当开始展示目标礼物时,客户端1可以开始计时,例如,在用户界面53的区域504中展示计时器,并开始进行计时。
此外,用户界面53中还可以展示提示信息,以提示用户可以输入针对目标礼物的触控操作,以控制目标礼物的显示方式,如显示路径、显示尺寸、显示角度等等。示例性地,参照图5c所示,用户界面53还包括:区域505,区域505用于通过文字的方式展示提示消息。文字内容例如为:“滑动屏幕或者通过下方按钮控制礼物飞行,快来试试吧”,当然文字内容还可以为其他内容,并不限于图5c的示例。
在一些实施例中,客户端1接收到用户1在手机屏幕上输入的触控操作,可以通过如前图2所示实施例的方式确定单点触控或者多点触控,并基于触控点移动信息生成显示信息。
例如图5d中用户界面54所示,客户端1接收到用户1输入的触控操作,其中图5d中k1所示即为客户端1确定的多个触控点连接形成的轨迹,目标礼物由初始位置沿k1所示的轨迹移动。即k1为目标礼物的显示路径。
例如图5e中用户界面55所示,客户端1接收到用户1输入的多点触控操作,其中,k2和k3为用户1的两个手指触摸手机的屏幕分别产生的触控点连接形成的轨迹,根据上述k2和k3的距离以及旋转角度的变化情况,改变目标礼物的显示尺寸以及显示角度。图5e中即示出了将目标礼物旋转180度,且缩小显示尺寸的情况。需要说明的是,在用户未设置礼物的显示路径时,礼物可以按照预设路径移动,例如,图5e中k4所示的路径为飞机对应的预设路径,飞机在沿k4所示的路径移动的过程中,显示角度以及显示尺寸不断发生变换。
请参阅图5c所示,客户端1还可以在用户界面53中显示用于进入显示设置面板的按钮506,客户端1接收到用户1针对按钮506的触发操作(如点击操作), 客户端1在手机上显示如图5f所示的用户界面56,用户界面56包括:区域507,区域507用于展示显示设置面板,用户通过显示设置面板可以设置显示路径、显示尺寸、显示角度等等。
在一些实施例中,区域507还包括:标签507a、标签507b以及标签507c。标签507a用于在区域507d中显示路径设置面板,显示路径设置面板用于展示多种显示路径,以供用户选择。标签507b用于在区域507d中显示尺寸设置面板,显示尺寸设置面板可以提供显示尺寸编辑选项。标签507c用于在区域507d中显示角度设置面板,显示角度设置面板可以提供显示角度编辑选项。此外,所述方法还包括,响应于用户针对目标显示方式(如可以是多个候选显示路径中任意候选显示路径)的预览操作,可以显示与所述目标显示方式对应的礼物预览信息,方便用户根据预览信息及时调整显示方式。
在一些实施例中,可以不设置不同维度的显示设置面板对应的标签,而是将可供选择的显示方式罗列在区域507中,并添加相应的标识,使用户能够清楚了解每个显示方式的详情。
用户1通过显示设置面板选择并确认一显示方式或者通过触控操作生成针对目标礼物的显示信息之后,客户端1可将显示信息发送给服务器,由服务器将显示信息发送给用户2对应的客户端,用户2对应的客户端的按照接收到的显示信息在直播间页面展示目标礼物。用户2对应的客户端根据接收到的显示信息在直播间页面展示目标礼物的实现方式。
需要说明的是,用户1通过图5b所示的发送按钮选择发送礼物之后,用户1对应的客户端1以及用户2对应的客户端可以按照礼物对应的预设显示方式进行显示,当用户1针对礼物未输入操作,则用户1对应的客户端和用户2对应的客户端可以同步地响应用户1针对礼物的输入操作。在一些实施例中,参照图5f所示,在用户1未选择确认显示路径、显示尺寸以及显示角度中的一项或多项时,飞机礼物沿路径k4移动。
需要说明的是,上述路径k1至k4用于辅助说明礼物的移动轨迹以及用户操作的轨迹,在直播间页面中,可以不显示。
在一些实施例中,当用户1选择目标礼物时,但未将目标礼物发送至直播间 之前,也可以通过显示设置面板设置目标礼物的显示方式,确定了目标礼物的显示方式之后再发送至直播间,以使目标礼物在直播间页面中按照用户设置的方式进行展示。
需要说明的是,本公开并不限于通过图5a至图5f所示实施例中示出的等方式实现用户对目标礼物的显示方式进行控制,还可以通过其他方式实现控制,本公开对此不做限定。
在一些实施例中,本公开还提供一种直播间交互装置。
图6为本公开一些实施例提供的直播间交互装置的结构示意图。参照图6所示,本实施例提供的直播间交互装置600包括:
显示模块601,用于响应于针对礼物面板上的目标礼物的触发操作,在直播间页面显示目标礼物。
处理模块602,用于响应于针对所述目标礼物的输入操作,获取所述目标礼物对应的显示信息。
通信模块603,用于将所述显示信息发送至服务器,以通过所述服务器将所述显示信息发送至第二客户端,从而在所述第二客户端根据所述显示信息在直播间页面对所述目标礼物进行显示。
在一些实施例中,所述输入操作包括触控操作;处理模块602,具体用于:响应于针对所述目标礼物的触控操作,获取所述触控操作对应的触控点移动信息;基于所述触控点移动信息,获取所述目标礼物的对应的显示信息。
在一些实施例中,若所述触控操作的类型为单点触控,所述触控点移动信息包括单个触控点的移动信息;处理模块602,具体用于:根据所述单个触控点的移动信息,获取所述目标礼物对应的显示路径的信息,所述显示信息包括所述显示路径的信息。
在一些实施例中,若所述触控操作的类型为多点触控,所述触控点移动信息包括多个触控点分别对应的移动信息;处理模块602,具体用于:根据所述多个触控点分别对应的移动信息,获取所述目标礼物对应的显示尺寸和/或显示角度的信息,所述显示信息包括显示尺寸和/或显示角度的信息。
在一些实施例中,若所述显示信息包括显示尺寸的信息;所述处理模块602, 具体用于:根据所述多个触控点分别对应的移动信息,确定所述多个触控点之间的距离;根据所述多个触控点之间的距离,确定所述目标礼物对应的显示尺寸的信息。
在一些实施例中,若所述显示信息包括显示角度的信息;所述处理模块602,具体用于:根据所述多个触控点分别对应的移动信息,确定所述多个触控点的连线的旋转角度;根据所述多个触控点的连线的旋转角度,获取所述目标礼物对应的显示角度的信息。
在一些实施例中,处理模块602,具体用于:响应于针对所述目标礼物对应的显示设置面板中目标显示方式的输入操作,获取所述目标显示方式对应的显示信息为所述目标礼物对应的显示信息;其中,所述目标显示方式包括:显示路径、显示尺寸、显示角度中的一项或多项。
在一些实施例中,所述处理模块602,还用于:在所述直播间页面展示所述目标礼物时,开始计时;在计时时长大于预设时长时,控制所述目标礼物从所述直播间页面显示结束。
本实施例提供的装置可以用于执行前述任一方法实施例中第一客户端的技术方案,其实现原理以及技术效果类似,可参照前述方法实施例的详细描述,简明起见,此处不再赘述。
在一些实施例中,本公开实施例还提供一种电子设备。
图7为本公开一些实施例提供的电子设备的结构示意图。参照图7所示,本实施例提供的电子设备700包括:存储器701和处理器702。
存储器701可以是独立的物理单元,与处理器702可以通过总线703连接。存储器701、处理器702也可以集成在一起,通过硬件实现等。
存储器701用于存储程序指令,处理器702调用该程序指令,执行以上任一方法实施例提供的直播间交互方法。
在一些实施例中,当上述实施例的方法中的部分或全部通过软件实现时,上述电子设备700也可以只包括处理器702。用于存储程序的存储器701位于电子设备700之外,处理器702通过电路/电线与存储器连接,用于读取并执行存储器中存储的程序。
处理器702可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合。
处理器702还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。
存储器701可以包括易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM);存储器也可以包括非易失性存储器(non-volatile memory),例如快闪存储器(flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD);存储器还可以包括上述种类的存储器的组合。
本公开还提供一种可读存储介质,包括:计算机程序指令,所述计算机程序指令被电子设备的至少一个处理器执行时,使得所述电子设备实现如上任一方法实施例提供的直播间交互方法。
本公开还提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机实现如上任一方法实施例提供的直播间交互方法。
本公开还提供一种计算机程序,包括:指令,所述指令当由处理器执行时使所述处理器执行根据如上任一方法实施例提供的直播间交互方法。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (19)

  1. 一种直播间交互方法,应用于第一客户端,包括:
    响应于针对礼物面板上的目标礼物的触发操作,在直播间页面显示目标礼物;
    响应于针对所述目标礼物的输入操作,获取所述目标礼物对应的显示信息;
    将所述显示信息发送至服务器,以通过所述服务器将所述显示信息发送至第二客户端,从而在所述第二客户端根据所述显示信息在直播间页面对所述目标礼物进行显示。
  2. 根据权利要求1所述的直播间交互方法,其中,所述输入操作包括触控操作;所述响应于针对所述目标礼物的输入操作,获取所述目标礼物对应的显示信息,包括:
    响应于针对所述目标礼物的触控操作,获取所述触控操作对应的触控点移动信息;
    基于所述触控点移动信息,获取所述目标礼物的对应的显示信息。
  3. 根据权利要求2所述的直播间交互方法,其中,若所述触控操作的类型为单点触控,所述触控点移动信息包括单个触控点的移动信息,所述基于所述触控点移动信息,获取所述目标礼物对应的显示信息,包括:
    根据所述单个触控点的移动信息,获取所述目标礼物对应的显示路径的信息,所述显示信息包括所述显示路径的信息。
  4. 根据权利要求2所述的直播间交互方法,其中,若所述触控操作的类型为多点触控,所述触控点移动信息包括多个触控点分别对应的移动信息;所述基于所述触控点移动信息,获取所述目标礼物对应的显示信息,包括:
    根据所述多个触控点分别对应的移动信息,获取所述目标礼物对应的显示尺寸和/或显示角度的信息,所述显示信息包括显示尺寸和/或显示角度的信息。
  5. 根据权利要求4所述的直播间交互方法,其中,若所述显示信息包括显示尺寸的信息,则所述根据所述多个触控点分别对应的移动信息,获取所述目标礼物对应的显示尺寸和/或显示角度的信息,包括:
    根据所述多个触控点分别对应的移动信息,确定所述多个触控点之间的距离;
    根据所述多个触控点之间的距离,确定所述目标礼物对应的显示尺寸的信息。
  6. 根据权利要求4所述的直播间交互方法,其中,若所述显示信息包括显示角度的信息,则根据所述多个触控点分别对应的移动轨迹信息,获取所述目标礼物对应的显示尺寸和/或显示角度的信息,包括:
    根据所述多个触控点分别对应的移动信息,确定所述多个触控点的连线的旋转角度;
    根据所述多个触控点的连线的旋转角度,获取所述目标礼物对应的显示角度的信息。
  7. 根据权利要求2至6任一项所述的直播间交互方法,其中,所述触控点移动信息包括触控点的位置信息和时间信息。
  8. 根据权利要求1至7任一项所述的直播间交互方法,其中,所述响应于针对所述目标礼物的输入操作,获取所述目标礼物对应的显示信息,包括:
    响应于针对所述目标礼物对应的显示设置面板中目标显示方式的输入操作,获取所述目标显示方式对应的显示信息为所述目标礼物对应的显示信息。
  9. 根据权利要求8所述的直播间交互方法,其中,所述目标显示方式包括:显示路径、显示尺寸、显示角度中的一项或多项。
  10. 根据权利要求1-9任一项所述的直播间交互方法,其中,所述响应于针对所述目标礼物的输入操作,获取所述目标礼物对应的显示信息,包括:
    接收用户通过针对所述目标礼物对应的显示设置面板提供的显示设置选项或者编辑控件输入的显示信息,作为所述目标礼物对应的显示信息。
  11. 根据权利要求1至10任一项所述的直播间交互方法,还包括:
    在所述直播间页面开始展示所述目标礼物时,开始计时;
    在计时时长大于预设时长时,控制所述目标礼物从所述直播间页面显示结束。
  12. 根据权利要求1至11任一项所述的直播间交互方法,其中,所述输入操作包括触控操作,所述不同的触控操作类型用于控制所述目标礼物在不同维度的显示方式。
  13. 根据权利要求1至12任一项所述的直播间交互方法,还包括:响应于针 对礼物面板上的目标礼物的触发操作,显示与所述目标礼物对应的引导信息。
  14. 根据权利要求1至12任一项所述的直播间交互方法,其中,将所述显示信息发送至服务器,以通过所述服务器将所述显示信息发送至第二客户端,从而在所述第二客户端根据所述显示信息在直播间页面对所述目标礼物进行显示包括:
    将所述显示信息发送至服务器,以通过所述服务器将所述显示信息发送至第二客户端,以便所述第二客户端在关闭第一显示模式并启用第二显示模式的情况下,根据所述显示信息在直播间页面对所述目标礼物进行显示。
  15. 一种直播间交互装置,应用于第一客户端,包括:
    显示模块,用于响应于针对礼物面板上的目标礼物的触发操作,在直播间页面显示目标礼物;
    处理模块,用于响应于针对所述目标礼物的输入操作,获取所述目标礼物对应的显示信息;
    通信模块,用于将所述显示信息发送至服务器,以通过所述服务器将所述显示信息发送至第二客户端,从而在所述第二客户端根据所述显示信息在直播间页面对所述目标礼物进行显示。
  16. 一种计算机可读存储介质,包括:计算机程序指令,所述计算机程序指令被电子设备的处理器执行时,使得所述电子设备实现如权利要求1至14任一项所述的直播间交互方法。
  17. 一种电子设备,包括:存储器和处理器
    所述存储器,被配置为存储计算机程序指令;
    所述处理器,被配置为执行所述计算机程序指令,以实现权利要求1至14任一项所述的直播间交互方法。
  18. 一种计算机程序产品,当所述计算机程序产品被电子设备执行,使得所述电子设备实现如权利要求1至14任一项所述的直播间交互方法。
  19. 一种计算机程序,包括:指令,所述指令当由处理器执行时使所述处理器执行根据权利要求1至14任一项所述的直播间交互方法。
PCT/CN2023/076807 2022-03-11 2023-02-17 直播间交互方法、装置、电子设备、介质及程序产品 Ceased WO2023169183A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/846,232 US20250203127A1 (en) 2022-03-11 2023-02-17 Interaction method and apparatus, electronic device, medium and program product

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210239352.7A CN116781938B (zh) 2022-03-11 2022-03-11 直播间交互方法、装置、电子设备、介质及程序产品
CN202210239352.7 2022-03-11

Publications (1)

Publication Number Publication Date
WO2023169183A1 true WO2023169183A1 (zh) 2023-09-14

Family

ID=87937194

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/076807 Ceased WO2023169183A1 (zh) 2022-03-11 2023-02-17 直播间交互方法、装置、电子设备、介质及程序产品

Country Status (3)

Country Link
US (1) US20250203127A1 (zh)
CN (1) CN116781938B (zh)
WO (1) WO2023169183A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653167A (zh) * 2015-12-23 2016-06-08 广州华多网络科技有限公司 一种基于在线直播的信息展示方法及客户端
CN106375775A (zh) * 2016-09-26 2017-02-01 广州华多网络科技有限公司 虚拟礼物展示方法及装置
CN109194973A (zh) * 2018-09-26 2019-01-11 广州华多网络科技有限公司 一种多主播直播间赠送虚拟礼物的展示方法、装置及设备
US20200143447A1 (en) * 2016-12-26 2020-05-07 Hong Kong Liveme Corporation Limited Method and device for recommending gift and mobile terminal
CN113630615A (zh) * 2021-08-10 2021-11-09 上海哔哩哔哩科技有限公司 直播间虚拟礼物展示方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653167A (zh) * 2015-12-23 2016-06-08 广州华多网络科技有限公司 一种基于在线直播的信息展示方法及客户端
CN106375775A (zh) * 2016-09-26 2017-02-01 广州华多网络科技有限公司 虚拟礼物展示方法及装置
US20200143447A1 (en) * 2016-12-26 2020-05-07 Hong Kong Liveme Corporation Limited Method and device for recommending gift and mobile terminal
CN109194973A (zh) * 2018-09-26 2019-01-11 广州华多网络科技有限公司 一种多主播直播间赠送虚拟礼物的展示方法、装置及设备
CN113630615A (zh) * 2021-08-10 2021-11-09 上海哔哩哔哩科技有限公司 直播间虚拟礼物展示方法及装置

Also Published As

Publication number Publication date
CN116781938A (zh) 2023-09-19
US20250203127A1 (en) 2025-06-19
CN116781938B (zh) 2026-03-10

Similar Documents

Publication Publication Date Title
US11853523B2 (en) Display device and method of indicating an active region in a multi-window display
US12333137B2 (en) Configuration of application execution spaces and sub-spaces for sharing data on a mobile touch screen device
CN103582863B (zh) 多应用环境
CN106201171B (zh) 一种分屏显示方法及电子设备
CN103562839B (zh) 多应用环境
US20190095014A1 (en) System and method of page sharing by a device
TWI305894B (zh)
US20130106888A1 (en) Interactively zooming content during a presentation
JP7852092B2 (ja) ビデオに基づくインタラクション方法、装置、機器、記憶媒体、及びコンピュータプログラム
WO2022205772A1 (zh) 直播间的页面元素展示方法及装置
CN105190486A (zh) 显示装置及其用户界面屏幕提供方法
CN106020473A (zh) 界面操作方法及系统
JP7825742B2 (ja) ライブ配信インタフェースインタラクションのための方法、装置、デバイスおよび記憶媒体
CN115328309A (zh) 用于虚拟对象的交互方法、装置、设备和存储介质
WO2023011244A1 (zh) 多媒体内容展示的控制方法、装置、电子设备和介质
US20140164993A1 (en) Method and electronic device for enlarging and displaying contents
CN112218134A (zh) 一种输入方法以及相关设备
WO2021068405A1 (zh) 元素传递方法、装置、设备及存储介质
WO2023246497A1 (zh) 视频处理方法、装置、设备及存储介质
US20140052746A1 (en) Method of searching for playback location of multimedia application and electronic device thereof
CN115729412A (zh) 界面显示方法及其装置
WO2023169183A1 (zh) 直播间交互方法、装置、电子设备、介质及程序产品
WO2016155518A1 (zh) 一种界面交互方法及装置
WO2026001352A1 (zh) 内容填充交互、发布商品信息的方法及电子设备
US20240012538A1 (en) Multi-process interface controller (2-d)

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18846232

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

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

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19/12/2024)

WWP Wipo information: published in national office

Ref document number: 18846232

Country of ref document: US

122 Ep: pct application non-entry in european phase

Ref document number: 23765761

Country of ref document: EP

Kind code of ref document: A1