WO2022247208A1 - Live broadcast data processing method and terminal - Google Patents

Live broadcast data processing method and terminal Download PDF

Info

Publication number
WO2022247208A1
WO2022247208A1 PCT/CN2021/135384 CN2021135384W WO2022247208A1 WO 2022247208 A1 WO2022247208 A1 WO 2022247208A1 CN 2021135384 W CN2021135384 W CN 2021135384W WO 2022247208 A1 WO2022247208 A1 WO 2022247208A1
Authority
WO
WIPO (PCT)
Prior art keywords
live
live broadcast
interface
target video
resource
Prior art date
Application number
PCT/CN2021/135384
Other languages
French (fr)
Chinese (zh)
Inventor
卓艳男
范理
Original Assignee
北京达佳互联信息技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京达佳互联信息技术有限公司 filed Critical 北京达佳互联信息技术有限公司
Publication of WO2022247208A1 publication Critical patent/WO2022247208A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/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
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server
    • H04N21/2542Management at additional data server, e.g. shopping server, rights management server for selling goods, e.g. TV shopping
    • 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/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/47815Electronic shopping

Definitions

  • the present disclosure relates to the technical field of the Internet, and in particular to a live data processing method and a terminal.
  • the present disclosure provides a live data processing method and a terminal.
  • the disclosed technical scheme is as follows:
  • a method for processing live data including: obtaining the state of the live room corresponding to at least one target video in the video data stream; when the state of the live room corresponding to the target video is live Next, obtain the live data stream of the live room corresponding to the target video, and display the live data stream on the playback interface of the target video; obtain at least one target object to be displayed in the live room based on the live data stream ; Displaying the target object on the playback interface of the target video.
  • a live data processing device including: an acquisition module configured to acquire the state of the live room corresponding to at least one target video in the video data stream; the acquisition module is also configured In order to obtain the live data stream of the live room corresponding to the target video when the state of the live room corresponding to the target video is live, and display the live data stream on the playback interface of the target video; the acquiring The module is further configured to acquire at least one target object to be displayed in the live broadcast room based on the live data stream; the display module is configured to display the target object on the playback interface of the target video.
  • a terminal including: one or more processors; a memory for storing program codes executable by the processors; wherein, execution of the program codes makes the processing Device: obtain the state of the live room corresponding to at least one target video in the video data stream; when the state of the live room corresponding to the target video is live, obtain the live data stream of the live room corresponding to the target video, and The playback interface of the target video displays the live data stream; acquires at least one target object to be displayed in the live room based on the live data stream; and displays the target object on the playback interface of the target video.
  • a computer-readable storage medium When the program code in the computer-readable storage medium is executed by a processor of a computer device, the computer device can perform the following operations: acquire video The state of the live room corresponding to at least one target video in the data stream; in the case that the state of the live room corresponding to the target video is live, obtain the live data stream of the live room corresponding to the target video, and in the target video displaying the live data stream on the playback interface; acquiring at least one target object to be displayed in the live broadcast room based on the live data stream; displaying the target object on the target video playback interface.
  • a computer program product including a computer program.
  • the computer program When the computer program is executed by a processor, the following operations are implemented: acquiring the state of the live room corresponding to at least one target video in the video data stream; When the state of the live room corresponding to the target video is being live, obtain the live data stream of the live room corresponding to the target video, and display the live data stream on the playback interface of the target video; based on the live data Acquiring at least one target object to be displayed in the live broadcast room; and displaying the target object on the playback interface of the target video.
  • some key information in the live broadcast room such as the target object
  • FIG. 1 is a schematic diagram of an implementation environment of a live data processing method provided by an embodiment of the present disclosure
  • Fig. 2 is a flowchart of a method for processing live data according to an embodiment
  • Fig. 3 is a flow chart of a method for processing live data according to an embodiment
  • Fig. 4 is a schematic diagram of a terminal interface according to an embodiment
  • Fig. 5 is a schematic diagram of a terminal interface according to an embodiment
  • Fig. 6 is a schematic diagram of a terminal interface according to an embodiment
  • Fig. 7 is a schematic diagram of a terminal interface according to an embodiment
  • Fig. 8 is a schematic diagram of a terminal interface according to an embodiment
  • Fig. 9 is a schematic diagram of a terminal interface according to an embodiment
  • Fig. 10 is a schematic diagram of a terminal interface according to an embodiment
  • Fig. 11 is a schematic diagram of a terminal interface according to an embodiment
  • Fig. 12 is a schematic diagram of a terminal interface according to an embodiment
  • Fig. 13 is a schematic diagram of a terminal interface according to an embodiment
  • Fig. 14 is a block diagram of a live data processing device according to an embodiment
  • Fig. 15 is a block diagram of a terminal according to an embodiment.
  • the data involved in this disclosure is data authorized by the user or fully authorized by all parties.
  • FIG. 1 is a schematic diagram of an implementation environment of a live data processing method provided by an embodiment of the present disclosure.
  • the implementation environment includes a terminal 101 , or the implementation environment includes a terminal 101 and a live data processing platform 102 .
  • the terminal 101 is connected to the live data processing platform 102 through a wireless network or a wired network.
  • Terminal 101 is a smart phone, a game console, a desktop computer, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III, moving picture expert compression standard audio layer 3) player or an MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio layer 4) player, at least one of laptop computers.
  • Terminal 101 installs and runs an application supporting live data processing, for example, the application is a short video application, a live broadcast application, a shopping application, an online video application, and the like.
  • the terminal 101 has a live data processing function, the terminal 101 can acquire the live data, and then display an interface based on the live data.
  • the live data processing platform 102 provides data services for the terminal 101, for example, the terminal 101 acquires live data from the live data processing platform 102, which is not limited in this embodiment of the present disclosure.
  • the live data processing platform 102 includes at least one of a server, multiple servers, a cloud computing platform, and a virtualization center.
  • the live data processing platform 102 is used to provide background services for applications supporting live data processing.
  • the live data processing platform 102 undertakes the main processing work, and the terminal 101 undertakes the secondary processing work; or, the live data processing platform 102 undertakes the secondary processing work, and the terminal 101 undertakes the main processing work; or, the live data processing platform 102 or the terminal 101 independently undertake the processing work; or, the live data processing platform 102 and the terminal 101 adopt a distributed computing architecture to perform collaborative computing.
  • the live broadcast data processing platform 102 includes at least one server 1021 and a database 1022, the database 1022 is used to store data, in the embodiment of the present disclosure, sample images or sample face images are stored in the database 1022 , providing data services for at least one server 1021 .
  • the live data processing platform 102 is a content delivery network (Content Delivery Network, CDN). After the live data processing platform 102 receives a part of the live data from the anchor, it sends the live data to the viewer through the content distribution network. For example, the viewer pulls the live data from the nearest data center in the content distribution network.
  • CDN Content Delivery Network
  • the server is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, Cloud servers for basic cloud computing services such as domain name services, security services, CDN, and big data and artificial intelligence platforms.
  • the terminal is a smartphone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto.
  • terminals 101 and servers 1021 are more or less.
  • there is only one terminal 101 and server 1021 or there are tens or hundreds of terminals 101 and servers 1021 , or more.
  • the number of terminals or servers and device types are not limited in this embodiment of the present disclosure.
  • Fig. 2 is a flow chart of a method for processing live data according to an embodiment. As shown in Fig. 2, the method is executed by a terminal and includes the following steps:
  • the video data stream refers to the feed stream of the live broadcast platform.
  • the feed stream is used to provide at least one target video.
  • the terminal can play the target video based on the obtained feed stream, and based on the user's video switching operation on the terminal, such as sliding Operation, etc., to switch the video currently played by the terminal.
  • the status of a live room is used to indicate whether a live room is live.
  • the target video included may correspond to the live room that is being broadcast, or may correspond to some recorded videos.
  • the embodiments of the present disclosure are specific to This is not limited.
  • the video data stream also includes a live room status tag of each target video, and the live room status tag is used to represent the above live room status.
  • the terminal obtains its corresponding data stream from different sources.
  • the terminal obtains the live data stream of the live room corresponding to the target video through the live server, so as to watch the live broadcast in real time. content.
  • At least one target object to be displayed in the live broadcast room is acquired based on the live data stream.
  • target objects are usually provided in the live broadcast room.
  • the target object is a virtual resource or an item object
  • the virtual resource refers to a virtual resource issued in the live data stream and associated with an item object for sale.
  • the virtual resource is a coupon, a voucher, Discount coupons, shopping coupons, full discount coupons, virtual red envelopes, discount coupons, etc.
  • the object of the item is the object of the item being sold in the live broadcast room, for example, the object of the item is cosmetics, skin care products, daily necessities, stationery, takeaway coupons, taxis goods or services such as coupons.
  • the target object is displayed on the playing interface of the target video.
  • the terminal displays the playback interface of the target video based on the video data stream, and displays the target object based on the playback interface of the target video.
  • the displayed playback interface of the target video is used to guide the user Enter the live broadcast room to watch more and more detailed live content.
  • the terminal can display the live room interface based on the live data stream, so that the user can perform further operations in the live room, such as Trade based on item objects, interact with anchors, and more.
  • some key information in the live broadcast room such as the target object
  • the target object is a virtual resource
  • displaying the target object on the target video playback interface includes: displaying the virtual resource and a resource claim entrance on the target video playback interface.
  • the method further includes: displaying a live broadcast interface of the live broadcast room in response to a trigger operation of the resource claiming entry; and displaying the virtual resource in the live broadcast interface.
  • displaying the virtual resource on the live broadcast interface includes: displaying the quantity of the virtual resource and successful claim information on the live broadcast interface, where the successful claim information indicates that the virtual resource has been successfully claimed.
  • displaying the quantity of the virtual resource and information on successful collection on the live broadcast interface includes: displaying the quantity of the virtual resource and the collection control on the live broadcast interface; The receiving success message is displayed on the interface, and the receiving success message indicates that the virtual resource is successfully received.
  • the method further includes: when the virtual resource is successfully received, displaying a jump control of the virtual resource in the live broadcast interface;
  • the resource claiming animation is played on the interface, and the resource claiming animation indicates that the virtual resource is moved to the list control of the live broadcast room.
  • the list control corresponds to the item list, and the item list includes the items in the live room that are in the state of being traded.
  • the method further includes: in response to the completion of the resource claiming animation, displaying the item list, and the virtual resource is displayed at the target position of the item list.
  • the virtual resource includes any of the following: the first virtual resource is a virtual resource that matches the account registered by the terminal in the live broadcast room; the second virtual resource is a virtual resource that matches the terminal in the live broadcast room Virtual resources; the third virtual resource is the virtual resource that matches the system time in the live broadcast room; the fourth virtual resource is the virtual resource with the largest amount in the live broadcast room; the virtual resource and resources are displayed on the playback interface of the target video
  • the receiving entrance includes: displaying each virtual resource and the resource receiving entrance in turn on the playing interface of the target video.
  • the target object is an item object
  • displaying the target object on the playback interface of the target video includes: displaying the item object and a view entry on the playback interface of the target video.
  • the method further includes: displaying a live interface of the live broadcast room in response to a trigger operation of the view entry; displaying an item list in the live interface, the item list including the item object.
  • the item object includes any of the following items: the first item object is an item that is being introduced live in the live broadcast room; Live broadcasting the introduced item; displaying the item object and viewing entrance on the playback interface of the target video, including: displaying the viewing entrances of each item object in turn on the playback interface of the target video.
  • the method further includes: displaying the live broadcast status of the item object on the playback interface of the target video, and the live broadcast status includes live introduction and live introduction to be performed within a preset time period in the future.
  • displaying the target object on the playback interface of the target video includes: displaying the live data stream on the playback interface of the target video for a duration exceeding the first duration, displaying on the playback interface of the target video the target object.
  • the method further includes: canceling display of the target object or changing a display manner of the target object when the display duration of the target object exceeds a second duration, the second duration being longer than the first duration.
  • FIG. 3 is a flow chart of a live data processing method according to an embodiment. Referring to Figure 3, the method includes:
  • the terminal obtains the state of the live room corresponding to at least one target video in the video data stream.
  • the video data stream refers to the feed stream of the live broadcast platform.
  • the feed stream is used to provide at least one target video.
  • the terminal can play the target video based on the obtained feed stream, and based on the user's video switching operation on the terminal, such as sliding Operation, etc., to switch the video currently played by the terminal.
  • the status of a live room is used to indicate whether a live room is live.
  • the target video included may correspond to the live room that is being broadcast, or may correspond to some recorded videos.
  • the embodiments of the present disclosure are specific to This is not limited.
  • the video data stream also includes a live room status tag of each target video, and the live room status tag is used to represent the above live room status.
  • the video data stream is pushed by the server to the terminal's account or the terminal.
  • the server pushes the target video matched by the account registered by the terminal to the account registered by the terminal.
  • the server sends the target video of the anchor followed by the account to the account logged in by the terminal.
  • the server pushes the target video matched by the historical browsing behavior of the account to the account logged in by the terminal.
  • the server pushes the target video meeting the push condition to the terminal.
  • the push condition includes at least one of live broadcasting, the number of viewers in the live broadcast room is greater than the threshold, the difference between the release time of the video and the system time is within the target duration, and the feedback rate or amount of the video is greater than the threshold.
  • the terminal obtains its corresponding data stream from different sources.
  • the terminal obtains the live data stream of the live room corresponding to the target video through the live server, so as to watch the live broadcast in real time. content.
  • the host registers an account in the application client and applies for authentication.
  • the anchor creates his own live broadcast room for live broadcast.
  • the viewer side displays the feed stream through the terminal, and when the state of the live room corresponding to a certain target video in the feed stream is live broadcasting, the live data stream is displayed on the playback interface of the target video, for example, only the The information of the live broadcast room corresponding to the live data stream (such as the cover of the live broadcast room), so as to remind the audience to see that the host is live broadcasting.
  • information about the live broadcast room is displayed on the playback interface of the target video, and some content in the live broadcast room can be known through the playback interface of the target video, which can be regarded as a small live broadcast room.
  • the playback interface of the target video is called the simple live broadcast room.
  • the terminal acquires the live broadcast information of the live broadcast room, generates the playback interface of the target video in the live broadcast room based on the live broadcast information of the live broadcast room, and displays the playback interface of the target video.
  • the live broadcast information includes: the theme of the live broadcast room, the name of the anchor, and the tags associated with the live broadcast room.
  • tags for example, arrange the theme of the live room, the name of the anchor and the tags associated with the live room in the playback interface of the target video according to the preset layout, so that the theme of the live room, the name of the host and the live room
  • the associated tags form the cover of the live room.
  • the live broadcast information further includes the above-mentioned live data stream, and the live data stream includes multiple frames of live video images, and the current live video images of the live broadcast room can be played in the playback interface of the generated target video at this time. In this way, through the playback interface of the target video, you can see the current live video screen in the live broadcast room without entering the live broadcast room. You can enter the live broadcast room in the interface to watch more data of the live broadcast room.
  • FIG. 4 is a schematic diagram of a terminal interface shown according to an embodiment.
  • the terminal displays a playback interface 400 of a target video in a live broadcast room, and a theme 401 of a live broadcast room is displayed in the playback interface 400 of the target video , the anchor's name 402 , the label 403 associated with the live room, and the live data stream 404 .
  • a prompt message "click to enter the live room" 405 to enter the live room is also displayed on the playing interface 400 of the target video, so as to prompt the user to perform a click operation to trigger entering the live room.
  • the playback interface of the target video is displayed, if the user wants to enter the live broadcast room, the user clicks on the playback interface of the target video.
  • the terminal detects the click operation on the playback interface of the target video, it responds After the click operation, the live broadcast interface of the live broadcast room corresponding to the target video is displayed.
  • the server of the short video application pushes a video data stream (ie, a feed stream) formed by multiple target videos to the terminal.
  • the terminal receives the video data stream formed by the plurality of target videos, it plays the first target video according to the pushing order. If the status of the live room of the target video is live, the terminal obtains the live data stream of the live room corresponding to the target video, and displays the live data stream on the playback interface. If the user is dissatisfied with the currently displayed content or has finished watching it, by performing a switching operation, the display content on the terminal screen can be switched to the next target video in the push order in the video data stream.
  • the terminal judges whether the live broadcast room has virtual resources. If there are virtual resources in the live broadcast room, execute S33-S34; if there is no virtual resource in the live broadcast room, execute S35-S36.
  • the terminal judges whether there are virtual resources in the live broadcast room, and if the live broadcast room has virtual resources, execute S33-S34, that is, display the virtual resources and the resource claim entry in the playback interface of the target video , by enriching the display content of the playback interface of the target video, the display and guidance of virtual resources in the live broadcast room are realized in the playback interface of the target video. In this way, through the content displayed on the playback interface of the target video, the user can directly know the situation of the virtual resources in the live broadcast room without entering the live broadcast room.
  • executing S35-S36 to display the live room item object and the view entry on the playback interface of the target video can also enrich the display content of the playback interface of the target video, and realize the The display and guidance of the item objects in the live broadcast room in the playback interface of the target video. In this way, through the content displayed on the playback interface of the target video, the user can directly know the situation of the object in the live broadcast room without entering the live broadcast room.
  • this S32 is an optional implementation method of obtaining at least one target object to be displayed in the live broadcast room based on the live data stream, and the subsequent S33 and S35 are respectively displaying the target object on the playback interface of the target video
  • the above S32 determines whether the target object to be displayed in the live room is a virtual resource or an item object by judging whether there is a virtual resource in the live room.
  • the process of obtaining at least one target object to be displayed in the live broadcast room based on the live data stream can also be realized in other ways, for example, obtaining a preset target object in the live data stream, such as a preset target object in the live data stream A coupon with a large amount is set as the target object, or a highly recommended item is preset in the live data stream as the target object, which is not limited in this embodiment of the present disclosure.
  • the virtual resource is a virtual, electronic resource.
  • the virtual resource is a resource that can be applied during the transaction of item objects.
  • the virtual resource refers to the virtual resource associated with the item object sold in the live data stream, and the virtual resource is used to reduce the consumption of resources required for the transaction of the item object, including coupons, vouchers, discount coupons, Shopping coupons, full discount coupons, virtual red envelopes, discount coupons, etc.
  • the virtual resource is a coupon, for example, a coupon for a discount of 30 yuan for a purchase of 400 yuan or more. Another example is a 30% discount coupon.
  • a target condition is set for the live broadcast room, and the target condition is used to determine whether the judgment of S32 above needs to be performed.
  • the display of the relevant entry of the virtual resource or item object is provided, so it is judged whether there is a virtual resource in the live broadcast room.
  • the terminal does not need to provide the display function of virtual resources or item objects, and does not need to judge whether there is virtual resource in the above live broadcast room.
  • the terminal judges whether the live broadcast room has the virtual resource.
  • the target condition includes at least one of the following three conditions. That is, the target condition includes any one of the three conditions; or, the target condition includes any two of the three conditions; or, the target condition includes three conditions.
  • Condition 1 The anchor account of the live broadcast room is the target type.
  • the anchor account multiple types are set for the anchor account according to the live broadcast content, and different types of anchor accounts have different live content. For example, when the live broadcast content of some anchor accounts is a game live broadcast, these anchor accounts are of the game live broadcast type. In the case that the live broadcast content of some anchor accounts is live broadcast sales, these anchor accounts are e-commerce types. In the case that the live broadcast content of some anchor accounts is a live broadcast of outdoor life, these anchor accounts are of the live broadcast type.
  • the target type is an e-commerce type, or other types that require the use of virtual resources or recommended item objects, and the target type is set by relevant technical personnel according to business requirements, which is not limited in the embodiments of the present disclosure.
  • the anchor account of the live broadcast room is an e-commerce type, if the anchor account If it is an e-commerce type, it provides the display function of virtual resources or item objects, so it is necessary to further determine whether to display virtual resources or item objects in the live broadcast room. If the anchor account is not an e-commerce type, there is no need to display virtual resources or item objects, so the above judgment does not need to be made.
  • Condition 2 The live broadcast room is broadcasting the introduction.
  • the anchor can add item objects to the item list in the live broadcast room (this process is also called “shelf” or “trailer"), and the item list includes the item objects in the live room that are in the state of being traded. After the item object is added to the item list, the anchor can introduce the item object in the item list. At this time, the live broadcast room is broadcasting the introduction.
  • the state of the live broadcast room that is being introduced live in the live broadcast room is set by the anchor performing a state setting operation in the live broadcast room. For example, after the anchor adds an item object to the item list, and sets the status of the item object to the status of live introduction, the status of the live room will also be changed to the status of live introduction.
  • the user may want to purchase the item object being introduced live or other item objects in the live broadcast room, so virtual resources may be used, or the user may want to see the specific live introduction
  • the item object therefore, provides the display function of the virtual resource or the item object, and needs to perform the above-mentioned judgment of the virtual resource.
  • Condition 3 There are item objects to be traded in the live broadcast room.
  • the user when there is an item object to be traded in the live broadcast room, the user can trade the item object in the live room, and may also use virtual resources, thus providing virtual resources or item objects
  • the display function requires the judgment of the above-mentioned virtual resources.
  • the target condition includes the above three conditions.
  • the terminal judges whether the live broadcast room is professional by judging whether the anchor account is an e-commerce type. In the live broadcast room of the e-commerce anchor, it is further judged whether the live broadcast room is broadcasting the introduction, and whether there is an item subject to be traded in the live broadcast room.
  • the live broadcast room is a professional e-commerce anchor live broadcast room, and there are objects to be traded in the live broadcast room and the live broadcast room is live broadcasting the introduction (that is, the above three conditions are met at the same time, it is considered to meet the target conditions), it is determined that the The playback interface of the target video in the live broadcast room displays virtual resources or item objects and related entries. Therefore, it is judged whether there are virtual resources in the above-mentioned live broadcast room, so as to determine which type of target object to display and the entry of which type of target object.
  • the target condition which can also be set by technicians according to business requirements, and the embodiment of the present disclosure does not limit the target condition.
  • the target conditions it is possible to distinguish whether the live broadcast room provides virtual resources and item object display functions.
  • the display requirements can be quickly determined through the judgment of the target conditions. Determine whether there are virtual resources and item objects one by one. The judgment efficiency is high, and it also avoids the fact that some live broadcast rooms do not have virtual resources and item objects because all live broadcast rooms provide the display function of virtual resources and item objects. Displaying empty information leads to a waste of display resources.
  • the terminal By judging whether the live broadcast room or the anchor account meets the above target conditions, when it has been determined that virtual resources or item objects need to be displayed in the playback interface of the target video, the terminal further judges whether there are virtual resources in the live broadcast room to determine the display of virtual resources The resource collection entrance, or the viewing entrance for displaying item objects.
  • the display priority of the virtual resources is higher than that of the item objects. If there are virtual resources in the live room, the resource claim entrance of the virtual resources will be displayed. If there is no virtual resource in the live broadcast room, the view entry of the item object will be displayed. It can be understood that the virtual resources are benefits and benefits that users can receive. Compared with item objects, users may be more interested in virtual resources. Therefore, the resource collection entrance of virtual resources is displayed preferentially.
  • the terminal displays the virtual resource and the resource claim entry on the playing interface of the target video.
  • the virtual resource and the resource claiming entrance are displayed on the playback interface of the target video.
  • the resource receiving entrance is used to enter the live broadcast room to display the virtual resource.
  • the terminal displays the virtual resource and the resource collection entry in the playback interface of the target video, which enriches the display content of the playback interface of the target video, and realizes virtual resources in the live broadcast room in the playback interface of the target video. display and guidance. In this way, through the content displayed on the playback interface of the target video, the user can directly know the situation of the virtual resources in the live broadcast room without entering the live broadcast room.
  • a new type of operation method for entering the live broadcast room is provided.
  • the terminal when there are virtual resources in the live broadcast room, the terminal obtains the information of the virtual resources, generates the virtual resources and the resource claiming entrance based on the information of the virtual resources, and then displays the virtual resources and the resource claiming entrance.
  • the information of the virtual resource includes: at least one of the name of the virtual resource, the amount of the virtual resource, and the application conditions of the virtual resource, and then when generating the virtual resource and receiving the resource, the information of the virtual resource includes inside.
  • the virtual resource Through the virtual resource, the user can know the situation of the virtual resource. Through this resource collection portal, you can enter the live broadcast room to receive virtual resources.
  • the virtual resource and the resource claim entry can be understood as a kind of card information.
  • the user can know the situation of the virtual resource without entering the live broadcast room. It can effectively guide users to enter the live broadcast room to receive and use the virtual resources.
  • the virtual resource and the resource claiming entry are the content in the playback interface of the target video. In some other embodiments, the virtual resource and the resource claiming entrance are displayed above the playback interface of the target video in a floating view.
  • the terminal displays the virtual resource and the resource claim entrance in the target display area of the target video playback interface.
  • the target display area is set by relevant technical personnel according to business requirements.
  • the target display area is the bottom area, or the sidebar area, or the top area of the playback interface of the target video. limited.
  • a virtual resource 406 and a resource claiming entry 407 of the virtual resource are displayed on the playing interface 400 of the target video.
  • the virtual resource 406 and the resource claiming entry 407 are displayed in the bottom area of the playing interface 400 of the target video.
  • the display style of the resource claiming entry 407 is a control, and the name of the resource claiming entry 407 is "go to claim".
  • the resource receiving entrance 407 provides positive guidance for entering the live broadcast room and receiving virtual resources.
  • the presentation timing is set for the resource claiming entry of the virtual resource. For example, when the duration of the live data stream displayed on the playback interface of the target video exceeds the first duration, the virtual resource and the resource claim entrance are displayed on the playback interface of the target video.
  • the first duration is set by technicians according to business requirements, for example, the first duration is 3 seconds or any value greater than 0, and the embodiment of the present disclosure does not limit the first duration.
  • the duration of the live data stream displayed on the playback interface of the target video exceeds the first duration, it means that the user is more interested in the content of the live broadcast room, and the virtual resource and the resource collection entrance are displayed to further guide the user Enter the live room to claim and apply virtual resources.
  • the display timing Through the setting of the display timing, it is analyzed whether the user may enter the live broadcast room to trade items, and based on this, the virtual resources and resource collection entrances in the target video playback interface are displayed.
  • the playing interface of the target video when the playing interface of the target video shows the live data stream for less than the first duration, the playing interface of the target video does not display virtual resources and resource claim entrances, and the user may have switched to The next video shows that the user is not very interested in the live broadcast content of the live broadcast room, and there is no need to display the resource claim entrance, which saves the steps of generating and displaying the resource claim entrance, and effectively saves resource consumption.
  • an opportunity to cancel the display is set for the target object or a display mode of the target object is changed, for example, an opportunity to cancel the display is set for the virtual resource and the resource collection portal. For example, when the display duration of the virtual resource and the resource claiming entry exceeds a second duration, the display of the virtual resource and the resource receiving entry is canceled, and the second duration is longer than the first duration.
  • change the display mode of the virtual resource and the resource collection portal for example, reduce the virtual resource and the resource collection portal to a smaller widget , and display the widget on the playback interface of the target video, reducing the occlusion of the playback interface of the target video.
  • the first duration and the second duration are set by relevant technical personnel according to business requirements, for example, the first duration is 3 seconds, and the second duration is 10 seconds, which is not limited in this embodiment of the present disclosure.
  • the number of virtual resources displayed in the target video playback interface is one or more.
  • the virtual resources have different types, for example, the virtual resources include any one of the first virtual resource, the second virtual resource, the third virtual resource or the fourth virtual resource.
  • the first virtual resource is a virtual resource matching the account registered in the terminal in the live broadcast room.
  • at least one item of user portrait data or behavior data of the account logged in by the terminal can usually be obtained, and these data can reflect the attributes, interests or behaviors of the user who is the owner of the account.
  • Matching the virtual resources with the account logged in by the terminal can make it easier for the displayed virtual resources to be required by the user or available to the user.
  • the second virtual resource is a virtual resource matching the terminal in the live broadcast room.
  • Users usually input personal information during terminal use, and some user behaviors are realized through the terminal. Therefore, at least one item of user portrait data or behavior data may also be obtained through the terminal. Through these data, it is possible to determine the identity of the terminal. Matching virtual resources.
  • the third virtual resource is a virtual resource that matches the system time in the live broadcast room.
  • virtual resources are set with claimable time periods, and the claimable time periods of different virtual resources are the same or different.
  • select the virtual resource that matches the system time where the meaning of the system time matching the virtual resource is: the system time is within the available time period of the virtual resource, and the system time It refers to the moment when the target video is played.
  • the live broadcast room has 4 virtual resources
  • the current system time is 14:00
  • one of the virtual resources can be claimed from 12:00 to 16:00
  • the other three virtual resources can be claimed at In the morning and evening, both do not match the current system time
  • the terminal displays virtual resources that can be collected from 12:00-16:00.
  • the fourth virtual resource is the virtual resource with the largest amount in the live broadcast room.
  • the amounts of different virtual resources may be different.
  • the virtual resources with the largest amount are displayed first, so as to attract users to receive and use them to a greater extent.
  • the terminal displays each virtual resource and resource claiming entry in turn on the target video playback interface.
  • the user can have a more comprehensive understanding of the virtual resources in the live broadcast room, and can also choose a suitable virtual resource to receive based on their own needs.
  • the user performs a switching operation on the displayed virtual resources to switch among multiple virtual resources, so as to select one or more virtual resources for claiming.
  • S33 includes any of the following:
  • the resource collection entrance of the first virtual resource in the live broadcast room is displayed on the playback interface of the target video;
  • the resource claiming entrance of the second virtual resource in the live broadcast room is displayed on the playback interface of the target video;
  • the resource claim entrance of the third virtual resource in the live broadcast room is displayed on the playback interface of the target video;
  • the resource collection entrance of the fourth virtual resource in the live broadcast room is displayed on the playback interface of the target video;
  • the virtual resources and the resource claiming entrances are displayed in turn on the playing interface of the target video.
  • the terminal displays the live broadcast interface of the live broadcast room and displays the virtual resource in the live broadcast interface in response to the trigger operation of the resource claiming entry.
  • a trigger operation is performed on the resource claiming entrance to enter the live broadcast room to claim the virtual resource.
  • the terminal jumps from the playback interface of the target video to the live broadcast interface of the live broadcast room in response to the trigger operation.
  • the interface jumping process is the process of entering the live broadcast room. Since the live broadcast room is entered from the resource collection entrance, the terminal displays the virtual resources in the live broadcast interface that jumps to, and the user does not need to perform multi-step operations in the live broadcast room to trigger the display of virtual resources, which improves the display of virtual resources efficiency.
  • the live data stream of the live broadcast room is displayed in the live broadcast interface, so that the user can watch the live broadcast content in the live broadcast interface.
  • user comments are displayed in the live broadcast interface.
  • the user can enter comments in the comment input box displayed on the live broadcast interface to publish.
  • the terminal where the user is located synchronizes the comment to all viewers in the live broadcast room through the server, so that all viewers can see the comment in the live broadcast room.
  • the comment can also be synchronized to the anchor, so that the anchor can also see the user's comment.
  • the virtual resources are claimed automatically, or the virtual resources are claimed manually by the user. That is to say, after triggering the resource claiming entry, in the automatic claiming mode, the terminal directly jumps to the live broadcast interface, and displays the successful claiming information of the virtual resource, which means that the virtual resource has been successfully claimed; In this mode, the terminal jumps to the live broadcast interface and displays the claim control, and then the user triggers the claim control to manually claim virtual resources.
  • two resource collection methods will be described, and the embodiment of the present disclosure does not limit which resource collection method is adopted specifically.
  • Method 1 In response to the trigger operation of the resource claim entry, display the live broadcast interface of the live broadcast room; display the quantity of the virtual resource and the successful claim information on the live broadcast interface, and the successful claim information indicates that the virtual resource has been successfully claimed.
  • the first method is the automatic collection method of virtual resources.
  • the virtual resources are directly collected, so that the number of virtual resources and the successful collection information are displayed in the live broadcast interface after the jump.
  • the efficiency of virtual resource collection can be improved.
  • the quantity of the virtual resource refers to the amount of the received virtual resource, for example, the discount amount of the discount coupon, the amount of the virtual red envelope, the face value of the coupon, and the like.
  • FIG. 5 is a schematic diagram of a terminal interface according to an embodiment. After the user performs a trigger operation on the resource claiming entry displayed in the target video playback interface as shown in FIG. 4 , the terminal responds to the trigger operation and displays The interface jumps to the live broadcast interface 500 as shown in FIG. 5 , and the terminal displays the quantity 501 of the virtual resource and information 502 of successful collection on the live broadcast interface 500 .
  • Method 2 In response to the trigger operation of the resource claim entry, display the quantity of the virtual resource and the claim control on the live broadcast interface; in response to the trigger operation of the claim control, display the claim success information on the live broadcast interface, and the claim The success message indicates that the virtual resource is successfully received.
  • the second method is the manual collection method of virtual resources.
  • the terminal After triggering the resource collection entrance, the terminal displays the live broadcast interface of the live broadcast room, and the number of virtual resources and collection controls are displayed on the live broadcast interface. At this time, the virtual resources have not yet been Received successfully.
  • the claim control is used to claim the virtual resource. Based on the number of virtual resources and the collection control, the user can see more information about the virtual resource to further think about whether to receive the virtual resource. If he still wants to receive the virtual resource, he will trigger the collection control, and the terminal responds to The trigger operation of the claim control will display the claim success information in the live broadcast interface.
  • the terminal displays the jump control of the virtual resource in the live broadcast interface.
  • the jump control is used to guide the user to further view and apply virtual resources.
  • the terminal displays the jump control 503 of the virtual resource in the live broadcast interface 500 shown in Figure 5, and the display content of the jump control 503 is "now Just go buy buy buy.”
  • the jump control is triggered, and the terminal responds to the trigger operation of the jump control, and the resource receiving animation is played on the live broadcast interface.
  • the receiving animation indicates that the virtual resource is moved to the list control of the live broadcast room, and the list control corresponds to the item list, and the item list includes item objects in the live broadcast room that are in the state of being traded.
  • the resource claiming animation is stored in a configuration file of the terminal, or, the resource claiming animation is stored in a server.
  • the terminal acquires the resource claiming animation, and displays the resource claiming animation in the live broadcast interface.
  • the terminal when playing the resource claiming animation, cancels the display of the virtual resource claiming success information and the jump control, and directly displays the resource claiming animation in the live broadcast interface.
  • FIG. 6 is a schematic diagram of a terminal interface according to an embodiment.
  • the terminal plays a resource claiming animation in the live broadcast interface 500.
  • FIG. 6 shows a frame in the resource claiming animation.
  • the virtual The resource 600 will move to the list control 601 along a certain movement track, and the display style of the list control 601 is the style of a small shopping cart.
  • the resource receiving animation Through the playback of the resource receiving animation, it can intuitively and vividly reflect that the virtual resource has been successfully received, and the resource receiving animation shows that the virtual resource has been moved to the list control, and the user can clearly know the whereabouts of the virtual resource.
  • the resource receiving animation shows that the virtual resource has been moved to the list control, and the user can clearly know the whereabouts of the virtual resource.
  • the terminal automatically displays the item list in response to the completion of the resource claiming animation, and the virtual resource is displayed at the target position of the item list.
  • the target position is the topmost area in the item list, or other areas in the item list, such as the side area of the item list, and the target position is set by technicians according to business requirements , the embodiment of the present disclosure does not limit the target location.
  • the terminal automatically displays the item list, and the virtual resource is displayed in the item list, and the user can directly trade the displayed item You can see virtual resources and some tradable items in the list, which reduces the operating cost and difficulty, and improves the display efficiency.
  • the terminal sets a time interval between the resource claiming animation and the automatic display of the item list, for example, the time interval is 1 second, so that the item list is automatically displayed after the resource claiming animation is played for 1 second. Within this time interval, if the user performs other operations, the terminal will no longer automatically display the item list, so as to achieve the perfect combination of free operation and automatic display.
  • the terminal when displaying the item list and displaying the virtual resource in the item list, the terminal specifically displays the resource information and the resource usage control of the virtual resource at the target position of the item list.
  • the resource information of the virtual resource includes the name, amount, and usage instructions of the virtual resource.
  • the resource usage control is used to guide to view item objects that can use virtual resources.
  • information in the item list is updated and displayed for the virtual resource.
  • the terminal displays the target consumption resource of the third item object, and the target consumption resource is based on the original consumption of the third item object.
  • the resource and the virtual resource determine that the third item object refers to an item object that can apply the virtual resource. Assuming that the virtual resource is a coupon and the original consumed resource is the original price, the post-coupon price of the item object can be determined through the original price and the coupon.
  • the display of the resource consumption of the target it is possible to intuitively view the application of the virtual resources of the item object, without the need for the user to perform conversion based on the original resource consumption of the item object and the virtual resource.
  • the terminal displays the first resource identifier of the third item object in the item list of the live broadcast room, and the first resource identifier is used to represent the third Item objects can use this virtual resource.
  • the first resource identification the user can intuitively and quickly know which item objects in the multiple item objects in the item list can use virtual resources and which ones cannot apply virtual resources, so as to quickly select trading item objects.
  • the terminal displays the second resource identifier of the fourth item object in the item list of the live broadcast room, and the second resource identifier is used to represent the fourth item Object cannot use this virtual resource.
  • the second resource identifier the user can intuitively and quickly know which item objects in the item list can use virtual resources and which item objects cannot use virtual resources, so as to quickly select trading item objects.
  • FIG. 7 is a schematic diagram of a terminal interface shown according to an embodiment.
  • the terminal automatically displays an item list 700, and a virtual resource 701 is displayed at the top of the item list 700 ( Take a 3 yuan coupon as an example) and the resource usage control 702 of the virtual resource.
  • a product name is displayed for each item object, and a first resource identifier 703 or a second resource identifier 704 is also displayed within a preset range of each item object.
  • the terminal displays the target resource consumption 705 of the item object (taking the price after receiving the coupon as an example).
  • the terminal also displays the original consumed resource 706, so that the user can learn various information about the item object.
  • the resource use control is triggered, and the terminal responds to the trigger operation of the resource use control to display a list of target items in the live broadcast room, and the list of target items includes the live broadcast
  • the third item object to be traded during the period, the third item object refers to the item object that can apply the virtual resource.
  • the above-mentioned item list shows item objects that are waiting to be traded in the live broadcast room. Some item objects may not be able to apply the virtual resource. Use the resource use control to jump to the target item list and filter out the item objects that can apply the virtual resource.
  • FIG. 8 is a schematic diagram of a terminal interface according to an embodiment.
  • the user clicks on the resource usage control 702 shown in FIG. 7, and the terminal displays a target item list 800 as shown in FIG. In 800, the terminal displays various item objects that can apply virtual resources.
  • FIG. 9 is a schematic diagram of a terminal interface according to an embodiment.
  • the terminal On the basis of displaying the target item list 800 as shown in FIG.
  • the terminal jumps the interface to the item object details interface as shown in FIG.
  • the trigger operation of the purchase control will jump the interface to the transaction interface. It should be noted that if the user performs a trigger operation on an item object in the item list shown in FIG. 7 , the interface can also jump to the item object detail interface as shown in FIG. 9 , and further conduct transactions.
  • Fig. 10 is a schematic diagram of a terminal interface according to an embodiment.
  • a trigger operation on the purchase control in the item object details interface as shown in Fig. 9 is detected, jump to the transaction interface as shown in Fig. 10 , in the transaction interface, personal information and item object information can be determined, and if the information is confirmed to be correct, the trigger operation can be executed on the submit order control to further complete the payment.
  • the terminal displays the item object and the viewing entry on the playing interface of the target video.
  • the terminal displays the item objects in the live room and the view entry on the playback interface of the target video, and the view entry is used to view the item objects in the live room.
  • This process enriches the display content of the playback interface of the target video, and realizes the display and guidance of the item object in the live room in the playback interface of the target video. In this way, through the content displayed on the playback interface of the target video, the user can directly know the situation of the object in the live broadcast room without entering the live broadcast room.
  • a new type of operation mode for entering the live broadcast room is provided.
  • the above process provides a variety of ways to enter the live broadcast room for users to choose. Users can choose any method to enter the live broadcast room according to their own operating habits, and the operation is more flexible.
  • the terminal when there is no virtual resource in the live broadcast room, the terminal obtains information about item objects in the live broadcast room, generates the item object and view entry based on the information of the item object, and then displays the item object and view entry.
  • the information of the item object includes at least one of the name of the item object, the image of the item object, and the resource consumption of the item object, and then when generating the item object and viewing the entry, the information of the item object is included in the item object And view the display content of the entrance.
  • the user can know the situation of the item object in the live broadcast room. Through this viewing portal, you can enter the live broadcast room to view more information about the item object and trade the item object.
  • the item object and the viewing entry can be understood as a kind of card information.
  • the user can know the status of the item object in the live broadcast room without entering the live broadcast room. In this case, users can be effectively guided into the live broadcast room to trade the item.
  • the item object and the viewing portal are the content in the playback interface of the target video. In some other embodiments, the item object and the viewing portal are displayed above the playback interface of the target video in a floating view.
  • the terminal displays the item object and the view entry in the target display area of the target video playback interface.
  • the target display area is set by relevant technical personnel according to business requirements.
  • the target display area is the bottom area, or the sidebar area, or the top area of the playback interface of the target video. limited.
  • the display timing is set for the viewing entry of the item object. For example, when the playing interface of the target video shows the live data stream for longer than the first duration, the terminal displays the item objects in the live room and the viewing entrance on the playing interface of the target video.
  • the first duration is set by technicians according to business requirements, for example, the first duration is 3 seconds or any value greater than 0, and the embodiment of the present disclosure does not limit the first duration.
  • the duration of the live data stream displayed on the playback interface of the target video exceeds the first duration, it means that the user is more interested in the content of the live broadcast room, display the item object and view the entrance, and further guide the user to enter Live room to trade the item object.
  • the display timing Through the setting of the display timing, it is analyzed whether the user may enter the live broadcast room for item transaction, and based on this, the item object and the viewing entrance are displayed in the playback interface of the target video.
  • the playback interface of the target video when the duration of the live data stream displayed on the playback interface of the target video is less than the first duration, the playback interface of the target video does not display item objects and viewing entries, and the user may have switched to the next The video shows that the user is not very interested in the live broadcast content of the live broadcast room, and there is no need to display the item object and view the entrance, which saves the generation and display of the item object and the view entrance, effectively saving resource consumption.
  • an opportunity to cancel the display or change the display mode of the target object is set for the target object. For example, set the timing of canceling the display for the item object and the viewing portal. For example, when the display duration of the item object in the live broadcast room and the viewing entrance exceeds the second duration, cancel the display of the item object and the viewing entry in the live broadcast room, and the second duration is greater than the first duration.
  • the display duration of the item object and the viewing portal exceeds the second duration
  • change the display mode of the item object and the viewing portal such as reducing the item object and the viewing portal to a smaller pendant
  • the pendant is displayed on the playback interface of the target video, reducing the occlusion of the playback interface of the target video.
  • the first duration and the second duration are set by relevant technical personnel according to business requirements, for example, the first duration is 3 seconds, and the second duration is 10 seconds, which is not limited in this embodiment of the present disclosure.
  • the number of item objects displayed in the playing interface of the target video is one or more.
  • the item objects have different types, for example, the item objects include any one of the first item object or the second item object.
  • the first item object is the item being introduced live in the live broadcast room.
  • the anchor can add item objects to the item list in the live broadcast room (this process is also called “shelf” or “trailer”), and the item list includes the item objects in the live room that are in the state of being traded.
  • the host can introduce the item object in the item list.
  • the item object being introduced live in the live broadcast room is the first item object.
  • the live broadcast status of the item object being introduced live in the live broadcast room is set by the anchor performing a state setting operation in the live broadcast room. For example, after the anchor adds an item object to the item list, the live broadcast status of the item object is set to the live introduction status.
  • the second item object is an item that will be introduced live in the live broadcast room within a preset time period in the future.
  • Item objects displayed in the item list are usually arranged in the order in which the streamers are added.
  • the item objects in the item list that are located after the item object that is being introduced live are the items that will be introduced live within a preset time period in the future.
  • the terminal acquires an item object located behind the item object being introduced live as the second item object.
  • the terminal acquires the item object introduction plan of the live broadcast room, and acquires item objects that will be introduced in the live broadcast within a preset time period in the future as the second item object from the item object introduction plan.
  • the terminal displays the viewing entries of each item object in turn on the playback interface of the target video. In this way, through the process of displaying in turn, the user can have a more comprehensive understanding of the item objects in the live broadcast room, and can also select a suitable item object for trading based on their own needs.
  • S35 includes any of the following:
  • each item object and the viewing entrance are displayed in turn on the playback interface of the target video.
  • the terminal when displaying the item object, displays the live broadcast status of the item object on the playback interface of the target video, and the live broadcast status includes the live introduction being live and the live introduction to be performed within a preset time period in the future.
  • the live broadcast status of the item object in the playback interface the user can intuitively and quickly understand the live broadcast status of the item object, so that the user can select the transaction item object based on the known situation.
  • FIG. 11 is a schematic diagram of a terminal interface according to an embodiment.
  • an item object 1101 and a view entry 1102 are displayed in a target video playback interface 1100 .
  • the item object 1101 and the view entry 1102 are displayed in the bottom area of the playing interface 1100 of the target video.
  • Through information such as the item object 1101's name 1103 "star same style whole network recommendation list", resource consumption 1104 " ⁇ 99.9", live broadcast status 1105 "explaining" and pictures 1106, it is possible to know various information about the item object.
  • the display style of the viewing entry 1102 is a control, and the name of the viewing entry 1102 is "go and see”.
  • the viewing entry 1102 provides positive guidance for entering the live broadcast room and viewing and trading items.
  • the terminal when displaying the item object, the terminal also performs any one of the following situations for resource consumption of the item object.
  • Case 1 The target resource consumption of the item object is displayed on the playback interface of the target video, and the target resource consumption is determined based on the original resource consumption of the item object and the virtual resources associated with the terminal's logged-in account.
  • the original consumed resource is the original price
  • the virtual resource is a coupon
  • the target consumed resource is the post-coupon price.
  • the original resource consumption of the item object is 120 yuan.
  • the target resource consumption of the item object is 99.9 yuan.
  • the target resource consumption is 99.9 yuan. Yuan.
  • Case 2 The target consumption resource of the item object is displayed on the playback interface of the target video, and the target consumption resource is determined based on the original consumption resource of the item object and the virtual resources that can be claimed in the live broadcast room.
  • Case 2 The difference between Case 2 and Case 1 is that the virtual resource is not a virtual resource associated with the account logged in by the terminal, but a virtual resource that can be claimed in the live broadcast room, that is, the virtual resource has not been claimed, but enters the live broadcast It can be collected and used after a period of time.
  • Case 3 The target consumption resource and the original consumption resource of the item object are displayed on the playback interface of the target video, and the target consumption resource is determined based on the original consumption resource and the virtual resource associated with the terminal's logged-in account.
  • FIG. 12 is a schematic diagram of a terminal interface according to an embodiment.
  • the original price of the item object is 120 yuan
  • the post-coupon price of the item object is 99.9 yuan.
  • the terminal displays the item object, it not only displays the post-coupon price of 99.9 yuan, but also displays the original price of 120 yuan. The information displayed in this way is more comprehensive.
  • the terminal only displays the original resource consumption of the item object.
  • the account logged in by the terminal is not associated with any virtual resources, or the account logged in by the terminal is associated with virtual resources, but the virtual resources are not the live broadcast room. or the virtual resource is associated with the account logged in by the terminal, but the virtual resource cannot be applied to the item object.
  • the terminal displays the original resource consumption of the item object on the playback interface.
  • the terminal does not display the consumed resources.
  • FIG. 13 is a schematic diagram of a terminal interface according to an embodiment. As shown in FIG. 13 , the information of an item object does not include the resource consumption of the item object.
  • the terminal displays the live broadcast interface of the live broadcast room in response to the trigger operation of the view entry, and displays an item list in the live broadcast interface, and the item list includes the item object.
  • the terminal After the terminal displays the view entry of the item object, if the user is interested in the item object and wants to further view the item object or trade the item object, a trigger operation is performed on the view entry, and the terminal responds to the trigger operation on the view entry, and the The display interface jumps to the live broadcast interface, and the item list is automatically displayed, so as to display the item object in the item list.
  • the item objects displayed in the item list are arranged according to the addition order of the anchor, and when entering the live broadcast room based on the viewing entry of a certain item object, and automatically displaying the item list, it is displayed that the item object is at the first place , and display other item objects in the item list according to the adding order, that is, in the virtual item list, the clicked item object is displayed on top.
  • the user performs a trigger operation on the viewing entry "Go and see"
  • the terminal jumps the interface to the live broadcast interface as shown in Figure 7, and displays the list of items in the live broadcast interface.
  • the technical solution provided by the embodiments of the present disclosure displays the virtual resources in the live broadcast room and the resource collection entrance, or the item object and the viewing entrance in the playback interface of the target video, enriches the content displayed on the playback interface of the target video, and realizes the Display of core information of e-commerce. In this way, through the content displayed on the playback interface of the target video, the user can directly learn the core information of the e-commerce in the live broadcast room without entering the live broadcast room.
  • the user If the user is interested in the displayed virtual resource or item object, he can directly enter the live broadcast room through the trigger operation of the resource claim entrance or view entry, and the virtual resource or item object is directly displayed in the live broadcast room, compared with the user clicking the target video Enter the live broadcast room through the playback interface, and then search for virtual resources or item objects through multi-step operations.
  • the above-mentioned entering live broadcast room and display process can be realized with one click, saving a lot of user operations, convenient operation, and higher efficiency.
  • Fig. 14 is a block diagram of a live data processing device according to an embodiment. Referring to Figure 14, the device includes:
  • the obtaining module 1401 is configured to obtain the state of the live room corresponding to at least one target video in the video data stream;
  • the obtaining module 1401 is also configured to obtain the live data stream of the live room corresponding to the target video when the state of the live room corresponding to the target video is live, and display the live data stream on the playback interface of the target video ;
  • the obtaining module 1401 is further configured to obtain at least one target object to be displayed in the live broadcast room based on the live data stream
  • the display module 1402 is configured to display the target object on the target video playing interface.
  • the target object is a virtual resource
  • the display module 1402 is further configured to: display the virtual resource and a resource claim entry on the target video playback interface.
  • the display module 1402 is further configured to: display the live broadcast interface of the live broadcast room in response to the trigger operation of the resource claiming entry; and display the virtual resource in the live broadcast interface.
  • the display module 1402 is further configured to: display the quantity of the virtual resource and the successful claim information on the live broadcast interface, and the successful claim information indicates that the virtual resource is successfully claimed.
  • the display module 1402 is further configured to: display the quantity of the virtual resource and the claim control on the live broadcast interface; in response to the trigger operation of the claim control, display the claim success information on the live broadcast interface, the The receiving success message indicates that the virtual resource is successfully received.
  • the display module 1402 is further configured to: display a jump control of the virtual resource in the live broadcast interface if the virtual resource is successfully claimed; and respond to a trigger operation of the jump control , the resource claiming animation is played in the live broadcast interface.
  • the resource claiming animation indicates that the virtual resource is moved to the list control of the live broadcast room. thing.
  • the display module 1402 is further configured to: display the item list in response to the completion of the resource claiming animation, and the virtual resource is displayed at the target position of the item list.
  • the virtual resource includes any of the following: the first virtual resource is a virtual resource that matches the account registered by the terminal in the live broadcast room; the second virtual resource is a virtual resource that matches the terminal in the live broadcast room Virtual resources; the third virtual resource is the virtual resource that matches the system time in the live broadcast room; the fourth virtual resource is the virtual resource with the largest amount in the live broadcast room; the display module 1402 is also configured to: The playback interface displays each virtual resource and resource collection entrance in turn.
  • the target object is an item object
  • the display module 1402 is further configured to: display the item object and a view entry on the target video playback interface.
  • the display module 1402 is further configured to: respond to the trigger operation of the view entry, display the live broadcast interface of the live broadcast room; display an item list in the live broadcast interface, and the item list includes the item object.
  • the item object includes any of the following items: the first item object is an item that is being introduced live in the live broadcast room; Items introduced live; the display module 1402 is further configured to: display the view entries of each item object in turn on the playback interface of the target video.
  • the display module 1402 is further configured to: display the live broadcast status of the item object on the playback interface of the target video, and the live broadcast status includes the live introduction being live and the live introduction to be performed within a preset time period in the future.
  • the display module 1402 is configured to: display the target object on the playback interface of the target video when the duration for displaying the live data stream on the playback interface of the target video exceeds a first duration.
  • the display module 1402 is further configured to: cancel display of the target object or change the display mode of the target object when the display duration of the target object exceeds a second duration, the second duration is longer than the First time.
  • some key information in the live broadcast room such as the target object
  • the live data processing device when the live data processing device provided in the above-mentioned embodiment processes live data, it only uses the division of the above-mentioned functional modules for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to needs. , which divides the internal structure of the device into different functional modules to complete all or part of the functions described above.
  • the live data processing device and the live data processing method embodiments provided in the above-mentioned embodiments belong to the same idea, and the specific implementation process thereof can be found in the method embodiments, and will not be repeated here.
  • Fig. 15 is a block diagram of a terminal according to an embodiment.
  • the terminal 1500 includes: smart phone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III, moving picture expert compression standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, moving picture expert compression standard audio layer 4) Player, laptop or desktop computer.
  • the terminal 1500 may also be called user equipment, portable terminal, laptop terminal, desktop terminal and other names.
  • the terminal 1500 includes: a processor 1501 and a memory 1502 .
  • the processor 1501 includes one or more processing cores, such as a 4-core processor, an 8-core processor, and the like.
  • Processor 1501 is realized by at least one hardware form in DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, programmable logic array) .
  • DSP Digital Signal Processing, digital signal processing
  • FPGA Field-Programmable Gate Array, field programmable gate array
  • PLA Programmable Logic Array, programmable logic array
  • Processor 1501 includes a main processor and a coprocessor, the main processor is a processor for processing data in a wake-up state, also called CPU (Central Processing Unit, central processing unit); the coprocessor is used for A low-power processor that processes data during standby.
  • CPU Central Processing Unit
  • the processor 1501 is integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen.
  • the processor 1501 further includes an AI (Artificial Intelligence, artificial intelligence) processor, where the AI processor is configured to process computing operations related to machine learning.
  • AI Artificial Intelligence, artificial intelligence
  • Memory 1502 includes one or more computer-readable storage media, such as the computer-readable storage media are non-transitory.
  • the memory 1502 also includes high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
  • the non-transitory computer-readable storage medium in the memory 1502 is used to store at least one program code, and the at least one program code is used to be executed by the processor 1501 to implement the method provided by the method embodiment of the present disclosure. Live data processing method.
  • the terminal 1500 may optionally further include: a peripheral device interface 1503 and at least one peripheral device.
  • the processor 1501, the memory 1502, and the peripheral device interface 1503 are connected through buses or signal lines.
  • Each peripheral device is connected to the peripheral device interface 1503 through a bus, a signal line or a circuit board.
  • the peripheral device includes: at least one of a radio frequency circuit 1504 , a display screen 1505 , a camera component 1506 , an audio circuit 1507 , a positioning component 1508 and a power supply 1509 .
  • the peripheral device interface 1503 may be used to connect at least one peripheral device related to I/O (Input/Output, input/output) to the processor 1501 and the memory 1502 .
  • the processor 1501, memory 1502 and peripheral device interface 1503 are integrated on the same chip or circuit board; in some other embodiments, any one of the processor 1501, memory 1502 and peripheral device interface 1503 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
  • the radio frequency circuit 1504 is used to receive and transmit RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals.
  • the radio frequency circuit 1504 communicates with the communication network and other communication devices through electromagnetic signals.
  • the radio frequency circuit 1504 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
  • the radio frequency circuit 1504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like.
  • the radio frequency circuit 1504 communicates with other terminals through at least one wireless communication protocol.
  • the wireless communication protocol includes but is not limited to: metropolitan area network, mobile communication networks of various generations (2G, 3G, 4G and 5G), wireless local area network and/or WiFi (Wireless Fidelity, wireless fidelity) network.
  • the radio frequency circuit 1504 also includes circuits related to NFC (Near Field Communication, short-range wireless communication), which is not limited in the present disclosure.
  • the display screen 1505 is used to display a UI (User Interface, user interface).
  • the UI includes graphics, text, icons, video, and any combination thereof.
  • the display screen 1505 also has the ability to collect touch signals on or above the surface of the display screen 1505 .
  • the touch signal is input to the processor 1501 as a control signal for processing.
  • the display screen 1505 is also used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards.
  • the display screen 1505 is a flexible display screen, and is disposed on a curved surface or a folded surface of the terminal 1500 . Even, the display screen 1505 is set as a non-rectangular irregular figure, that is, a special-shaped screen.
  • the display screen 1505 is made of LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, organic light-emitting diode) and other materials.
  • the camera assembly 1506 is used to capture images or videos.
  • the camera assembly 1506 includes a front camera and a rear camera.
  • the front camera is set on the front panel of the terminal, and the rear camera is set on the back of the terminal.
  • there are at least two rear cameras which are any one of the main camera, depth-of-field camera, wide-angle camera, and telephoto camera, so as to realize the fusion of the main camera and the depth-of-field camera to realize the background blur function.
  • camera assembly 1506 also includes a flash.
  • the flash is a single-color temperature flash or a dual-color temperature flash. Dual color temperature flash refers to the combination of warm light flash and cold light flash, which is used for light compensation under different color temperatures.
  • Audio circuitry 1507 includes a microphone and speakers.
  • the microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals and input them to the processor 1501 for processing, or input them to the radio frequency circuit 1504 to realize voice communication.
  • the microphone is an array microphone or an omnidirectional collection microphone.
  • the speaker is used to convert the electrical signal from the processor 1501 or the radio frequency circuit 1504 into sound waves.
  • the loudspeaker is either a conventional membrane loudspeaker, or a piezoelectric ceramic loudspeaker.
  • audio circuitry 1507 also includes a headphone jack.
  • the positioning component 1508 is used to locate the current geographic location of the terminal 1500 to implement navigation or LBS (Location Based Service, location-based service).
  • the positioning component 1508 is a positioning component based on the GPS (Global Positioning System) of the United States, the Beidou system of China, the Grenas system of Russia or the Galileo system of the European Union.
  • the power supply 1509 is used to supply power to various components in the terminal 1500 .
  • Power source 1509 is alternating current, direct current, disposable batteries or rechargeable batteries.
  • the rechargeable battery supports wired charging or wireless charging.
  • the rechargeable battery is also used to support fast charging technology.
  • the terminal 1500 further includes one or more sensors 1510 .
  • the one or more sensors 1510 include, but are not limited to: an acceleration sensor 1511 , a gyro sensor 1512 , a pressure sensor 1513 , a fingerprint sensor 1514 , an optical sensor 1515 and a proximity sensor 1516 .
  • the acceleration sensor 1511 is used to detect the acceleration on the three coordinate axes of the coordinate system established by the terminal 1500 .
  • the acceleration sensor 1511 is used to detect the components of the gravitational acceleration on the three coordinate axes.
  • the processor 1501 controls the display screen 1505 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1511 .
  • the acceleration sensor 1511 is also used for collecting game or user's motion data.
  • the gyro sensor 1512 is used to detect the body direction and rotation angle of the terminal 1500 , and the gyro sensor 1512 and the acceleration sensor 1511 cooperate to collect 3D actions of the user on the terminal 1500 .
  • the processor 1501 realizes the following functions: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control and inertial navigation.
  • the pressure sensor 1513 is disposed on the side frame of the terminal 1500 and/or the lower layer of the display screen 1505 .
  • the pressure sensor 1513 can detect the user's grip signal on the terminal 1500 , and the processor 1501 performs left and right hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 1513 .
  • the processor 1501 controls operable controls on the UI interface according to the user's pressure operation on the display screen 1505.
  • the operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
  • the fingerprint sensor 1514 is used to collect the user's fingerprint, and the processor 1501 recognizes the identity of the user according to the fingerprint collected by the fingerprint sensor 1514, or, the fingerprint sensor 1514 recognizes the user's identity according to the collected fingerprint. When the identity of the user is recognized as a trusted identity, the processor 1501 authorizes the user to perform related sensitive operations, such sensitive operations include unlocking the screen, viewing encrypted information, downloading software, making payment, and changing settings.
  • the fingerprint sensor 1514 is disposed on the front, rear or side of the terminal 1500 . When the terminal 1500 is provided with a physical button or a manufacturer's logo, the fingerprint sensor 1514 is integrated with the physical button or the manufacturer's Logo.
  • the optical sensor 1515 is used to collect ambient light intensity.
  • the processor 1501 controls the display brightness of the display screen 1505 according to the ambient light intensity collected by the optical sensor 1515 . Specifically, when the ambient light intensity is high, the display brightness of the display screen 1505 is increased; when the ambient light intensity is low, the display brightness of the display screen 1505 is decreased.
  • the processor 1501 also dynamically adjusts shooting parameters of the camera assembly 1506 according to the ambient light intensity collected by the optical sensor 1515 .
  • the proximity sensor 1516 also called a distance sensor, is usually arranged on the front panel of the terminal 1500 .
  • the proximity sensor 1516 is used to collect the distance between the user and the front of the terminal 1500 .
  • the processor 1501 controls the display screen 1505 to switch from the bright screen state to the off screen state; when the proximity sensor 1516 detects When the distance between the user and the front of the terminal 1500 gradually increases, the processor 1501 controls the display screen 1505 to switch from the off-screen state to the on-screen state.
  • FIG. 15 does not constitute a limitation on the terminal 1500, and the terminal 1500 can include more or fewer components than shown in the figure, or combine certain components, or adopt different component arrangements .
  • a computer-readable storage medium including program codes such as a memory including program codes
  • the above program codes can be executed by a processor of the terminal to complete the above live data processing method.
  • the computer-readable storage medium includes: ROM (Read-Only Memory, read-only memory), RAM (Random Access Memory, random access memory), CD-ROM (Compact-Disc Read-Only Memory, only CD-ROMs), magnetic tapes, floppy disks, and optical data storage devices.
  • a computer program product including a computer program, and when the computer program is executed by a processor, the above live data processing method is implemented.
  • the computer programs involved in the embodiments of the present disclosure can be deployed and executed on one terminal, or executed on multiple terminals at one location, or distributed in multiple locations and communicated Executed on multiple terminals interconnected by the network, multiple terminals distributed in multiple locations and interconnected through a communication network form a blockchain system.

Abstract

The present invention relates to the technical field of Internet and relates to a live broadcast data processing method and a terminal. The method comprises: obtaining a live broadcast room state corresponding to at least one target video in a video data stream; when the live broadcast room state is an on-going live broadcast, obtaining a live broadcast data stream of a live broadcast room corresponding to the target video, and displaying the live broadcast data stream on a playback interface of the target video; obtaining at least one target object to be displayed of the live broadcast room on the basis of the live broadcast data stream; and displaying the target object on the playback interface.

Description

直播数据处理方法及终端Live data processing method and terminal
本申请要求于2021年05月25日提交的申请号为202110574477.0的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with application number 202110574477.0 filed on May 25, 2021, the entire contents of which are incorporated in this application by reference.
技术领域technical field
本公开涉及互联网技术领域,尤其涉及一种直播数据处理方法及终端。The present disclosure relates to the technical field of the Internet, and in particular to a live data processing method and a terminal.
背景技术Background technique
随着互联网技术的发展,电商开始逐渐与直播结合起来,兴起直播购物的热潮。通常,用户在申请了主播账号后,能够开启直播并推荐物品,例如,在直播画面中显示主播名称、直播间标题和直播数据流,在推荐某一物品时,在直播间内上架物品即提供物品的购买入口,以引导观众在观看直播时下单购物。With the development of Internet technology, e-commerce has gradually combined with live streaming, and there has been an upsurge of live streaming shopping. Usually, after the user has applied for the anchor account, he can start the live broadcast and recommend items. For example, the name of the anchor, the title of the live broadcast room, and the live data stream will be displayed on the live broadcast screen. The purchase entrance of items to guide viewers to place an order while watching the live broadcast.
发明内容Contents of the invention
本公开提供一种直播数据处理方法及终端。本公开的技术方案如下:The present disclosure provides a live data processing method and a terminal. The disclosed technical scheme is as follows:
根据本公开实施例的一方面,提供一种直播数据处理方法,包括:获取视频数据流中的至少一个目标视频对应的直播间状态;在所述目标视频对应的直播间状态为正在直播的情况下,获取所述目标视频对应的直播间的直播数据流,在所述目标视频的播放界面展示所述直播数据流;基于所述直播数据流获取所述直播间的至少一个待显示的目标对象;在所述目标视频的播放界面显示所述目标对象。According to an aspect of an embodiment of the present disclosure, a method for processing live data is provided, including: obtaining the state of the live room corresponding to at least one target video in the video data stream; when the state of the live room corresponding to the target video is live Next, obtain the live data stream of the live room corresponding to the target video, and display the live data stream on the playback interface of the target video; obtain at least one target object to be displayed in the live room based on the live data stream ; Displaying the target object on the playback interface of the target video.
根据本公开实施例的另一方面,提供一种直播数据处理装置,包括:获取模块,被配置为获取视频数据流中的至少一个目标视频对应的直播间状态;所述获取模块,还被配置为在所述目标视频对应的直播间状态为正在直播的情况下,获取所述目标视频对应的直播间的直播数据流,在所述目标视频的播放界面展示所述直播数据流;所述获取模块,还被配置为基于所述直播数据流获取所述直播间的至少一个待显示的目标对象;显示模块,被配置为在所述目标视频的播放界面显示所述目标对象。According to another aspect of the embodiments of the present disclosure, there is provided a live data processing device, including: an acquisition module configured to acquire the state of the live room corresponding to at least one target video in the video data stream; the acquisition module is also configured In order to obtain the live data stream of the live room corresponding to the target video when the state of the live room corresponding to the target video is live, and display the live data stream on the playback interface of the target video; the acquiring The module is further configured to acquire at least one target object to be displayed in the live broadcast room based on the live data stream; the display module is configured to display the target object on the playback interface of the target video.
根据本公开实施例的另一方面,提供一种终端,包括:一个或多个处理器;用于存储所述处理器可执行程序代码的存储器;其中,所述程序代码的执行使得所述处理器:获取视频数据流中的至少一个目标视频对应的直播间状态;在所述目标视频对应的直播间状态为正在直播的情况下,获取所述目标视频对应的直播间的直播数据流,在所述目标视频的播放界面展示所述直播数据流;基于所述直播数据流获取所述直播间的至少一个待显示的目标对象;在所述目标视频的播放界面显示所述目标对象。According to another aspect of the embodiments of the present disclosure, there is provided a terminal, including: one or more processors; a memory for storing program codes executable by the processors; wherein, execution of the program codes makes the processing Device: obtain the state of the live room corresponding to at least one target video in the video data stream; when the state of the live room corresponding to the target video is live, obtain the live data stream of the live room corresponding to the target video, and The playback interface of the target video displays the live data stream; acquires at least one target object to be displayed in the live room based on the live data stream; and displays the target object on the playback interface of the target video.
根据本公开实施例的另一方面,提供一种计算机可读存储介质,当所述计算机可读存储介质中的程序代码由计算机设备的处理器执行时,使得计算机设备能够执行如下操作:获取视频数据流中的至少一个目标视频对应的直播间状态;在所述目标视频对应的直播间状态为正在直播的情况下,获取所述目标视频对应的直播间的直播数据流,在所述目标视频的播放界面展示所述直播数据流;基于所述直播数据流获取所述直播间的至少一个待显示的目标对象;在所述目标视频的播放界面显示所述目标对象。According to another aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided. When the program code in the computer-readable storage medium is executed by a processor of a computer device, the computer device can perform the following operations: acquire video The state of the live room corresponding to at least one target video in the data stream; in the case that the state of the live room corresponding to the target video is live, obtain the live data stream of the live room corresponding to the target video, and in the target video displaying the live data stream on the playback interface; acquiring at least one target object to be displayed in the live broadcast room based on the live data stream; displaying the target object on the target video playback interface.
根据本公开实施例的另一方面,提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现如下操作:获取视频数据流中的至少一个目标视频对应的直播间状态;在所述目标视频对应的直播间状态为正在直播的情况下,获取所述目标视频对应的直播间的直播数据流,在所述目标视频的播放界面展示所述直播数据流;基于所述直播数据流获取所述直播间的至少一个待显示的目标对象;在所述目标视频的播放界面显示所述目标对象。According to another aspect of the embodiments of the present disclosure, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the following operations are implemented: acquiring the state of the live room corresponding to at least one target video in the video data stream; When the state of the live room corresponding to the target video is being live, obtain the live data stream of the live room corresponding to the target video, and display the live data stream on the playback interface of the target video; based on the live data Acquiring at least one target object to be displayed in the live broadcast room; and displaying the target object on the playback interface of the target video.
本公开实施例提供的方案,通过在视频数据流所包括的目标视频的播放界面上,来对直播间内的一些关键信息,例如目标对象进行显示,使得用户在基于视频数据流进行浏览的基础上,就能够获知直播间当前正在直播的相关信息,从而能够提升直播间的信息传递效率。In the solution provided by the embodiments of the present disclosure, some key information in the live broadcast room, such as the target object, is displayed on the playback interface of the target video included in the video data stream, so that the user can browse based on the video data stream On the Internet, you can know the relevant information that the live broadcast room is currently live broadcasting, so as to improve the efficiency of information transmission in the live broadcast room.
附图说明Description of drawings
图1是本公开实施例提供的一种直播数据处理方法的实施环境示意图;FIG. 1 is a schematic diagram of an implementation environment of a live data processing method provided by an embodiment of the present disclosure;
图2是根据一实施例示出的一种直播数据处理方法的流程图;Fig. 2 is a flowchart of a method for processing live data according to an embodiment;
图3是根据一实施例示出的一种直播数据处理方法的流程图;Fig. 3 is a flow chart of a method for processing live data according to an embodiment;
图4是根据一实施例示出的一种终端界面示意图;Fig. 4 is a schematic diagram of a terminal interface according to an embodiment;
图5是根据一实施例示出的一种终端界面示意图;Fig. 5 is a schematic diagram of a terminal interface according to an embodiment;
图6是根据一实施例示出的一种终端界面示意图;Fig. 6 is a schematic diagram of a terminal interface according to an embodiment;
图7是根据一实施例示出的一种终端界面示意图;Fig. 7 is a schematic diagram of a terminal interface according to an embodiment;
图8是根据一实施例示出的一种终端界面示意图;Fig. 8 is a schematic diagram of a terminal interface according to an embodiment;
图9是根据一实施例示出的一种终端界面示意图;Fig. 9 is a schematic diagram of a terminal interface according to an embodiment;
图10是根据一实施例示出的一种终端界面示意图;Fig. 10 is a schematic diagram of a terminal interface according to an embodiment;
图11是根据一实施例示出的一种终端界面示意图;Fig. 11 is a schematic diagram of a terminal interface according to an embodiment;
图12是根据一实施例示出的一种终端界面示意图;Fig. 12 is a schematic diagram of a terminal interface according to an embodiment;
图13是根据一实施例示出的一种终端界面示意图;Fig. 13 is a schematic diagram of a terminal interface according to an embodiment;
图14是根据一实施例示出的一种直播数据处理装置的框图;Fig. 14 is a block diagram of a live data processing device according to an embodiment;
图15是根据一实施例示出的一种终端的框图。Fig. 15 is a block diagram of a terminal according to an embodiment.
具体实施方式Detailed ways
本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。The terms "first", "second" and the like in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It should be understood that the data so used are interchanged under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein.
本公开所涉及的数据为经用户授权或者经过各方充分授权的数据。The data involved in this disclosure is data authorized by the user or fully authorized by all parties.
图1是本公开实施例提供的一种直播数据处理方法的实施环境示意图,参见图1,该实施环境中包括终端101,或者该实施环境包括终端101和直播数据处理平台102。终端101通过无线网络或有线网络与直播数据处理平台102相连。FIG. 1 is a schematic diagram of an implementation environment of a live data processing method provided by an embodiment of the present disclosure. Referring to FIG. 1 , the implementation environment includes a terminal 101 , or the implementation environment includes a terminal 101 and a live data processing platform 102 . The terminal 101 is connected to the live data processing platform 102 through a wireless network or a wired network.
终端101是智能手机、游戏主机、台式计算机、平板电脑、电子书阅读器、MP3(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)播放器或MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器,膝上型便携计算机中的至少一种。终端101安装和运行有支持直播数据处理的应用程序,例如,该应用程序是短视频应用、直播应用、购物应用、在线视频应用等。Terminal 101 is a smart phone, a game console, a desktop computer, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III, moving picture expert compression standard audio layer 3) player or an MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio layer 4) player, at least one of laptop computers. Terminal 101 installs and runs an application supporting live data processing, for example, the application is a short video application, a live broadcast application, a shopping application, an online video application, and the like.
在一些实施例中,该终端101具有直播数据处理功能,该终端101能够获取直播数据,然后基于直播数据进行界面显示。直播数据处理平台102为终端101提供数据服务,例如,终端101从直播数据处理平台102中获取直播数据,本公开实施例对此不作限定。In some embodiments, the terminal 101 has a live data processing function, the terminal 101 can acquire the live data, and then display an interface based on the live data. The live data processing platform 102 provides data services for the terminal 101, for example, the terminal 101 acquires live data from the live data processing platform 102, which is not limited in this embodiment of the present disclosure.
直播数据处理平台102包括一台服务器、多台服务器、云计算平台和虚拟化中心中的至少一种。直播数据处理平台102用于为支持直播数据处理的应用程序提供后台服务。在一些实施例中,直播数据处理平台102承担主要处理工作,终端101承担次要处理工作;或者,直播数据处理平台102承担次要处理工作,终端101承担主要处理工作;或者,直播数据处理平台102或终端101分别单独承担处理工作;或者,直播数据处理平台102和终端101两者之间采用分布式计算架构进行协同计算。The live data processing platform 102 includes at least one of a server, multiple servers, a cloud computing platform, and a virtualization center. The live data processing platform 102 is used to provide background services for applications supporting live data processing. In some embodiments, the live data processing platform 102 undertakes the main processing work, and the terminal 101 undertakes the secondary processing work; or, the live data processing platform 102 undertakes the secondary processing work, and the terminal 101 undertakes the main processing work; or, the live data processing platform 102 or the terminal 101 independently undertake the processing work; or, the live data processing platform 102 and the terminal 101 adopt a distributed computing architecture to perform collaborative computing.
在一些实施例中,该直播数据处理平台102包括至少一台服务器1021以及数据库1022,该数据库1022用于存储数据,在本公开实施例中,该数据库1022中存储有样本图像或样本人脸图像,为至少一台服务器1021提供数据服务。In some embodiments, the live broadcast data processing platform 102 includes at least one server 1021 and a database 1022, the database 1022 is used to store data, in the embodiment of the present disclosure, sample images or sample face images are stored in the database 1022 , providing data services for at least one server 1021 .
在一些实施例中,直播数据处理平台102为内容分发网络(Content Delivery Network,CDN)。直播数据处理平台102从主播端接收一部分直播数据后,将该直播数据通过内容分发网络下发到观众端,例如,观众端从内容分发网络中距离最近的数据中心拉取该直播数据。In some embodiments, the live data processing platform 102 is a content delivery network (Content Delivery Network, CDN). After the live data processing platform 102 receives a part of the live data from the anchor, it sends the live data to the viewer through the content distribution network. For example, the viewer pulls the live data from the nearest data center in the content distribution network.
服务器是独立的物理服务器,或者是多个物理服务器构成的服务器集群或者分布式系统,或者是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN、以及大数据和人工智能平台等基础云计算服务的云服务器。The server is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, Cloud servers for basic cloud computing services such as domain name services, security services, CDN, and big data and artificial intelligence platforms.
终端是智能手机、平板电脑、笔记本电脑、台式计算机、智能音箱、智能手表等,但并不局限于此。The terminal is a smartphone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto.
本领域技术人员知晓,上述终端101、服务器1021的数量更多或更少。比如上述终端101、服务器1021仅为一个,或者上述终端101、服务器1021为几十个或几百个,或者更多数量,本公开实施例对终端或服务器的数量和设备类型不加以限定。Those skilled in the art know that the number of the above-mentioned terminals 101 and servers 1021 is more or less. For example, there is only one terminal 101 and server 1021 , or there are tens or hundreds of terminals 101 and servers 1021 , or more. The number of terminals or servers and device types are not limited in this embodiment of the present disclosure.
图2是根据一实施例示出的一种直播数据处理方法的流程图,如图2所示,该方法由终端执行,包括以下步骤:Fig. 2 is a flow chart of a method for processing live data according to an embodiment. As shown in Fig. 2, the method is executed by a terminal and includes the following steps:
在S21中,获取视频数据流中的至少一个目标视频对应的直播间状态。In S21, the state of the live room corresponding to at least one target video in the video data stream is obtained.
该视频数据流是指直播平台的feed流,feed流用于提供至少一个目标视频,终端能够基于获取到的feed流中的目标视频来进行播放,并基于用户在终端上的视频切换操作,例如滑动操作等,来切换终端当前所播放的视频。The video data stream refers to the feed stream of the live broadcast platform. The feed stream is used to provide at least one target video. The terminal can play the target video based on the obtained feed stream, and based on the user's video switching operation on the terminal, such as sliding Operation, etc., to switch the video currently played by the terminal.
直播间状态用于指示一个直播间是否正在直播,对于视频数据流来说,其所包括的目标视频可能对应于正在直播的直播间,也可能对应于一些录播的视频,本公开实施例对此不做限定。The status of a live room is used to indicate whether a live room is live. For video data streams, the target video included may correspond to the live room that is being broadcast, or may correspond to some recorded videos. The embodiments of the present disclosure are specific to This is not limited.
在一些实施例中,视频数据流中除了包括该至少一个目标视频之外,还包括各个目标视频的直播间状态标签,该直播间状态标签用以表示上述直播间状态。In some embodiments, besides the at least one target video, the video data stream also includes a live room status tag of each target video, and the live room status tag is used to represent the above live room status.
在S22中,在该目标视频对应的直播间状态为正在直播的情况下,获取该目标视频对应的直播间的直播数据流,在该目标视频的播放界面展示该直播数据流。In S22, if the state of the live room corresponding to the target video is live, acquire the live data stream of the live room corresponding to the target video, and display the live data stream on the playback interface of the target video.
对于不同直播间状态,终端从不同来源获取其相应数据流,在直播间状态处于正在直播的情况下,终端通过直播服务器来获取目标视频对应的直播间的直播数据流,以观看到直播的实时内容。For different live room states, the terminal obtains its corresponding data stream from different sources. When the live room state is live, the terminal obtains the live data stream of the live room corresponding to the target video through the live server, so as to watch the live broadcast in real time. content.
在S23中,基于该直播数据流获取该直播间的至少一个待显示的目标对象。In S23, at least one target object to be displayed in the live broadcast room is acquired based on the live data stream.
对于直播间来说,其直播间内通常提供有目标对象。For the live broadcast room, target objects are usually provided in the live broadcast room.
在一些实施例中,该目标对象为虚拟资源或物品对象,该虚拟资源是指直播数据流中发放的、与售卖的物品对象所关联的虚拟资源,例如,虚拟资源为优惠券、代金券、打折券、购物券、满减券、虚拟红包、抵扣券等,该物品对象为该直播间内正在售卖的物品对象,例如该物品对象为化妆品、护肤品、日用品、文具、外卖券、打车券等商品或服务。In some embodiments, the target object is a virtual resource or an item object, and the virtual resource refers to a virtual resource issued in the live data stream and associated with an item object for sale. For example, the virtual resource is a coupon, a voucher, Discount coupons, shopping coupons, full discount coupons, virtual red envelopes, discount coupons, etc. The object of the item is the object of the item being sold in the live broadcast room, for example, the object of the item is cosmetics, skin care products, daily necessities, stationery, takeaway coupons, taxis goods or services such as coupons.
在S24中,在该目标视频的播放界面显示该目标对象。In S24, the target object is displayed on the playing interface of the target video.
在本公开实施例中,终端基于视频数据流展示目标视频的播放界面,并基于该目标视频的播放界面,来显示目标对象,此时,所显示的目标视频的播放界面,是用于引导用户进入直播间以观看更多、更细节直播内容的入口,通过点击该目标视频的播放界面,终端能够基于直播数据流来显示直播间界面,从而使得用户能够在直播间内进行进一步的操作,例如基于物品对象进行交易、与主播进行互动等等。In the embodiment of the present disclosure, the terminal displays the playback interface of the target video based on the video data stream, and displays the target object based on the playback interface of the target video. At this time, the displayed playback interface of the target video is used to guide the user Enter the live broadcast room to watch more and more detailed live content. By clicking the playback interface of the target video, the terminal can display the live room interface based on the live data stream, so that the user can perform further operations in the live room, such as Trade based on item objects, interact with anchors, and more.
本公开实施例提供的方案,通过在视频数据流所包括的目标视频的播放界面上,来对直播间内的一些关键信息,例如目标对象进行显示,使得用户在基于视频数据流进行浏览的基础上,就能够获知直播间当前正在直播的相关信息,从而能够提升直播间的信息传递效率。In the solution provided by the embodiments of the present disclosure, some key information in the live broadcast room, such as the target object, is displayed on the playback interface of the target video included in the video data stream, so that the user can browse based on the video data stream On the Internet, you can know the relevant information that the live broadcast room is currently live broadcasting, so as to improve the efficiency of information transmission in the live broadcast room.
在一些实施例中,该目标对象为虚拟资源,在该目标视频的播放界面显示该目标对象,包括:在该目标视频的播放界面显示该虚拟资源及资源领取入口。In some embodiments, the target object is a virtual resource, and displaying the target object on the target video playback interface includes: displaying the virtual resource and a resource claim entrance on the target video playback interface.
在一些实施例中,该方法还包括:响应于对该资源领取入口的触发操作,显示该直播间的直播界面;在该直播界面中显示该虚拟资源。In some embodiments, the method further includes: displaying a live broadcast interface of the live broadcast room in response to a trigger operation of the resource claiming entry; and displaying the virtual resource in the live broadcast interface.
在一些实施例中,在该直播界面中显示该虚拟资源,包括:在该直播界面显示该虚拟资源的数量和领取成功信息,该领取成功信息表示对该虚拟资源领取成功。In some embodiments, displaying the virtual resource on the live broadcast interface includes: displaying the quantity of the virtual resource and successful claim information on the live broadcast interface, where the successful claim information indicates that the virtual resource has been successfully claimed.
在一些实施例中,在该直播界面显示该虚拟资源的数量和领取成功信息,包括:在该直播界面显示该虚拟资源的数量和领取控件;响应于对该领取控件的触发操作,在该直播界面中显示领取成功信息,该领取成功信息表示对该虚拟资源领取成功。In some embodiments, displaying the quantity of the virtual resource and information on successful collection on the live broadcast interface includes: displaying the quantity of the virtual resource and the collection control on the live broadcast interface; The receiving success message is displayed on the interface, and the receiving success message indicates that the virtual resource is successfully received.
在一些实施例中,该方法还包括:在对该虚拟资源领取成功的情况下,在该直播界面内显示该虚拟资源的跳转控件;响应于对该跳转控件的触发操作,在该直播界面中播放资源领取动画,该资源领取动画表示该虚拟资源移动至该直播间的列表控件中,该列表控件对应于物品列表,该物品列表包括该直播间中处于待交易状态的物品。In some embodiments, the method further includes: when the virtual resource is successfully received, displaying a jump control of the virtual resource in the live broadcast interface; The resource claiming animation is played on the interface, and the resource claiming animation indicates that the virtual resource is moved to the list control of the live broadcast room. The list control corresponds to the item list, and the item list includes the items in the live room that are in the state of being traded.
在一些实施例中,该方法还包括:响应于该资源领取动画播放完毕,显示该物品列表,该物品列表的目标位置上显示有该虚拟资源。In some embodiments, the method further includes: in response to the completion of the resource claiming animation, displaying the item list, and the virtual resource is displayed at the target position of the item list.
在一些实施例中,该虚拟资源包括下述任一项:第一虚拟资源,为该直播间内与终端所登录账号匹配的虚拟资源;第二虚拟资源,为该直播间内与终端匹配的虚拟资源;第三虚拟资源,为该直播间内与系统时间匹配的虚拟资源;第四虚拟资源,为该直播间内数额最大的虚拟资源;在该目标视频的播放界面显示该虚拟资源及资源领取入口,包括:在该目标视频的播放界面轮流显示各个该虚拟资源及资源领取入口。In some embodiments, the virtual resource includes any of the following: the first virtual resource is a virtual resource that matches the account registered by the terminal in the live broadcast room; the second virtual resource is a virtual resource that matches the terminal in the live broadcast room Virtual resources; the third virtual resource is the virtual resource that matches the system time in the live broadcast room; the fourth virtual resource is the virtual resource with the largest amount in the live broadcast room; the virtual resource and resources are displayed on the playback interface of the target video The receiving entrance includes: displaying each virtual resource and the resource receiving entrance in turn on the playing interface of the target video.
在一些实施例中,该目标对象为物品对象,在该目标视频的播放界面显示该目标对象,包括:在该目标视频的播放界面显示该物品对象及查看入口。In some embodiments, the target object is an item object, and displaying the target object on the playback interface of the target video includes: displaying the item object and a view entry on the playback interface of the target video.
在一些实施例中,该方法还包括:响应于对该查看入口的触发操作,显示该直播间的直播界面;在该直播界面中显示物品列表,该物品列表包括该物品对象。In some embodiments, the method further includes: displaying a live interface of the live broadcast room in response to a trigger operation of the view entry; displaying an item list in the live interface, the item list including the item object.
在一些实施例中,该物品对象包括下述任一项:第一物品对象,为该直播间内正在直播 介绍的物品;第二物品对象,为该直播间内在未来预设时间段内将进行直播介绍的物品;在该目标视频的播放界面显示该物品对象及查看入口,包括:在该目标视频的播放界面轮流显示各个该物品对象的查看入口。In some embodiments, the item object includes any of the following items: the first item object is an item that is being introduced live in the live broadcast room; Live broadcasting the introduced item; displaying the item object and viewing entrance on the playback interface of the target video, including: displaying the viewing entrances of each item object in turn on the playback interface of the target video.
在一些实施例中,该方法还包括:在该目标视频的播放界面显示该物品对象的直播状态,该直播状态包括正在直播介绍和在未来预设时间段内将进行直播介绍。In some embodiments, the method further includes: displaying the live broadcast status of the item object on the playback interface of the target video, and the live broadcast status includes live introduction and live introduction to be performed within a preset time period in the future.
在一些实施例中,在该目标视频的播放界面显示该目标对象,包括:在该目标视频的播放界面展示该直播数据流的时长超过第一时长的情况下,在该目标视频的播放界面显示该目标对象。In some embodiments, displaying the target object on the playback interface of the target video includes: displaying the live data stream on the playback interface of the target video for a duration exceeding the first duration, displaying on the playback interface of the target video the target object.
在一些实施例中,该方法还包括:在该目标对象的显示时长超过第二时长的情况下,取消显示该目标对象或改变该目标对象的显示方式,该第二时长大于该第一时长。In some embodiments, the method further includes: canceling display of the target object or changing a display manner of the target object when the display duration of the target object exceeds a second duration, the second duration being longer than the first duration.
上述图2所示仅为本公开的基本流程,下面基于一种具体实施方式,来对本公开提供的方案进行进一步阐述,图3是根据一实施例示出的一种直播数据处理方法的流程图,参见图3,该方法包括:The above-mentioned FIG. 2 shows only the basic flow of the present disclosure. Based on a specific implementation mode, the solution provided by the present disclosure will be further elaborated below. FIG. 3 is a flow chart of a live data processing method according to an embodiment. Referring to Figure 3, the method includes:
在S30中,终端获取视频数据流中的至少一个目标视频对应的直播间状态。In S30, the terminal obtains the state of the live room corresponding to at least one target video in the video data stream.
该视频数据流是指直播平台的feed流,feed流用于提供至少一个目标视频,终端能够基于获取到的feed流中的目标视频来进行播放,并基于用户在终端上的视频切换操作,例如滑动操作等,来切换终端当前所播放的视频。The video data stream refers to the feed stream of the live broadcast platform. The feed stream is used to provide at least one target video. The terminal can play the target video based on the obtained feed stream, and based on the user's video switching operation on the terminal, such as sliding Operation, etc., to switch the video currently played by the terminal.
直播间状态用于指示一个直播间是否正在直播,对于视频数据流来说,其所包括的目标视频可能对应于正在直播的直播间,也可能对应于一些录播的视频,本公开实施例对此不做限定。The status of a live room is used to indicate whether a live room is live. For video data streams, the target video included may correspond to the live room that is being broadcast, or may correspond to some recorded videos. The embodiments of the present disclosure are specific to This is not limited.
在一些实施例中,视频数据流中除了包括该至少一个目标视频之外,还包括各个目标视频的直播间状态标签,该直播间状态标签用以表示上述直播间状态。In some embodiments, besides the at least one target video, the video data stream also includes a live room status tag of each target video, and the live room status tag is used to represent the above live room status.
在一些实施例中,对于该视频数据流,由服务器推送给该终端所登录账号或该终端。在一些实施例中,服务器向终端所登录账号推送终端所登录账号匹配的目标视频。比如,服务器向终端所登录账号发送该账号所关注主播的目标视频。又比如,服务器向终端所登录账号推送该账号的历史浏览行为所匹配的目标视频。又比如,服务器向该终端推送满足推送条件的目标视频。比如,该推送条件包括正在直播、直播间观众数量大于数量阈值、视频的发布时间与系统时间之差在目标时长内、视频的反馈率或反馈量大于阈值中的至少一项。In some embodiments, the video data stream is pushed by the server to the terminal's account or the terminal. In some embodiments, the server pushes the target video matched by the account registered by the terminal to the account registered by the terminal. For example, the server sends the target video of the anchor followed by the account to the account logged in by the terminal. For another example, the server pushes the target video matched by the historical browsing behavior of the account to the account logged in by the terminal. For another example, the server pushes the target video meeting the push condition to the terminal. For example, the push condition includes at least one of live broadcasting, the number of viewers in the live broadcast room is greater than the threshold, the difference between the release time of the video and the system time is within the target duration, and the feedback rate or amount of the video is greater than the threshold.
在S31中,在该目标视频对应的直播间状态为正在直播的情况下,获取该目标视频对应的直播间的直播数据流,在该目标视频的播放界面展示该直播数据流。In S31, if the state of the live room corresponding to the target video is live, acquire the live data stream of the live room corresponding to the target video, and display the live data stream on the playback interface of the target video.
对于不同直播间状态,终端从不同来源获取其相应数据流,在直播间状态处于正在直播的情况下,终端通过直播服务器来获取目标视频对应的直播间的直播数据流,以观看到直播的实时内容。For different live room states, the terminal obtains its corresponding data stream from different sources. When the live room state is live, the terminal obtains the live data stream of the live room corresponding to the target video through the live server, so as to watch the live broadcast in real time. content.
在一些实施例中,主播在应用客户端中注册账号并申请认证,认证通过后,创建自己的直播间进行直播。相应地,观众侧通过终端显示feed流,在播放feed流中的某个目标视频对应的直播间状态为正在直播的情况下,在该目标视频的播放界面中展示直播数据流,例如仅展示该直播数据流对应的直播间的信息(例如直播间封面),以便于提醒观众看到该主播正在直播,进一步的,观众通过对目标视频的播放界面进行点击以进入直播间,从目标视频的播放界面跳转至直播间的直播界面。In some embodiments, the host registers an account in the application client and applies for authentication. After passing the authentication, the anchor creates his own live broadcast room for live broadcast. Correspondingly, the viewer side displays the feed stream through the terminal, and when the state of the live room corresponding to a certain target video in the feed stream is live broadcasting, the live data stream is displayed on the playback interface of the target video, for example, only the The information of the live broadcast room corresponding to the live data stream (such as the cover of the live broadcast room), so as to remind the audience to see that the host is live broadcasting. Further, the audience clicks on the playback interface of the target video to enter the live broadcast room, from the playback of the target video The interface jumps to the live broadcast interface of the live broadcast room.
在一些实施例中,该目标视频的播放界面中显示有该直播间的信息,通过该目标视频的播放界面能够获知该直播间内的一些内容,能够看做是一个小型的直播间,因而也将该目标视频的播放界面称为简易直播间。In some embodiments, information about the live broadcast room is displayed on the playback interface of the target video, and some content in the live broadcast room can be known through the playback interface of the target video, which can be regarded as a small live broadcast room. The playback interface of the target video is called the simple live broadcast room.
在一些实施例中,终端获取直播间的直播信息,基于直播间的直播信息生成该直播间的目标视频的播放界面,并显示该目标视频的播放界面。In some embodiments, the terminal acquires the live broadcast information of the live broadcast room, generates the playback interface of the target video in the live broadcast room based on the live broadcast information of the live broadcast room, and displays the playback interface of the target video.
在一些实施例中,该直播信息包括:直播间的主题、主播的名称和直播间所关联的标签,生成的目标视频的播放界面中显示有直播间的主题、主播的名称和直播间所关联的标签,例如,将直播间的主题、主播的名称和直播间所关联的标签在该目标视频的播放界面中按照预设布局进行排布,使得该直播间的主题、主播的名称和直播间所关联的标签形成直播间的封面。In some embodiments, the live broadcast information includes: the theme of the live broadcast room, the name of the anchor, and the tags associated with the live broadcast room. tags, for example, arrange the theme of the live room, the name of the anchor and the tags associated with the live room in the playback interface of the target video according to the preset layout, so that the theme of the live room, the name of the host and the live room The associated tags form the cover of the live room.
在一些实施例中,该直播信息还包括上述直播数据流,该直播数据流包括多帧直播视频画面,此时生成的目标视频的播放界面中能够播放该直播间当前的直播视频画面。这样通过该目标视频的播放界面,无需进入直播间就能看到直播间当前的直播视频画面,用户在观看到该直播视频画面后,如果对该直播视频画面感兴趣,在该目标视频的播放界面中能够进入直播间,以观看到直播间的更多数据。In some embodiments, the live broadcast information further includes the above-mentioned live data stream, and the live data stream includes multiple frames of live video images, and the current live video images of the live broadcast room can be played in the playback interface of the generated target video at this time. In this way, through the playback interface of the target video, you can see the current live video screen in the live broadcast room without entering the live broadcast room. You can enter the live broadcast room in the interface to watch more data of the live broadcast room.
例如,图4是根据一实施例示出的一种终端界面示意图,如图4所示,终端显示直播间的目标视频的播放界面400,该目标视频的播放界面400中显示有直播间的主题401、主播的名称402、直播间所关联的标签403和直播数据流404。在一些实施例中,在该目标视频的播放界面400还显示有进入直播间的提示信息“点击进入直播间”405,以提示用户进行点击操作触发进入直播间。For example, FIG. 4 is a schematic diagram of a terminal interface shown according to an embodiment. As shown in FIG. 4 , the terminal displays a playback interface 400 of a target video in a live broadcast room, and a theme 401 of a live broadcast room is displayed in the playback interface 400 of the target video , the anchor's name 402 , the label 403 associated with the live room, and the live data stream 404 . In some embodiments, a prompt message "click to enter the live room" 405 to enter the live room is also displayed on the playing interface 400 of the target video, so as to prompt the user to perform a click operation to trigger entering the live room.
在一些实施例中,在显示目标视频的播放界面后,如果用户想要进入直播间,则对目标视频的播放界面进行点击操作,终端检测到该对目标视频的播放界面的点击操作后,响应于该点击操作,显示该目标视频对应的直播间的直播界面。In some embodiments, after the playback interface of the target video is displayed, if the user wants to enter the live broadcast room, the user clicks on the playback interface of the target video. After the terminal detects the click operation on the playback interface of the target video, it responds After the click operation, the live broadcast interface of the live broadcast room corresponding to the target video is displayed.
例如,在一个支持直播和短视频播放的短视频应用中,用户在终端上开启短视频应用后,短视频应用的服务器向终端推送多个目标视频所形成的视频数据流(即feed流)。终端接收到该多个目标视频所形成的视频数据流后,按照推送顺序播放排在第一个的目标视频。如果该目标视频的直播间状态为正在直播,终端获取该目标视频对应的直播间的直播数据流,在播放界面中展示该直播数据流。如果用户对当前显示的内容不满意或已完成观看,通过进行切换操作,能够将终端屏幕的显示内容切换为视频数据流中推送顺序排在下一个的目标视频。For example, in a short video application that supports live broadcast and short video playback, after the user starts the short video application on the terminal, the server of the short video application pushes a video data stream (ie, a feed stream) formed by multiple target videos to the terminal. After the terminal receives the video data stream formed by the plurality of target videos, it plays the first target video according to the pushing order. If the status of the live room of the target video is live, the terminal obtains the live data stream of the live room corresponding to the target video, and displays the live data stream on the playback interface. If the user is dissatisfied with the currently displayed content or has finished watching it, by performing a switching operation, the display content on the terminal screen can be switched to the next target video in the push order in the video data stream.
在S32中,终端判断该直播间是否具有虚拟资源。若该直播间内具有虚拟资源,执行S33-S34;若该直播间内不具有虚拟资源,执行S35-S36。In S32, the terminal judges whether the live broadcast room has virtual resources. If there are virtual resources in the live broadcast room, execute S33-S34; if there is no virtual resource in the live broadcast room, execute S35-S36.
在一些实施例中,终端通过判断该直播间内是否具有虚拟资源,在该直播间具有虚拟资源的情况下,执行S33-S34,即将该虚拟资源以及资源领取入口显示在目标视频的播放界面中,以丰富目标视频的播放界面的显示内容,实现了在目标视频的播放界面中直播间内虚拟资源的显示和引导。这样通过该目标视频的播放界面显示的内容,用户无需进入直播间,即可直接获知直播间内虚拟资源的情况。在直播间内不具有虚拟资源的情况下,执行S35-S36,将直播间物品对象以及查看入口显示在目标视频的播放界面中,也同样能够丰富目标视频的播放界面的显示内容,实现了在目标视频的播放界面中对直播间中物品对象的显示和引导。这样通过该目标视频的播放界面显示的内容,用户无需进入直播间,即可直接获知直播间内物品对象的情况。In some embodiments, the terminal judges whether there are virtual resources in the live broadcast room, and if the live broadcast room has virtual resources, execute S33-S34, that is, display the virtual resources and the resource claim entry in the playback interface of the target video , by enriching the display content of the playback interface of the target video, the display and guidance of virtual resources in the live broadcast room are realized in the playback interface of the target video. In this way, through the content displayed on the playback interface of the target video, the user can directly know the situation of the virtual resources in the live broadcast room without entering the live broadcast room. In the case that there are no virtual resources in the live broadcast room, executing S35-S36 to display the live room item object and the view entry on the playback interface of the target video can also enrich the display content of the playback interface of the target video, and realize the The display and guidance of the item objects in the live broadcast room in the playback interface of the target video. In this way, through the content displayed on the playback interface of the target video, the user can directly know the situation of the object in the live broadcast room without entering the live broadcast room.
需要说明的是,该S32为基于该直播数据流获取该直播间的至少一个待显示的目标对象的一种可选实现方式,以及后续S33和S35分别为在该目标视频的播放界面显示该目标对象的一种可选实现方式,其中,S33中目标对象为虚拟资源,S35中目标对象为物品对象。上述S32通过判断直播间内是否具有虚拟资源,确定了直播间待显示的目标对象为虚拟资源还是物品对象。It should be noted that this S32 is an optional implementation method of obtaining at least one target object to be displayed in the live broadcast room based on the live data stream, and the subsequent S33 and S35 are respectively displaying the target object on the playback interface of the target video An optional implementation of the object, wherein the target object in S33 is a virtual resource, and the target object in S35 is an item object. The above S32 determines whether the target object to be displayed in the live room is a virtual resource or an item object by judging whether there is a virtual resource in the live room.
在一些实施例中,基于直播数据流获取该直播间的至少一个待显示的目标对象的过程还能够通过其他方式实现,例如,获取直播数据流中预先设置的目标对象,比如直播数据流中预先设置了大额的优惠券为目标对象,或者直播数据流中预先设置了力荐的物品为目标对象,本公开实施例对此不作限定。In some embodiments, the process of obtaining at least one target object to be displayed in the live broadcast room based on the live data stream can also be realized in other ways, for example, obtaining a preset target object in the live data stream, such as a preset target object in the live data stream A coupon with a large amount is set as the target object, or a highly recommended item is preset in the live data stream as the target object, which is not limited in this embodiment of the present disclosure.
该虚拟资源是一种虚拟的、电子的资源。在一些实施例中,该虚拟资源为一种物品对象交易过程中能够应用的资源。例如,该虚拟资源是指直播数据流中发放的、与售卖的物品对象所关联的虚拟资源,该虚拟资源用于减少物品对象交易所需消耗的资源,包括优惠券、代金券、打折券、购物券、满减券、虚拟红包、抵扣券等。在一个具体示例中,该虚拟资源为优惠券,比如,支付满400元减免30元的优惠券。又比如,3折的折扣券。The virtual resource is a virtual, electronic resource. In some embodiments, the virtual resource is a resource that can be applied during the transaction of item objects. For example, the virtual resource refers to the virtual resource associated with the item object sold in the live data stream, and the virtual resource is used to reduce the consumption of resources required for the transaction of the item object, including coupons, vouchers, discount coupons, Shopping coupons, full discount coupons, virtual red envelopes, discount coupons, etc. In a specific example, the virtual resource is a coupon, for example, a coupon for a discount of 30 yuan for a purchase of 400 yuan or more. Another example is a 30% discount coupon.
在一些实施例中,为直播间设置目标条件,通过该目标条件来确定是否需要进行上述S32的判断。对于满足目标条件的直播间,提供虚拟资源或物品对象的相关入口的显示,因而进行直播间内是否具有虚拟资源的判断。而对于不满足该目标条件的直播间,终端无需提供虚拟资源或物品对象的显示功能,也就无需进行上述直播间内是否具有虚拟资源的判断。In some embodiments, a target condition is set for the live broadcast room, and the target condition is used to determine whether the judgment of S32 above needs to be performed. For the live broadcast room that meets the target conditions, the display of the relevant entry of the virtual resource or item object is provided, so it is judged whether there is a virtual resource in the live broadcast room. For the live broadcast room that does not meet the target condition, the terminal does not need to provide the display function of virtual resources or item objects, and does not need to judge whether there is virtual resource in the above live broadcast room.
在一些实施例中,在该直播间满足目标条件的情况下,终端进行该直播间内是否具有该虚拟资源的判断。其中,该目标条件包括下述三个条件中的至少一项。也即是,目标条件包括三个条件中的任一种;或者,目标条件包括三个条件中的任两个;或者,目标条件包括三个条件。In some embodiments, when the live broadcast room satisfies the target condition, the terminal judges whether the live broadcast room has the virtual resource. Wherein, the target condition includes at least one of the following three conditions. That is, the target condition includes any one of the three conditions; or, the target condition includes any two of the three conditions; or, the target condition includes three conditions.
条件一:该直播间的主播账号为目标类型。Condition 1: The anchor account of the live broadcast room is the target type.
对于主播账号,按照直播内容为主播账号设置多个类型,不同类型的主播账号其直播内容不同。例如,在一些主播账号的直播内容为游戏直播的情况下,这些主播账号为游戏直播类型。在一些主播账号的直播内容为直播卖货的情况下,这些主播账号为电商类型。在一些主播账号的直播内容为野外生活直播的情况下,这些主播账号为生活直播类型。For the anchor account, multiple types are set for the anchor account according to the live broadcast content, and different types of anchor accounts have different live content. For example, when the live broadcast content of some anchor accounts is a game live broadcast, these anchor accounts are of the game live broadcast type. In the case that the live broadcast content of some anchor accounts is live broadcast sales, these anchor accounts are e-commerce types. In the case that the live broadcast content of some anchor accounts is a live broadcast of outdoor life, these anchor accounts are of the live broadcast type.
在一些实施例中,该目标类型为电商类型,或者为其他需要使用虚拟资源或推荐物品对象的类型,该目标类型由相关技术人员根据业务需求进行设置,本公开实施例对此不作限定。In some embodiments, the target type is an e-commerce type, or other types that require the use of virtual resources or recommended item objects, and the target type is set by relevant technical personnel according to business requirements, which is not limited in the embodiments of the present disclosure.
能够理解地,电商类型的直播间内通常会有虚拟资源或物品对象,因此在显示直播间的目标视频的播放界面时,判断该直播间的主播账号是否为电商类型,如果该主播账号是电商类型,则提供虚拟资源或物品对象的显示功能,因而需要进一步判断显示直播间内的虚拟资源还是物品对象。如果该主播账号不是电商类型,则无需显示虚拟资源或物品对象,因而无需进行上述判断。It can be understood that there are usually virtual resources or item objects in the e-commerce live broadcast room, so when the playback interface of the target video in the live broadcast room is displayed, it is judged whether the anchor account of the live broadcast room is an e-commerce type, if the anchor account If it is an e-commerce type, it provides the display function of virtual resources or item objects, so it is necessary to further determine whether to display virtual resources or item objects in the live broadcast room. If the anchor account is not an e-commerce type, there is no need to display virtual resources or item objects, so the above judgment does not need to be made.
条件二:该直播间正在直播介绍。Condition 2: The live broadcast room is broadcasting the introduction.
主播在直播间内能够将物品对象添加至物品列表(该过程亦称为“上架”或“挂车”),该物品列表包括该直播间中处于待交易状态的物品对象。将物品对象添加至物品列表后,主播能够对该物品列表中的该物品对象进行介绍。此时,该直播间正在直播介绍。The anchor can add item objects to the item list in the live broadcast room (this process is also called "shelf" or "trailer"), and the item list includes the item objects in the live room that are in the state of being traded. After the item object is added to the item list, the anchor can introduce the item object in the item list. At this time, the live broadcast room is broadcasting the introduction.
在一些实施例中,该直播间内正在直播介绍这一直播间的状态由主播在直播间内进行状态设置操作来设置。比如,主播将一个物品对象添加至物品列表后,将该物品对象的状态设 置为正在直播介绍状态,该直播间的状态也会更改为正在直播介绍。In some embodiments, the state of the live broadcast room that is being introduced live in the live broadcast room is set by the anchor performing a state setting operation in the live broadcast room. For example, after the anchor adds an item object to the item list, and sets the status of the item object to the status of live introduction, the status of the live room will also be changed to the status of live introduction.
能够理解地,在直播间正在直播介绍时,用户可能会想要购买正在直播介绍的物品对象或者直播间内的其他物品对象,因而可能会用到虚拟资源,或者想要看到具体直播介绍的物品对象,因而,提供虚拟资源或物品对象的显示功能,需要进行上述虚拟资源的判断。It is understandable that when the live introduction is being broadcast in the live broadcast room, the user may want to purchase the item object being introduced live or other item objects in the live broadcast room, so virtual resources may be used, or the user may want to see the specific live introduction The item object, therefore, provides the display function of the virtual resource or the item object, and needs to perform the above-mentioned judgment of the virtual resource.
条件三:该直播间内存在处于待交易的物品对象。Condition 3: There are item objects to be traded in the live broadcast room.
与上述条件二中的内容同理地,在直播间内存在处于待交易的物品对象时,用户能够在直播间内交易物品对象,也可能会使用到虚拟资源,因而提供虚拟资源或物品对象的显示功能,需要进行上述虚拟资源的判断。Similar to the content in the above condition 2, when there is an item object to be traded in the live broadcast room, the user can trade the item object in the live room, and may also use virtual resources, thus providing virtual resources or item objects The display function requires the judgment of the above-mentioned virtual resources.
例如,在一个具体示例中,该目标条件包括上述三个条件,在显示该直播间的目标视频的播放界面时,终端通过判断该主播账号是否为电商类型,以判断该直播间是否为专业电商主播直播间,进一步的还判断该直播间是否正在直播介绍,以及该直播间内是否存在处于待交易的物品对象。在该直播间为专业电商主播直播间,该直播间内存在处于待交易的物品对象且该直播间正在直播介绍(即同时满足上述三个条件才认为符合目标条件)的情况下,确定在该直播间的目标视频的播放界面中显示虚拟资源或物品对象,以及相关入口。因而,进行上述直播间内是否具有虚拟资源的判断,以确定显示哪种类型的目标对象,以及哪种类型的目标对象的入口。For example, in a specific example, the target condition includes the above three conditions. When displaying the playback interface of the target video in the live broadcast room, the terminal judges whether the live broadcast room is professional by judging whether the anchor account is an e-commerce type. In the live broadcast room of the e-commerce anchor, it is further judged whether the live broadcast room is broadcasting the introduction, and whether there is an item subject to be traded in the live broadcast room. If the live broadcast room is a professional e-commerce anchor live broadcast room, and there are objects to be traded in the live broadcast room and the live broadcast room is live broadcasting the introduction (that is, the above three conditions are met at the same time, it is considered to meet the target conditions), it is determined that the The playback interface of the target video in the live broadcast room displays virtual resources or item objects and related entries. Therefore, it is judged whether there are virtual resources in the above-mentioned live broadcast room, so as to determine which type of target object to display and the entry of which type of target object.
这里仅提供了目标条件的一种示例,该目标条件还能够由技术人员根据业务需求进行设置,本公开实施例对目标条件不作限定。通过设置目标条件,来为直播间是否提供虚拟资源和物品对象的显示功能进行区分,针对一些不包括虚拟资源和物品对象的直播间,通过目标条件的判断,能够快速确定其显示需求,无需再一一确定是否具有虚拟资源,是否具有物品对象等,判断效率高,也避免了因所有直播间均提供虚拟资源和物品对象的显示功能,而发现一些直播间并不具有虚拟资源和物品对象,显示空信息而导致显示资源浪费的情况。Here is only an example of the target condition, which can also be set by technicians according to business requirements, and the embodiment of the present disclosure does not limit the target condition. By setting the target conditions, it is possible to distinguish whether the live broadcast room provides virtual resources and item object display functions. For some live broadcast rooms that do not include virtual resources and item objects, the display requirements can be quickly determined through the judgment of the target conditions. Determine whether there are virtual resources and item objects one by one. The judgment efficiency is high, and it also avoids the fact that some live broadcast rooms do not have virtual resources and item objects because all live broadcast rooms provide the display function of virtual resources and item objects. Displaying empty information leads to a waste of display resources.
通过判断直播间或主播账号是否符合上述目标条件,在已经确定该目标视频的播放界面中需要显示虚拟资源或物品对象的情况下,终端进一步判断该直播间内是否具有虚拟资源,以确定显示虚拟资源的资源领取入口,还是显示物品对象的查看入口。上述方式中,针对直播间内虚拟资源和物品对象,虚拟资源的显示优先级高于物品对象的显示优先级。如果直播间内具有虚拟资源,则显示虚拟资源的资源领取入口。如果直播间内不具有虚拟资源,则显示物品对象的查看入口。能够理解地,该虚拟资源为用户所能领取到的福利、利益,相较于物品对象而言,用户可能更加对虚拟资源感兴趣,因而,优先显示虚拟资源的资源领取入口。By judging whether the live broadcast room or the anchor account meets the above target conditions, when it has been determined that virtual resources or item objects need to be displayed in the playback interface of the target video, the terminal further judges whether there are virtual resources in the live broadcast room to determine the display of virtual resources The resource collection entrance, or the viewing entrance for displaying item objects. In the above method, for the virtual resources and item objects in the live broadcast room, the display priority of the virtual resources is higher than that of the item objects. If there are virtual resources in the live room, the resource claim entrance of the virtual resources will be displayed. If there is no virtual resource in the live broadcast room, the view entry of the item object will be displayed. It can be understood that the virtual resources are benefits and benefits that users can receive. Compared with item objects, users may be more interested in virtual resources. Therefore, the resource collection entrance of virtual resources is displayed preferentially.
在S33中,终端在该目标视频的播放界面显示虚拟资源及资源领取入口。In S33, the terminal displays the virtual resource and the resource claim entry on the playing interface of the target video.
通过上述判断,在确定直播间内具有虚拟资源的情况下,在目标视频的播放界面中显示该虚拟资源以及资源领取入口。其中,该资源领取入口用于进入直播间显示该虚拟资源。Through the above judgment, if it is determined that there is a virtual resource in the live broadcast room, the virtual resource and the resource claiming entrance are displayed on the playback interface of the target video. Wherein, the resource receiving entrance is used to enter the live broadcast room to display the virtual resource.
在本公开实施例中,终端将该虚拟资源以及资源领取入口显示在目标视频的播放界面中,丰富了目标视频的播放界面的显示内容,实现了在目标视频的播放界面中直播间内虚拟资源的显示和引导。这样通过该目标视频的播放界面显示的内容,用户无需进入直播间,即可直接获知直播间内虚拟资源的情况。In the embodiment of the present disclosure, the terminal displays the virtual resource and the resource collection entry in the playback interface of the target video, which enriches the display content of the playback interface of the target video, and realizes virtual resources in the live broadcast room in the playback interface of the target video. display and guidance. In this way, through the content displayed on the playback interface of the target video, the user can directly know the situation of the virtual resources in the live broadcast room without entering the live broadcast room.
通过显示该资源领取入口,提供了一种新型的进入直播间的操作方式。除了点击目标视频的播放界面之外,通过对资源领取入口进行触发操作,也能够进入直播间,提供多种进入直播间的方式以供用户选择,用户能够根据自身操作习惯选择任一种方式进入直播间,操作更加灵活。By displaying the resource claim entrance, a new type of operation method for entering the live broadcast room is provided. In addition to clicking the playback interface of the target video, by triggering the resource collection entrance, you can also enter the live broadcast room. There are multiple ways to enter the live broadcast room for users to choose. Users can choose any way to enter according to their own operating habits. In the live broadcast room, the operation is more flexible.
在一些实施例中,在直播间内具有虚拟资源的情况下,终端获取虚拟资源的信息,基于虚拟资源的信息生成该虚拟资源以及资源领取入口,然后显示该虚拟资源以及资源领取入口。In some embodiments, when there are virtual resources in the live broadcast room, the terminal obtains the information of the virtual resources, generates the virtual resources and the resource claiming entrance based on the information of the virtual resources, and then displays the virtual resources and the resource claiming entrance.
该虚拟资源的信息包括:该虚拟资源的名称、该虚拟资源的数额、该虚拟资源的应用条件中的至少一项,进而在生成该虚拟资源以及资源领取入口时,将该虚拟资源的信息包含在内。通过虚拟资源,用户能够获知该虚拟资源的情况。通过该资源领取入口,能够进入直播间去领取虚拟资源。The information of the virtual resource includes: at least one of the name of the virtual resource, the amount of the virtual resource, and the application conditions of the virtual resource, and then when generating the virtual resource and receiving the resource, the information of the virtual resource includes inside. Through the virtual resource, the user can know the situation of the virtual resource. Through this resource collection portal, you can enter the live broadcast room to receive virtual resources.
在一些实施例中,该虚拟资源以及资源领取入口能够理解为一种卡片信息,通过在目标视频的播放界面上显示虚拟资源的卡片信息,使得用户无需进入直播间即可获知虚拟资源的情况,能够有效引导用户进入直播间领取和应用该虚拟资源。In some embodiments, the virtual resource and the resource claim entry can be understood as a kind of card information. By displaying the card information of the virtual resource on the playback interface of the target video, the user can know the situation of the virtual resource without entering the live broadcast room. It can effectively guide users to enter the live broadcast room to receive and use the virtual resources.
对于该资源领取入口的显示,在一些实施例中,该虚拟资源以及资源领取入口为目标视频的播放界面中的内容。在另一些实施例中,该虚拟资源以及资源领取入口采用悬浮视图的方式显示在目标视频的播放界面的上方。Regarding the display of the resource claiming entry, in some embodiments, the virtual resource and the resource claiming entry are the content in the playback interface of the target video. In some other embodiments, the virtual resource and the resource claiming entrance are displayed above the playback interface of the target video in a floating view.
在一些实施例中,终端在该目标视频的播放界面的目标显示区域显示该虚拟资源以及资源领取入口。该目标显示区域由相关技术人员根据业务需求进行设置,例如,该目标显示区域为目标视频的播放界面的底部区域,或者侧边栏区域,或者顶部区域等,本公开实施例对目标显示区域不作限定。In some embodiments, the terminal displays the virtual resource and the resource claim entrance in the target display area of the target video playback interface. The target display area is set by relevant technical personnel according to business requirements. For example, the target display area is the bottom area, or the sidebar area, or the top area of the playback interface of the target video. limited.
例如,如图4所示,目标视频的播放界面400中显示有虚拟资源406和该虚拟资源的资源领取入口407。该虚拟资源406和资源领取入口407显示于目标视频的播放界面400的底部区域中。通过该虚拟资源406的“¥99.9”、“满60元可用”、“直播间限时优惠券”等信息,能够了解到该虚拟资源的数额、应用条件和名称。该资源领取入口407的显示样式为一个控件,该资源领取入口407的名称为“去领取”。该资源领取入口407为进入直播间和领取虚拟资源提供了积极引导。For example, as shown in FIG. 4 , a virtual resource 406 and a resource claiming entry 407 of the virtual resource are displayed on the playing interface 400 of the target video. The virtual resource 406 and the resource claiming entry 407 are displayed in the bottom area of the playing interface 400 of the target video. Through information such as "¥99.9", "Available for over 60 yuan", "Limited time coupon for live broadcast room" and other information of the virtual resource 406, the amount, application conditions and name of the virtual resource can be known. The display style of the resource claiming entry 407 is a control, and the name of the resource claiming entry 407 is "go to claim". The resource receiving entrance 407 provides positive guidance for entering the live broadcast room and receiving virtual resources.
在一些实施例中,为该虚拟资源的资源领取入口设置展示时机。例如,在该目标视频的播放界面展示该直播数据流的时长超过第一时长的情况下,在该目标视频的播放界面显示该虚拟资源及资源领取入口。In some embodiments, the presentation timing is set for the resource claiming entry of the virtual resource. For example, when the duration of the live data stream displayed on the playback interface of the target video exceeds the first duration, the virtual resource and the resource claim entrance are displayed on the playback interface of the target video.
其中,该第一时长由技术人员根据业务需求进行设置,例如,该第一时长为3秒或任一大于0的数值,本公开实施例对第一时长不作限定。Wherein, the first duration is set by technicians according to business requirements, for example, the first duration is 3 seconds or any value greater than 0, and the embodiment of the present disclosure does not limit the first duration.
能够理解地,在该目标视频的播放界面展示该直播数据流的时长超过第一时长的情况下,说明用户对该直播间的内容比较感兴趣,显示该虚拟资源以及资源领取入口,进一步引导用户进入直播间以领取和应用虚拟资源。Understandably, when the duration of the live data stream displayed on the playback interface of the target video exceeds the first duration, it means that the user is more interested in the content of the live broadcast room, and the virtual resource and the resource collection entrance are displayed to further guide the user Enter the live room to claim and apply virtual resources.
通过该展示时机的设置,来分析用户是否可能会进入直播间进行物品对象交易,从而基于此进行目标视频的播放界面中虚拟资源以及资源领取入口的显示。Through the setting of the display timing, it is analyzed whether the user may enter the live broadcast room to trade items, and based on this, the virtual resources and resource collection entrances in the target video playback interface are displayed.
在一些实施例中,在该目标视频的播放界面展示该直播数据流的时长小于第一时长的情况下,目标视频的播放界面中并没有显示有虚拟资源以及资源领取入口,可能用户已经切换到下一个视频了,说明用户对该直播间的直播内容并没有太大兴趣,无需显示资源领取入口,节省了资源领取入口的生成、显示等步骤,有效节省资源消耗。In some embodiments, when the playing interface of the target video shows the live data stream for less than the first duration, the playing interface of the target video does not display virtual resources and resource claim entrances, and the user may have switched to The next video shows that the user is not very interested in the live broadcast content of the live broadcast room, and there is no need to display the resource claim entrance, which saves the steps of generating and displaying the resource claim entrance, and effectively saves resource consumption.
在一些实施例中,为该目标对象设置取消展示时机或改变该目标对象的显示方式,例如为该虚拟资源以及资源领取入口设置取消展示时机。例如,在该虚拟资源及资源领取入口的显示时长超过第二时长的情况下,取消显示该虚拟资源及资源领取入口,该第二时长大于该第一时长。In some embodiments, an opportunity to cancel the display is set for the target object or a display mode of the target object is changed, for example, an opportunity to cancel the display is set for the virtual resource and the resource collection portal. For example, when the display duration of the virtual resource and the resource claiming entry exceeds a second duration, the display of the virtual resource and the resource receiving entry is canceled, and the second duration is longer than the first duration.
又例如,在该虚拟资源及资源领取入口的显示时长超过第二时长的情况下,改变该虚拟资源及资源领取入口的显示方式,例如将该虚拟资源及资源领取入口缩小为面积更小的挂件,并将该挂件展示在该目标视频的播放界面上,减少对目标视频的播放界面的遮挡。For another example, when the display duration of the virtual resource and the resource collection portal exceeds the second duration, change the display mode of the virtual resource and the resource collection portal, for example, reduce the virtual resource and the resource collection portal to a smaller widget , and display the widget on the playback interface of the target video, reducing the occlusion of the playback interface of the target video.
其中,该第一时长和第二时长由相关技术人员根据业务需求进行设置,例如,该第一时长为3秒,第二时长为10秒,本公开实施例对此不作限定。Wherein, the first duration and the second duration are set by relevant technical personnel according to business requirements, for example, the first duration is 3 seconds, and the second duration is 10 seconds, which is not limited in this embodiment of the present disclosure.
能够理解地,在该虚拟资源及资源领取入口的显示时长超过第二时长的情况下,用户仍然没有进入直播间,可能用户进入直播间进行物品对象交易的意向不是很大,因而取消虚拟资源及资源领取入口的显示或改变其显示方式,以减小界面显示负担,避免不必要的显示资源消耗。It is understandable that when the display duration of the virtual resource and the resource collection entrance exceeds the second duration, the user still has not entered the live broadcast room, and the user may not have a great intention to enter the live broadcast room to trade items, so the virtual resource and the virtual resource are cancelled. Display or change the display mode of the resource collection entrance to reduce the interface display burden and avoid unnecessary display resource consumption.
在一些实施例中,在目标视频的播放界面中显示的虚拟资源的数量为一个或多个。并且,虚拟资源具有不同的类型,比如,该虚拟资源包括第一虚拟资源、第二虚拟资源、第三虚拟资源或者第四虚拟资源中的任一项。In some embodiments, the number of virtual resources displayed in the target video playback interface is one or more. Moreover, the virtual resources have different types, for example, the virtual resources include any one of the first virtual resource, the second virtual resource, the third virtual resource or the fourth virtual resource.
第一虚拟资源为该直播间内与终端所登录账号匹配的虚拟资源。通过该用户所登录账号,通常能够获取到终端所登录账号的用户画像数据或行为数据中至少一项,这些数据能够体现该账号的拥有者的用户的属性、兴趣或行为。以终端所登录账号来与虚拟资源进行匹配,能够使得显示的虚拟资源更容易是该用户所需求的,或者该用户能够使用的。The first virtual resource is a virtual resource matching the account registered in the terminal in the live broadcast room. Through the account logged in by the user, at least one item of user portrait data or behavior data of the account logged in by the terminal can usually be obtained, and these data can reflect the attributes, interests or behaviors of the user who is the owner of the account. Matching the virtual resources with the account logged in by the terminal can make it easier for the displayed virtual resources to be required by the user or available to the user.
第二虚拟资源为该直播间内与终端匹配的虚拟资源。用户在终端使用过程中通常会输入个人信息,用户的一些行为均是通过终端实现,因而,通过终端也可能获取到用户画像数据或行为数据中至少一项,通过这些数据,能够确定与该终端匹配的虚拟资源。The second virtual resource is a virtual resource matching the terminal in the live broadcast room. Users usually input personal information during terminal use, and some user behaviors are realized through the terminal. Therefore, at least one item of user portrait data or behavior data may also be obtained through the terminal. Through these data, it is possible to determine the identity of the terminal. Matching virtual resources.
第三虚拟资源为该直播间内与系统时间匹配的虚拟资源。在一些实施例中,虚拟资源设置有可领取的时间段,不同的虚拟资源的可领取的时间段相同或不同。在确定显示的虚拟资源时,基于系统时间,选择该系统时间匹配的虚拟资源,其中,该系统时间与虚拟资源匹配的含义是:系统时间位于虚拟资源的可领取的时间段内,该系统时间是指播放目标视频的时刻。例如,该直播间具有4个虚拟资源,当前系统时间为14:00,其中一个虚拟资源的可领取时间段为12:00-16:00,另外三个虚拟资源的可领取时间段分别是在早上和晚上,均与当前系统时间不匹配,终端显示可领取时间段为12:00-16:00的虚拟资源。The third virtual resource is a virtual resource that matches the system time in the live broadcast room. In some embodiments, virtual resources are set with claimable time periods, and the claimable time periods of different virtual resources are the same or different. When determining the displayed virtual resource, based on the system time, select the virtual resource that matches the system time, where the meaning of the system time matching the virtual resource is: the system time is within the available time period of the virtual resource, and the system time It refers to the moment when the target video is played. For example, the live broadcast room has 4 virtual resources, the current system time is 14:00, one of the virtual resources can be claimed from 12:00 to 16:00, and the other three virtual resources can be claimed at In the morning and evening, both do not match the current system time, and the terminal displays virtual resources that can be collected from 12:00-16:00.
第四虚拟资源为该直播间内数额最大的虚拟资源。不同虚拟资源的数额可能不同,在确定显示的虚拟资源时,优先显示数额最大的虚拟资源,以更大程度地吸引用户领取并使用。The fourth virtual resource is the virtual resource with the largest amount in the live broadcast room. The amounts of different virtual resources may be different. When determining the displayed virtual resources, the virtual resources with the largest amount are displayed first, so as to attract users to receive and use them to a greater extent.
在该虚拟资源的数量为多个的情况下,终端在该目标视频的播放界面轮流显示各个该虚拟资源及资源领取入口。通过该轮流显示的过程,使得用户对该直播间内的虚拟资源了解的更加全面,也能够基于自己的需求从中选择合适的虚拟资源领取。In the case that there are multiple virtual resources, the terminal displays each virtual resource and resource claiming entry in turn on the target video playback interface. Through the process of displaying in turn, the user can have a more comprehensive understanding of the virtual resources in the live broadcast room, and can also choose a suitable virtual resource to receive based on their own needs.
在一些实施例中,用户对显示的虚拟资源进行切换操作,以在多个虚拟资源中进行切换,从而从中选择一个或多个虚拟资源进行领取。In some embodiments, the user performs a switching operation on the displayed virtual resources to switch among multiple virtual resources, so as to select one or more virtual resources for claiming.
在一些实施例中,S33包括下述任一项:In some embodiments, S33 includes any of the following:
在该目标视频的播放界面显示该直播间的第一虚拟资源的资源领取入口;The resource collection entrance of the first virtual resource in the live broadcast room is displayed on the playback interface of the target video;
在该目标视频的播放界面显示该直播间的第二虚拟资源的资源领取入口;The resource claiming entrance of the second virtual resource in the live broadcast room is displayed on the playback interface of the target video;
在该目标视频的播放界面显示该直播间的第三虚拟资源的资源领取入口;The resource claim entrance of the third virtual resource in the live broadcast room is displayed on the playback interface of the target video;
在该目标视频的播放界面显示该直播间的第四虚拟资源的资源领取入口;The resource collection entrance of the fourth virtual resource in the live broadcast room is displayed on the playback interface of the target video;
在虚拟资源的数量为多个的情况下,在该目标视频的播放界面轮流显示各个该虚拟资源及资源领取入口。If there are multiple virtual resources, the virtual resources and the resource claiming entrances are displayed in turn on the playing interface of the target video.
通过上述可能显示的多种虚拟资源,能够根据需求进行任意设置,提供灵活多变的虚拟资源显示方式。Through the various virtual resources that may be displayed above, arbitrary settings can be made according to requirements, and flexible and changeable virtual resource display modes are provided.
在S34中,终端响应于对该资源领取入口的触发操作,显示该直播间的直播界面,并在该直播界面中显示该虚拟资源。In S34, the terminal displays the live broadcast interface of the live broadcast room and displays the virtual resource in the live broadcast interface in response to the trigger operation of the resource claiming entry.
在显示虚拟资源以及资源领取入口之后,如果用户想要领取该虚拟资源,对该资源领取入口进行触发操作,以进入直播间中领取该虚拟资源。在一些实施例中,终端响应于该触发操作,从目标视频的播放界面跳转至直播间的直播界面。该界面跳转过程即为进入直播间的过程。由于是从资源领取入口进入的直播间,终端在跳转到的该直播界面中显示该虚拟资源,无需用户再在直播间中进行多步操作以触发虚拟资源的显示,提高了虚拟资源的显示效率。After displaying the virtual resource and the resource claiming entrance, if the user wants to claim the virtual resource, a trigger operation is performed on the resource claiming entrance to enter the live broadcast room to claim the virtual resource. In some embodiments, the terminal jumps from the playback interface of the target video to the live broadcast interface of the live broadcast room in response to the trigger operation. The interface jumping process is the process of entering the live broadcast room. Since the live broadcast room is entered from the resource collection entrance, the terminal displays the virtual resources in the live broadcast interface that jumps to, and the user does not need to perform multi-step operations in the live broadcast room to trigger the display of virtual resources, which improves the display of virtual resources efficiency.
在一些实施例中,该直播界面中显示有直播间的直播数据流,以便于用户在直播界面中观看直播内容。在一些实施例中,该直播界面中显示有用户的评论。用户在观看直播过程中,能够在直播界面中显示的评论输入框中输入评论进行发布。该用户所在终端将该评论通过服务器同步给直播间内的所有观众,这样所有观众均能够在直播间内看到该评论。当然,该评论也能够被同步给主播,使得主播也看到该用户的评论。In some embodiments, the live data stream of the live broadcast room is displayed in the live broadcast interface, so that the user can watch the live broadcast content in the live broadcast interface. In some embodiments, user comments are displayed in the live broadcast interface. During the process of watching the live broadcast, the user can enter comments in the comment input box displayed on the live broadcast interface to publish. The terminal where the user is located synchronizes the comment to all viewers in the live broadcast room through the server, so that all viewers can see the comment in the live broadcast room. Of course, the comment can also be synchronized to the anchor, so that the anchor can also see the user's comment.
在一些实施例中,虚拟资源是自动领取的,或者,该虚拟资源由用户手动领取。也即是,在对资源领取入口进行触发操作后,在自动领取方式下,终端直接跳转至直播界面中,并显示该虚拟资源的领取成功信息,代表已经对虚拟资源领取成功;在手动领取方式下,终端跳转至直播界面中,并显示领取控件,再由用户对领取控件进行触发操作来手动领取虚拟资源。以下,对两种资源领取方式进行说明,本公开实施例对具体采用哪种资源领取方式不作限定。In some embodiments, the virtual resources are claimed automatically, or the virtual resources are claimed manually by the user. That is to say, after triggering the resource claiming entry, in the automatic claiming mode, the terminal directly jumps to the live broadcast interface, and displays the successful claiming information of the virtual resource, which means that the virtual resource has been successfully claimed; In this mode, the terminal jumps to the live broadcast interface and displays the claim control, and then the user triggers the claim control to manually claim virtual resources. Hereinafter, two resource collection methods will be described, and the embodiment of the present disclosure does not limit which resource collection method is adopted specifically.
方式一:响应于对该资源领取入口的触发操作,显示该直播间的直播界面;在该直播界面显示该虚拟资源的数量和领取成功信息,该领取成功信息表示对该虚拟资源领取成功。Method 1: In response to the trigger operation of the resource claim entry, display the live broadcast interface of the live broadcast room; display the quantity of the virtual resource and the successful claim information on the live broadcast interface, and the successful claim information indicates that the virtual resource has been successfully claimed.
该方式一为虚拟资源的自动领取方式,通过对资源领取入口进行触发操作,直接领取了虚拟资源,从而在跳转后的直播界面中显示虚拟资源的数量和领取成功信息。通过自动资源领取的方式,能够提高虚拟资源的领取效率。其中,该虚拟资源的数量是指已领取的虚拟资源的额度,比如,打折券的折扣额度,虚拟红包的金额,优惠券的面值等等。The first method is the automatic collection method of virtual resources. By triggering the resource collection entrance, the virtual resources are directly collected, so that the number of virtual resources and the successful collection information are displayed in the live broadcast interface after the jump. By means of automatic resource collection, the efficiency of virtual resource collection can be improved. Wherein, the quantity of the virtual resource refers to the amount of the received virtual resource, for example, the discount amount of the discount coupon, the amount of the virtual red envelope, the face value of the coupon, and the like.
例如,图5是根据一实施例示出的一种终端界面示意图,用户对如图4所示的目标视频的播放界面中显示的资源领取入口进行触发操作之后,终端响应于该触发操作,将显示界面跳转至如图5所示的直播界面500,终端在该直播界面500中显示该虚拟资源的数量501和领取成功信息502。For example, FIG. 5 is a schematic diagram of a terminal interface according to an embodiment. After the user performs a trigger operation on the resource claiming entry displayed in the target video playback interface as shown in FIG. 4 , the terminal responds to the trigger operation and displays The interface jumps to the live broadcast interface 500 as shown in FIG. 5 , and the terminal displays the quantity 501 of the virtual resource and information 502 of successful collection on the live broadcast interface 500 .
方式二:响应于对该资源领取入口的触发操作,在该直播界面显示该虚拟资源的数量和领取控件;响应于对该领取控件的触发操作,在该直播界面中显示领取成功信息,该领取成功信息表示对该虚拟资源领取成功。Method 2: In response to the trigger operation of the resource claim entry, display the quantity of the virtual resource and the claim control on the live broadcast interface; in response to the trigger operation of the claim control, display the claim success information on the live broadcast interface, and the claim The success message indicates that the virtual resource is successfully received.
该方式二为虚拟资源的手动领取方式,在对资源领取入口进行触发操作后,终端显示直播间的直播界面,在该直播界面中显示虚拟资源的数量和领取控件,此时虚拟资源还并未领取成功。该领取控件即用于领取该虚拟资源。用户基于该虚拟资源的数量和领取控件,能够看到该虚拟资源的更多信息,以进一步思考是否想要领取该虚拟资源,如果仍然想要领取,则对领取控件进行触发操作,终端响应于对该领取控件的触发操作,在直播界面中显示该领取成功信息。The second method is the manual collection method of virtual resources. After triggering the resource collection entrance, the terminal displays the live broadcast interface of the live broadcast room, and the number of virtual resources and collection controls are displayed on the live broadcast interface. At this time, the virtual resources have not yet been Received successfully. The claim control is used to claim the virtual resource. Based on the number of virtual resources and the collection control, the user can see more information about the virtual resource to further think about whether to receive the virtual resource. If he still wants to receive the virtual resource, he will trigger the collection control, and the terminal responds to The trigger operation of the claim control will display the claim success information in the live broadcast interface.
这样为用户提供虚拟资源更多的信息,然后由用户再根据自身需求和自己的判断来确定是否领取虚拟资源,能够避免虚拟资源的浪费情况。In this way, more information about virtual resources is provided to the user, and then the user determines whether to receive the virtual resource according to his own needs and judgment, which can avoid the waste of virtual resources.
在一些实施例中,通过上述方式一或方式二,在对虚拟资源领取成功的情况下,终端在该直播界面内显示该虚拟资源的跳转控件。该跳转控件用于引导用户进一步查看和应用虚拟资源。In some embodiments, through the above method 1 or method 2, when the virtual resource is successfully claimed, the terminal displays the jump control of the virtual resource in the live broadcast interface. The jump control is used to guide the user to further view and apply virtual resources.
例如,通过上述方式一或方式二,对虚拟资源领取成功后,终端在如图5所示的直播界面500中,显示虚拟资源的跳转控件503,该跳转控件503的显示内容为“现在就去买买买”。For example, through the above method 1 or method 2, after the virtual resource is successfully received, the terminal displays the jump control 503 of the virtual resource in the live broadcast interface 500 shown in Figure 5, and the display content of the jump control 503 is "now Just go buy buy buy."
在用户想要使用虚拟资源,或者进一步查看虚拟资源的情况下,对该跳转控件进行触发操作,终端响应于对该跳转控件的触发操作,在该直播界面中播放资源领取动画,该资源领取动画表示该虚拟资源移动至该直播间的列表控件中,该列表控件对应于物品列表,该物品列表包括该直播间中处于待交易状态的物品对象。When the user wants to use the virtual resource or view the virtual resource further, the jump control is triggered, and the terminal responds to the trigger operation of the jump control, and the resource receiving animation is played on the live broadcast interface. The receiving animation indicates that the virtual resource is moved to the list control of the live broadcast room, and the list control corresponds to the item list, and the item list includes item objects in the live broadcast room that are in the state of being traded.
在一些实施例中,该资源领取动画存储于该终端的配置文件中,或者,该资源领取动画存储于服务器中。终端响应于对该跳转控件的触发操作,获取该资源领取动画,在直播界面中显示该资源领取动画。In some embodiments, the resource claiming animation is stored in a configuration file of the terminal, or, the resource claiming animation is stored in a server. In response to the trigger operation of the jump control, the terminal acquires the resource claiming animation, and displays the resource claiming animation in the live broadcast interface.
在一些实施例中,在播放该资源领取动画时,终端取消对虚拟资源的领取成功信息和跳转控件的显示,直接在直播界面中显示该资源领取动画。In some embodiments, when playing the resource claiming animation, the terminal cancels the display of the virtual resource claiming success information and the jump control, and directly displays the resource claiming animation in the live broadcast interface.
例如,图6是根据一实施例示出的一种终端界面示意图,如图6所示,终端在直播界面500中播放资源领取动画,图6示出了该资源领取动画中的一帧,该虚拟资源600会沿着一定的运动轨迹移动至列表控件601中,该列表控件601的显示样式为一个小购物车的样式。For example, FIG. 6 is a schematic diagram of a terminal interface according to an embodiment. As shown in FIG. 6, the terminal plays a resource claiming animation in the live broadcast interface 500. FIG. 6 shows a frame in the resource claiming animation. The virtual The resource 600 will move to the list control 601 along a certain movement track, and the display style of the list control 601 is the style of a small shopping cart.
通过该资源领取动画的播放,能够直观、形象地体现出已成功领取到虚拟资源,且该资源领取动画中显示有将虚拟资源移动至列表控件中,用户能够清晰获知该虚拟资源的去向,后续在想要应用该虚拟资源时,能够准确找到虚拟资源所在位置。Through the playback of the resource receiving animation, it can intuitively and vividly reflect that the virtual resource has been successfully received, and the resource receiving animation shows that the virtual resource has been moved to the list control, and the user can clearly know the whereabouts of the virtual resource. Follow-up When you want to apply the virtual resource, you can accurately find the location of the virtual resource.
在一些实施例中,在该直播界面中播放资源领取动画之后,终端响应于该资源领取动画播放完毕,自动显示该物品列表,该物品列表的目标位置上显示有该虚拟资源。In some embodiments, after the resource claiming animation is played on the live broadcast interface, the terminal automatically displays the item list in response to the completion of the resource claiming animation, and the virtual resource is displayed at the target position of the item list.
在一些实施例中,该目标位置为该物品列表中的最上方区域,或者为该物品列表中的其它区域,比如,该物品列表的侧边区域,该目标位置由技术人员根据业务需求进行设置,本公开实施例对目标位置不作限定。In some embodiments, the target position is the topmost area in the item list, or other areas in the item list, such as the side area of the item list, and the target position is set by technicians according to business requirements , the embodiment of the present disclosure does not limit the target location.
能够理解地,领取到虚拟资源后,用户即想要使用该虚拟资源交易物品对象,因而,终端自动显示物品列表,且物品列表中显示该虚拟资源,用户无需操作,就能够直接在显示的物品列表中看到虚拟资源,以及一些可交易的物品对象,降低了操作成本和操作难度,提高了显示效率。It can be understood that after receiving the virtual resource, the user wants to use the virtual resource to trade the item object, therefore, the terminal automatically displays the item list, and the virtual resource is displayed in the item list, and the user can directly trade the displayed item You can see virtual resources and some tradable items in the list, which reduces the operating cost and difficulty, and improves the display efficiency.
在一些实施例中,终端在资源领取动画和物品列表的自动显示之间设置时间间隔,例如,时间间隔为1秒,这样在资源领取动画播放1秒后,自动显示物品列表。在该时间间隔之内,如果用户进行了其他操作,终端不再自动显示物品列表,以实现自由操作和自动显示的完美结合。In some embodiments, the terminal sets a time interval between the resource claiming animation and the automatic display of the item list, for example, the time interval is 1 second, so that the item list is automatically displayed after the resource claiming animation is played for 1 second. Within this time interval, if the user performs other operations, the terminal will no longer automatically display the item list, so as to achieve the perfect combination of free operation and automatic display.
在一些实施例中,在显示物品列表,并在物品列表中显示虚拟资源时,终端具体在该物品列表的目标位置上,显示该虚拟资源的资源信息和资源使用控件。比如,该虚拟资源的资源信息包括虚拟资源的名称、数额、使用说明。该资源使用控件用于引导去查看能够使用虚拟资源的物品对象。In some embodiments, when displaying the item list and displaying the virtual resource in the item list, the terminal specifically displays the resource information and the resource usage control of the virtual resource at the target position of the item list. For example, the resource information of the virtual resource includes the name, amount, and usage instructions of the virtual resource. The resource usage control is used to guide to view item objects that can use virtual resources.
在一些实施例中,在物品列表中,针对该虚拟资源,对物品列表中的信息进行更新显示。In some embodiments, in the item list, information in the item list is updated and displayed for the virtual resource.
在一些实施例中,在对该虚拟资源领取成功的情况下,在该直播间的物品列表中,终端显示第三物品对象的目标消耗资源,该目标消耗资源基于该第三物品对象的原消耗资源和该 虚拟资源确定,该第三物品对象是指能够应用该虚拟资源的物品对象。假设该虚拟资源为优惠券,原消耗资源为原价格,通过该原价格和优惠券,能够确定出物品对象的券后价格。通过该目标消耗资源的显示,能够直观地查看物品对象应用虚拟资源的情况,无需用户自行根据物品对象的原消耗资源和虚拟资源进行换算。In some embodiments, when the virtual resource is successfully received, in the item list of the live broadcast room, the terminal displays the target consumption resource of the third item object, and the target consumption resource is based on the original consumption of the third item object The resource and the virtual resource determine that the third item object refers to an item object that can apply the virtual resource. Assuming that the virtual resource is a coupon and the original consumed resource is the original price, the post-coupon price of the item object can be determined through the original price and the coupon. Through the display of the resource consumption of the target, it is possible to intuitively view the application of the virtual resources of the item object, without the need for the user to perform conversion based on the original resource consumption of the item object and the virtual resource.
在一些实施例中,在对该虚拟资源领取成功的情况下,终端在该直播间的物品列表中,显示该第三物品对象的第一资源标识,该第一资源标识用于表示该第三物品对象能够应用该虚拟资源。通过该第一资源标识,用户能够直观、快速地获知在物品列表中的多个物品对象中哪些物品对象能够应用虚拟资源,哪些不能应用虚拟资源,从而快速挑选交易物品对象。In some embodiments, when the virtual resource is successfully claimed, the terminal displays the first resource identifier of the third item object in the item list of the live broadcast room, and the first resource identifier is used to represent the third Item objects can use this virtual resource. Through the first resource identification, the user can intuitively and quickly know which item objects in the multiple item objects in the item list can use virtual resources and which ones cannot apply virtual resources, so as to quickly select trading item objects.
在一些实施例中,在对该虚拟资源领取成功的情况下,终端在该直播间的物品列表中,显示第四物品对象的第二资源标识,该第二资源标识用于表示该第四物品对象不能够应用该虚拟资源。通过该第二资源标识,用户能够直观、快速地获知在物品列表中的多个物品对象中哪些物品对象能够应用虚拟资源,哪些不能应用虚拟资源,从而快速挑选交易物品对象。In some embodiments, when the virtual resource is successfully claimed, the terminal displays the second resource identifier of the fourth item object in the item list of the live broadcast room, and the second resource identifier is used to represent the fourth item Object cannot use this virtual resource. Through the second resource identifier, the user can intuitively and quickly know which item objects in the item list can use virtual resources and which item objects cannot use virtual resources, so as to quickly select trading item objects.
例如,图7是根据一实施例示出的一种终端界面示意图,如图7所示,在资源领取动画播放完毕后,终端自动显示物品列表700,在物品列表700的首位显示有虚拟资源701(在此以3元优惠券为例)和该虚拟资源的资源使用控件702。在该虚拟资源701之下,显示有处于待交易的物品对象。对于每个物品对象显示有产品名称,在每个物品对象的预设范围内还显示有第一资源标识703或第二资源标识704。对于带有第一资源标识703的物品对象,终端显示该物品对象的目标消耗资源705(以领券后价格为例)。当然,终端还显示有原消耗资源706,从而用户能够获知该物品对象多方面的信息。For example, FIG. 7 is a schematic diagram of a terminal interface shown according to an embodiment. As shown in FIG. 7 , after the resource claiming animation is played, the terminal automatically displays an item list 700, and a virtual resource 701 is displayed at the top of the item list 700 ( Take a 3 yuan coupon as an example) and the resource usage control 702 of the virtual resource. Under the virtual resource 701, there are item objects to be traded. A product name is displayed for each item object, and a first resource identifier 703 or a second resource identifier 704 is also displayed within a preset range of each item object. For the item object with the first resource identifier 703, the terminal displays the target resource consumption 705 of the item object (taking the price after receiving the coupon as an example). Of course, the terminal also displays the original consumed resource 706, so that the user can learn various information about the item object.
在用户想要使用该虚拟资源的情况下,对资源使用控件进行触发操作,终端响应于对该资源使用控件的触发操作,在该直播间内显示目标物品列表,该目标物品列表中包括该直播间内待交易的第三物品对象,该第三物品对象是指能够应用该虚拟资源的物品对象。When the user wants to use the virtual resource, the resource use control is triggered, and the terminal responds to the trigger operation of the resource use control to display a list of target items in the live broadcast room, and the list of target items includes the live broadcast The third item object to be traded during the period, the third item object refers to the item object that can apply the virtual resource.
这样上述物品列表中显示有直播间内处于待交易的物品对象,有些物品对象可能无法应用该虚拟资源,通过该资源使用控件跳转至目标物品列表,将能够应用虚拟资源的物品对象筛选出来。In this way, the above-mentioned item list shows item objects that are waiting to be traded in the live broadcast room. Some item objects may not be able to apply the virtual resource. Use the resource use control to jump to the target item list and filter out the item objects that can apply the virtual resource.
例如,图8是根据一实施例示出的一种终端界面示意图,用户对如图7所示的资源使用控件702进行点击,终端显示如图8所示的目标物品列表800,在该目标物品列表800中,终端显示有能够应用虚拟资源的各个物品对象。For example, FIG. 8 is a schematic diagram of a terminal interface according to an embodiment. The user clicks on the resource usage control 702 shown in FIG. 7, and the terminal displays a target item list 800 as shown in FIG. In 800, the terminal displays various item objects that can apply virtual resources.
图9是根据一实施例示出的一种终端界面示意图,在显示如图8所示的目标物品列表800的基础上,如果用户想要购买哪个物品对象,则对显示的物品对象进行触发操作,终端响应于该触发操作,将界面跳转至如图9所示的物品对象详情界面中,如果用户对物品对象详情界面中的购买控件(例如“立即购买”)进行触发操作,终端响应于对购买控件的触发操作,将界面跳转至交易界面。需要说明的是,如果用户对图7所示的物品列表中一个物品对象进行触发操作,也能够使得界面跳转至如图9所示的物品对象详情界面中,再进一步进行交易。FIG. 9 is a schematic diagram of a terminal interface according to an embodiment. On the basis of displaying the target item list 800 as shown in FIG. In response to the trigger operation, the terminal jumps the interface to the item object details interface as shown in FIG. The trigger operation of the purchase control will jump the interface to the transaction interface. It should be noted that if the user performs a trigger operation on an item object in the item list shown in FIG. 7 , the interface can also jump to the item object detail interface as shown in FIG. 9 , and further conduct transactions.
图10是根据一实施例示出的一种终端界面示意图,在检测到对如图9所示的物品对象详情界面中购买控件的触发操作的情况下,跳转至如图10所示的交易界面,在该交易界面中,能够确定个人信息以及物品对象信息,如果确认信息准确,则能够通过对提交订单控件执行触发操作,以进一步完成支付。Fig. 10 is a schematic diagram of a terminal interface according to an embodiment. When a trigger operation on the purchase control in the item object details interface as shown in Fig. 9 is detected, jump to the transaction interface as shown in Fig. 10 , in the transaction interface, personal information and item object information can be determined, and if the information is confirmed to be correct, the trigger operation can be executed on the submit order control to further complete the payment.
在S35中,终端在该目标视频的播放界面显示该物品对象及查看入口。In S35, the terminal displays the item object and the viewing entry on the playing interface of the target video.
在直播间内不具有虚拟资源的情况下,终端将直播间的物品对象以及查看入口显示在目 标视频的播放界面中,该查看入口用于查看直播间内的物品对象。该过程丰富了目标视频的播放界面的显示内容,实现了在目标视频的播放界面中直播间物品对象的显示和引导。这样通过该目标视频的播放界面显示的内容,用户无需进入直播间,即可直接获知直播间内物品对象的情况。In the case that there is no virtual resource in the live room, the terminal displays the item objects in the live room and the view entry on the playback interface of the target video, and the view entry is used to view the item objects in the live room. This process enriches the display content of the playback interface of the target video, and realizes the display and guidance of the item object in the live room in the playback interface of the target video. In this way, through the content displayed on the playback interface of the target video, the user can directly know the situation of the object in the live broadcast room without entering the live broadcast room.
通过显示该查看入口,提供了一种新型的进入直播间的操作方式。除了点击目标视频的播放界面和和对资源领取入口进行触发操作之外,通过对查看入口进行触发操作,也能够进入直播间。上述过程提供多种进入直播间的方式以供用户选择,用户能够根据自身操作习惯选择任一种方式进入直播间,操作更加灵活。By displaying the view entry, a new type of operation mode for entering the live broadcast room is provided. In addition to clicking the playback interface of the target video and triggering the resource claim entry, you can also enter the live broadcast room by triggering the view entry. The above process provides a variety of ways to enter the live broadcast room for users to choose. Users can choose any method to enter the live broadcast room according to their own operating habits, and the operation is more flexible.
在一些实施例中,在直播间内不具有虚拟资源的情况下,终端获取直播间内物品对象的信息,基于物品对象的信息生成该物品对象和查看入口,然后显示该物品对象以及查看入口。In some embodiments, when there is no virtual resource in the live broadcast room, the terminal obtains information about item objects in the live broadcast room, generates the item object and view entry based on the information of the item object, and then displays the item object and view entry.
该物品对象的信息包括物品对象的名称、该物品对象的图像、该物品对象的消耗资源中的至少一项,进而在生成该物品对象和查看入口时,将该物品对象的信息包含在物品对象和查看入口的显示内容中。通过物品对象的信息,用户能够获知该直播间内物品对象的情况。通过该查看入口,能够进入直播间去查看物品对象的更多信息和交易物品对象。The information of the item object includes at least one of the name of the item object, the image of the item object, and the resource consumption of the item object, and then when generating the item object and viewing the entry, the information of the item object is included in the item object And view the display content of the entrance. Through the information of the item object, the user can know the situation of the item object in the live broadcast room. Through this viewing portal, you can enter the live broadcast room to view more information about the item object and trade the item object.
在一些实施例中,该物品对象以及查看入口能够理解为一种卡片信息,通过在目标视频的播放界面上显示物品对象的卡片信息,使得用户无需进入直播间即可获知直播间内物品对象的情况,能够有效引导用户进入直播间交易该物品对象。In some embodiments, the item object and the viewing entry can be understood as a kind of card information. By displaying the card information of the item object on the playback interface of the target video, the user can know the status of the item object in the live broadcast room without entering the live broadcast room. In this case, users can be effectively guided into the live broadcast room to trade the item.
对于该物品对象以及查看入口的显示,在一些实施例中,该物品对象以及查看入口为目标视频的播放界面中的内容。在另一些实施例中,该物品对象以及查看入口采用悬浮视图的方式显示在目标视频的播放界面的上方。Regarding the display of the item object and the viewing portal, in some embodiments, the item object and the viewing portal are the content in the playback interface of the target video. In some other embodiments, the item object and the viewing portal are displayed above the playback interface of the target video in a floating view.
在一些实施例中,终端在该目标视频的播放界面的目标显示区域显示该物品对象以及查看入口。该目标显示区域由相关技术人员根据业务需求进行设置,例如,该目标显示区域为目标视频的播放界面的底部区域,或者侧边栏区域,或者顶部区域等,本公开实施例对目标显示区域不作限定。In some embodiments, the terminal displays the item object and the view entry in the target display area of the target video playback interface. The target display area is set by relevant technical personnel according to business requirements. For example, the target display area is the bottom area, or the sidebar area, or the top area of the playback interface of the target video. limited.
在一些实施例中,为该物品对象的查看入口设置展示时机。例如,在该目标视频的播放界面展示该直播数据流的时长超过第一时长的情况下,终端在该目标视频的播放界面中显示该直播间内物品对象以及查看入口。In some embodiments, the display timing is set for the viewing entry of the item object. For example, when the playing interface of the target video shows the live data stream for longer than the first duration, the terminal displays the item objects in the live room and the viewing entrance on the playing interface of the target video.
其中,该第一时长由技术人员根据业务需求进行设置,例如,该第一时长为3秒或任一大于0的数值,本公开实施例对第一时长不作限定。Wherein, the first duration is set by technicians according to business requirements, for example, the first duration is 3 seconds or any value greater than 0, and the embodiment of the present disclosure does not limit the first duration.
能够理解地,在该目标视频的播放界面展示该直播数据流的时长超过第一时长的情况下,说明用户对该直播间的内容比较感兴趣,显示该物品对象以及查看入口,进一步引导用户进入直播间以交易该物品对象。Understandably, when the duration of the live data stream displayed on the playback interface of the target video exceeds the first duration, it means that the user is more interested in the content of the live broadcast room, display the item object and view the entrance, and further guide the user to enter Live room to trade the item object.
通过该展示时机的设置,来分析用户是否可能会进入直播间进行物品对象交易,从而基于此进行目标视频的播放界面中该物品对象以及查看入口的显示。Through the setting of the display timing, it is analyzed whether the user may enter the live broadcast room for item transaction, and based on this, the item object and the viewing entrance are displayed in the playback interface of the target video.
在一些实施例中,在目标视频的播放界面展示该直播数据流的时长小于第一时长的情况下,目标视频的播放界面中并没有显示有物品对象以及查看入口,可能用户已经切换到下一个视频了,说明用户对该直播间的直播内容并没有太大兴趣,无需显示物品对象以及查看入口,节省了物品对象以及查看入口的生成、显示等步骤,有效节省资源消耗。In some embodiments, when the duration of the live data stream displayed on the playback interface of the target video is less than the first duration, the playback interface of the target video does not display item objects and viewing entries, and the user may have switched to the next The video shows that the user is not very interested in the live broadcast content of the live broadcast room, and there is no need to display the item object and view the entrance, which saves the generation and display of the item object and the view entrance, effectively saving resource consumption.
在一些实施例中,为该目标对象设置取消展示时机或改变该目标对象的显示方式。例如为物品对象以及查看入口设置取消展示时机。例如,在该直播间的物品对象以及查看入口的 显示时长超过第二时长的情况下,取消显示该直播间内物品对象以及查看入口,该第二时长大于该第一时长。In some embodiments, an opportunity to cancel the display or change the display mode of the target object is set for the target object. For example, set the timing of canceling the display for the item object and the viewing portal. For example, when the display duration of the item object in the live broadcast room and the viewing entrance exceeds the second duration, cancel the display of the item object and the viewing entry in the live broadcast room, and the second duration is greater than the first duration.
又例如,在该物品对象及查看入口的显示时长超过第二时长的情况下,改变该物品对象及查看入口的显示方式,例如将该物品对象及查看入口缩小为面积更小的挂件,并将该挂件展示在该目标视频的播放界面上,减少对目标视频的播放界面的遮挡。For another example, when the display duration of the item object and the viewing portal exceeds the second duration, change the display mode of the item object and the viewing portal, such as reducing the item object and the viewing portal to a smaller pendant, and The pendant is displayed on the playback interface of the target video, reducing the occlusion of the playback interface of the target video.
其中,该第一时长和第二时长由相关技术人员根据业务需求进行设置,例如,该第一时长为3秒,第二时长为10秒,本公开实施例对此不作限定。Wherein, the first duration and the second duration are set by relevant technical personnel according to business requirements, for example, the first duration is 3 seconds, and the second duration is 10 seconds, which is not limited in this embodiment of the present disclosure.
能够理解地,在该目标视频的播放界面的显示时长超过第二时长的情况下,用户仍然没有进入直播间,可能用户进入直播间进行物品对象交易的意向不是很大,因而取消该物品对象以及查看入口的显示或改变该物品对象以及查看入口的显示方式,以减小界面显示负担,避免不必要的显示资源消耗。It can be understood that when the display duration of the playback interface of the target video exceeds the second duration, the user still has not entered the live broadcast room, and the user may not have a great intention to enter the live broadcast room to trade items, so the item object and View the display of the entrance or change the item object and view the display mode of the entrance to reduce the burden of interface display and avoid unnecessary display resource consumption.
在一些实施例中,在目标视频的播放界面中显示的物品对象的数量为一个或多个。并且,物品对象具有不同的类型,比如,该物品对象包括第一物品对象或第二物品对象中的任一项。In some embodiments, the number of item objects displayed in the playing interface of the target video is one or more. Moreover, the item objects have different types, for example, the item objects include any one of the first item object or the second item object.
第一物品对象为该直播间内正在直播介绍的物品。The first item object is the item being introduced live in the live broadcast room.
主播在直播间内能够将物品对象添加至物品列表(该过程亦称为“上架”或“挂车”),该物品列表包括该直播间中处于待交易状态的物品对象。将物品对象添加至物品列表后,主播能够对该物品列表中的物品对象进行介绍。此时,该直播间正在直播介绍的物品对象即为第一物品对象。在一些实施例中,该直播间内正在直播介绍这一物品对象的直播状态由主播在直播间内进行状态设置操作来设置。比如,主播将一个物品对象添加至物品列表后,将该物品对象的直播状态设置为正在直播介绍状态。The anchor can add item objects to the item list in the live broadcast room (this process is also called "shelf" or "trailer"), and the item list includes the item objects in the live room that are in the state of being traded. After the item object is added to the item list, the host can introduce the item object in the item list. At this time, the item object being introduced live in the live broadcast room is the first item object. In some embodiments, the live broadcast status of the item object being introduced live in the live broadcast room is set by the anchor performing a state setting operation in the live broadcast room. For example, after the anchor adds an item object to the item list, the live broadcast status of the item object is set to the live introduction status.
第二物品对象为该直播间内在未来预设时间段内将进行直播介绍的物品。The second item object is an item that will be introduced live in the live broadcast room within a preset time period in the future.
物品列表中显示的物品对象通常是按照主播的添加顺序来排列的。在一些实施例中,在物品列表中位于正在直播介绍的物品对象之后的物品对象即为在未来预设时间段内将进行直播介绍的物品。在一些实施例中,终端获取位于正在直播介绍的物品对象之后的物品对象作为第二物品对象。在另一些实施例中,终端获取该直播间的物品对象介绍计划,从物品对象介绍计划中,获取在未来预设时间段内将进行直播介绍的物品对象作为第二物品对象。Item objects displayed in the item list are usually arranged in the order in which the streamers are added. In some embodiments, the item objects in the item list that are located after the item object that is being introduced live are the items that will be introduced live within a preset time period in the future. In some embodiments, the terminal acquires an item object located behind the item object being introduced live as the second item object. In some other embodiments, the terminal acquires the item object introduction plan of the live broadcast room, and acquires item objects that will be introduced in the live broadcast within a preset time period in the future as the second item object from the item object introduction plan.
在一些实施例中,在物品对象的数量为多个的情况下,终端在该目标视频的播放界面轮流显示各个该物品对象的查看入口。这样通过该轮流显示的过程,使得用户对该直播间内的物品对象了解的更加全面,也能够基于自己的需求从中选择合适的物品对象进行交易。In some embodiments, when there are multiple item objects, the terminal displays the viewing entries of each item object in turn on the playback interface of the target video. In this way, through the process of displaying in turn, the user can have a more comprehensive understanding of the item objects in the live broadcast room, and can also select a suitable item object for trading based on their own needs.
在一些实施例中,S35包括下述任一项:In some embodiments, S35 includes any of the following:
在该目标视频的播放界面显示该直播间的第一物品对象以及查看入口;Display the first item object of the live broadcast room and the viewing entrance on the playback interface of the target video;
在该目标视频的播放界面显示该直播间的第二物品对象以及查看入口;Displaying the second item object and viewing entrance of the live broadcast room on the playback interface of the target video;
在物品对象的数量为多个的情况下,在该目标视频的播放界面轮流显示各个该物品对象以及查看入口。In the case that there are multiple item objects, each item object and the viewing entrance are displayed in turn on the playback interface of the target video.
通过上述可能显示的多种物品对象,能够根据需求进行任意设置,提供灵活多变的物品对象显示方式。Through the various item objects that may be displayed above, arbitrary settings can be made according to requirements, providing flexible and changeable item object display methods.
在一些实施例中,终端在显示物品对象时,在该目标视频的播放界面显示该物品对象的直播状态,该直播状态包括正在直播介绍和在未来预设时间段内将进行直播介绍。通过该播放界面中物品对象的直播状态,用户能够直观、快速地了解到物品对象的直播状态,从而用户能够基于了解的情况选择交易物品对象。In some embodiments, when displaying the item object, the terminal displays the live broadcast status of the item object on the playback interface of the target video, and the live broadcast status includes the live introduction being live and the live introduction to be performed within a preset time period in the future. Through the live broadcast status of the item object in the playback interface, the user can intuitively and quickly understand the live broadcast status of the item object, so that the user can select the transaction item object based on the known situation.
例如,图11是根据一实施例示出的一种终端界面示意图,如图11所示,目标视频的播放界面1100中显示有物品对象1101和查看入口1102。该物品对象1101和查看入口1102显示于目标视频的播放界面1100的底部区域中。通过该物品对象1101的名称1103“明星同款全网推荐表”、消耗资源1104“¥99.9”、直播状态1105“讲解中”和图片1106等信息,能够了解到该物品对象的多方面信息。该查看入口1102的显示样式为一个控件,该查看入口1102的名称为“去看看”。该查看入口1102为进入直播间和查看、交易物品对象提供了积极引导。For example, FIG. 11 is a schematic diagram of a terminal interface according to an embodiment. As shown in FIG. 11 , an item object 1101 and a view entry 1102 are displayed in a target video playback interface 1100 . The item object 1101 and the view entry 1102 are displayed in the bottom area of the playing interface 1100 of the target video. Through information such as the item object 1101's name 1103 "star same style whole network recommendation list", resource consumption 1104 "¥99.9", live broadcast status 1105 "explaining" and pictures 1106, it is possible to know various information about the item object. The display style of the viewing entry 1102 is a control, and the name of the viewing entry 1102 is "go and see". The viewing entry 1102 provides positive guidance for entering the live broadcast room and viewing and trading items.
在一些实施例中,在显示物品对象时,对于物品对象的消耗资源,终端还执行下述情况中任一种。In some embodiments, when displaying the item object, the terminal also performs any one of the following situations for resource consumption of the item object.
情况一、在该目标视频的播放界面上显示该物品对象的目标消耗资源,该目标消耗资源基于该物品对象的原消耗资源和终端已登录账号关联的虚拟资源确定。Case 1: The target resource consumption of the item object is displayed on the playback interface of the target video, and the target resource consumption is determined based on the original resource consumption of the item object and the virtual resources associated with the terminal's logged-in account.
在一些实施例中,该原消耗资源为原价格,该虚拟资源为优惠券,该目标消耗资源为券后价格。通过在播放界面中显示出该目标消耗资源,用户能够直观地看到该物品对象在应用虚拟资源后的价格。终端已登录账号关联的虚拟资源为该账号已领取的虚拟资源。In some embodiments, the original consumed resource is the original price, the virtual resource is a coupon, and the target consumed resource is the post-coupon price. By displaying the resource consumed by the target in the playback interface, the user can intuitively see the price of the item object after the virtual resource is applied. The virtual resources associated with the logged-in account of the terminal are the virtual resources that have been received by the account.
例如,如图11所示,该物品对象的原消耗资源为120元,在应用优惠券后,该物品对象的目标消耗资源为99.9元,终端直接在显示物品对象时,显示该目标消耗资源99.9元。For example, as shown in Figure 11, the original resource consumption of the item object is 120 yuan. After the coupon is applied, the target resource consumption of the item object is 99.9 yuan. When the terminal directly displays the item object, the target resource consumption is 99.9 yuan. Yuan.
情况二、在该目标视频的播放界面上显示该物品对象的目标消耗资源,该目标消耗资源基于该物品对象的原消耗资源和该直播间内可领取的虚拟资源确定。Case 2: The target consumption resource of the item object is displayed on the playback interface of the target video, and the target consumption resource is determined based on the original consumption resource of the item object and the virtual resources that can be claimed in the live broadcast room.
该情况二相较于情况一,区别在于该虚拟资源并不是终端所登录账号关联的虚拟资源,而是直播间内可领取的虚拟资源,也即是,该虚拟资源还未领取,但进入直播间后能够进行领取并使用。The difference between Case 2 and Case 1 is that the virtual resource is not a virtual resource associated with the account logged in by the terminal, but a virtual resource that can be claimed in the live broadcast room, that is, the virtual resource has not been claimed, but enters the live broadcast It can be collected and used after a period of time.
情况三、在该目标视频的播放界面上显示该物品对象的目标消耗资源和原消耗资源,该目标消耗资源基于该原消耗资源和终端已登录账号关联的虚拟资源确定。Case 3: The target consumption resource and the original consumption resource of the item object are displayed on the playback interface of the target video, and the target consumption resource is determined based on the original consumption resource and the virtual resource associated with the terminal's logged-in account.
例如,图12是根据一实施例示出的一种终端界面示意图,如图12所示,该物品对象的原价格为120元,在应用优惠券后,该物品对象的券后价格为99.9元,终端在显示物品对象时,既显示该券后价格99.9元,又显示原价格120元。这样显示的信息更加全面。For example, FIG. 12 is a schematic diagram of a terminal interface according to an embodiment. As shown in FIG. 12, the original price of the item object is 120 yuan, and after the coupon is applied, the post-coupon price of the item object is 99.9 yuan. When the terminal displays the item object, it not only displays the post-coupon price of 99.9 yuan, but also displays the original price of 120 yuan. The information displayed in this way is more comprehensive.
情况四、在该目标视频的播放界面上显示该物品对象的原消耗资源。Situation 4: The originally consumed resource of the item object is displayed on the playback interface of the target video.
在情况四中,终端仅显示该物品对象的原消耗资源,比如,该终端所登录账号并未关联有任何虚拟资源,或者该终端所登录账号关联有虚拟资源,但该虚拟资源并非该直播间内的虚拟资源,又或者该终端所登录账号关联有虚拟资源,但该物品对象无法应用该虚拟资源。在这时,终端在播放界面中显示该物品对象的原消耗资源。In case four, the terminal only displays the original resource consumption of the item object. For example, the account logged in by the terminal is not associated with any virtual resources, or the account logged in by the terminal is associated with virtual resources, but the virtual resources are not the live broadcast room. or the virtual resource is associated with the account logged in by the terminal, but the virtual resource cannot be applied to the item object. At this time, the terminal displays the original resource consumption of the item object on the playback interface.
在一些实施例中,终端不显示该消耗资源。例如,图13是根据一实施例示出的一种终端界面示意图,如图13所示,在物品对象的信息处并不包括该物品对象的消耗资源。In some embodiments, the terminal does not display the consumed resources. For example, FIG. 13 is a schematic diagram of a terminal interface according to an embodiment. As shown in FIG. 13 , the information of an item object does not include the resource consumption of the item object.
在S36中,终端响应于对该查看入口的触发操作,显示该直播间的直播界面,并在该直播界面中显示物品列表,该物品列表包括该物品对象。In S36, the terminal displays the live broadcast interface of the live broadcast room in response to the trigger operation of the view entry, and displays an item list in the live broadcast interface, and the item list includes the item object.
终端显示物品对象的查看入口之后,如果用户对该物品对象感兴趣,想要进一步查看该物品对象或者交易该物品对象,则对查看入口进行触发操作,终端响应于对查看入口的触发操作,将显示界面跳转至直播界面,自动显示物品列表,以在该物品列表中显示该物品对象。After the terminal displays the view entry of the item object, if the user is interested in the item object and wants to further view the item object or trade the item object, a trigger operation is performed on the view entry, and the terminal responds to the trigger operation on the view entry, and the The display interface jumps to the live broadcast interface, and the item list is automatically displayed, so as to display the item object in the item list.
通过在播放界面显示查看入口,以通过查看入口直接进入直播间,相较于用户点击目标视频的播放界面进入直播间,再自己通过多步操作查找物品对象,上述进入直播间和显示物品对象的过程能够一键实现,节省了大量用户操作,操作便捷,效率更高。By displaying the view entry on the playback interface, you can directly enter the live broadcast room through the view entry. Compared with the user clicking the playback interface of the target video to enter the live broadcast room, and then searching for the item object through multi-step operations, the above-mentioned entering the live broadcast room and displaying the item object The process can be realized with one key, which saves a lot of user operations, is convenient to operate, and has higher efficiency.
在一些实施例中,该物品列表中显示的物品对象是按照主播的添加顺序进行排列的,在基于某个物品对象的查看入口进入直播间,并自动显示物品列表时,显示该物品对象位于首位,并按照该添加顺序,在物品列表中显示其他物品对象,即在虚拟物品列表中,对本次点击的物品对象进行置顶显示。In some embodiments, the item objects displayed in the item list are arranged according to the addition order of the anchor, and when entering the live broadcast room based on the viewing entry of a certain item object, and automatically displaying the item list, it is displayed that the item object is at the first place , and display other item objects in the item list according to the adding order, that is, in the virtual item list, the clicked item object is displayed on top.
例如,如图11至图13所示,用户对查看入口“去看看”进行触发操作,终端将界面跳转至如图7所示的直播界面,并在直播界面中显示物品列表。For example, as shown in Figure 11 to Figure 13, the user performs a trigger operation on the viewing entry "Go and see", the terminal jumps the interface to the live broadcast interface as shown in Figure 7, and displays the list of items in the live broadcast interface.
本公开实施例提供的技术方案,在目标视频的播放界面中显示直播间内虚拟资源以及资源领取入口,或者物品对象以及查看入口,丰富了目标视频的播放界面显示的内容,实现了直播间内电商核心信息的显示。这样通过该目标视频的播放界面显示的内容,用户无需进入直播间,即可直接获知直播间内电商核心信息。如果用户对显示的虚拟资源或物品对象感兴趣,能够通过对资源领取入口或查看入口的触发操作,直接进入直播间且直播间内直接显示有虚拟资源或物品对象,相较于用户点击目标视频的播放界面进入直播间,再自己通过多步操作查找虚拟资源或物品对象,上述进入直播间和显示过程能够一键实现,节省了大量用户操作,操作便捷,效率更高。The technical solution provided by the embodiments of the present disclosure displays the virtual resources in the live broadcast room and the resource collection entrance, or the item object and the viewing entrance in the playback interface of the target video, enriches the content displayed on the playback interface of the target video, and realizes the Display of core information of e-commerce. In this way, through the content displayed on the playback interface of the target video, the user can directly learn the core information of the e-commerce in the live broadcast room without entering the live broadcast room. If the user is interested in the displayed virtual resource or item object, he can directly enter the live broadcast room through the trigger operation of the resource claim entrance or view entry, and the virtual resource or item object is directly displayed in the live broadcast room, compared with the user clicking the target video Enter the live broadcast room through the playback interface, and then search for virtual resources or item objects through multi-step operations. The above-mentioned entering live broadcast room and display process can be realized with one click, saving a lot of user operations, convenient operation, and higher efficiency.
图14是根据一实施例示出的一种直播数据处理装置的框图。参照图14,该装置包括:Fig. 14 is a block diagram of a live data processing device according to an embodiment. Referring to Figure 14, the device includes:
获取模块1401,被配置为获取视频数据流中的至少一个目标视频对应的直播间状态;The obtaining module 1401 is configured to obtain the state of the live room corresponding to at least one target video in the video data stream;
该获取模块1401,还被配置为在该目标视频对应的直播间状态为正在直播的情况下,获取该目标视频对应的直播间的直播数据流,在该目标视频的播放界面展示该直播数据流;The obtaining module 1401 is also configured to obtain the live data stream of the live room corresponding to the target video when the state of the live room corresponding to the target video is live, and display the live data stream on the playback interface of the target video ;
该获取模块1401,还被配置为基于该直播数据流获取该直播间的至少一个待显示的目标对象The obtaining module 1401 is further configured to obtain at least one target object to be displayed in the live broadcast room based on the live data stream
显示模块1402,被配置为在该目标视频的播放界面显示该目标对象。The display module 1402 is configured to display the target object on the target video playing interface.
在一些实施例中,该目标对象为虚拟资源,该显示模块1402,还被配置为:在该目标视频的播放界面显示该虚拟资源及资源领取入口。In some embodiments, the target object is a virtual resource, and the display module 1402 is further configured to: display the virtual resource and a resource claim entry on the target video playback interface.
在一些实施例中,该显示模块1402还被配置为:响应于对该资源领取入口的触发操作,显示该直播间的直播界面;在该直播界面中显示该虚拟资源。In some embodiments, the display module 1402 is further configured to: display the live broadcast interface of the live broadcast room in response to the trigger operation of the resource claiming entry; and display the virtual resource in the live broadcast interface.
在一些实施例中,该显示模块1402还被配置为:在该直播界面显示该虚拟资源的数量和领取成功信息,该领取成功信息表示对该虚拟资源领取成功。In some embodiments, the display module 1402 is further configured to: display the quantity of the virtual resource and the successful claim information on the live broadcast interface, and the successful claim information indicates that the virtual resource is successfully claimed.
在一些实施例中,该显示模块1402还被配置为:在该直播界面显示该虚拟资源的数量和领取控件;响应于对该领取控件的触发操作,在该直播界面中显示领取成功信息,该领取成功信息表示对该虚拟资源领取成功。In some embodiments, the display module 1402 is further configured to: display the quantity of the virtual resource and the claim control on the live broadcast interface; in response to the trigger operation of the claim control, display the claim success information on the live broadcast interface, the The receiving success message indicates that the virtual resource is successfully received.
在一些实施例中,该显示模块1402还被配置为:在对该虚拟资源领取成功的情况下,在该直播界面内显示该虚拟资源的跳转控件;响应于对该跳转控件的触发操作,在该直播界面中播放资源领取动画,该资源领取动画表示该虚拟资源移动至该直播间的列表控件中,该列表控件对应于物品列表,该物品列表包括该直播间中处于待交易状态的物品。In some embodiments, the display module 1402 is further configured to: display a jump control of the virtual resource in the live broadcast interface if the virtual resource is successfully claimed; and respond to a trigger operation of the jump control , the resource claiming animation is played in the live broadcast interface. The resource claiming animation indicates that the virtual resource is moved to the list control of the live broadcast room. thing.
在一些实施例中,该显示模块1402还被配置为:响应于该资源领取动画播放完毕,显示该物品列表,该物品列表的目标位置上显示有该虚拟资源。In some embodiments, the display module 1402 is further configured to: display the item list in response to the completion of the resource claiming animation, and the virtual resource is displayed at the target position of the item list.
在一些实施例中,该虚拟资源包括下述任一项:第一虚拟资源,为该直播间内与终端所登录账号匹配的虚拟资源;第二虚拟资源,为该直播间内与终端匹配的虚拟资源;第三虚拟资源,为该直播间内与系统时间匹配的虚拟资源;第四虚拟资源,为该直播间内数额最大的 虚拟资源;该显示模块1402还被配置为:在该目标视频的播放界面轮流显示各个该虚拟资源及资源领取入口。In some embodiments, the virtual resource includes any of the following: the first virtual resource is a virtual resource that matches the account registered by the terminal in the live broadcast room; the second virtual resource is a virtual resource that matches the terminal in the live broadcast room Virtual resources; the third virtual resource is the virtual resource that matches the system time in the live broadcast room; the fourth virtual resource is the virtual resource with the largest amount in the live broadcast room; the display module 1402 is also configured to: The playback interface displays each virtual resource and resource collection entrance in turn.
在一些实施例中,该目标对象为物品对象,该显示模块1402还被配置为:在该目标视频的播放界面显示该物品对象及查看入口。In some embodiments, the target object is an item object, and the display module 1402 is further configured to: display the item object and a view entry on the target video playback interface.
在一些实施例中,该显示模块1402还被配置为:响应于对该查看入口的触发操作,显示该直播间的直播界面;在该直播界面中显示物品列表,该物品列表包括该物品对象。In some embodiments, the display module 1402 is further configured to: respond to the trigger operation of the view entry, display the live broadcast interface of the live broadcast room; display an item list in the live broadcast interface, and the item list includes the item object.
在一些实施例中,该物品对象包括下述任一项:第一物品对象,为该直播间内正在直播介绍的物品;第二物品对象,为该直播间内在未来预设时间段内将进行直播介绍的物品;该显示模块1402还被配置为:在该目标视频的播放界面轮流显示各个该物品对象的查看入口。In some embodiments, the item object includes any of the following items: the first item object is an item that is being introduced live in the live broadcast room; Items introduced live; the display module 1402 is further configured to: display the view entries of each item object in turn on the playback interface of the target video.
在一些实施例中,该显示模块1402还被配置为:在该目标视频的播放界面显示该物品对象的直播状态,该直播状态包括正在直播介绍和在未来预设时间段内将进行直播介绍。In some embodiments, the display module 1402 is further configured to: display the live broadcast status of the item object on the playback interface of the target video, and the live broadcast status includes the live introduction being live and the live introduction to be performed within a preset time period in the future.
在一些实施例中,该显示模块1402被配置为:在该目标视频的播放界面展示该直播数据流的时长超过第一时长的情况下,在该目标视频的播放界面显示该目标对象。In some embodiments, the display module 1402 is configured to: display the target object on the playback interface of the target video when the duration for displaying the live data stream on the playback interface of the target video exceeds a first duration.
在一些实施例中,该显示模块1402还被配置为:在该目标对象的显示时长超过第二时长的情况下,取消显示该目标对象或改变该目标对象的显示方式,该第二时长大于该第一时长。In some embodiments, the display module 1402 is further configured to: cancel display of the target object or change the display mode of the target object when the display duration of the target object exceeds a second duration, the second duration is longer than the First time.
本公开实施例提供的方案,通过在视频数据流所包括的目标视频的播放界面上,来对直播间内的一些关键信息,例如目标对象进行显示,使得用户在基于视频数据流进行浏览的基础上,就能够获知直播间当前正在直播的相关信息,从而能够提升直播间的信息传递效率。In the solution provided by the embodiments of the present disclosure, some key information in the live broadcast room, such as the target object, is displayed on the playback interface of the target video included in the video data stream, so that the user can browse based on the video data stream On the Internet, you can know the relevant information that the live broadcast room is currently live broadcasting, so as to improve the efficiency of information transmission in the live broadcast room.
需要说明的是:上述实施例提供的直播数据处理装置在处理直播数据时,仅以上述各功能模块的划分进行举例说明,实际应用中,能够根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的直播数据处理装置与直播数据处理方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the live data processing device provided in the above-mentioned embodiment processes live data, it only uses the division of the above-mentioned functional modules for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to needs. , which divides the internal structure of the device into different functional modules to complete all or part of the functions described above. In addition, the live data processing device and the live data processing method embodiments provided in the above-mentioned embodiments belong to the same idea, and the specific implementation process thereof can be found in the method embodiments, and will not be repeated here.
图15是根据一实施例示出的一种终端的框图。该终端1500包括:智能手机、平板电脑、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、笔记本电脑或台式电脑。终端1500还可能被称为用户设备、便携式终端、膝上型终端、台式终端等其他名称。Fig. 15 is a block diagram of a terminal according to an embodiment. The terminal 1500 includes: smart phone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III, moving picture expert compression standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, moving picture expert compression standard audio layer 4) Player, laptop or desktop computer. The terminal 1500 may also be called user equipment, portable terminal, laptop terminal, desktop terminal and other names.
通常,终端1500包括有:处理器1501和存储器1502。Generally, the terminal 1500 includes: a processor 1501 and a memory 1502 .
处理器1501包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器1501采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器1501包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器1501集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器1501还包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。The processor 1501 includes one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. Processor 1501 is realized by at least one hardware form in DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, programmable logic array) . Processor 1501 includes a main processor and a coprocessor, the main processor is a processor for processing data in a wake-up state, also called CPU (Central Processing Unit, central processing unit); the coprocessor is used for A low-power processor that processes data during standby. In some embodiments, the processor 1501 is integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen. In some embodiments, the processor 1501 further includes an AI (Artificial Intelligence, artificial intelligence) processor, where the AI processor is configured to process computing operations related to machine learning.
存储器1502包括一个或多个计算机可读存储介质,例如该计算机可读存储介质是非暂态 的。在一些实施例中,存储器1502还包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器1502中的非暂态的计算机可读存储介质用于存储至少一个程序代码,该至少一个程序代码用于被处理器1501所执行以实现本公开中方法实施例提供的直播数据处理方法。 Memory 1502 includes one or more computer-readable storage media, such as the computer-readable storage media are non-transitory. In some embodiments, the memory 1502 also includes high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1502 is used to store at least one program code, and the at least one program code is used to be executed by the processor 1501 to implement the method provided by the method embodiment of the present disclosure. Live data processing method.
在一些实施例中,终端1500还可选包括有:外围设备接口1503和至少一个外围设备。处理器1501、存储器1502和外围设备接口1503之间通过总线或信号线相连。各个外围设备通过总线、信号线或电路板与外围设备接口1503相连。具体地,外围设备包括:射频电路1504、显示屏1505、摄像头组件1506、音频电路1507、定位组件1508和电源1509中的至少一种。In some embodiments, the terminal 1500 may optionally further include: a peripheral device interface 1503 and at least one peripheral device. The processor 1501, the memory 1502, and the peripheral device interface 1503 are connected through buses or signal lines. Each peripheral device is connected to the peripheral device interface 1503 through a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1504 , a display screen 1505 , a camera component 1506 , an audio circuit 1507 , a positioning component 1508 and a power supply 1509 .
外围设备接口1503可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器1501和存储器1502。在一些实施例中,处理器1501、存储器1502和外围设备接口1503被集成在同一芯片或电路板上;在一些其他实施例中,处理器1501、存储器1502和外围设备接口1503中的任意一个或两个能够在单独的芯片或电路板上实现,本实施例对此不加以限定。The peripheral device interface 1503 may be used to connect at least one peripheral device related to I/O (Input/Output, input/output) to the processor 1501 and the memory 1502 . In some embodiments, the processor 1501, memory 1502 and peripheral device interface 1503 are integrated on the same chip or circuit board; in some other embodiments, any one of the processor 1501, memory 1502 and peripheral device interface 1503 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
射频电路1504用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路1504通过电磁信号与通信网络以及其他通信设备进行通信。射频电路1504将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。在一些实施例中,射频电路1504包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路1504通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:城域网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真)网络。在一些实施例中,射频电路1504还包括NFC(Near Field Communication,近距离无线通信)有关的电路,本公开对此不加以限定。The radio frequency circuit 1504 is used to receive and transmit RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals. The radio frequency circuit 1504 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1504 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. In some embodiments, the radio frequency circuit 1504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like. The radio frequency circuit 1504 communicates with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: metropolitan area network, mobile communication networks of various generations (2G, 3G, 4G and 5G), wireless local area network and/or WiFi (Wireless Fidelity, wireless fidelity) network. In some embodiments, the radio frequency circuit 1504 also includes circuits related to NFC (Near Field Communication, short-range wireless communication), which is not limited in the present disclosure.
显示屏1505用于显示UI(User Interface,用户界面)。该UI包括图形、文本、图标、视频及其它们的任意组合。当显示屏1505是触摸显示屏时,显示屏1505还具有采集在显示屏1505的表面或表面上方的触摸信号的能力。该触摸信号作为控制信号输入至处理器1501进行处理。此时,显示屏1505还用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,显示屏1505为一个,设置在终端1500的前面板;在另一些实施例中,显示屏1505为至少两个,分别设置在终端1500的不同表面或呈折叠设计;在另一些实施例中,显示屏1505是柔性显示屏,设置在终端1500的弯曲表面上或折叠面上。甚至,显示屏1505设置成非矩形的不规则图形,也即异形屏。显示屏1505采用LCD(Liquid Crystal Display,液晶显示屏)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。The display screen 1505 is used to display a UI (User Interface, user interface). The UI includes graphics, text, icons, video, and any combination thereof. When the display screen 1505 is a touch display screen, the display screen 1505 also has the ability to collect touch signals on or above the surface of the display screen 1505 . The touch signal is input to the processor 1501 as a control signal for processing. At this time, the display screen 1505 is also used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards. In some embodiments, there is one display screen 1505, which is arranged on the front panel of the terminal 1500; in other embodiments, there are at least two display screens 1505, which are respectively arranged on different surfaces of the terminal 1500 or in a folding design; In some embodiments, the display screen 1505 is a flexible display screen, and is disposed on a curved surface or a folded surface of the terminal 1500 . Even, the display screen 1505 is set as a non-rectangular irregular figure, that is, a special-shaped screen. The display screen 1505 is made of LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, organic light-emitting diode) and other materials.
摄像头组件1506用于采集图像或视频。在一些实施例中,摄像头组件1506包括前置摄像头和后置摄像头。通常,前置摄像头设置在终端的前面板,后置摄像头设置在终端的背面。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头、长焦摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能、主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能或者其它融合拍摄功能。在一些实施例中,摄像头组件1506还包括闪光灯。闪光灯是单色温闪光灯,或者是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,用于不同色温下的光线补偿。The camera assembly 1506 is used to capture images or videos. In some embodiments, the camera assembly 1506 includes a front camera and a rear camera. Usually, the front camera is set on the front panel of the terminal, and the rear camera is set on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of the main camera, depth-of-field camera, wide-angle camera, and telephoto camera, so as to realize the fusion of the main camera and the depth-of-field camera to realize the background blur function. Combined with the wide-angle camera to achieve panoramic shooting and VR (Virtual Reality, virtual reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1506 also includes a flash. The flash is a single-color temperature flash or a dual-color temperature flash. Dual color temperature flash refers to the combination of warm light flash and cold light flash, which is used for light compensation under different color temperatures.
音频电路1507包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器1501进行处理,或者输入至射频电路1504以实现语音通信。出于立体声采集或降噪的目的,麦克风为多个,分别设置在终端1500的不同部位。在一些实施例中,麦克风是阵列麦克风或全向采集型麦克风。扬声器用于将来自处理器1501或射频电路1504的电信号转换为声波。扬声器是传统的薄膜扬声器,或者是压电陶瓷扬声器。当扬声器是压电陶瓷扬声器时,不仅能够将电信号转换为人类可听见的声波,也能够将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路1507还包括耳机插孔。 Audio circuitry 1507 includes a microphone and speakers. The microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals and input them to the processor 1501 for processing, or input them to the radio frequency circuit 1504 to realize voice communication. For the purpose of stereo sound collection or noise reduction, there are multiple microphones, which are respectively set at different parts of the terminal 1500 . In some embodiments, the microphone is an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signal from the processor 1501 or the radio frequency circuit 1504 into sound waves. The loudspeaker is either a conventional membrane loudspeaker, or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into human-audible sound waves, but also convert electrical signals into human-inaudible sound waves for purposes such as distance measurement. In some embodiments, audio circuitry 1507 also includes a headphone jack.
定位组件1508用于定位终端1500的当前地理位置,以实现导航或LBS(Location Based Service,基于位置的服务)。定位组件1508是基于美国的GPS(Global Positioning System,全球定位系统)、中国的北斗系统、俄罗斯的格雷纳斯系统或欧盟的伽利略系统的定位组件。The positioning component 1508 is used to locate the current geographic location of the terminal 1500 to implement navigation or LBS (Location Based Service, location-based service). The positioning component 1508 is a positioning component based on the GPS (Global Positioning System) of the United States, the Beidou system of China, the Grenas system of Russia or the Galileo system of the European Union.
电源1509用于为终端1500中的各个组件进行供电。电源1509是交流电、直流电、一次性电池或可充电电池。当电源1509包括可充电电池时,该可充电电池支持有线充电或无线充电。该可充电电池还用于支持快充技术。The power supply 1509 is used to supply power to various components in the terminal 1500 . Power source 1509 is alternating current, direct current, disposable batteries or rechargeable batteries. When the power source 1509 includes a rechargeable battery, the rechargeable battery supports wired charging or wireless charging. The rechargeable battery is also used to support fast charging technology.
在一些实施例中,终端1500还包括有一个或多个传感器1510。该一个或多个传感器1510包括但不限于:加速度传感器1511、陀螺仪传感器1512、压力传感器1513、指纹传感器1514、光学传感器1515以及接近传感器1516。In some embodiments, the terminal 1500 further includes one or more sensors 1510 . The one or more sensors 1510 include, but are not limited to: an acceleration sensor 1511 , a gyro sensor 1512 , a pressure sensor 1513 , a fingerprint sensor 1514 , an optical sensor 1515 and a proximity sensor 1516 .
加速度传感器1511用于检测以终端1500建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器1511用于检测重力加速度在三个坐标轴上的分量。处理器1501根据加速度传感器1511采集的重力加速度信号,控制显示屏1505以横向视图或纵向视图进行用户界面的显示。加速度传感器1511还用于游戏或者用户的运动数据的采集。The acceleration sensor 1511 is used to detect the acceleration on the three coordinate axes of the coordinate system established by the terminal 1500 . For example, the acceleration sensor 1511 is used to detect the components of the gravitational acceleration on the three coordinate axes. The processor 1501 controls the display screen 1505 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1511 . The acceleration sensor 1511 is also used for collecting game or user's motion data.
陀螺仪传感器1512用于检测终端1500的机体方向及转动角度,陀螺仪传感器1512与加速度传感器1511协同采集用户对终端1500的3D动作。处理器1501根据陀螺仪传感器1512采集的数据,实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。The gyro sensor 1512 is used to detect the body direction and rotation angle of the terminal 1500 , and the gyro sensor 1512 and the acceleration sensor 1511 cooperate to collect 3D actions of the user on the terminal 1500 . According to the data collected by the gyroscope sensor 1512, the processor 1501 realizes the following functions: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control and inertial navigation.
压力传感器1513设置在终端1500的侧边框和/或显示屏1505的下层。当压力传感器1513设置在终端1500的侧边框时,能够检测用户对终端1500的握持信号,由处理器1501根据压力传感器1513采集的握持信号进行左右手识别或快捷操作。当压力传感器1513设置在显示屏1505的下层时,由处理器1501根据用户对显示屏1505的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。The pressure sensor 1513 is disposed on the side frame of the terminal 1500 and/or the lower layer of the display screen 1505 . When the pressure sensor 1513 is installed on the side frame of the terminal 1500 , it can detect the user's grip signal on the terminal 1500 , and the processor 1501 performs left and right hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 1513 . When the pressure sensor 1513 is disposed on the lower layer of the display screen 1505, the processor 1501 controls operable controls on the UI interface according to the user's pressure operation on the display screen 1505. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
指纹传感器1514用于采集用户的指纹,由处理器1501根据指纹传感器1514采集到的指纹识别用户的身份,或者,由指纹传感器1514根据采集到的指纹识别用户的身份。在识别出用户的身份为可信身份时,由处理器1501授权该用户执行相关的敏感操作,该敏感操作包括解锁屏幕、查看加密信息、下载软件、支付及更改设置等。指纹传感器1514被设置在终端1500的正面、背面或侧面。当终端1500上设置有物理按键或厂商Logo时,指纹传感器1514与物理按键或厂商Logo集成在一起。The fingerprint sensor 1514 is used to collect the user's fingerprint, and the processor 1501 recognizes the identity of the user according to the fingerprint collected by the fingerprint sensor 1514, or, the fingerprint sensor 1514 recognizes the user's identity according to the collected fingerprint. When the identity of the user is recognized as a trusted identity, the processor 1501 authorizes the user to perform related sensitive operations, such sensitive operations include unlocking the screen, viewing encrypted information, downloading software, making payment, and changing settings. The fingerprint sensor 1514 is disposed on the front, rear or side of the terminal 1500 . When the terminal 1500 is provided with a physical button or a manufacturer's Logo, the fingerprint sensor 1514 is integrated with the physical button or the manufacturer's Logo.
光学传感器1515用于采集环境光强度。在一些实施例中,处理器1501根据光学传感器1515采集的环境光强度,控制显示屏1505的显示亮度。具体地,当环境光强度较高时,调高显示屏1505的显示亮度;当环境光强度较低时,调低显示屏1505的显示亮度。在另一个实施例中,处理器1501还根据光学传感器1515采集的环境光强度,动态调整摄像头组件1506 的拍摄参数。The optical sensor 1515 is used to collect ambient light intensity. In some embodiments, the processor 1501 controls the display brightness of the display screen 1505 according to the ambient light intensity collected by the optical sensor 1515 . Specifically, when the ambient light intensity is high, the display brightness of the display screen 1505 is increased; when the ambient light intensity is low, the display brightness of the display screen 1505 is decreased. In another embodiment, the processor 1501 also dynamically adjusts shooting parameters of the camera assembly 1506 according to the ambient light intensity collected by the optical sensor 1515 .
接近传感器1516,也称距离传感器,通常设置在终端1500的前面板。接近传感器1516用于采集用户与终端1500的正面之间的距离。在一个实施例中,当接近传感器1516检测到用户与终端1500的正面之间的距离逐渐变小时,由处理器1501控制显示屏1505从亮屏状态切换为息屏状态;当接近传感器1516检测到用户与终端1500的正面之间的距离逐渐变大时,由处理器1501控制显示屏1505从息屏状态切换为亮屏状态。The proximity sensor 1516 , also called a distance sensor, is usually arranged on the front panel of the terminal 1500 . The proximity sensor 1516 is used to collect the distance between the user and the front of the terminal 1500 . In one embodiment, when the proximity sensor 1516 detects that the distance between the user and the front of the terminal 1500 gradually decreases, the processor 1501 controls the display screen 1505 to switch from the bright screen state to the off screen state; when the proximity sensor 1516 detects When the distance between the user and the front of the terminal 1500 gradually increases, the processor 1501 controls the display screen 1505 to switch from the off-screen state to the on-screen state.
本领域技术人员能够理解,图15中示出的结构并不构成对终端1500的限定,终端1500能够包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。Those skilled in the art can understand that the structure shown in FIG. 15 does not constitute a limitation on the terminal 1500, and the terminal 1500 can include more or fewer components than shown in the figure, or combine certain components, or adopt different component arrangements .
在一些实施例中,还提供了一种包括程序代码的计算机可读存储介质,例如包括程序代码的存储器,上述程序代码可由终端的处理器执行以完成上述直播数据处理方法。在一些实施例中,计算机可读存储介质包括:ROM(Read-Only Memory,只读内存)、RAM(Random Access Memory,随机存取存储器)、CD-ROM(Compact-Disc Read-Only Memory,只读光盘)、磁带、软盘和光数据存储设备等。In some embodiments, there is also provided a computer-readable storage medium including program codes, such as a memory including program codes, the above program codes can be executed by a processor of the terminal to complete the above live data processing method. In some embodiments, the computer-readable storage medium includes: ROM (Read-Only Memory, read-only memory), RAM (Random Access Memory, random access memory), CD-ROM (Compact-Disc Read-Only Memory, only CD-ROMs), magnetic tapes, floppy disks, and optical data storage devices.
在一些实施例中,还提供了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现上述的直播数据处理方法。In some embodiments, a computer program product is also provided, including a computer program, and when the computer program is executed by a processor, the above live data processing method is implemented.
在一些实施例中,本公开实施例所涉及的计算机程序可被部署在一个在终端上执行,或者在位于一个地点的多个在终端上执行,又或者,在分布在多个地点且通过通信网络互连的多个终端上执行,分布在多个地点且通过通信网络互连的多个终端组成区块链系统。In some embodiments, the computer programs involved in the embodiments of the present disclosure can be deployed and executed on one terminal, or executed on multiple terminals at one location, or distributed in multiple locations and communicated Executed on multiple terminals interconnected by the network, multiple terminals distributed in multiple locations and interconnected through a communication network form a blockchain system.
本公开所有实施例均能够单独被执行,或者与其他实施例相结合被执行,均视为本公开要求的保护范围。All the embodiments of the present disclosure can be implemented independently or in combination with other embodiments, which are considered to be within the protection scope of the present disclosure.

Claims (44)

  1. 一种直播数据处理方法,所述方法包括:A live data processing method, the method comprising:
    获取视频数据流中的至少一个目标视频对应的直播间状态;Obtain the state of the live room corresponding to at least one target video in the video data stream;
    在所述目标视频对应的直播间状态为正在直播的情况下,获取所述目标视频对应的直播间的直播数据流,在所述目标视频的播放界面展示所述直播数据流;In the case that the state of the live room corresponding to the target video is being live, obtain the live data stream of the live room corresponding to the target video, and display the live data stream on the playback interface of the target video;
    基于所述直播数据流获取所述直播间的至少一个待显示的目标对象;Acquiring at least one target object to be displayed in the live broadcast room based on the live data stream;
    在所述目标视频的播放界面显示所述目标对象。The target object is displayed on the playing interface of the target video.
  2. 根据权利要求1所述的直播数据处理方法,所述目标对象为虚拟资源,所述在所述目标视频的播放界面显示所述目标对象,包括:The live data processing method according to claim 1, wherein the target object is a virtual resource, and displaying the target object on the playback interface of the target video includes:
    在所述目标视频的播放界面显示所述虚拟资源及资源领取入口。The virtual resource and the resource claiming entrance are displayed on the playing interface of the target video.
  3. 根据权利要求2所述的直播数据处理方法,所述方法还包括:The live data processing method according to claim 2, said method further comprising:
    响应于对所述资源领取入口的触发操作,显示所述直播间的直播界面;In response to a trigger operation on the resource claiming entry, displaying the live broadcast interface of the live broadcast room;
    在所述直播界面中显示所述虚拟资源。The virtual resource is displayed in the live broadcast interface.
  4. 根据权利要求3所述的直播数据处理方法,所述在所述直播界面中显示所述虚拟资源,包括:According to the live data processing method according to claim 3, said displaying said virtual resource in said live interface comprises:
    在所述直播界面显示所述虚拟资源的数量和领取成功信息,所述领取成功信息表示对所述虚拟资源领取成功。The quantity of the virtual resources and information on successful collection are displayed on the live broadcast interface, and the information on successful collection indicates that the virtual resources are successfully collected.
  5. 根据权利要求4所述的直播数据处理方法,所述在所述直播界面显示所述虚拟资源的数量和领取成功信息,包括:According to the live broadcast data processing method according to claim 4, said displaying the quantity of said virtual resources and the information on receiving success on said live broadcast interface comprises:
    在所述直播界面显示所述虚拟资源的数量和领取控件;Displaying the quantity of the virtual resources and receiving controls on the live broadcast interface;
    响应于对所述领取控件的触发操作,在所述直播界面中显示领取成功信息,所述领取成功信息表示对所述虚拟资源领取成功。In response to a trigger operation on the claim control, display successful claim information on the live broadcast interface, where the claim success information indicates that the virtual resource has been successfully claimed.
  6. 根据权利要求4或5所述的直播数据处理方法,所述方法还包括:The live data processing method according to claim 4 or 5, said method further comprising:
    在对所述虚拟资源领取成功的情况下,在所述直播界面内显示所述虚拟资源的跳转控件;In the case of successfully receiving the virtual resource, displaying a jump control of the virtual resource in the live broadcast interface;
    响应于对所述跳转控件的触发操作,在所述直播界面中播放资源领取动画,所述资源领取动画表示所述虚拟资源移动至所述直播间的列表控件中,所述列表控件对应于物品列表,所述物品列表包括所述直播间中处于待交易状态的物品。In response to the trigger operation on the jump control, a resource claiming animation is played in the live broadcast interface, and the resource claiming animation indicates that the virtual resource is moved to the list control in the live broadcast room, and the list control corresponds to An item list, where the item list includes items in the live broadcast room that are in a state to be traded.
  7. 根据权利要求6所述的直播数据处理方法,所述方法还包括:The live data processing method according to claim 6, said method further comprising:
    响应于所述资源领取动画播放完毕,显示所述物品列表,所述物品列表的目标位置上显示有所述虚拟资源。In response to the end of playing the resource claiming animation, the item list is displayed, and the virtual resource is displayed at the target position of the item list.
  8. 根据权利要求2所述的直播数据处理方法,所述虚拟资源包括下述任一项:According to the live data processing method according to claim 2, the virtual resource comprises any of the following:
    第一虚拟资源,为所述直播间内与终端所登录账号匹配的虚拟资源;The first virtual resource is a virtual resource that matches the account registered in the terminal in the live broadcast room;
    第二虚拟资源,为所述直播间内与终端匹配的虚拟资源;The second virtual resource is a virtual resource matching the terminal in the live broadcast room;
    第三虚拟资源,为所述直播间内与系统时间匹配的虚拟资源;The third virtual resource is a virtual resource matching the system time in the live broadcast room;
    第四虚拟资源,为所述直播间内数额最大的虚拟资源;The fourth virtual resource is the virtual resource with the largest amount in the live broadcast room;
    所述在所述目标视频的播放界面显示所述虚拟资源及资源领取入口,包括:The displaying of the virtual resource and the resource collection entrance on the playback interface of the target video includes:
    在所述目标视频的播放界面轮流显示各个所述虚拟资源及资源领取入口。Each of the virtual resources and resource collection entrances are displayed in turn on the playing interface of the target video.
  9. 根据权利要求1所述的直播数据处理方法,所述目标对象为物品对象,所述在所述目标视频的播放界面显示所述目标对象,包括:The live data processing method according to claim 1, wherein the target object is an item object, and displaying the target object on the playback interface of the target video includes:
    在所述目标视频的播放界面显示所述物品对象及查看入口。and displaying the item object and the viewing entrance on the playing interface of the target video.
  10. 根据权利要求9所述的直播数据处理方法,所述方法还包括:The live data processing method according to claim 9, said method further comprising:
    响应于对所述查看入口的触发操作,显示所述直播间的直播界面;In response to a trigger operation on the view entry, displaying the live broadcast interface of the live broadcast room;
    在所述直播界面中显示物品列表,所述物品列表包括所述物品对象。An item list is displayed in the live broadcast interface, and the item list includes the item object.
  11. 根据权利要求9所述的直播数据处理方法,所述物品对象包括下述任一项:According to the live data processing method according to claim 9, the item object includes any of the following:
    第一物品对象,为所述直播间内正在直播介绍的物品;The first item object is the item being introduced live in the live broadcast room;
    第二物品对象,为所述直播间内在未来预设时间段内将进行直播介绍的物品;The second item object is an item that will be introduced live in the live broadcast room within a preset time period in the future;
    所述在所述目标视频的播放界面显示所述物品对象及查看入口,包括:The displaying of the item object and the viewing entry on the playback interface of the target video includes:
    在所述目标视频的播放界面轮流显示各个所述物品对象的查看入口。Viewing entries of each item object are displayed in turn on the playback interface of the target video.
  12. 根据权利要求11所述的直播数据处理方法,所述方法还包括:The live data processing method according to claim 11, said method further comprising:
    在所述目标视频的播放界面显示所述物品对象的直播状态,所述直播状态包括正在直播介绍和在未来预设时间段内将进行直播介绍。The live broadcast status of the item object is displayed on the playing interface of the target video, and the live broadcast status includes live introduction and live introduction in a preset time period in the future.
  13. 根据权利要求1所述的直播数据处理方法,所述在所述目标视频的播放界面显示所述目标对象,包括:According to the live data processing method according to claim 1, the displaying the target object on the playing interface of the target video comprises:
    在所述目标视频的播放界面展示所述直播数据流的时长超过第一时长的情况下,在所述目标视频的播放界面显示所述目标对象。In the case that the duration of displaying the live data stream on the playback interface of the target video exceeds a first duration, the target object is displayed on the playback interface of the target video.
  14. 根据权利要求13所述的直播数据处理方法,所述方法还包括:The live data processing method according to claim 13, said method further comprising:
    在所述目标对象的显示时长超过第二时长的情况下,取消显示所述目标对象或改变所述目标对象的显示方式,所述第二时长大于所述第一时长。When the display duration of the target object exceeds a second duration, cancel display of the target object or change a display manner of the target object, the second duration is longer than the first duration.
  15. 一种直播数据处理装置,所述装置包括:A live data processing device, the device comprising:
    获取模块,被配置为获取视频数据流中的至少一个目标视频对应的直播间状态;The obtaining module is configured to obtain the state of the live room corresponding to at least one target video in the video data stream;
    所述获取模块,还被配置为在所述目标视频对应的直播间状态为正在直播的情况下,获取所述目标视频对应的直播间的直播数据流,在所述目标视频的播放界面展示所述直播数据流;The acquisition module is also configured to acquire the live data stream of the live room corresponding to the target video when the state of the live room corresponding to the target video is live, and display the live stream on the playback interface of the target video. Describe the live data stream;
    所述获取模块,还被配置为基于所述直播数据流获取所述直播间的至少一个待显示的目标对象;The obtaining module is further configured to obtain at least one target object to be displayed in the live broadcast room based on the live data stream;
    显示模块,被配置为在所述目标视频的播放界面显示所述目标对象。The display module is configured to display the target object on the playing interface of the target video.
  16. 根据权利要求15所述的直播数据处理装置,所述目标对象为虚拟资源,所述显示模块,还被配置为:According to the live data processing device according to claim 15, the target object is a virtual resource, and the display module is further configured to:
    在所述目标视频的播放界面显示所述虚拟资源及资源领取入口。The virtual resource and the resource claiming entrance are displayed on the playing interface of the target video.
  17. 根据权利要求16所述的直播数据处理装置,所述显示模块还被配置为:According to the live data processing device according to claim 16, the display module is further configured to:
    响应于对所述资源领取入口的触发操作,显示所述直播间的直播界面;In response to a trigger operation on the resource claiming entry, displaying the live broadcast interface of the live broadcast room;
    在所述直播界面中显示所述虚拟资源。The virtual resource is displayed in the live broadcast interface.
  18. 根据权利要求17所述的直播数据处理装置,所述显示模块还被配置为:According to the live data processing device according to claim 17, the display module is further configured to:
    在所述直播界面显示所述虚拟资源的数量和领取成功信息,所述领取成功信息表示对所述虚拟资源领取成功。The quantity of the virtual resources and information on successful collection are displayed on the live broadcast interface, and the information on successful collection indicates that the virtual resources are successfully collected.
  19. 根据权利要求18所述的直播数据处理装置,所述显示模块还被配置为:According to the live data processing device according to claim 18, the display module is further configured to:
    在所述直播界面显示所述虚拟资源的数量和领取控件;Displaying the quantity of the virtual resources and receiving controls on the live broadcast interface;
    响应于对所述领取控件的触发操作,在所述直播界面中显示领取成功信息,所述领取成功信息表示对所述虚拟资源领取成功。In response to a trigger operation on the claim control, display successful claim information on the live broadcast interface, where the claim success information indicates that the virtual resource has been successfully claimed.
  20. 根据权利要求18或19所述的直播数据处理装置,所述显示模块还被配置为:According to the live data processing device according to claim 18 or 19, the display module is further configured to:
    在对所述虚拟资源领取成功的情况下,在所述直播界面内显示所述虚拟资源的跳转控件;In the case of successfully receiving the virtual resource, displaying a jump control of the virtual resource in the live broadcast interface;
    响应于对所述跳转控件的触发操作,在所述直播界面中播放资源领取动画,所述资源领取动画表示所述虚拟资源移动至所述直播间的列表控件中,所述列表控件对应于物品列表,所述物品列表包括所述直播间中处于待交易状态的物品。In response to the trigger operation on the jump control, a resource claiming animation is played in the live broadcast interface, and the resource claiming animation indicates that the virtual resource is moved to the list control in the live broadcast room, and the list control corresponds to An item list, where the item list includes items in the live broadcast room that are in a state to be traded.
  21. 根据权利要求20所述的直播数据处理装置,所述显示模块还被配置为:According to the live data processing device according to claim 20, the display module is further configured to:
    响应于所述资源领取动画播放完毕,显示所述物品列表,所述物品列表的目标位置上显示有所述虚拟资源。In response to the end of playing the resource claiming animation, the item list is displayed, and the virtual resource is displayed at the target position of the item list.
  22. 根据权利要求16所述的直播数据处理装置,所述虚拟资源包括下述任一项:According to the live data processing device according to claim 16, the virtual resources include any of the following:
    第一虚拟资源,为所述直播间内与终端所登录账号匹配的虚拟资源;The first virtual resource is a virtual resource that matches the account registered in the terminal in the live broadcast room;
    第二虚拟资源,为所述直播间内与终端匹配的虚拟资源;The second virtual resource is a virtual resource matching the terminal in the live broadcast room;
    第三虚拟资源,为所述直播间内与系统时间匹配的虚拟资源;The third virtual resource is a virtual resource matching the system time in the live broadcast room;
    第四虚拟资源,为所述直播间内数额最大的虚拟资源;The fourth virtual resource is the virtual resource with the largest amount in the live broadcast room;
    所述显示模块还被配置为:The display module is further configured to:
    在所述目标视频的播放界面轮流显示各个所述虚拟资源及资源领取入口。Each of the virtual resources and resource collection entrances are displayed in turn on the playing interface of the target video.
  23. 根据权利要求15所述的直播数据处理装置,所述目标对象为物品对象,所述显示模块还被配置为:According to the live data processing device according to claim 15, the target object is an item object, and the display module is further configured to:
    在所述目标视频的播放界面显示所述物品对象及查看入口。and displaying the item object and the viewing entrance on the playing interface of the target video.
  24. 根据权利要求23所述的直播数据处理装置,所述显示模块还被配置为:According to the live data processing device according to claim 23, the display module is further configured to:
    响应于对所述查看入口的触发操作,显示所述直播间的直播界面;In response to a trigger operation on the view entry, displaying the live broadcast interface of the live broadcast room;
    在所述直播界面中显示物品列表,所述物品列表包括所述物品对象。An item list is displayed in the live broadcast interface, and the item list includes the item object.
  25. 根据权利要求23所述的直播数据处理装置,所述物品对象包括下述任一项:According to the live data processing device according to claim 23, the item object includes any of the following:
    第一物品对象,为所述直播间内正在直播介绍的物品;The first item object is the item being introduced live in the live broadcast room;
    第二物品对象,为所述直播间内在未来预设时间段内将进行直播介绍的物品;The second item object is an item that will be introduced live in the live broadcast room within a preset time period in the future;
    所述显示模块还被配置为:The display module is further configured to:
    在所述目标视频的播放界面轮流显示各个所述物品对象的查看入口。Viewing entries of each item object are displayed in turn on the playback interface of the target video.
  26. 根据权利要求25所述的直播数据处理装置,所述显示模块还被配置为:According to the live data processing device according to claim 25, the display module is further configured to:
    在所述目标视频的播放界面显示所述物品对象的直播状态,所述直播状态包括正在直播介绍和在未来预设时间段内将进行直播介绍。The live broadcast status of the item object is displayed on the playing interface of the target video, and the live broadcast status includes live introduction and live introduction in a preset time period in the future.
  27. 根据权利要求15所述的直播数据处理装置,所述显示模块还被配置为:According to the live data processing device according to claim 15, the display module is further configured to:
    在所述目标视频的播放界面展示所述直播数据流的时长超过第一时长的情况下,在所述目标视频的播放界面显示所述目标对象。In the case that the duration of displaying the live data stream on the playback interface of the target video exceeds a first duration, the target object is displayed on the playback interface of the target video.
  28. 根据权利要求27所述的直播数据处理装置,所述显示模块还被配置为:According to the live data processing device according to claim 27, the display module is further configured to:
    在所述目标对象的显示时长超过第二时长的情况下,取消显示所述目标对象或改变所述目标对象的显示方式,所述第二时长大于所述第一时长。When the display duration of the target object exceeds a second duration, cancel display of the target object or change a display manner of the target object, the second duration is longer than the first duration.
  29. 一种终端,所述终端包括:A terminal, the terminal comprising:
    一个或多个处理器;one or more processors;
    用于存储所述处理器可执行程序代码的存储器;memory for storing said processor executable program code;
    其中,所述程序代码的执行使得所述处理器:Wherein, the execution of the program code causes the processor to:
    获取视频数据流中的至少一个目标视频对应的直播间状态;Obtain the state of the live room corresponding to at least one target video in the video data stream;
    在所述目标视频对应的直播间状态为正在直播的情况下,获取所述目标视频对应的直播间的直播数据流,在所述目标视频的播放界面展示所述直播数据流;In the case that the state of the live room corresponding to the target video is being live, obtain the live data stream of the live room corresponding to the target video, and display the live data stream on the playback interface of the target video;
    基于所述直播数据流获取所述直播间的至少一个待显示的目标对象;Acquiring at least one target object to be displayed in the live broadcast room based on the live data stream;
    在所述目标视频的播放界面显示所述目标对象。The target object is displayed on the playing interface of the target video.
  30. 根据权利要求29所述的终端,所述目标对象为虚拟资源,其中,所述程序代码的执行进一步使得所述处理器:The terminal according to claim 29, wherein the target object is a virtual resource, wherein the execution of the program code further causes the processor to:
    在所述目标视频的播放界面显示所述虚拟资源及资源领取入口。The virtual resource and the resource claiming entrance are displayed on the playing interface of the target video.
  31. 根据权利要求30所述的终端,其中,所述程序代码的执行进一步使得所述处理器:The terminal of claim 30, wherein execution of the program code further causes the processor to:
    响应于对所述资源领取入口的触发操作,显示所述直播间的直播界面;In response to a trigger operation on the resource claiming entry, displaying the live broadcast interface of the live broadcast room;
    在所述直播界面中显示所述虚拟资源。The virtual resource is displayed in the live broadcast interface.
  32. 根据权利要求31所述的终端,其中,所述程序代码的执行进一步使得所述处理器:The terminal of claim 31, wherein execution of the program code further causes the processor to:
    在所述直播界面显示所述虚拟资源的数量和领取成功信息,所述领取成功信息表示对所述虚拟资源领取成功。The quantity of the virtual resources and information on successful collection are displayed on the live broadcast interface, and the information on successful collection indicates that the virtual resources are successfully collected.
  33. 根据权利要求32所述的终端,其中,所述程序代码的执行进一步使得所述处理器:The terminal of claim 32, wherein execution of the program code further causes the processor to:
    在所述直播界面显示所述虚拟资源的数量和领取控件;Displaying the quantity of the virtual resources and receiving controls on the live broadcast interface;
    响应于对所述领取控件的触发操作,在所述直播界面中显示领取成功信息,所述领取成功信息表示对所述虚拟资源领取成功。In response to a trigger operation on the claim control, display successful claim information on the live broadcast interface, where the claim success information indicates that the virtual resource has been successfully claimed.
  34. 根据权利要求32或33所述的终端,其中,所述程序代码的执行进一步使得所述处理器:The terminal according to claim 32 or 33, wherein execution of the program code further causes the processor to:
    在对所述虚拟资源领取成功的情况下,在所述直播界面内显示所述虚拟资源的跳转控件;In the case of successfully receiving the virtual resource, displaying a jump control of the virtual resource in the live broadcast interface;
    响应于对所述跳转控件的触发操作,在所述直播界面中播放资源领取动画,所述资源领取动画表示所述虚拟资源移动至所述直播间的列表控件中,所述列表控件对应于物品列表,所述物品列表包括所述直播间中处于待交易状态的物品。In response to the trigger operation on the jump control, a resource claiming animation is played in the live broadcast interface, and the resource claiming animation indicates that the virtual resource is moved to the list control in the live broadcast room, and the list control corresponds to An item list, where the item list includes items in the live broadcast room that are in a state to be traded.
  35. 根据权利要求34所述的终端,其中,所述程序代码的执行进一步使得所述处理器:The terminal of claim 34, wherein execution of the program code further causes the processor to:
    响应于所述资源领取动画播放完毕,显示所述物品列表,所述物品列表的目标位置上显示有所述虚拟资源。In response to the end of playing the resource claiming animation, the item list is displayed, and the virtual resource is displayed at the target position of the item list.
  36. 根据权利要求30所述的终端,所述虚拟资源包括下述任一项:According to the terminal according to claim 30, the virtual resources include any of the following:
    第一虚拟资源,为所述直播间内与终端所登录账号匹配的虚拟资源;The first virtual resource is a virtual resource that matches the account registered in the terminal in the live broadcast room;
    第二虚拟资源,为所述直播间内与终端匹配的虚拟资源;The second virtual resource is a virtual resource matching the terminal in the live broadcast room;
    第三虚拟资源,为所述直播间内与系统时间匹配的虚拟资源;The third virtual resource is a virtual resource matching the system time in the live broadcast room;
    第四虚拟资源,为所述直播间内数额最大的虚拟资源;The fourth virtual resource is the virtual resource with the largest amount in the live broadcast room;
    其中,所述程序代码的执行进一步使得所述处理器:Wherein, the execution of the program code further enables the processor to:
    在所述目标视频的播放界面轮流显示各个所述虚拟资源及资源领取入口。Each of the virtual resources and resource collection entrances are displayed in turn on the playing interface of the target video.
  37. 根据权利要求29所述的终端,所述目标对象为物品对象,其中,所述程序代码的执行进一步使得所述处理器:The terminal according to claim 29, the target object is an item object, wherein the execution of the program code further causes the processor to:
    在所述目标视频的播放界面显示所述物品对象及查看入口。and displaying the item object and the viewing entrance on the playing interface of the target video.
  38. 根据权利要求37所述的终端,其中,所述程序代码的执行进一步使得所述处理器:The terminal of claim 37, wherein execution of the program code further causes the processor to:
    响应于对所述查看入口的触发操作,显示所述直播间的直播界面;In response to a trigger operation on the view entry, displaying the live broadcast interface of the live broadcast room;
    在所述直播界面中显示物品列表,所述物品列表包括所述物品对象。An item list is displayed in the live broadcast interface, and the item list includes the item object.
  39. 根据权利要求37所述的终端,所述物品对象包括下述任一项:According to the terminal according to claim 37, the item object includes any of the following:
    第一物品对象,为所述直播间内正在直播介绍的物品;The first item object is the item being introduced live in the live broadcast room;
    第二物品对象,为所述直播间内在未来预设时间段内将进行直播介绍的物品;The second item object is an item that will be introduced live in the live broadcast room within a preset time period in the future;
    其中,所述程序代码的执行进一步使得所述处理器:Wherein, the execution of the program code further enables the processor to:
    在所述目标视频的播放界面轮流显示各个所述物品对象的查看入口。Viewing entries of each item object are displayed in turn on the playback interface of the target video.
  40. 根据权利要求39所述的终端,其中,所述程序代码的执行进一步使得所述处理器:The terminal of claim 39, wherein execution of the program code further causes the processor to:
    在所述目标视频的播放界面显示所述物品对象的直播状态,所述直播状态包括正在直播介绍和在未来预设时间段内将进行直播介绍。The live broadcast status of the item object is displayed on the playback interface of the target video, and the live broadcast status includes live introduction and live introduction in a preset time period in the future.
  41. 根据权利要求29所述的终端,其中,所述程序代码的执行进一步使得所述处理器:The terminal of claim 29, wherein execution of the program code further causes the processor to:
    在所述目标视频的播放界面展示所述直播数据流的时长超过第一时长的情况下,在所述目标视频的播放界面显示所述目标对象。In a case where the duration of displaying the live data stream on the playback interface of the target video exceeds a first duration, the target object is displayed on the playback interface of the target video.
  42. 根据权利要求41所述的终端,其中,所述程序代码的执行进一步使得所述处理器:The terminal of claim 41, wherein execution of the program code further causes the processor to:
    在所述目标对象的显示时长超过第二时长的情况下,取消显示所述目标对象或改变所述目标对象的显示方式,所述第二时长大于所述第一时长。When the display duration of the target object exceeds a second duration, cancel display of the target object or change the display manner of the target object, the second duration is longer than the first duration.
  43. 一种计算机可读存储介质,当所述计算机可读存储介质中的程序代码由计算机设备的处理器执行时,使得计算机设备能够执行如下操作:A computer-readable storage medium, when the program code in the computer-readable storage medium is executed by the processor of the computer device, the computer device can perform the following operations:
    获取视频数据流中的至少一个目标视频对应的直播间状态;Obtain the state of the live room corresponding to at least one target video in the video data stream;
    在所述目标视频对应的直播间状态为正在直播的情况下,获取所述目标视频对应的直播间的直播数据流,在所述目标视频的播放界面展示所述直播数据流;In the case that the state of the live room corresponding to the target video is being live, obtain the live data stream of the live room corresponding to the target video, and display the live data stream on the playback interface of the target video;
    基于所述直播数据流获取所述直播间的至少一个待显示的目标对象;Acquiring at least one target object to be displayed in the live broadcast room based on the live data stream;
    在所述目标视频的播放界面显示所述目标对象。The target object is displayed on the playing interface of the target video.
  44. 一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如下操作:A computer program product, including a computer program, the computer program is executed by a processor to achieve the following operations:
    获取视频数据流中的至少一个目标视频对应的直播间状态;Obtain the state of the live room corresponding to at least one target video in the video data stream;
    在所述目标视频对应的直播间状态为正在直播的情况下,获取所述目标视频对应的直播间的直播数据流,在所述目标视频的播放界面展示所述直播数据流;In the case that the state of the live room corresponding to the target video is being live, obtain the live data stream of the live room corresponding to the target video, and display the live data stream on the playback interface of the target video;
    基于所述直播数据流获取所述直播间的至少一个待显示的目标对象;Acquiring at least one target object to be displayed in the live broadcast room based on the live data stream;
    在所述目标视频的播放界面显示所述目标对象。The target object is displayed on the playing interface of the target video.
PCT/CN2021/135384 2021-05-25 2021-12-03 Live broadcast data processing method and terminal WO2022247208A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110574477.0A CN113473164A (en) 2021-05-25 2021-05-25 Live broadcast data processing method and device, computer equipment and medium
CN202110574477.0 2021-05-25

Publications (1)

Publication Number Publication Date
WO2022247208A1 true WO2022247208A1 (en) 2022-12-01

Family

ID=77871552

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/135384 WO2022247208A1 (en) 2021-05-25 2021-12-03 Live broadcast data processing method and terminal

Country Status (2)

Country Link
CN (1) CN113473164A (en)
WO (1) WO2022247208A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473164A (en) * 2021-05-25 2021-10-01 北京达佳互联信息技术有限公司 Live broadcast data processing method and device, computer equipment and medium
CN115878838A (en) * 2021-09-27 2023-03-31 北京有竹居网络技术有限公司 Video-based information display method and device, electronic equipment and storage medium
CN114025181B (en) * 2021-10-08 2023-09-19 北京达佳互联信息技术有限公司 Information display method and device, electronic equipment and storage medium
CN114245166B (en) * 2021-12-17 2024-02-06 北京达佳互联信息技术有限公司 Live broadcast data processing method, device, equipment and storage medium
CN114302160B (en) * 2021-12-29 2023-04-28 北京达佳互联信息技术有限公司 Information display method, device, computer equipment and medium
CN114727146B (en) * 2022-04-02 2024-03-12 北京字跳网络技术有限公司 Information processing method, device, equipment and storage medium
CN114707092A (en) * 2022-04-18 2022-07-05 北京字跳网络技术有限公司 Live content display method, device, equipment, readable storage medium and product

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113625A (en) * 2019-05-10 2019-08-09 广州酷狗计算机科技有限公司 Video broadcasting method, equipment and computer readable storage medium
CN111147881A (en) * 2019-12-31 2020-05-12 北京达佳互联信息技术有限公司 Electronic resource distribution method and device in live broadcast, storage medium and equipment
US20200366963A1 (en) * 2018-06-29 2020-11-19 Beijing Microlive Vision Technology Co., Ltd Video access methods and apparatuses, client, terminal, server and memory medium
CN112188299A (en) * 2020-10-13 2021-01-05 北京达佳互联信息技术有限公司 Virtual resource processing method, device, terminal and storage medium
CN112203108A (en) * 2020-10-12 2021-01-08 广州欢网科技有限责任公司 Method and equipment for identifying and switching to live video stream according to short video stream
CN112561632A (en) * 2020-12-08 2021-03-26 北京达佳互联信息技术有限公司 Information display method, device, terminal and storage medium
CN113473164A (en) * 2021-05-25 2021-10-01 北京达佳互联信息技术有限公司 Live broadcast data processing method and device, computer equipment and medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10477287B1 (en) * 2019-06-18 2019-11-12 Neal C. Fairbanks Method for providing additional information associated with an object visually present in media content
CN112272302A (en) * 2020-09-17 2021-01-26 北京达佳互联信息技术有限公司 Multimedia resource display method, device, system and storage medium
CN112822504B (en) * 2020-12-30 2023-07-25 北京达佳互联信息技术有限公司 Live broadcast room cover updating method and device, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200366963A1 (en) * 2018-06-29 2020-11-19 Beijing Microlive Vision Technology Co., Ltd Video access methods and apparatuses, client, terminal, server and memory medium
CN110113625A (en) * 2019-05-10 2019-08-09 广州酷狗计算机科技有限公司 Video broadcasting method, equipment and computer readable storage medium
CN111147881A (en) * 2019-12-31 2020-05-12 北京达佳互联信息技术有限公司 Electronic resource distribution method and device in live broadcast, storage medium and equipment
CN112203108A (en) * 2020-10-12 2021-01-08 广州欢网科技有限责任公司 Method and equipment for identifying and switching to live video stream according to short video stream
CN112188299A (en) * 2020-10-13 2021-01-05 北京达佳互联信息技术有限公司 Virtual resource processing method, device, terminal and storage medium
CN112561632A (en) * 2020-12-08 2021-03-26 北京达佳互联信息技术有限公司 Information display method, device, terminal and storage medium
CN113473164A (en) * 2021-05-25 2021-10-01 北京达佳互联信息技术有限公司 Live broadcast data processing method and device, computer equipment and medium

Also Published As

Publication number Publication date
CN113473164A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
WO2022247208A1 (en) Live broadcast data processing method and terminal
CN113015012B (en) Live broadcast data processing method, device, computer equipment and storage medium
CN112162671B (en) Live broadcast data processing method and device, electronic equipment and storage medium
CN112561632B (en) Information display method, device, terminal and storage medium
CN112672176B (en) Interaction method, device, terminal, server and medium based on virtual resources
WO2022088884A1 (en) Page display method and terminal
WO2022252540A1 (en) Live-streaming data processing method and apparatus
US11516303B2 (en) Method for displaying media resources and terminal
CN111327916B (en) Live broadcast management method, device and equipment based on geographic object and storage medium
WO2020134560A1 (en) Live broadcast room switching method and apparatus, and terminal, server and storage medium
WO2023000677A1 (en) Content item display method and apparatus
CN114125477B (en) Data processing method, data processing device, computer equipment and medium
US20220377157A1 (en) Method for displaying data, and computer device
CN113395566B (en) Video playing method and device, electronic equipment and computer readable storage medium
WO2023109037A1 (en) Interaction method based on live-streaming room, and electronic device
CN113891106A (en) Resource display method, device, terminal and storage medium based on live broadcast room
CN113867606A (en) Information display method and device, electronic equipment and storage medium
CN112533015A (en) Live broadcast interaction method, device, equipment and storage medium
CN114302160B (en) Information display method, device, computer equipment and medium
CN114238812B (en) Information display method and device, computer equipment and medium
CN113596499B (en) Live broadcast data processing method and device, computer equipment and medium
CN111382355A (en) Live broadcast management method, device and equipment based on geographic object and storage medium
CN112131473A (en) Information recommendation method, device, equipment and storage medium
CN112230822B (en) Comment information display method and device, terminal and storage medium
CN111967420A (en) Method, device, terminal and storage medium for acquiring detailed information

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE