WO2021139383A1 - 直播间礼物资源更新方法、装置、介质及电子设备 - Google Patents
直播间礼物资源更新方法、装置、介质及电子设备 Download PDFInfo
- Publication number
- WO2021139383A1 WO2021139383A1 PCT/CN2020/127270 CN2020127270W WO2021139383A1 WO 2021139383 A1 WO2021139383 A1 WO 2021139383A1 CN 2020127270 W CN2020127270 W CN 2020127270W WO 2021139383 A1 WO2021139383 A1 WO 2021139383A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- user
- client
- logged
- gift
- gift resource
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
- H04N21/2407—Monitoring of transmitted content, e.g. distribution time, number of downloads
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26258—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26291—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
Definitions
- the present disclosure relates to the network field, and more specifically, to a method, device, medium, and electronic equipment for updating gift resources in a live broadcast room.
- the gift-related information displayed in the live broadcast room of each client is directly displayed based on the local gift information of the client. Because there are some gift-giving animations in video format, they are relatively large. Therefore, whenever a new gift type goes online or changes to an existing gift type, the client needs to save the gift information corresponding to the new online gift or the changed gift in time.
- the client will update the local gift resource information according to the latest gift resource information in the server every time it starts, but such an update strategy can easily cause the peak usage period of the client to become gift resource information.
- the peak period is updated, so that the server needs to ensure that the client's use request can be responded to in a timely and accurate manner during the peak period, and it also needs to ensure that the client's gift resource information can be successfully updated, so the server load increases greatly.
- the update of the client’s gift resource information will also take up a large amount of bandwidth for resource downloads. When the bandwidth is fixed, it will cause the user to have a problem with the network when using the client during the peak period. The bandwidth can be used. Under changing circumstances, in order to ensure the smoothness of the client's network, the cost of bandwidth used will increase greatly.
- the purpose of the present disclosure is to provide a method, device, medium and electronic device for updating gift resources in a live broadcast room, by determining whether the operation of a logged-in user in a client requesting a gift resource update satisfies preset conditions, and logging in the user in the client If the operation does not meet the preset conditions, it is judged whether the user is a designated user.
- Clients that need to watch the live broadcast can be filtered out to update the gift resource in the live broadcast room, reducing the number of clients that need to update the gift resource , And then realize the control of server load and resource download bandwidth, avoid the situation of server overload, uneven bandwidth usage distribution or excessive bandwidth cost.
- the present disclosure provides a method for updating gift resources in a live broadcast room, which is applied to a server, and the method includes:
- the gift resource list request includes an event trigger condition for sending the gift resource list request and a user ID of a logged-in user in the client;
- the event triggering condition is a preset condition
- a gift resource list is sent to the client, the gift resource list includes information for indicating the gift resource to be updated, and the preset condition is one or There are multiple, and the preset conditions include at least entering a live broadcast room;
- the event triggering condition is not the preset condition, it is determined whether the logged-in user in the client is a designated user, and in the case that the logged-in user in the client is a designated user, report to the client Sending the gift resource list;
- the condition that triggers the client determines the condition that triggers the client to send the gift resource list request, so as to determine whether the operation of the logged-in user in the client requesting the gift resource update satisfies the preset condition, and can be in the client If the operation of the logged-in user does not meet the preset conditions, it is judged whether the user is a designated user. If any of the above two judgment conditions are satisfied, the client will be issued with information including the gift resource to be updated.
- the gift resource update between time reduces the number of clients that need to update the gift resource, thereby realizing the control of server load and resource download bandwidth, avoiding server overload, uneven bandwidth usage distribution, or excessive bandwidth cost.
- the determining whether the logged-in user in the client is a designated user includes:
- the user logged in in the client is determined to be the designated user.
- the determining whether the logged-in user in the client is a designated user includes:
- the user logged in in the client is determined to be the designated user.
- the number of updated clients can be used to control server load and resource download bandwidth, avoiding server overload, uneven bandwidth usage, or excessive bandwidth costs.
- the determining whether the logged-in user in the client is a designated user includes:
- the user logged in in the client is determined to be the designated user.
- the number of clients that update the gift resource can further control the server load and resource download bandwidth, avoiding server overload, uneven bandwidth usage, or excessive bandwidth costs.
- the present disclosure provides a device for updating gift resources in a live broadcast room, and the device includes:
- a receiving module configured to receive a gift resource list request sent by a client, where the gift resource list request includes an event trigger condition for sending the gift resource list request and a user ID of a logged-in user in the client;
- the first sending module is configured to send a gift resource list to the client when the event triggering condition is a preset condition, and the gift resource list includes information for indicating gift resources to be updated, so
- the preset conditions are one or more;
- the second sending module is configured to determine whether the logged-in user in the client is a designated user when the event triggering condition is not the preset condition, and the logged-in user in the client is the designated user's Send the gift resource list to the client in a case;
- the update module is configured to receive a gift resource update request sent by the client in response to the gift resource list, and send a corresponding gift resource to the client in response to the gift resource update request.
- the second sending module includes:
- the first acquisition sub-module is configured to acquire, according to the user ID, the cumulative duration of watching the live broadcast by the logged-in user in the client during the first preset time period;
- the first determining sub-module is configured to determine the logged-in user in the client as the designated user when the accumulated time length is greater than the preset time length.
- the second sending module includes:
- the second acquisition sub-module is configured to acquire, according to the user ID, the cumulative number of times that the logged-in user in the client enters the live broadcast room within the second preset time period;
- the second determining sub-module is configured to determine the logged-in user in the client as the designated user when the cumulative number of times is greater than the preset number of times.
- the second sending module includes:
- the third obtaining sub-module is configured to obtain the total value of gifts given by the logged-in user in the client in any live broadcast room within the third preset time period according to the user ID;
- the third determining sub-module is configured to determine the logged-in user in the client as the designated user when the total value is greater than the preset value.
- the present disclosure provides an electronic device including: a storage device on which a computer program is stored; and a processing device for executing the computer program in the storage device to implement the method described in the first aspect A step of.
- the present disclosure provides a computer-readable medium having a computer program stored thereon, and when the program is executed by a processing device, the steps of the method described in the first aspect are implemented.
- the present disclosure provides a computer program including program code, and when the computer runs the computer program, the program code is executed to implement the steps of the method described in the first aspect.
- the present disclosure can judge the condition that triggers the client to send the gift resource list request, so as to determine whether the operation of the logged-in user in the client requesting the gift resource update satisfies the preset condition, and can be used in the client When the operation of the logged-in user in the terminal does not meet the preset conditions, it is judged whether the user is a designated user.
- the client will be issued to the client including a gift resource for indicating to be updated
- the gift resource list of the information so that the client can update the gift resource updated in the server, so that the preset conditions and the specified user can be set to filter out the clients that need to watch the live broadcast.
- the gift resource update in the live broadcast room reduces the number of clients that need to update the gift resource, thereby realizing the control of server load and resource download bandwidth, avoiding server overload, uneven bandwidth usage, or excessive bandwidth costs happening.
- Fig. 1 is a flowchart showing a method for updating gift resources in a live broadcast room according to an exemplary embodiment of the present disclosure
- Fig. 2 is a flowchart showing a method for updating gift resources in a live broadcast room according to another exemplary embodiment of the present disclosure
- Fig. 3 is a flowchart showing a method for updating gift resources in a live broadcast room according to another exemplary embodiment of the present disclosure
- Fig. 4 is a flowchart showing a method for updating gift resources in a live broadcast room according to another exemplary embodiment of the present disclosure
- Fig. 5 is a structural block diagram showing a device for updating gift resources in a live broadcast room according to an exemplary embodiment of the present disclosure
- Fig. 6 shows a schematic structural diagram of an electronic device suitable for implementing embodiments of the present disclosure.
- Fig. 1 is a flowchart showing a method for updating gift resources in a live broadcast room according to an exemplary embodiment of the present disclosure. Applied to a server, as shown in FIG. 1, the method includes steps 101 to 104.
- a gift resource list request sent by a client is received.
- the gift resource list request includes an event trigger condition for sending the gift resource list request and a user ID of a logged-in user in the client.
- the event triggering the request for sending the gift resource list can be triggered by various conditions, for example, the client can be cold-started, entering the live broadcast room or refreshing the live broadcast room, etc.
- the event triggering condition of the event needs to be included in the gift resource list request.
- the gift resource list request also needs to include the user ID of the logged-in user in the client.
- the gift resource list request is used to request the latest live broadcast room gift resource list from the server.
- a gift resource list is sent to the client.
- the gift resource list includes information for indicating the gift resource to be updated, and the preset condition is one or more.
- the preset conditions include at least entering the live broadcast room.
- the preset conditions include at least entering the live broadcast room, so that it can be ensured that the client with a clear need to enter the live broadcast room can receive the gift resource list including the information indicating the gift resource to be updated, so as to realize the access to the live broadcast room. Update of gift resources.
- preset conditions that can trigger the client to send the gift resource list request can be set according to the judgment of whether the client has the need to enter the live broadcast room, so as to ensure that the client who needs to watch the live broadcast can make gifts as much as possible.
- the resource update for example, the preset condition may also include refreshing the live broadcast room, etc.
- step 103 when the event triggering condition is not a preset condition, it is determined whether the logged-in user in the client is a designated user, and a gift resource list is sent to the client when the logged-in user in the client is a designated user.
- the event triggering condition of the request for the gift resource list sent by the client is not the preset condition, it can also be determined whether the user ID of the logged-in user in the client included in the request for the gift resource list is a specified user. Determine whether the gift resource list needs to be sent to the client.
- the designated user may be a pre-set part of users, so that the number of the designated users can be used to control the number of clients that update the gift resource at the same time.
- a gift resource update request sent by the client in response to the gift resource list is received, and a corresponding gift resource is sent to the client in response to the gift resource update request.
- the client After sending the gift resource list including information indicating the gift resource to be updated to the client, the client will send a gift resource update request to the server in the case of determining that there is a gift resource to be updated to request downloading from the server. Updated gift resources.
- the server After receiving the gift resource update request, the server can respond to the request and send the gift resource that needs to be updated in the client to the client.
- the gift resource requested to be updated by the client after receiving the gift resource list may include the gift resource to be updated indicated in the gift resource list, or may include the gift resource indicated in the gift resource list.
- the gift resources to be updated include other gift resources. For example, when the client has not been started for a long time or the gift resource stored in the client is damaged, it may happen that the gift resource requested to be updated not only includes the gift resource to be updated indicated in the gift resource list.
- the client it is possible to judge the condition that triggers the client to send the gift resource list request, so as to determine whether the operation of the logged-in user in the client requesting the gift resource update satisfies the preset condition, and can be in the client If the operation of the logged-in user does not meet the preset conditions, it is judged whether the user is a designated user. If any of the above two judgment conditions are satisfied, the client will be issued with information including the gift resource to be updated.
- the gift resource update between time reduces the number of clients that need to update the gift resource, thereby realizing the control of server load and resource download bandwidth, avoiding server overload, uneven bandwidth usage distribution, or excessive bandwidth cost.
- Fig. 2 is a flowchart showing a method for updating gift resources in a live broadcast room according to an exemplary embodiment of the present disclosure. As shown in FIG. 2, the method includes step 201 and step 202 in addition to step 101, step 102, and step 104 as shown in FIG.
- the accumulated duration of watching the live broadcast in the first preset time period of the logged-in user in the client is obtained according to the user ID.
- the first preset time period may be, for example, the time in the past 30 days, and the accumulated time of watching the live broadcast may be, for example, the total viewing time of the logged-in user in the client in any live broadcast room in the past 30 days.
- the first preset time period can be set to, for example, a time period close to the current time. In this way, the accumulated time spent watching the live broadcast acquired during the first preset time period can more appropriately reflect the logged-in user in the client The habit of watching live broadcasts.
- step 202 when the accumulated time is greater than the preset time, the logged-in user in the client is determined as the designated user, and a gift resource list is sent to the client when the logged-in user in the client is the designated user.
- the setting of the preset duration may be associated with the setting of the length of the first preset period. For example, the longer the first preset period is, the longer the preset duration may be set.
- the logged-in user in the client is determined to be the designated user , And send the gift resource list to the client so that the client can update the gift resource.
- Fig. 3 is a flowchart showing a method for updating gift resources in a live broadcast room according to an exemplary embodiment of the present disclosure. As shown in FIG. 3, the method includes step 301 and step 302 in addition to step 101, step 102, and step 104 shown in FIG.
- the cumulative number of times that the logged-in user in the client enters the live broadcast room within the second preset time period is obtained according to the user ID.
- the second preset time period can be the same time period as the above first preset time period, or it can be a different time period.
- the second preset time period can also be, for example, the time in the past 30 days.
- the cumulative number of times the user has entered the live broadcast room namely It can be, for example, the total number of times the logged-in user in the client enters any live broadcast room in the past 30 days.
- the second preset time period can also be set to, for example, a time period closer to the current time. In this way, the cumulative number of times to enter the live broadcast room acquired during the second preset time period can more closely reflect the customer The habit of watching live broadcast of the logged-in user in the terminal.
- step 302 if the cumulative number of times is greater than the preset number of times, the logged-in user in the client is determined to be the designated user, and in the case that the logged-in user in the client is the designated user, a gift resource list is sent to the client.
- the setting of the preset number of times may be associated with the setting of the length of the second preset period of time. For example, the longer the second preset period of time, the greater the preset number of times may be set.
- the logged-in user in the client is determined to be the designated The user sends the gift resource list to the client, so that the client can update the gift resource.
- Fig. 4 is a flowchart showing a method for updating gift resources in a live broadcast room according to an exemplary embodiment of the present disclosure. As shown in FIG. 4, the method includes step 401 and step 402 in addition to step 101, step 102, and step 104 shown in FIG.
- step 401 when the event triggering condition is not a preset condition, the total value of gifts given by the logged-in user in the client terminal in any live broadcast room during the third preset time period is obtained according to the user ID.
- the third preset time period may be the same as any one or both of the above-mentioned first preset time period and second preset time period, or may be different from the first preset time period and the second preset time period .
- the third preset time period can also be, for example, the time in the past 30 days.
- the total value of the gifts sent in any live broadcast room can be considered, for example, that the logged-in user in the client has been in any live broadcast room within the past 30 days The total value of the gift given.
- the third preset time period can also be set to, for example, a time period that is closer to the current time, so that the total value of gifts obtained in any live broadcast room during the third preset time period can be more appropriately reflected The habit of the logged-in user in the client to watch the live broadcast.
- step 402 in the case that the total value is greater than the preset value, the logged-in user in the client is determined as the designated user, and in the case that the logged-in user in the client is the designated user, a gift resource list is sent to the client.
- the setting of the preset value may be associated with the setting of the length of the third preset period. For example, the longer the third preset period is, the higher the preset value may be set.
- the logged-in user in the client is It is determined as the designated user, and the gift resource list is sent to the client, so that the client can update the gift resource.
- Fig. 5 is a structural block diagram of a device 100 for updating gift resources in a live broadcast room according to an exemplary embodiment of the present disclosure.
- the device 100 includes: a receiving module 110 for receiving a gift resource list request sent by a client.
- the gift resource list request includes the event trigger condition for sending the gift resource list request and the user who is logged in to the client.
- the first sending module 120 used to send a gift resource list to the client when the event triggering condition is a preset condition, the gift resource list includes information for indicating the gift resource to be updated, and the preset condition is One or more, the preset conditions include at least entering the live broadcast room;
- the second sending module 130 is used to determine whether the logged-in user in the client is a designated user when the event triggering condition is not a preset condition, and in the client Sending a gift resource list to the client when the user logged in as a designated user;
- the update module 140 is used to receive the gift resource update request sent by the client in response to the gift resource list, and send the gift resource update request to the client in response to the gift resource update request The corresponding gift resource.
- the client it is possible to judge the condition that triggers the client to send the gift resource list request, so as to determine whether the operation of the logged-in user in the client requesting the gift resource update satisfies the preset condition, and can be in the client If the operation of the logged-in user does not meet the preset conditions, it is judged whether the user is a designated user. If any of the above two judgment conditions are satisfied, the client will be issued with information including the gift resource to be updated.
- the gift resource update between time reduces the number of clients that need to update the gift resource, thereby realizing the control of server load and resource download bandwidth, avoiding server overload, uneven bandwidth usage distribution, or excessive bandwidth cost.
- the second sending module 120 includes: a first acquisition sub-module, configured to acquire, according to the user ID, the cumulative duration of watching the live broadcast by the logged-in user in the client during the first preset time period; the first determining sub-module The module is used to determine the logged-in user in the client as the designated user when the accumulated time is greater than the preset time.
- the second sending module 120 includes: a second acquisition sub-module, configured to acquire the cumulative number of times that the logged-in user in the client enters the live broadcast room within the second preset time period according to the user ID; the second determination The sub-module is used to determine the logged-in user in the client as the designated user when the accumulated number of times is greater than the preset number of times.
- the second sending module 120 includes: a third obtaining sub-module, configured to obtain the total value of gifts given by the logged-in user in the client in any live broadcast room within the third preset time period according to the user ID ;
- the third determining sub-module is used to determine the logged-in user in the client as the designated user when the total value is greater than the preset value.
- Terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (e.g. Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc.
- the electronic device shown in FIG. 6 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
- the electronic device 600 may include a processing device (such as a central processing unit, a graphics processor, etc.) 601, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 602 or from a storage device 608.
- the program in the memory (RAM) 603 executes various appropriate actions and processing.
- various programs and data required for the operation of the electronic device 600 are also stored.
- the processing device 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604.
- An input/output (I/O) interface 605 is also connected to the bus 604.
- the following devices can be connected to the I/O interface 605: including input devices 606 such as touch screens, touch pads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; including, for example, liquid crystal displays (LCD), speakers, vibration An output device 607 such as a device; a storage device 608 such as a magnetic tape, a hard disk, etc.; and a communication device 609.
- the communication device 609 may allow the electronic device 600 to perform wireless or wired communication with other devices to exchange data.
- FIG. 6 shows an electronic device 600 having various devices, it should be understood that it is not required to implement or have all of the illustrated devices. It may be implemented alternatively or provided with more or fewer devices.
- an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer readable medium, and the computer program contains program code for executing the method shown in the flowchart.
- the computer program may be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602.
- the processing device 601 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
- the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
- the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above.
- Computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable removable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein.
- This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
- the computer-readable signal medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
- the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
- any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol) can be used to communicate, and it can communicate with any form or medium of digital data (for example, Communication network) interconnection.
- Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (for example, the Internet), and end-to-end networks (for example, ad hoc end-to-end networks), as well as any currently known or future research and development network of.
- the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
- the above-mentioned computer-readable medium carries one or more programs.
- the electronic device receives a gift resource list request sent by the client, and the gift resource list request includes sending a gift
- the event trigger condition of the resource list request and the user ID of the logged-in user in the client when the event trigger condition is a preset condition, a gift resource list is sent to the client, and the gift resource list includes the gift resource to indicate to be updated
- the preset conditions are one or more, and the preset conditions include at least entering the live broadcast room; when the event triggering condition is not the preset condition, determine whether the logged-in user in the client is a designated user, and in the client If the logged-in user is a designated user, send a gift resource list to the client; receive the gift resource update request sent by the client in response to the gift resource list, and send the corresponding gift resource to the client in response to the gift resource update request.
- the computer program code used to perform the operations of the present disclosure can be written in one or more programming languages or a combination thereof.
- the above-mentioned programming languages include but are not limited to object-oriented programming languages such as Java, Smalltalk, C++, and Including conventional procedural programming languages-such as "C" language or similar programming languages.
- the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
- the remote computer can be connected to the user’s computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to Connect via the Internet).
- LAN local area network
- WAN wide area network
- each block in the flowchart or block diagram may represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logical function Executable instructions.
- the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown in succession can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved.
- each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
- the modules involved in the embodiments described in the present disclosure can be implemented in software or hardware.
- the name of the module does not constitute a limitation on the module itself under certain circumstances.
- the receiving module can also be described as "a module that receives a gift resource list request sent by a client".
- exemplary types of hardware logic components include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logical device (CPLD) and so on.
- FPGA Field Programmable Gate Array
- ASIC Application Specific Integrated Circuit
- ASSP Application Specific Standard Product
- SOC System on Chip
- CPLD Complex Programmable Logical device
- a machine-readable medium may be a tangible medium, which may contain or store a program for use by the instruction execution system, apparatus, or device or in combination with the instruction execution system, apparatus, or device.
- the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
- the machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing.
- machine-readable storage media would include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
- RAM random access memory
- ROM read-only memory
- EPROM or flash memory erasable programmable read-only memory
- CD-ROM compact disk read only memory
- magnetic storage device or any suitable combination of the foregoing.
- Example 1 provides a method for updating gift resources in a live broadcast room, which is applied to a server, and the method includes:
- the gift resource list request includes an event trigger condition for sending the gift resource list request and a user ID of a logged-in user in the client;
- the event triggering condition is a preset condition
- a gift resource list is sent to the client, the gift resource list includes information for indicating the gift resource to be updated, and the preset condition is one or Multiple
- the event triggering condition is not the preset condition, it is determined whether the logged-in user in the client is a designated user, and in the case that the logged-in user in the client is a designated user, report to the client Sending the gift resource list;
- Example 2 provides the method of Example 1.
- the determining whether the logged-in user in the client is a designated user includes:
- the user logged in in the client is determined to be the designated user.
- Example 3 provides the method of Example 1.
- the determining whether the logged-in user in the client is a designated user includes:
- the user logged in in the client is determined to be the designated user.
- Example 4 provides the method of Example 1.
- the determining whether the logged-in user in the client is a designated user includes:
- the user logged in in the client is determined to be the designated user.
- Example 5 provides a device for updating gift resources in a live broadcast room, which is applied to a server.
- the device includes a receiving module for receiving a gift resource list request sent by a client.
- the gift resource list request includes the event trigger condition for sending the gift resource list request and the user ID of the logged-in user in the client;
- the first sending module is configured to send a gift resource list to the client when the event triggering condition is a preset condition, and the gift resource list includes information for indicating gift resources to be updated, so
- the preset conditions are one or more;
- the second sending module is configured to determine whether the logged-in user in the client is a designated user when the event triggering condition is not the preset condition, and the logged-in user in the client is the designated user's Send the gift resource list to the client in a case;
- the update module is configured to receive a gift resource update request sent by the client in response to the gift resource list, and send a corresponding gift resource to the client in response to the gift resource update request.
- Example 6 provides the apparatus of Example 5, and the second sending module includes: a first obtaining sub-module, configured to obtain, according to the user ID, the user status of the logged-in user in the client The cumulative duration of watching live broadcast in the first preset time period;
- the first determining sub-module is configured to determine the logged-in user in the client as the designated user when the accumulated time length is greater than the preset time length.
- Example 7 provides the apparatus of Example 5, and the second sending module includes:
- the second acquisition sub-module is configured to acquire, according to the user ID, the cumulative number of times that the logged-in user in the client enters the live broadcast room within the second preset time period;
- the second determining sub-module is configured to determine the logged-in user in the client as the designated user when the cumulative number of times is greater than the preset number of times.
- Example 8 provides the apparatus of Example 5.
- the second sending module includes: a third acquisition sub-module, configured to acquire the user status of the logged-in user in the client according to the user ID. The total value of gifts given in any live broadcast room during the third preset time period;
- the third determining sub-module is configured to determine the logged-in user in the client as the designated user when the total value is greater than the preset value.
- Example 9 provides a computer-readable medium having a computer program stored thereon, and when the program is executed by a processing device, the steps of the method described in any one of Examples 1-4 are implemented. .
- Example 10 provides an electronic device, including: a storage device on which a computer program is stored; and a processing device for executing the computer program in the storage device to Implement the steps of the method described in any one of Examples 1-4.
- a computer program including program code.
- the program code is executed to implement the method described in any one of Examples 1-4 A step of.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
Claims (11)
- 一种直播间礼物资源更新方法,其特征在于,应用于服务器,所述方法包括:接收客户端发送的礼物资源列表请求,所述礼物资源列表请求中包括发送所述礼物资源列表请求的事件触发条件和所述客户端中登录用户的用户ID;在所述事件触发条件为预设条件的情况下,向所述客户端发送礼物资源列表,所述礼物资源列表中包括用于指示待更新的礼物资源的信息,所述预设条件为一个或多个,所述预设条件至少包括进入直播间;在所述事件触发条件不为所述预设条件的情况下,确定所述客户端中登录用户是否为指定用户,并在所述客户端中登录用户为指定用户的情况下向所述客户端发送所述礼物资源列表;接收所述客户端响应于所述礼物资源列表所发送的礼物资源更新请求,并响应于所述礼物资源更新请求向所述客户端发送相应的礼物资源。
- 根据权利要求1所述的方法,其特征在于,所述确定所述客户端中登录用户是否为指定用户包括:根据所述用户ID获取所述客户端中登录用户在第一预设时段内观看直播的累计时长;在所述累计时长大于预设时长的情况下,将所述客户端中登录用户确定为所述指定用户。
- 根据权利要求1所述的方法,其特征在于,所述确定所述客户端中登录用户是否为指定用户包括:根据所述用户ID获取所述客户端中登录用户在第二预设时段内进入直播间的累计次数;在所述累计次数大于预设次数的情况下,将所述客户端中登录用户确定为所述指定用户。
- 根据权利要求1所述的方法,其特征在于,所述确定所述客户端中登录用户是否为指定用户包括:根据所述用户ID获取所述客户端中登录用户在第三预设时段内在任意直播间中送出的礼物的总价值;在所述总价值大于预设价值的情况下,将所述客户端中登录用户确定为所述指定用户。
- 一种直播间礼物资源更新装置,其特征在于,应用于服务器,所述装置包括:接收模块,用于接收客户端发送的礼物资源列表请求,所述礼物资源列表请求中包括发送所述礼物资源列表请求的事件触发条件和所述客户端中登录用户的用户ID;第一发送模块,用于在所述事件触发条件为预设条件的情况下,向所述客户端发送礼物资源列表,所述礼物资源列表中包括用于指示待更新的礼物资源的信息,所述预设条件为一个或多个;第二发送模块,用于在所述事件触发条件不为所述预设条件的情况下,确定所述客户端中登录用户是否为指定用户,并在所述客户端中登录用户为指定用户的情况下向所述客户端发送所述礼物资源列表;更新模块,用于接收所述客户端响应于所述礼物资源列表所发送的礼物资源更新请求,并响应于所述礼物资源更新请求向所述客户端发送相应的礼物资源。
- 根据权利要求5所述的装置,其特征在于,所述第二发送模块包括:第一获取子模块,用于根据所述用户ID获取所述客户端中登录用户在第一预设时段内观看直播的累计时长;第一确定子模块,用于在所述累计时长大于预设时长的情况下,将所述客户端中登录用户确定为所述指定用户。
- 根据权利要求5所述的装置,其特征在于,所述第二发送模块包括:第二获取子模块,用于根据所述用户ID获取所述客户端中登录用户在第二预设时段内进入直播间的累计次数;第二确定子模块,用于在所述累计次数大于预设次数的情况下,将所述客户端中登录用户确定为所述指定用户。
- 根据权利要求5所述的装置,其特征在于,所述第二发送模块包括:第三获取子模块,用于根据所述用户ID获取所述客户端中登录用户在第三预设时段内在任意直播间中送出的礼物的总价值;第三确定子模块,用于在所述总价值大于预设价值的情况下,将所述客户端中登录用户确定为所述指定用户。
- 一种计算机可读介质,其上存储有计算机程序,其特征在于,该程序被处理装置执行时实现权利要求1-4中任一项所述方法的步骤。
- 一种电子设备,其特征在于,包括:存储装置,其上存储有计算机程序;处理装置,用于执行所述存储装置中的所述计算机程序,以实现权利要求1-4中任一项所述方法的步骤。
- 一种计算机程序,其特征在于,包括程序代码,当计算机运行所述计算机程序时,所述程序代码执行如权利要求1-4任一项所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010014722.8 | 2020-01-07 | ||
CN202010014722.8A CN111246228B (zh) | 2020-01-07 | 2020-01-07 | 直播间礼物资源更新方法、装置、介质及电子设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021139383A1 true WO2021139383A1 (zh) | 2021-07-15 |
Family
ID=70864825
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/127270 WO2021139383A1 (zh) | 2020-01-07 | 2020-11-06 | 直播间礼物资源更新方法、装置、介质及电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111246228B (zh) |
WO (1) | WO2021139383A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113704280A (zh) * | 2021-08-26 | 2021-11-26 | 上海哔哩哔哩科技有限公司 | 数据列表更新方法及装置 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111246228B (zh) * | 2020-01-07 | 2022-12-06 | 北京字节跳动网络技术有限公司 | 直播间礼物资源更新方法、装置、介质及电子设备 |
CN111866595B (zh) * | 2020-07-24 | 2022-09-06 | 广州市百果园信息技术有限公司 | 虚拟礼物列表生成方法、虚拟礼物推荐方法及装置 |
CN112188299B (zh) * | 2020-10-13 | 2022-08-23 | 北京达佳互联信息技术有限公司 | 虚拟资源处理方法、装置、终端及存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106651497A (zh) * | 2016-09-29 | 2017-05-10 | 广州华多网络科技有限公司 | 一种发送礼物标识列表的方法和装置 |
CN106790388A (zh) * | 2016-11-24 | 2017-05-31 | 北京奇虎科技有限公司 | 一种进行数据更新的方法和移动终端 |
CN107222753A (zh) * | 2017-05-25 | 2017-09-29 | 北京潘达互娱科技有限公司 | 虚拟礼物加载方法及装置 |
CN109743342A (zh) * | 2018-02-12 | 2019-05-10 | 比亚迪股份有限公司 | 终端的更新方法、服务器及终端 |
US20190190970A1 (en) * | 2017-12-18 | 2019-06-20 | Facebook, Inc. | Systems and methods for providing device-based feedback |
CN111246228A (zh) * | 2020-01-07 | 2020-06-05 | 北京字节跳动网络技术有限公司 | 直播间礼物资源更新方法、装置、介质及电子设备 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105978888B (zh) * | 2016-06-20 | 2019-05-14 | 郝运峰 | 一种直播间虚拟礼物推荐方法和*** |
CN106709762A (zh) * | 2016-12-26 | 2017-05-24 | 乐蜜科技有限公司 | 直播间中虚拟礼物的推荐方法、装置及移动终端 |
CN107085540A (zh) * | 2017-03-22 | 2017-08-22 | 北京潘达互娱科技有限公司 | 虚拟礼物展示方法及装置 |
CN109743588B (zh) * | 2019-01-08 | 2021-09-21 | 广州虎牙信息科技有限公司 | 直播间虚拟礼物列表生成方法、装置、服务器及存储介质 |
CN110351572B (zh) * | 2019-07-10 | 2022-05-20 | 广州虎牙科技有限公司 | 直播间信息的更新方法、装置、设备及存储介质 |
-
2020
- 2020-01-07 CN CN202010014722.8A patent/CN111246228B/zh active Active
- 2020-11-06 WO PCT/CN2020/127270 patent/WO2021139383A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106651497A (zh) * | 2016-09-29 | 2017-05-10 | 广州华多网络科技有限公司 | 一种发送礼物标识列表的方法和装置 |
CN106790388A (zh) * | 2016-11-24 | 2017-05-31 | 北京奇虎科技有限公司 | 一种进行数据更新的方法和移动终端 |
CN107222753A (zh) * | 2017-05-25 | 2017-09-29 | 北京潘达互娱科技有限公司 | 虚拟礼物加载方法及装置 |
US20190190970A1 (en) * | 2017-12-18 | 2019-06-20 | Facebook, Inc. | Systems and methods for providing device-based feedback |
CN109743342A (zh) * | 2018-02-12 | 2019-05-10 | 比亚迪股份有限公司 | 终端的更新方法、服务器及终端 |
CN111246228A (zh) * | 2020-01-07 | 2020-06-05 | 北京字节跳动网络技术有限公司 | 直播间礼物资源更新方法、装置、介质及电子设备 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113704280A (zh) * | 2021-08-26 | 2021-11-26 | 上海哔哩哔哩科技有限公司 | 数据列表更新方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN111246228A (zh) | 2020-06-05 |
CN111246228B (zh) | 2022-12-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021139383A1 (zh) | 直播间礼物资源更新方法、装置、介质及电子设备 | |
CN109582310B (zh) | 数据处理方法、装置、电子设备及计算机可读存储介质 | |
WO2021082649A1 (zh) | 榜单更新方法、装置、可读介质和电子设备 | |
WO2021135648A1 (zh) | 直播间礼物列表配置方法、装置、介质及电子设备 | |
WO2020186928A1 (zh) | 数据分享方法、装置、电子设备及计算机可读存储介质 | |
WO2020248745A1 (zh) | 用户界面中字符的显示方法、装置、电子设备及存储介质 | |
CN112272226B (zh) | 图片加载方法、装置及可读存储介质 | |
WO2021073205A1 (zh) | 视频处理方法、装置、存储介质及电子设备 | |
CN111309415B (zh) | 应用程序的用户界面ui信息处理方法、装置及电子设备 | |
WO2023000888A1 (zh) | 云应用的实现方法、装置、电子设备和存储介质 | |
WO2021197161A1 (zh) | 图标更新方法、装置和电子设备 | |
WO2023174013A1 (zh) | 显存分配方法、装置、介质及电子设备 | |
CN111432001B (zh) | 用于跳转场景的方法、装置、电子设备和计算机可读介质 | |
WO2024022403A1 (zh) | 任务的处理方法、装置、设备及存储介质 | |
CN110768861B (zh) | 一种获取超时阈值的方法、装置、介质和电子设备 | |
WO2024055819A1 (zh) | 页面展示方法、装置、存储介质和电子设备 | |
WO2023179575A1 (zh) | 一种数据处理方法及装置 | |
WO2020186927A1 (zh) | 数据分享方法、装置、设备及介质 | |
CN114187169B (zh) | 视频特效包的生成方法、装置、设备及存储介质 | |
WO2022242470A1 (zh) | Cdn的调度方法、装置、设备及存储介质 | |
CN115022106B (zh) | 一种群信息处理方法、装置、设备及介质 | |
CN111444457B (zh) | 数据发布方法、装置、存储介质及电子设备 | |
WO2023116522A1 (zh) | 进程管理方法、装置、存储介质以及电子设备 | |
WO2023098611A1 (zh) | 特效的显示方法、装置、设备及存储介质 | |
CN115379243B (zh) | Cdn的调度方法、装置、设备及存储介质 |
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: 20912178 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20912178 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 06-02-2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20912178 Country of ref document: EP Kind code of ref document: A1 |