Live streaming interactive methods, devices, electronic equipment, media and software products
By responding to gift triggers and inputs in the live stream, the system obtains and sends gift display information to change the way gifts are presented, thus solving the problem of monotonous gift-giving methods and achieving personalized gift display and enhanced interactivity.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-11
- Publication Date
- 2026-03-10
AI Technical Summary
The current gift-giving methods in live streaming are too simplistic and fail to meet users' growing demand for interactive features, thus impacting user experience.
By responding to the trigger and input operations of the target gift, the display information of the gift is obtained and sent to the server for display on the second client. Users can change the display path, size and angle of the gift through touch operations to achieve personalized display of the gift.
It enriched the ways to interact with gifts in the live broadcast room, improved the interactivity and experience between users, and enhanced users' enthusiasm for participation.
Smart Images

Figure CN116781938B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present disclosure relate to the technical field of computer, and particularly, to a live broadcast room interaction method, a live broadcast room interaction device, and a computer readable storage medium, an electronic device, and a computer program product for implementing the live broadcast room interaction method. BACKGROUND
[0002] With the rapid development of Internet information technology, live broadcast services have also developed, and more and more live broadcast platforms have emerged. Users can watch live broadcast content of anchors in live broadcast rooms through the live broadcast platforms, and can send gifts to the anchors to interact with the anchors when watching live broadcast videos in the live broadcast rooms.
[0003] However, the current gift sending mode in the live broadcast process is relatively single, and it is difficult to meet the increasing demand of users for live broadcast interaction, which affects the user experience. SUMMARY
[0004] To solve the above technical problems, embodiments of the present disclosure provide a live broadcast room interaction method, a live broadcast room interaction device, and a computer readable storage medium, an electronic device, and a computer program product for implementing the live broadcast room interaction method.
[0005] In a first aspect, the embodiments of the present disclosure provide a live broadcast room interaction method, comprising:
[0006] In response to a trigger operation on a target gift on a gift panel, displaying the target gift on a live broadcast room page;
[0007] In response to an input operation on the target gift, obtaining display information corresponding to the target gift;
[0008] Sending the display information to a server, so as to send the display information to a second client through the server, and displaying the target gift on a live broadcast room page according to the display information on the second client.
[0009] As a possible implementation, the input operation includes a touch operation, and the response to the input operation on the target gift to obtain the display information corresponding to the target gift includes:
[0010] In response to the touch operation on the target gift, obtaining touch point movement information corresponding to the touch operation;
[0011] Based on the touch point movement information, obtaining the display information corresponding to the target gift.
[0012] As a possible implementation, if the type of the touch operation is single-point touch, the touch point movement information comprises movement information of a single touch point; and the display information corresponding to the target gift is obtained based on the touch point movement information, comprising:
[0013] information of a display path corresponding to the target gift is obtained according to the movement information of the single touch point, and the display information comprises information of the display path.
[0014] As a possible implementation, if the type of the touch operation is multi-point touch, the touch point movement information comprises movement information corresponding to each of a plurality of touch points; and the display information corresponding to the target gift is obtained based on the touch point movement information, comprising:
[0015] information of a display size and / or a display angle corresponding to the target gift is obtained according to the movement information corresponding to each of the plurality of touch points, and the display information comprises information of the display size and / or the display angle.
[0016] As a possible implementation, if the display information comprises information of the display size, the information of the display size and / or the display angle corresponding to the target gift is obtained according to the movement information corresponding to each of the plurality of touch points, comprising:
[0017] a distance between the plurality of touch points is determined according to the movement information corresponding to each of the plurality of touch points;
[0018] information of the display size corresponding to the target gift is determined according to the distance between the plurality of touch points.
[0019] As a possible implementation, if the display information comprises information of the display angle, the information of the display size and / or the display angle corresponding to the target gift is obtained according to movement trajectory information corresponding to each of the plurality of touch points, comprising:
[0020] a rotation angle of a line connecting the plurality of touch points is determined according to the movement information corresponding to each of the plurality of touch points;
[0021] information of the display angle corresponding to the target gift is obtained according to the rotation angle of the line connecting the plurality of touch points.
[0022] As a possible implementation, the display information corresponding to the target gift is obtained in response to an input operation on the target gift, comprising:
[0023] In response to an input operation on the target display mode in the display settings panel corresponding to the target gift, the display information corresponding to the target display mode is obtained as the display information corresponding to the target gift; wherein, the target display mode includes one or more of the following: display path, display size, and display angle.
[0024] As one possible implementation, the method further includes:
[0025] The timer starts when the target gift is displayed on the live stream page.
[0026] When the timeout period exceeds the preset duration, the display of the target gift on the live stream page will end.
[0027] Secondly, embodiments of this disclosure provide a live streaming room interaction device, applied to a first client, the live streaming room interaction device comprising:
[0028] The display module is used to display the target gift on the live stream page in response to a triggered action on the target gift on the gift panel.
[0029] The processing module is used to respond to an input operation for the target gift and obtain the display information corresponding to the target gift;
[0030] A communication module is used to send the display information to a server, which then sends the display information to a second client, so that the second client can display the target gift on the live stream page based on the display information.
[0031] Thirdly, embodiments of this disclosure provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the live streaming interaction method described in the first aspect and any one of the first aspects.
[0032] Fourthly, embodiments of this 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 live streaming interaction method described in the first aspect and any one of the first aspects.
[0033] Fifthly, embodiments of this disclosure provide a computer program product that, when executed by an electronic device, enables the electronic device to implement the live streaming interaction method as described in the first aspect or any one of the first aspects.
[0034] The live streaming interaction method, apparatus, electronic device, medium, and program product provided in this disclosure include: displaying the target gift on the live streaming page in response to a trigger operation on a target gift on a gift panel; obtaining display information corresponding to the target gift in response to an input operation on the target gift; a first client sending the display information to a server, which then sends the display information to a second client, thereby displaying the target gift on the live streaming page on the second client according to the display information. Through this method, after a user sends a target gift in the live streaming room, they can change the display method of the target gift through input operations, allowing the user who sent the target gift to participate in controlling the display method of the target gift. Other users in the live streaming room (such as the streamer or other users) can also simultaneously see the target gift displayed according to the changed display method, enriching the gift interaction methods in the live streaming room, helping to improve the interactivity between different users in the live streaming room, and enhancing the user experience. Attached Figure Description
[0035] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0036] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0037] Figure 1 A flowchart illustrating a live streaming interaction method provided in an embodiment of this disclosure;
[0038] Figure 2 A flowchart illustrating a live-streaming interaction method provided in another embodiment of this disclosure;
[0039] Figure 3a This is a schematic diagram illustrating the determination of the display path of a target gift based on the movement information of a single touch point, according to an embodiment of this disclosure.
[0040] Figure 3b This is a schematic diagram illustrating the display size and display angle of a target gift determined based on movement information from multiple touch points, according to an embodiment of this disclosure.
[0041] Figure 4 A flowchart illustrating a live-streaming interaction method provided in another embodiment of this disclosure;
[0042] Figures 5a to 5f This is a diagram of the human-computer interaction interface provided in this disclosure;
[0043] Figure 6This is a schematic diagram of the structure of a live streaming interactive device provided in an embodiment of the present disclosure;
[0044] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. Detailed Implementation
[0045] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0046] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.
[0047] It should be understood that in the following text, "at least one item" refers to one or more, and "more than" refers to two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can mean: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, 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, and c can be single or multiple.
[0048] For example, the live streaming interaction method provided in this disclosure can be implemented by the live streaming interaction device provided in this disclosure. The live streaming interaction device can be implemented by any software and / or hardware means. For example, the live streaming interaction device can be a tablet computer, a mobile phone (such as a foldable screen phone, a large screen phone, etc.), a wearable device, an in-vehicle device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a smart TV, a smart screen, a high-definition TV, a 4K TV, and other Internet of Things (IoT) devices. This disclosure does not impose any restrictions on the specific type of electronic device.
[0049] This disclosure does not limit the type of operating system used in electronic devices. Examples include Android, Linux, Windows, and iOS.
[0050] Based on the foregoing description, this disclosure will use electronic devices as examples, combined with accompanying drawings and application scenarios, to elaborate in detail on the method for displaying video collections provided by this disclosure.
[0051] In the following embodiments, the electronic device is a mobile phone, and a client (hereinafter referred to as client 1) is installed on the mobile phone. User 2's mobile phone is equipped with client 2, and user 3's mobile phone is equipped with client 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 the gifts. User 2 is the host who publishes the live broadcast, and user 3 is another viewer in the live broadcast room.
[0052] Client 1 corresponding to User 1 can be understood as the first client, and client 2 corresponding to User 2 and client 3 corresponding to User 3 can be understood as the second client.
[0053] Figure 1 This is a flowchart illustrating a live streaming interaction method provided in one embodiment of this disclosure. The method in this embodiment is applied to a first client; please refer to [link / reference]. Figure 1 As shown, the method provided in this embodiment includes:
[0054] S101: In response to a triggered action on a target gift on the gift panel, display the target gift on the live stream page.
[0055] The gift panel can be used to display a collection of virtual gifts. For example, the virtual gifts displayed in the gift panel may include, but are not limited to, video gifts, animated gifts such as Graphics Interchange Format (GIF) animated gifts, and one or more of these.
[0056] Triggering actions for a target gift on the gift panel can include, but are not limited to, clicking on the target gift, voice commands, etc.
[0057] In an example scenario, User 1 launches client 1 installed on their mobile phone and enters the live stream they wish to watch. Client 1 provides a button 1 on the live stream page for accessing the gift panel. User 1 can access the gift panel via button 1 and select a virtual gift as the target gift. User 1 then sends the target gift by clicking on its corresponding display area. Afterwards, Client 1 sends the target gift information to the server via their mobile phone. The server can then send the target gift information and data to Users 2 and 3, so that the target gift can be displayed on their respective live stream pages.
[0058] S102: In response to an input operation for the target gift, obtain the display information corresponding to the target gift.
[0059] The displayed information may include one or more of the following: display path information, display size information, display angle, and display shape information. In other words, users can control one or more of the display path, display size, display angle, and display shape of the target gift through input.
[0060] It should be noted that the displayed information may be for the entire target gift or for a part of the target gift (e.g., if the target gift consists of two parts, the displayed information may be for one part), and this disclosure does not limit this.
[0061] One possible implementation involves providing a display settings panel in response to a user's setting request, receiving user input on the display settings panel, and determining the display information corresponding to the target gift.
[0062] For example, the display settings panel can provide display settings options or editing controls. Users can input display information through the display settings options or editing controls, and the display information can be received from the user and used as the display information corresponding to the target gift.
[0063] For example, the display settings panel can provide a variety of display modes. Users can choose one of the various display modes provided by the display settings panel as the target display mode. Based on the target display mode selected by the user, the display information corresponding to the target display mode is determined as the display information corresponding to the target gift.
[0064] In addition, the display settings panel provides multiple tabs, each corresponding to a different display mode. For example, the display settings panel includes tabs 1, 2, and 3; tab 1 is used to access the display path settings panel, which displays various display paths; tab 2 is used to access the display size settings panel, which provides options or editing controls for setting the display size; and tab 3 is used to access the display angle settings panel, which provides options or editing controls for setting the display angle. Users can switch between tabs 1 to 3 to set the display mode of the target gift in multiple different dimensions through the settings panels corresponding to each dimension.
[0065] Another possible implementation involves a user inputting a touch operation on the electronic device's touchscreen to select a target gift. The user then responds to the operation and receives display information about the gift. Different touch operation types can be used to control the display of the target gift in different dimensions. For example, the touch operation can be a single-point touch or a multi-point touch. A single-point touch can control the display path of the target gift, while a multi-point touch can control the display size and / or angle of the target gift.
[0066] S103: Send the display information to the server, so that the server can send the display information to the second client, and the second client can display the target gift on the live broadcast page according to the display information.
[0067] Based on the scenario exemplified in step S101 above, and based on user 1's input operation, client 1 can send the display information for the target gift to the server via its mobile phone, and the server will then send it to the corresponding electronic devices of user 2 and user 3.
[0068] For example, User 1 selects a display path through the display settings panel on their mobile phone's live stream page. User 1's phone sends this display path information to the server, which then forwards it to the respective clients of User 2 and User 3. On their respective clients' live stream pages, User 2 and User 3 control the target gift to move along the display path selected by User 1. This allows User 2 and User 3 to simultaneously view User 1's control over the display of the target gift while User 1 sends and adjusts its display.
[0069] In some cases, the client can also provide corresponding permission switches. When the permission is off, the gift is displayed in its original way; when the permission is on, it is displayed according to the display method set by the user who sent the gift, and follows the user's actions regarding the gift. Therefore, when the second client displays the target gift, it also needs to consider the permission switches related to gift display in the second client. Specifically, the second client can display a first display mode identifier and a second display mode identifier. In response to a trigger operation on the first display mode identifier, the first display mode is enabled, and the target gift is displayed on the live stream page on the second client according to the display information, which corresponds to the display information on the first client. In response to a trigger operation on the second display mode identifier, the first display mode is disabled and the second display mode is enabled, and the target gift is displayed on the live stream page on the second client according to default information. The default information can be the gift display information preset by the application. This allows different users to choose different display modes, improving display flexibility and better meeting user needs.
[0070] In some possible cases, in response to a trigger operation on a target gift on the gift panel, the target gift is displayed on the live stream page, along with corresponding guidance information. Specifically, the guidance information can be matched to the type of the target gift. When the target gift is of a first type, first guidance information is displayed, corresponding to the first type; when the target gift is of a second type, second guidance information is displayed, corresponding to the second type. For example, if the target gift is a mobile gift such as an airplane or sports car, in response to a trigger operation on the target gift on the gift panel, movement trajectory guidance information is displayed to guide the user to adjust the display method of the target gift in the live stream according to the movement trajectory. If the target gift is a deformable gift such as a flower, in response to a trigger operation on the target gift on the gift panel, deformation guidance information is displayed (e.g., attempting to control the flower to bloom by spreading two fingers outwards), to guide the user to adjust the display method of the target gift in the live stream according to the deformation information. This further enriches the gift interaction methods, enhances the interactive atmosphere of the live stream, and makes the gift display method more consistent with the gift, meeting user expectations. In response to an input operation targeting the target gift, the server obtains the corresponding display information. In some cases, the server may pre-store the correspondence between display information and input operations (such as touch gestures), determine the display information corresponding to the current input operation based on this correspondence, and then send the display information to the client. For example, when the touch gesture is a leftward gesture, the display information is "Gift moves to the left," and when the touch gesture is a rightward gesture, the display information is "Gift moves to the right." This improves the efficiency of gift display.
[0071] In addition, as a possible implementation, after the first client sends the display information corresponding to the target gift to the second client (such as the broadcaster) through the server, it sends a request message to the second client to request that the target gift be displayed according to the display information corresponding to the target gift sent by the first client. After the second client agrees to the request, the target gift is displayed on the live broadcast page according to the display information.
[0072] The method provided in this embodiment allows users to change the display method of a target gift after sending it in a live stream by inputting an operation. This enables the user who sent the target gift to participate in controlling the display method, which helps to increase the user's enthusiasm for sending the target gift. In addition, other users in the live stream (such as the host or other users) can also see the target gift displayed in the changed way, which enriches the display methods of the target gift and helps to improve the interactivity between different users in the live stream.
[0073] Optionally, in one embodiment, the above-mentioned input operation may include, but is not limited to, touch operation. Figure 2 This is a flowchart illustrating a live-streaming interaction method according to another embodiment of this disclosure. Please refer to [link / reference]. Figure 2 As shown, the method in this embodiment includes:
[0074] S201. In response to a trigger operation on a target gift on the gift panel, display the target gift on the live stream page.
[0075] In this embodiment, step S201 and Figure 1 Step S101 in the illustrated embodiment is similar and can be referred to. Figure 1 The detailed description of the illustrated embodiments will not be repeated here for the sake of brevity.
[0076] Combination Figure 1 As shown, step S102 can be implemented through steps S202 to S203 in this embodiment.
[0077] S202, In response to a touch operation on a target gift, obtain touch point movement information corresponding to the touch operation.
[0078] As mentioned above, touch operations can be categorized into single-point touch and multi-point touch, and the touch point movement information generated based on these different types of touch operations also differs. Specifically, if the touch operation is single-point touch, the touch point movement information can include the movement information of a single touch point; if the touch operation is multi-point touch, the touch point movement information can include the movement information corresponding to multiple touch points. Furthermore, different types of touch operations can be used to control the display of a target gift in different dimensions.
[0079] As one possible implementation, upon receiving a user's touch input, it can first be determined whether the touch operation is a single-point touch or a multi-point touch. Then, according to a pre-set method (such as periodically), the position information and corresponding time information of one or more touch points can be determined to obtain touch point movement information. That is, the touch point movement information can include both position and time information. The position information of the touch point can be represented by its coordinates (x, y) in a two-dimensional coordinate system established based on the touch screen of the electronic device.
[0080] For example, assuming that the type of touch operation is determined to be single-point touch, that is, the user touches the touch screen of the electronic device corresponding to the first client with a single finger (e.g., index finger). In this case, the first touch time and first touch position (i.e., the position coordinates of the touch point in the touch screen of the electronic device corresponding to the first client) of multiple first touch points corresponding to the touch operation can be determined.
[0081] For example, if a touch operation is a continuous action, then multiple touch points can be continuously identified, and these touch points are generated sequentially according to a time order. For example... Figure 3a As shown, four touch points are generated sequentially based on the user's single-point touch operation with their index finger, namely touch point a1 to touch point a4. Touch point a1 corresponds to time t1 and position (x1, y1); touch point a2 corresponds to time t2 and position (x2, y2); touch point a3 corresponds to time t3 and position (x3, y3); and touch point a4 corresponds to time t4 and position (x4, y4). Based on continuous touch operations input by the user, more position and time information of the touch points can be determined. This explanation uses four touch points as an example.
[0082] For example, assuming the type of touch operation is determined to be multi-touch, that is, the user touches the touch screen of the electronic device corresponding to the first client with multiple fingers (such as two fingers, namely: thumb and index finger). In this case, the information of the touch points generated by each finger is determined, such as determining the second touch time and second touch position of multiple second touch points generated by the touch operation of the thumb (such as the position coordinates of the touch points generated by the thumb in the touch screen of the electronic device corresponding to the first client), and the third touch time and third touch position of multiple third touch points generated by the touch operation of the index finger (such as the position coordinates of the touch points generated by the index finger in the touch screen of the electronic device corresponding to the first client).
[0083] For example, if a touch operation is a continuous action, then multiple touch points generated by each finger can be continuously identified, and these touch points are arranged in chronological order. For example... Figure 3b As shown, eight touch points can be determined based on the user's multi-touch operation with their thumb and index finger, namely touch points b1 to b4 and touch points c1 to c4; where the time corresponding to touch points b1 and c1 is t1, and 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, and the position of touch point b2 is (x2). b y2 b The position of touch point c2 is (x2) c y2 c The time corresponding to touch point b3 and touch point c3 is t3, and the position of touch point b3 is (x3). b y3 b The position of touch point c3 is (x3) c y3 cThe time corresponding to touch point b4 and touch point c4 is t4, and the position of touch point b4 is (x4). b y4 b The position of touch point c4 is (x4) c y4 c Based on continuous touch operations input by the user, more location and timing information of the touch points can be determined. Here, we take 8 touch points as an example for explanation.
[0084] S203. Based on the touch point movement information, obtain the corresponding display information of the target gift.
[0085] The following sections will explain how to obtain the display information of the target gift, based on the types of touch operation: single-touch and multi-touch.
[0086] 1. The type of touch operation is single-point touch.
[0087] Specifically, the position information and order 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 the display path information corresponding to the target gift.
[0088] In determining the position of each first touch point generated sequentially, normalized coordinate values can be used as the position information of the touch points. In this way, the position of each discrete point in the display path is also normalized. The second client can calculate the position of each discrete point included in the display path on the display screen of the electronic device corresponding to the second client based on the normalized coordinate values, thereby adapting to the second client with display screens of different sizes to accurately display the target gift.
[0089] For example, such as Figure 3a As shown, the line s1 connecting touch point a1 to touch point a4 is the display path of the target gift. Touch points a1 to a4 correspond to four discrete points in the display path of the target gift. The positions of touch points a1 to a4 are the positions of the discrete points in the display path on the display screen of the electronic device.
[0090] In determining the position of each first touch point generated sequentially, normalized coordinate values can be used as the position information of each first touch point. In this way, the position of each discrete point in the display path is also normalized. The second client can calculate the position of each discrete point included in the display path on the display screen of the electronic device corresponding to the second client based on the normalized coordinate values, thereby adapting to the second client with display screens of different sizes to accurately display the target gift.
[0091] II. The type of touch operation is multi-touch.
[0092] Specifically, based on the movement information corresponding to multiple touch points and the chronological order of the touch points, the changes in the distance and rotation angle of the lines connecting the multiple touch points can be determined. Then, the display size of the target gift can be determined based on the changes in distance, and the display angle of the target gift can be determined based on the changes in rotation angle.
[0093] The display size and viewing angle can both be represented by a matrix, where each element represents the position of different key points of the target gift on the electronic device's display screen. Furthermore, to accommodate second clients with display screens of different sizes, and in the case of multi-touch operation, the values of each element in the matrix can be represented using a normalized method.
[0094] For example, such as Figure 3b As shown, line s3 connecting touch point b1 to touch point b4 represents the movement trajectory of the thumb, and line s2 connecting touch point c1 to touch point c4 represents the movement trajectory of the index finger. Figure 3b In the example, dashed line segment s4 is the line connecting touch point b4 and touch point c4, and dashed line segment s5 is the line connecting touch point b3 and touch point c3.
[0095] By comparing the difference in distance between dashed line segments s4 and s5, the display size of the target gift can be determined. If the length of dashed line segment s5 is greater than that of dashed line segment s4, it means the target gift needs to be enlarged for display; if the length of dashed line segment s4 is greater than that of dashed line segment s5, it means the target gift needs to be reduced for display. The specific enlargement or reduction ratio can be determined based on the magnitude of the difference.
[0096] The display angle of the target gift is determined by calculating the angle (i.e., the rotation angle) between dashed line segments s4 and s5. If the angle is 0, it means the display angle of the target gift does not need to be adjusted; if the angle is not equal to 0, it means the display angle of the target gift needs to be adjusted. The specific display angle can be determined based on the size of the angle. In some cases, if the target gift has a three-dimensional structure, the display angle can be determined by combining the distance change between dashed line segments s4 and s5 and the size of the angle.
[0097] This section uses the touch points generated by the thumb and index finger at times t1 and t2 as examples to illustrate how to determine the display angle. As the thumb and index finger generate more and more touch points, the distance change and rotation angle change between the lines connecting multiple touch points recorded at the same time and the lines connecting multiple touch points at the previous time are calculated in a similar manner to determine a new set of display size and display angle information.
[0098] It should be noted that the above methods for determining the display size and angle are only examples, and other methods can also be used.
[0099] S204. The display information is sent to the server, and the server sends the display information to the second client, so that the target gift is displayed on the live broadcast page on the second client according to the display information.
[0100] In this embodiment, step S204 and Figure 1 Step S103 in the illustrated embodiment is similar and can be referred to. Figure 1 The detailed description of the illustrated embodiments will not be repeated here for the sake of brevity.
[0101] In addition, it should be noted that user input touch operations may be achieved through continuous actions. Therefore, the determination of the position and time information of the touch point and the generation of display information for the target gift can be performed in parallel. When display information is generated, it is sent to the server in a timely manner to send to the second client, ensuring that the second client can follow the user's operation on the target gift in the first client in a timely manner.
[0102] The method provided in this embodiment allows users to change the display of a target gift after sending it in a live stream via touch operation. This enables the user who sent the gift to participate in controlling its display, thus increasing user engagement. For users, this input method is simple, convenient, and flexible, meeting their personalized needs. Different types of touch operations can control the display of the target gift in different dimensions, adding to the fun. Furthermore, other users in the live stream (such as the host or other users) can simultaneously see the target gift displayed according to the changed display method, enriching the display options and enhancing interactivity among different users in the live stream.
[0103] Figure 4 This is a flowchart illustrating a live-streaming room interaction method according to another embodiment of this disclosure. (Refer to...) Figure 4 As shown, the method in this embodiment includes:
[0104] S401, In response to the triggering operation of the target gift on the gift panel, display the target gift on the live broadcast page and start the timer.
[0105] When a user sends a target gift in the live stream through the first client, the first client can start a timer to begin timing.
[0106] S402. When the timer reaches the preset duration, control the display of the target gift from the live broadcast page to end.
[0107] The preset duration can be understood as the effective display time of the target gift. After the timer starts, the user can input actions related to the target gift, and within the preset duration after the timer starts, the user's input actions related to the target gift can be considered valid actions. This disclosure does not limit the preset duration; the preset duration can be set as needed, for example, it can be set to 10 seconds, 15 seconds, etc.
[0108] In addition, the first client sends the target gift information to the server, which then forwards it to the second client. The second client starts a timer when displaying the target gift on the live stream page. Once the second client's timer reaches the preset duration, the second client stops displaying the target gift.
[0109] Figures 5a to 5f The illustrated embodiment is a schematic diagram of the human-computer interaction interface provided in this disclosure. (In transit 5a to...) Figure 5f In the illustrated embodiment, user 1 is the viewer watching the live stream, and user 2 is the streamer broadcasting the live stream. User 1's electronic device (such as a mobile phone) has client 1 installed. Figures 5a to 5f This is a schematic diagram of the user interface displayed on client 1 corresponding to user 1.
[0110] Please refer to Figure 5a As shown, after user 1 launches client 1 and enters the live stream they want to watch, client 1 displays the following on their mobile phone: Figure 5a The user interface 51 shown is shown. Among them, Figure 5a The user interface 51 shown 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 multimedia content published by user 2.
[0111] The user interface 51 may also include a button 501 for accessing the gift panel.
[0112] Client 1 receives the trigger operation from user 1 on button 501, and client 1 can display the following on the mobile phone, for example: Figure 5b The user interface shown is 52.
[0113] Please see Figure 5b As shown, the user interface 52 includes: area 502, which is used to display a gift panel. The gift panel is used to display a collection of gifts, and users can select a gift from the collection of gifts displayed on the gift panel and send it to the live broadcast room.
[0114] Suppose User 1 selects the airplane gift in the first row and first column of region 502 as the target gift. User 1 sends the airplane gift to the live stream by clicking the send button corresponding to the airplane gift. Client 1 demonstrates this on a mobile phone. Figure 5c The user interface shown is 53.
[0115] The user interface 53 includes an area 503, which displays the airplane gift selected by user 1. This disclosure does not limit the size, position, or other display parameters of the area 503.
[0116] When the target gift is displayed, client 1 can start a timer, for example, by displaying a timer in area 504 of user interface 53 and starting the timer.
[0117] In addition, the user interface 53 can also display prompts to encourage the user to input touch operations on the target gift to control its display method, such as display path, display size, display angle, etc. For example, see... Figure 5c As shown, the user interface 53 also includes a region 505, which is used to display prompt messages via text. The text content could be, for example, "Slide the screen or use the button below to control the gift's flight, come and try it!" Of course, the text content can also be other content, and is not limited to these. Figure 5c Examples.
[0118] In one possible implementation, client 1 receives a touch operation input by user 1 on the mobile phone screen, and can do so as described above. Figure 2 The illustrated embodiment determines whether it is a single-point touch or a multi-point touch, and generates display information based on the touch point movement information.
[0119] For example Figure 5d As shown in the user interface 54, client 1 receives a touch operation input from user 1, where Figure 5d As shown in k1, the trajectory formed by connecting multiple touch points determined by client 1 is the path along which the target gift moves from its initial position. In other words, k1 is the display path of the target gift.
[0120] For example Figure 5e As shown in the user interface 55, the client 1 receives a multi-touch operation input by the user 1. Here, k2 and k3 are the trajectories formed by connecting the touch points generated by the user 1's two fingers touching the screen of the mobile phone. Based on the changes in the distance and rotation angle of k2 and k3, the display size and display angle of the target gift are changed. Figure 5e The example shows the target gift being rotated 180 degrees and its display size reduced. It should be noted that if the user does not set a display path for the gift, the gift can move along a preset path, for example...Figure 5e The path shown in k4 is the preset path for the aircraft. As the aircraft moves along the path shown in k4, the display angle and display size change continuously.
[0121] Please see Figure 5c As shown, client 1 can also display a button 506 in user interface 53 for accessing the display settings panel. Client 1 receives a trigger operation (such as a click operation) from user 1 on button 506, and client 1 displays the following on the mobile phone: Figure 5f The user interface 56 shown includes: area 507, which is used to display the display settings panel, through which the user can set the display path, display size, display angle, etc.
[0122] As one possible implementation, area 507 further includes labels 507a, 507b, and 507c. Label 507a is used to display a path setting panel in area 507d, which displays various display paths for the user to choose from. Label 507b is used to display a size setting panel in area 507d, which provides display size editing options. Label 507c is used to display an angle setting panel in area 507d, which provides display angle editing options. Furthermore, the method also includes, in response to a user's preview operation for a target display method (e.g., any candidate display path from multiple candidate display paths), displaying gift preview information corresponding to the target display method, allowing the user to adjust the display method promptly based on the preview information.
[0123] As another possible implementation, instead of setting labels for display settings panels for different dimensions, the available display methods can be listed in area 507 and corresponding labels can be added so that users can clearly understand the details of each display method.
[0124] After User 1 selects and confirms a display method through the display settings panel or generates display information for the target gift through touch operation, Client 1 can send the display information to the server. The server then sends the display information to User 2's corresponding client, which displays the target gift on the live stream page according to the received display information. User 2's client also displays the implementation method of the target gift on the live stream page based on the received display information.
[0125] It should be noted that User 1, through Figure 5bAfter selecting the "Send Gift" button, both User 1's client 1 and User 2's client can display the gift according to the preset display method. If User 1 does not input any action regarding the gift, both User 1's client and User 2's client can synchronously respond to User 1's input action. For example, refer to... Figure 5f As shown, when user 1 does not select one or more of the display path, display size, and display angle, the airplane gift moves along path k4.
[0126] It should be noted that the paths k1 to k4 mentioned above are used to illustrate the movement trajectory of the gifts and the trajectory of user operations, and may not be displayed on the live broadcast page.
[0127] In some possible scenarios, when user 1 selects a target gift but before sending it to the live stream, the display settings panel can be used to set the display method of the target gift. After the display method of the target gift is determined, it can be sent to the live stream so that the target gift is displayed in the live stream page according to the user's settings.
[0128] It should be noted that this disclosure is not limited to... Figures 5a to 5f The embodiments shown illustrate how users can control the display of a target gift, but other methods can also be used for control, and this disclosure does not limit this.
[0129] For example, this disclosure also provides a live streaming interactive device.
[0130] Figure 6 This is a schematic diagram of the structure of a live streaming interactive device provided in an embodiment of this disclosure. (Refer to...) Figure 6 As shown, the live streaming interactive device 600 provided in this embodiment includes:
[0131] Display module 601 is used to display the target gift on the live stream page in response to a trigger operation on the target gift on the gift panel.
[0132] The processing module 602 is used to obtain display information corresponding to the target gift in response to an input operation for the target gift.
[0133] The communication module 603 is used to send the display information to the server, so that the server can send the display information to the second client, and the second client can display the target gift on the live broadcast page according to the display information.
[0134] As one possible implementation, the input operation includes a touch operation; the processing module 602 is specifically used to: in response to a touch operation on the target gift, obtain touch point movement information corresponding to the touch operation; and based on the touch point movement information, obtain corresponding display information of the target gift.
[0135] As one possible implementation, if the type of the touch operation is single-point touch, the touch point movement information includes the movement information of a single touch point; the processing module 602 is specifically used to: obtain the display path information corresponding to the target gift based on the movement information of the single touch point, the display information including the display path information.
[0136] As one possible implementation, if the type of touch operation is multi-touch, the touch point movement information includes movement information corresponding to multiple touch points respectively; the processing module 602 is specifically used to: obtain information on the display size and / or display angle corresponding to the target gift based on the movement information corresponding to the multiple touch points respectively, wherein the display information includes information on the display size and / or display angle.
[0137] As one possible implementation, if the display information includes display size information, the processing module 602 is specifically used to: determine the distance between the plurality of touch points based on the movement information corresponding to the plurality of touch points respectively; and determine the display size information corresponding to the target gift based on the distance between the plurality of touch points.
[0138] As one possible implementation, if the display information includes display angle information, the processing module 602 is specifically used to: determine the rotation angle of the line connecting the plurality of touch points according to the movement information corresponding to the plurality of touch points respectively; and obtain the display angle information corresponding to the target gift according to the rotation angle of the line connecting the plurality of touch points.
[0139] As one possible implementation, the processing module 602 is specifically used to: in response to an input operation on the target display mode in the display settings panel corresponding to the target gift, obtain the display information corresponding to the target display mode as the display information corresponding to the target gift; wherein, the target display mode includes one or more of the following: display path, display size, and display angle.
[0140] In one possible implementation, the processing module 602 is further configured to: start timing when the target gift is displayed on the live streaming page; and control the display of the target gift to end when the timing duration exceeds a preset duration.
[0141] The apparatus 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 principle and technical effect are similar, and can be referred to the detailed description of the foregoing method embodiments. For the sake of brevity, it will not be repeated here.
[0142] By way of example, this disclosure also provides an electronic device.
[0143] Figure 7 This is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present disclosure. (Refer to...) Figure 7 As shown, the electronic device 700 provided in this embodiment includes a memory 701 and a processor 702.
[0144] The memory 701 can be a separate physical unit, connected to the processor 702 via a bus 703. Alternatively, the memory 701 and processor 702 can be integrated together, implemented in hardware, etc.
[0145] The memory 701 is used to store program instructions, and the processor 702 calls the program instructions to execute the live room interaction method provided in any of the above method embodiments.
[0146] Optionally, when some or all of the methods in the above embodiments are implemented by software, the 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 via circuits / wires to read and execute the programs stored in the memory.
[0147] The processor 702 can be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP.
[0148] The processor 702 may further include a hardware chip. This hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0149] The memory 701 may include volatile memory, such as random-access memory (RAM); the memory may also include non-volatile memory, such as flash memory, hard disk drive (HDD) or solid-state drive (SSD); the memory may also include a combination of the above types of memory.
[0150] This disclosure also provides a readable storage medium, including: computer program instructions, which, when executed by at least one processor of an electronic device, cause the electronic device to implement the live streaming interaction method provided in any of the above method embodiments.
[0151] This disclosure also provides a computer program product that, when run on a computer, enables the computer to implement the live streaming interaction method provided in any of the above method embodiments.
[0152] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0153] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A live room interaction method applied to a first client, comprising: The method comprises: in response to a triggering operation on a target gift on a gift panel, displaying the target gift on a live room page; in response to a touch operation on the target gift, obtaining touch point movement information corresponding to the touch operation, the type of the touch operation including multi-point touch; based on the touch point movement information, obtaining corresponding display information of the target gift; sending the display information to a server, so as to send the display information to a second client through the server, and thus display the target gift on the live room page according to the display information on the second client; wherein, based on the touch point movement information, obtaining the corresponding display information of the target gift comprises: obtaining the corresponding display information of the target gift according to the movement information of the plurality of touch points, the display information including display size and display angle information, the display size and the display angle being represented by a matrix, the elements in the matrix representing the display positions of a plurality of key points of the target gift respectively, the plurality of touch points being composed of a plurality of touch points generated by a plurality of fingers of a user, and the movement information including position information and time information.
2. The method of claim 1, wherein, The method further comprises: determining distance change information and rotation angle change information of the plurality of touch points according to the connection lines between the plurality of touch points at the same time and the connection lines between the plurality of touch points at the previous time; determining the display size and the display angle of the target gift according to the distance change information and the rotation angle change information of the plurality of touch points.
3. The method of claim 1, wherein, The first client can also obtain the display information corresponding to the target display mode as the display information corresponding to the target gift in response to an input operation on the target display mode in the display setting panel corresponding to the target gift in the user interface; wherein the target display mode includes one or more of display path, display size, and display angle.
4. The method according to any one of claims 1 to 3, characterized in that, The method further comprises: starting timing when the live room page starts to display the target gift; controlling the target gift to end display from the live room page when the timing duration is greater than a preset duration.
5. A live room interaction apparatus, applied to a first client, comprising: The method comprises: a display module configured to display a target gift on a live room page in response to a triggering operation on the target gift on a gift panel; a processing module configured to obtain touch point movement information corresponding to a touch operation on the target gift in response to the touch operation, the type of the touch operation including multi-point touch, and obtain corresponding display information of the target gift based on the touch point movement information; a communication module configured to send the display information to a server, so as to send the display information to a second client through the server, and thus display the target gift on the live room page according to the display information on the second client; The processing module is specifically configured to obtain display information corresponding to the target gift according to movement information of a plurality of touch points respectively corresponding to the target gift, the display information including display size and display angle information, the display size and the display angle being represented by a matrix, elements in the matrix representing display positions of a plurality of key points of the target gift respectively corresponding to the display positions, the plurality of touch points being composed of a plurality of touch points respectively generated by a plurality of fingers of a user, and the movement information including position information and time information.
6. A computer-readable storage medium, characterized in that, The computer program instructions, when executed by a processor of an electronic device, cause the electronic device to implement the live room interaction method according to any one of claims 1 to 4. The computer program instructions, when executed by a processor of an electronic device, cause the electronic device to implement the live room interaction method according to any one of claims 1 to 4.
7. An electronic device, comprising: The memory is configured to store computer program instructions. The processor is configured to execute the computer program instructions to implement the live room interaction method according to any one of claims 1 to 4. The computer program instructions, when executed by a processor of an electronic device, cause the electronic device to implement the live room interaction method according to any one of claims 1 to 4. 8. A computer program product comprising computer program instructions, characterised in that,
Citation Information
Patent Citations
Online live broadcast-based information display method and client
CN105653167A
Virtual gift display method and apparatus
CN106375775A