WO2020224482A1 - 针对虚拟礼物的消息推送方法及电子设备 - Google Patents

针对虚拟礼物的消息推送方法及电子设备 Download PDF

Info

Publication number
WO2020224482A1
WO2020224482A1 PCT/CN2020/087396 CN2020087396W WO2020224482A1 WO 2020224482 A1 WO2020224482 A1 WO 2020224482A1 CN 2020087396 W CN2020087396 W CN 2020087396W WO 2020224482 A1 WO2020224482 A1 WO 2020224482A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual gift
live
user
notification message
virtual
Prior art date
Application number
PCT/CN2020/087396
Other languages
English (en)
French (fr)
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 北京字节跳动网络技术有限公司
Priority to US17/609,733 priority Critical patent/US11924298B2/en
Publication of WO2020224482A1 publication Critical patent/WO2020224482A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1859Arrangements for providing special services to substations for broadcast or conference, e.g. multicast adapted to provide push services, e.g. data channels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/306User profiles

Definitions

  • the present disclosure relates to the field of Internet technology. Specifically, the present disclosure relates to a message pushing method and electronic device for virtual gifts.
  • the live broadcast platform has developed accordingly.
  • the common web live broadcast platforms in order to increase the fun of the interaction between the host and the user, in order to encourage the host to produce more high-quality live video content, it is usually on the live video network. Under the page, there will be options for virtual gifts.
  • Users who watch the live broadcast can interact with the host by giving the host a virtual gift.
  • the host receives a virtual gift from the live broadcast user to the host in the live broadcast room
  • the received virtual gift information is announced in the live broadcast room, for example, in the live broadcast “X user presents Y gift to anchor Y” will be announced to notify users who watch the live broadcast in the live broadcast room.
  • the present disclosure provides a message push method, device, electronic device, and computer-readable storage medium for virtual gifts, which can solve the problems of a single way of publishing and receiving notification information of virtual gifts and poor user experience.
  • the technical solutions are as follows:
  • a message push method for virtual gifts includes:
  • a message pushing device for virtual gifts includes:
  • the first determining module is used to determine the live room area of the push notification message when a virtual gift is received in the live room, and the notification message is used to inform all live rooms in the live room area that the virtual gift is received;
  • the push module is used to push notification messages to each live room in the live room area.
  • an electronic device in a third aspect, includes:
  • One or more processors are One or more processors;
  • One or more application programs wherein one or more application programs are stored in a memory and configured to be executed by one or more processors, and one or more programs are configured to execute according to the first aspect or the first aspect
  • a computer-readable storage medium stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and Execute to implement the message pushing method for virtual gifts as shown in the first aspect or any possible implementation manner of the first aspect.
  • the present disclosure provides a message push method, device, electronic device, and computer-readable storage medium for virtual gifts.
  • the live broadcast room area of the push notification message is determined, and the notification message is used for Notify all live rooms in the live room area that the live broadcast indirectly receives a virtual gift, and then push notification messages to each live room in the live room area. That is to say, when a virtual gift is received in the live room of the present disclosure, the notification message can be posted in each live room in the corresponding live room area, instead of only announcing the message of receiving the virtual gift in the live room that receives the virtual gift.
  • FIG. 1 is a schematic flowchart of a method for pushing messages for virtual gifts according to an embodiment of the present disclosure
  • FIG. 2 is a schematic structural diagram of a message pushing device for virtual gifts according to an embodiment of the present disclosure.
  • Fig. 3 is a schematic structural diagram of an electronic device for message push of virtual gifts according to an embodiment of the present disclosure.
  • the embodiment of the present disclosure provides a message push method for virtual gifts, as shown in Figure 1, including:
  • Step S101 When it is detected that the virtual gift presented by the user is received in the live broadcast room, determine the live broadcast room area of the push notification message.
  • the notification message is used to inform all the live broadcast rooms in the live broadcast room area that the live broadcast indirectly receives virtual gifts from the user.
  • step S101 may be performed by the client or the server, which is not limited in the embodiment of the present disclosure.
  • the client when the client detects that the virtual gift presented by the user is received in the live room, it may determine the area of the live room to push the corresponding notification message; or, when the client detects that the user gift is received in the live room In the case of a virtual gift, a request is made to the server to obtain the live room area where the notification message corresponding to the virtual gift is pushed. After the server receives the request message, it sends the client the live room area where the notification message is pushed, so that the client determines the push The live room area for notification messages.
  • the server when the server detects that the virtual gift presented by the user is received in the live broadcast room, it determines the live broadcast room area of the push notification message.
  • step S101 may include: when it is detected that a virtual gift presented by the user is received in any live room, determining the live room area of the push notification message; or, when it is detected that the reception in any specific live room When it comes to the virtual gift presented by the user, determine the area of the live broadcast room for the push notification message.
  • the specific live room may be a specific type of live room, such as a music-type live room or a gossip-type live room, or a preset live room, where the preset live room is a preset Set the live room that can push notification messages to the determined live room area when a virtual gift is received.
  • the type of a specific live broadcast room is not limited.
  • each live broadcast room may be divided into regions. Specifically, each live room can be divided according to the type of live broadcast, or each live room can be divided according to the number of fans of the host, and each live room can be divided according to the number of people watching the live broadcast in the live room.
  • the division method is not limited.
  • Step S102 Push notification messages to each live broadcast room in the live broadcast room area.
  • the notification message is pushed to each live broadcast room in the area of the live broadcast room.
  • step S102 may be executed by the client or the server. It is not limited in the embodiments of the present disclosure.
  • the embodiment of the present disclosure provides a message push method for virtual gifts.
  • the embodiment of the present disclosure determines the live room area of the push notification message when it is detected that the virtual gift presented by the user is received in the live room.
  • the notification message is used to notify all the live rooms in the live room area, the live broadcast indirectly receives virtual gifts from the user, and then push notification messages to each live room in the live room area. That is, when the embodiments of the present disclosure detect that the virtual gift presented by the user is received in the live room, the notification message can be posted in each live room in the corresponding live room area, rather than only in the live room that received the virtual gift.
  • To the virtual gift message it is possible to enrich the way of publishing and receiving the virtual gift notification information, thereby improving the user experience.
  • the notification message includes at least one of the following:
  • the host information of the virtual gift received may include at least one of the following: ID information of the host who received the virtual gift on the live broadcast platform; name information of the host who received the virtual gift on the live broadcast platform.
  • the received virtual gift information includes at least one of the following: name information corresponding to the received virtual gift; and virtual asset information corresponding to the received virtual gift.
  • the live room information of the received virtual gift includes at least one of the following:
  • Live broadcast cover information corresponding to the live room that received the virtual gift information about the number of people in the live broadcast corresponding to the live room that received the virtual gift; and brief information about the live content corresponding to the live room that received the virtual gift.
  • the user information for giving the virtual gift includes at least one of the following:
  • the ID information of the user who gave the virtual gift on the live broadcast platform The ID information of the user who gave the virtual gift on the live broadcast platform; the name information of the user who gave the virtual gift on the live broadcast platform; the corresponding user level information of the user who gave the virtual gift on the live broadcast platform.
  • the pushed notification message includes at least one of the host information of the received virtual gift, the received virtual gift information, the live room information of the received virtual gift, and the user information of the virtual gift presented, which can enrich the push
  • the display form of the notification message can also attract users who watch the notification message to enter the live broadcast room, and improve user experience.
  • determining the live room area of the push notification message includes: step S1011 (not shown in the figure), step S1012 (not shown in the figure), step S1013 (not shown in the figure), step S1014 ( (Not shown in the figure) and at least one of step S1015 (not shown in the figure), wherein
  • Step S1011 Determine the level information of the virtual gift presented by the user, and determine the live room area of the push notification message based on the level information of the virtual gift presented by the user.
  • determining the live room area of the push notification message based on the level information of the virtual gift presented by the user includes: obtaining a first preset relationship, which is the relationship between the level information of each virtual gift and the push notification message Correspondence between the areas of the live room; based on the level information of the virtual gift presented by the user and the first preset relationship, determine the area of the live room for the push notification message.
  • the live room area of the push notification message corresponding to the first-level virtual gift is live room area 1
  • the live room area of the push message corresponding to the second-level virtual gift is live room area 2
  • the live room of the push message corresponding to the third-level virtual gift The area is live room area 3; when the level information of the virtual gift presented by the user is level 2, the live room area of the push notification message is determined to be live room area 1.
  • the first preset relationship may be stored in the client, or stored in the server, or stored in other external devices. It is not limited in the embodiments of the present disclosure.
  • the virtual gift is displayed in the virtual gift display area according to different identifiers. For example, first-level virtual gifts are displayed through red signs in the virtual gift display area, and second-level virtual gifts are displayed through yellow signs in the virtual gift display area.
  • Step S1012 Determine the live broadcast type corresponding to the live broadcast room, and determine the live broadcast room area of the push notification message based on the live broadcast type corresponding to the live broadcast room.
  • determining the live room area of the push notification message based on the live broadcast type corresponding to the live room includes: obtaining a second preset relationship, where the second preset relationship is between each live broadcast type and the live room area of the push notification message Correspondence between the two; based on any live broadcast type corresponding to the live broadcast and the second preset relationship, determine the live broadcast room area of the push notification message.
  • the live room area for the push notification message corresponding to the music type is the music type live room and the dance type live room; the live room type is the gossip type and the push notification message corresponds to the gossip type live room and the gossip type.
  • the live broadcast type corresponding to the live broadcast room that receives the virtual gift is a music type
  • the live broadcast room area where the notification message is pushed is the live broadcast room of all music types and the live broadcast room of all dance types.
  • the second preset relationship may be stored in the client, may also be stored in the server, or may also be stored in other external devices. It is not limited in the embodiments of the present disclosure.
  • Step S1013 Determine the level information corresponding to the user who gave the virtual gift, and determine the live room area of the push notification message based on the level information corresponding to the user who gave the virtual gift.
  • determining the live room area of the push notification message based on the level information corresponding to the user who gave the virtual gift includes: obtaining a third preset relationship, which is the relationship between each user level information and the push notification message Correspondence between the areas of the live room; based on the level information corresponding to the user who gave the virtual gift and the third preset relationship, determine the area of the live room for the push notification message.
  • the live room area for push notification messages corresponding to user level 1 preset the live room area for push notification messages corresponding to user level 1 as live room area 1, the live room area for push messages corresponding to user level 2 to live room area 2, and the live room area for push messages corresponding to user level 3 It is live room area 3; when the received virtual gift is a virtual gift given by user level 2, the live room area of the push notification message is determined to be live room area 2.
  • the third preset relationship may be stored in the client, or in the server, or in other external devices. It is not limited in the embodiments of the present disclosure.
  • Step S1014 Determine the preference information corresponding to the user who gave the virtual gift, and determine the live room area of the push notification message based on the preference information corresponding to the user who gave the virtual gift.
  • the preference information corresponding to the user who gave the virtual gift is used to represent the live room information preferred by the user who gave the virtual gift.
  • the preference information corresponding to the user who gave the virtual gift is determined based on big data, and the live room area of the push notification message is determined based on the preference information of the user who gave the virtual gift.
  • big data may be data obtained by obtaining user authorization in various ways. The specific preference information corresponding to the user who gives the virtual gift is determined in detail below, and will not be repeated here.
  • the step of determining the preference information corresponding to the user who gave the virtual gift includes: obtaining historical operation information of the user who gave the virtual gift on the live broadcast platform; and determining the preference of the user who gave the virtual gift based on the obtained historical operation information
  • the type of the live room and/or the preference of the user who gave the virtual gift is used as the preference information corresponding to the user who gave the virtual gift.
  • the historical operation information may be agreed by the user in various ways in advance.
  • the historical operation information of the user who gave the virtual gift on the live broadcast platform includes at least one of the following:
  • the number of clicks to enter each live room The number of clicks to enter each live room, the length of time to watch the live broadcast in each live room, the number of comments posted in each live room, and the corresponding number of likes in each live room.
  • the historical operation information of the user who gave the virtual gift on the live broadcast platform is obtained for a period of time, and the historical operation information of the user who gave the virtual gift during the period of time is obtained on the live broadcast platform.
  • the user of the gift prefers the live room type and/or the type of the live room preferred by the user who gave the virtual gift, and a notification message is pushed to the determined live room and/or live room type.
  • the notification message corresponding to the virtual gift is pushed to the XXX live room and the YYY live room, or the notification message is pushed to each live room corresponding to the music type.
  • the more times the user who gave the virtual gift clicks into a certain live room the more the user who gave the virtual gift prefers the live room; the length of time the user who gave the virtual gift watches the live broadcast in a certain live room The longer it is, the more the user who represents the virtual gift likes this live room; the more times the user who gives the virtual gift posts comment information, the more the user who represents the virtual gift likes this live room; the user who gave the virtual gift is in a live broadcast The more the number of likes corresponding to the room, the more the user who represents the virtual gift likes the live room.
  • Step S1015 Determine the live room area of the push notification message based on the virtual gift presented by the user and the correspondence between each virtual gift and the live room area of the push notification message.
  • the preference information corresponding to the user who gave the virtual gift is determined based on the historical operation information of the user who gave the virtual gift on the live broadcast platform, and the preference information corresponding to the user who gave the virtual gift is determined to be pushed
  • the area of the live broadcast room where the virtual gift user gives the notification message of the virtual gift that is, the notification message is pushed to the live broadcast room or the live broadcast room corresponding to the user who gave the virtual gift, so that more targeted notification messages can be pushed, and then Can further enhance the user experience.
  • step S102 may include : At least one of step S1021 (not shown in the figure) and step S1022 (not shown in the figure), wherein,
  • Step S1021 push notification messages corresponding to at least two virtual gifts to each live room in the live room area.
  • the specific pushing sequence is detailed in the following embodiment.
  • the push notification message push sequence is determined as follows to push notification messages corresponding to at least two virtual gifts to each live broadcast room in the live broadcast room area.
  • Step S1022 Determine the notification message corresponding to each virtual gift in the at least two virtual gifts, and merge the notification messages corresponding to each virtual gift to generate a combined notification message, such as a specific notification message, and send it to the live room area
  • a combined notification message such as a specific notification message
  • determining the order of pushing the notification messages is based on at least one of the following:
  • the combined notification message includes: user information corresponding to each virtual gift presented, and/or identification information corresponding to each virtual gift.
  • the push notification messages corresponding to the at least two virtual gifts have the same live broadcast room area, it is determined that the at least two virtual gifts
  • the notification message corresponding to each virtual gift is combined into one notification message, and the combined notification message is pushed to each live room in the live room area.
  • virtual gift 1 and virtual gift 2 from at least one user are received within a preset time in any live broadcast room, and the push notification messages corresponding to at least two virtual gifts have the same live broadcast room area, then virtual gift 1
  • the corresponding push notification message and the push notification message corresponding to the virtual gift 2 are merged to obtain a merged notification message.
  • the merged notification message may include the information of the virtual gift 1 and the information of the virtual gift 2.
  • the combined notification message includes: user information corresponding to each virtual gift presented, and/or identification information corresponding to each virtual gift.
  • the notification messages corresponding to each virtual gift in the multiple virtual gifts are combined into one notification message, and the combined notification message is pushed to each live room in the determined live room area.
  • the notification message corresponding to virtual gift 3 for example, the notification message may be "A live broadcast indirectly receives the virtual gift 3 from user A"
  • the notification message corresponding to virtual gift 4 for example, , The notification message can be "A live broadcast indirectly received the virtual gift 4 from user A", combined into a notification message (for example, the combined notification message could be "A live broadcast indirectly received the virtual gift 3 from user A and Virtual gift 4”), and push the combined notification message to the live broadcast rooms of each music type.
  • the live broadcast room when it is detected that the live broadcast room receives virtual gifts from multiple users within a preset time (the virtual gifts given by each user may be the same or different), and each of the multiple virtual gifts If the corresponding push notification messages have the same live room area, the notification messages corresponding to each virtual gift in the multiple virtual gifts are combined into one notification message, and the combined notification message is pushed to the determined live room area Various live broadcast rooms.
  • the notification message corresponding to virtual gift 5 for example, the notification message can be "A live broadcast indirectly receives the virtual gift 5 from user B" and the notification message corresponding to virtual gift 6 (for example, The notification message can be "A live broadcast indirectly received the virtual gift 6 from user C"), then the notification message corresponding to virtual gift 5 and the notification message corresponding to virtual gift 6 are combined into one notification message (the combined notification message can be "A live broadcast indirectly receives the virtual gift 5 from user B and the virtual gift 6 from user C"), and pushes the combined notification message to each live broadcast room of the gossip type.
  • the notification message corresponding to the virtual gift 5 for example, the notification message may be " A live broadcast indirectly receives virtual gift 5 from user B” and “A live broadcast indirectly receives virtual gift 5 from user C”
  • the two notification messages corresponding to virtual gift 5 are merged into one notification message (the merged
  • the notification message may be “A live broadcast indirectly receives the virtual gift 5 and the virtual gift 6 from user B”), and push the combined notification message to each live broadcast room of the gossip type.
  • step S1021 may further include:
  • the preset time may be preset by the client, or may be preset by the server. It is not limited in the embodiments of the present disclosure.
  • the preset time may be 5 seconds, 10 seconds, or 20 seconds.
  • the push notification messages corresponding to the at least two virtual gifts have the same live broadcast room area, then based on the at least The level of each virtual gift corresponding to each of the two virtual gifts is determined to determine the order of pushing notification messages corresponding to the at least two virtual gifts.
  • a certain live broadcast room receives multiple virtual gifts from at least one user within a preset time, which are virtual gift 1, virtual gift 2, and virtual gift 3, and virtual gift 1 is a first-level virtual gift
  • Virtual gift 2 is a third-level virtual gift
  • virtual gift 3 is a second-level virtual gift.
  • the push notification messages corresponding to the at least two virtual gifts have the same live broadcast room area, then based on the gift
  • the user level information corresponding to the respective users of the at least two virtual gifts determines the order of pushing notification messages corresponding to the at least two virtual gifts.
  • the notification message corresponding to the virtual gift given by the user with a higher level is preferentially pushed.
  • the receiving time sequence of each virtual gift in the virtual gifts determines the order of pushing notification messages corresponding to each virtual gift.
  • the notification message corresponding to virtual gift 1 will be pushed first, and then Push the notification message corresponding to virtual gift 2.
  • the above-mentioned embodiments may be executed by the server, or executed by the client, or partly executed by the server and partly executed by the client. It is not limited in the embodiments of the present disclosure.
  • the foregoing embodiment introduces the message pushing method for virtual gifts from the perspective of method flow
  • the following virtual module introduces the message pushing device for virtual gifts from the perspective of the method flow, which is specifically as follows:
  • the embodiment of the present disclosure provides a message pushing device for virtual gifts and a message pushing device for virtual gifts.
  • the message pushing device for virtual gifts and the message pushing device 20 for virtual gifts may include: first The determining module 21 and the pushing module 22, in which,
  • the first determining module 21 is configured to determine the area of the live broadcast room for the push notification message when it is detected that the virtual gift presented by the user is received in the live broadcast room.
  • the notification message is used to inform all the live broadcast rooms in the live broadcast room area, and the live broadcast indirectly receives virtual gifts from users.
  • the push module 22 is used to push notification messages to each live room in the live room area.
  • the embodiment of the present disclosure provides a message pushing device for virtual gifts.
  • the embodiment of the present disclosure determines the live room area of the push notification message, and the notification message is used to inform the live broadcast
  • the live broadcast indirectly receives virtual gifts from users, and then push notification messages to each live broadcast room in the live broadcast room area. That is, when the embodiments of the present disclosure detect that the virtual gift presented by the user is received in the live room, the notification message can be posted in each live room in the corresponding live room area, rather than only in the live room that received the virtual gift.
  • the notification message can be posted in each live room in the corresponding live room area, rather than only in the live room that received the virtual gift.
  • the first determining module 21 is specifically configured to determine the level information of the virtual gift presented by the user, and determine the live room area of the push notification message based on the level information of the virtual gift presented by the user , And/or, determine the live broadcast type corresponding to the live broadcast room, and determine the live broadcast room area of the push notification message based on the live broadcast type corresponding to the live broadcast room, and/or determine the level information corresponding to the user who gave the virtual gift, and based on the virtual gift Level information corresponding to the user of the gift, determine the live room area of the push notification message, and/or determine the preference information corresponding to the user who gave the virtual gift, and determine the live broadcast of the push notification message based on the preference information of the user who gave the virtual gift In the area, the preference information corresponding to the user who gave the virtual gift is used to characterize the live room information that the user who gave the virtual gift likes, and/or, based on the virtual gift presented by the user, and the live room area of each
  • the first determining module 21 includes: a first acquiring unit and a first determining unit, wherein
  • the first acquiring unit is configured to acquire the first preset relationship.
  • the first preset relationship is the corresponding relationship between each virtual gift level information and the live room area of the push notification message.
  • the first determining unit is configured to determine the live room area of the push notification message based on the level information of the virtual gift presented by the user and the first preset relationship acquired by the first acquiring unit.
  • the first determining module 21 includes: a second acquiring unit and a second determining unit, wherein
  • the second acquiring unit is used to acquire the second preset relationship.
  • the second preset relationship is the corresponding relationship between each live broadcast type and the live broadcast room area of the push notification message.
  • the second determining unit is configured to determine the live broadcast room area of the push notification message based on the live broadcast type corresponding to the live broadcast room and the second preset relationship acquired by the second acquiring unit.
  • the first determining module 21 includes: a third acquiring unit and a third determining unit, where
  • the third acquiring unit is used to acquire the third preset relationship.
  • the third preset relationship is the corresponding relationship between each user level information and the live room area of the push notification message.
  • the third determining unit is configured to determine the live room area of the push notification message based on the level information corresponding to the user who gave the virtual gift and the third preset relationship acquired by the third acquiring unit.
  • the first determining module 21 includes: a fourth acquiring unit and a fourth determining unit, where
  • the fourth obtaining unit is used to obtain historical operation information of the user who gave the virtual gift on the live broadcast platform.
  • the fourth determining unit is used to determine, based on the historical operation information obtained by the fourth obtaining unit, the type of live room preferred by the user who gave the virtual gift and/or the type of live room preferred by the user who gave the virtual gift as the corresponding preference of the user who gave the virtual gift information.
  • the historical operation information of the user who gave the virtual gift on the live broadcast platform includes at least one of the following:
  • the number of clicks to enter each live room The number of clicks to enter each live room, the length of time to watch the live broadcast in each live room, the number of comments posted in each live room, and the corresponding number of likes in each live room.
  • the first acquisition unit, the second acquisition unit, the third acquisition unit, and the fourth acquisition unit may all be the same acquisition unit, may all be different acquisition units, or any two may be the same
  • the acquisition unit can also be any three of the same acquisition units. It is not limited in the embodiments of the present disclosure.
  • the first determining unit, the second determining unit, the third determining unit, and the fourth determining unit may all be the same determining unit, or may all be different determining units, or any two of them may be the same
  • the determination unit can also be any three of the same determination units. It is not limited in the embodiments of the present disclosure.
  • the push module 22 when it is detected that multiple virtual gifts presented by at least one user are received within a preset time in the live broadcast room, and the live broadcast room area of the push notification message corresponding to the at least two virtual gifts is the same, the push module 22 specifically It is used to push notification messages corresponding to at least two virtual gifts to each live room in the live room area, and/or to determine the notification messages corresponding to each virtual gift in the at least two virtual gifts, and to respectively push the notification messages based on each virtual gift.
  • the corresponding notification message generates a specific notification message, combines the notification messages corresponding to each virtual gift, and pushes the combined notification message to each live room in the live room area.
  • the combined notification message includes at least one of the following: giving user information corresponding to each virtual gift; and identification information corresponding to each virtual gift.
  • the device further includes: a second determining module, wherein
  • the second determining module is configured to determine the order of pushing notification messages corresponding to at least two virtual gifts based on at least one of the following:
  • the first determining module 21 and the second determining module may be the same determining module, or may be different determining modules. It is not limited in the embodiments of the present disclosure.
  • the notification message includes at least one of the following:
  • the above embodiment introduces the message push method for virtual gifts from the perspective of the method flow, and the message push device for virtual gifts from the perspective of the virtual module.
  • the following introduces an electronic device from the perspective of the physical device structure. To execute the above method embodiment, the details are as follows:
  • FIG. 3 shows a schematic structural diagram of an electronic device 300 suitable for implementing the embodiments of the present disclosure.
  • Electronic 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 (for example, Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc.
  • the electronic device shown in FIG. 3 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 300 may include a processing device (such as a central processing unit, a graphics processor, etc.) 301, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 302 or from a storage device 308
  • the program in the memory (RAM) 303 executes various appropriate actions and processing.
  • various programs and data required for the operation of the electronic device 300 are also stored.
  • the processing device 301, ROM 302, and RAM 303 are connected to each other through a bus 304.
  • An input/output (I/O) interface 305 is also connected to the bus 304.
  • the following devices can be connected to the I/O interface 305: including input devices 306 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 307 such as a device; a storage device 308 such as a magnetic tape and a hard disk; and a communication device 309.
  • the communication device 309 may allow the electronic device 300 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 3 shows an electronic device 300 having various devices, it should be understood that it is not required to implement or have all the illustrated devices. It may alternatively be implemented or provided with more or fewer devices.
  • the process described above with reference to the flowchart can be implemented as a computer software program.
  • the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a 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 309, or installed from the storage device 308, or installed from the ROM 302.
  • the processing device 301 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
  • the embodiment of the present disclosure provides an electronic device.
  • the electronic device in the embodiment of the present disclosure includes: a memory and a processor; at least one program, stored in the memory, for being executed by the processor, can realize:
  • the notification message is used to notify all the live broadcast rooms in the live room area.
  • the live broadcast indirectly receives the virtual gift presented by the user and then sends it to the live broadcast.
  • Each live broadcast room in the room area will push notification messages. That is, when the present disclosure detects that the virtual gift presented by the user is received in the live room, it can publish the notification message in each live room in the corresponding live room area, instead of only in the live room where the virtual gift is received.
  • the gift message can thus enrich the ways of publishing and receiving virtual gift notification information, thereby enhancing the user experience.
  • the above electronic device is applicable to the above method embodiment, which is not limited herein.
  • the embodiments of the present disclosure provide a computer-readable storage medium with a computer program stored on the computer-readable storage medium, and when it runs on a computer, the computer can execute the corresponding content in the foregoing method embodiment.
  • the live broadcast room area of the push notification message is determined.
  • the notification message is used to notify all the live broadcast rooms in the live broadcast room area, and the live broadcast indirectly receives the gift from the user Virtual gifts, and then push notification messages to each live room in the live room area.
  • the notification message can be posted in each live room in the corresponding live room area, rather than only in the live room that received the virtual gift.
  • the virtual gift message it is possible to enrich the way of publishing and receiving the virtual gift notification information, thereby improving the user experience.
  • the aforementioned 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 electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of 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 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.
  • 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 foregoing computer-readable medium carries one or more programs, and when the foregoing one or more programs are executed by the electronic device, the electronic device is caused to execute the message pushing method for virtual gifts shown in the foregoing method embodiment.
  • the computer program code used to perform the operations of the present disclosure may be written in one or more programming languages or a combination thereof.
  • the above-mentioned programming languages include object-oriented programming languages—such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language.
  • 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 pass Internet connection).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagram can 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, or 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 units involved in the embodiments described in the present disclosure may be implemented in a software manner, or may be implemented in a hardware manner.
  • the name of the unit does not constitute a limitation on the unit itself under certain circumstances.
  • the first determining unit can also be described as "a unit that determines the area of the live broadcast room of the push notification message".

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本公开实施例提供了一种针对虚拟礼物的消息推送方法及电子设备。该方法包括:当直播间内接收到虚拟礼物时,确定推送通知消息的直播间区域,该通知消息用于告知直播间区域内的所有直播间,接收到虚拟礼物,然后向直播间区域内的各个直播间分别推送通知消息。本公开实施例实现了丰富发布接收虚拟礼物通知信息的方式,进而可以提升用户体验。

Description

针对虚拟礼物的消息推送方法及电子设备
相关申请的交叉引用
本公开要求2019年5月8日在中国知识产权局提交的标题为“针对虚拟礼物的消息推送方法及电子设备”中国专利申请No.201910380362.0的优先权,通过引用将该中国专利申请公开的全部内容并入本文。
技术领域
本公开涉及互联网技术领域,具体而言,本公开涉及一种针对虚拟礼物的消息推送方法及电子设备。
背景技术
随着信息技术的发展,直播平台随之发展,在常见的网络直播平台当中,为了增加主播与用户之间互动的趣味性,为了鼓励主播生产更加优质的视频直播内容,通常在视频直播的网络页面下,会设计虚拟礼物的选项。
观看直播的用户可通过赠送主播虚拟礼物的方式与主播进行互动,当主播接收到观看直播用户在直播间给主播赠送虚拟礼物时,在该直播间公布接收到的虚拟礼物信息,例如,在直播间公布“X用户赠送给主播Y礼物”,以通知该直播间内观看直播的用户。
发明人在研究过程中发现现有技术存在以下技术问题:当主播接收到用户赠送的虚拟礼物时,公布接收虚拟礼物通知信息的方式单一。
发明内容
本公开提供了一种针对虚拟礼物的消息推送方法、装置、电子设备及计算机可读存储介质,可以解决公布接收虚拟礼物通知信息的方式单一以及用户体验较差的问题。技术方案如下:
第一方面,提供了一种针对虚拟礼物的消息推送方法,该方法包括:
当直播间内接收到虚拟礼物时,确定推送通知消息的直播间区域,通知消息用于告知直播间区域内的所有直播间,接收到虚拟礼物;
向直播间区域内的各个直播间分别推送通知消息。
第二方面,提供了一种针对虚拟礼物的消息推送装置,该装置包括:
第一确定模块,用于当直播间内接收到虚拟礼物时,确定推送通知消息的直播间区域,通知消息用于告知直播间区域内的所有直播间,接收到虚拟礼物;
推送模块,用于向直播间区域内的各个直播间分别推送通知消息。
第三方面,提供了一种电子设备,该电子设备包括:
一个或多个处理器;
存储器;
一个或多个应用程序,其中一个或多个应用程序被存储在存储器中并被配置为由一个或多个处理器执行,一个或多个程序配置用于:执行根据第一方面或者第一方面任一可能的实现方式所示的针对虚拟礼物的消息推送方法对应的操作。
第四方面,提供了一种计算机可读存储介质,存储介质存储有至少一条指令、至少一段程序、代码集或指令集,至少一条指令、至少一段程序、代码集或指令集由处理器加载并执行以实现如第一方面或者第一方面任一可能的实现方式所示的针对虚拟礼物的消息推送方法。
本公开提供的技术方案带来的有益效果是:
本公开提供了一种针对虚拟礼物的消息推送方法、装置、电子设备及计算机可读存储介质,本公开当直播间内接收到虚拟礼物时,确定推送通知消息的直播间区域,通知消息用于告知直播间区域内的所有直播间,该直播间接收到虚拟礼物,然后向直播间区域内的各个直播间分别推送通知消息。即本公开当直播间内接收到虚拟礼物时,能够在对应的直播间区域内的各个直播间发布通知消息,而不是仅在接收到虚拟礼物的直播间内公布接收到虚拟礼物的消息,从而可以丰富发布接收虚拟礼物通知信息的方式,使得在一个直播间内收到虚拟礼物的信息时,可以在相关联的多个直播间内收到相关通知消息,从而减少在多个直播间内分别触发通知消息的 操作成本和资源消耗,同时也能提高信息传播的效率,提升用户体验。
附图说明
为了更清楚地说明本公开实施例中的技术方案,下面将对本公开实施例描述中所需要使用的附图作简单地介绍。
图1为根据本公开实施例的一种针对虚拟礼物的消息推送方法的流程示意图;
图2为根据本公开实施例的一种针对虚拟礼物的消息推送装置的结构示意图;以及
图3为根据本公开实施例的一种针对虚拟礼物的消息推送的电子设备的结构示意图。
具体实施方式
下面详细描述本公开的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本公开,而不能解释为对本发明的限制。
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本公开的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。
为使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开实施方式作进一步地详细描述。
本公开实施例提供了一种针对虚拟礼物的消息推送方法,如图1所 示,包括:
步骤S101、当检测到直播间内接收到用户赠送的虚拟礼物时,确定推送通知消息的直播间区域。
其中,通知消息用于告知直播间区域内的所有直播间,该直播间接收到用户赠送的虚拟礼物。
对于本公开实施例,步骤S101可以由客户端执行,也可以由服务器执行,在本公开实施例中不做限定。
在实施例中,当客户端检测到直播间内接收到用户赠送的虚拟礼物时,可以确定推送与之对应的通知消息的直播间区域;或者,当客户端检测到直播间内接收到用户赠送的虚拟礼物时,向服务器请求获取推送与该虚拟礼物对应的通知消息的直播间区域,服务器接收到该请求消息之后,向客户端发送推送该通知消息的直播间区域,以使得客户端确定推送通知消息的直播间区域。
在实施例中,当服务器检测到直播间内接收到用户赠送的虚拟礼物时,确定推送通知消息的直播间区域。
在一实施例中,步骤S101可以包括:当检测到任一直播间内接收到用户赠送的虚拟礼物时,确定推送通知消息的直播间区域;或者,当检测到任一特定的直播间内接收到用户赠送的虚拟礼物时,确定推送通知消息的直播间区域。在本公开实施例中,特定的直播间可以为特定类型的直播间,例如音乐类型的直播间或者八卦类型的直播间,也可以为预先设置的直播间,其中该预先设置的直播间为预先设置当接收到虚拟礼物,可以向确定出的直播间区域推送通知消息的直播间。在本公开实施例中并不对特定的直播间的类型进行限定。
在一实施例中,在步骤S101之前可以对各个直播间进行区域划分。具体地,可以按照直播类型对各个直播间进行区域划分,也可以按照主播的粉丝数量对各个直播间进行区域划分,还可以按照直播间内观看直播的人数对各个直播间进行区域划分,具体的划分方式并不做限定。
步骤S102、向直播间区域内的各个直播间分别推送通知消息。
在一实施例中,在步骤S101在确定出推送该通知消息的直播间区域 之后,向直播间区域内的各个直播间分别推送通知消息。
在一实施例中,步骤S102可以由客户端执行,也可以由服务器执行。在本公开实施例中不做限定。
本公开实施例提供了一种针对虚拟礼物的消息推送方法针对虚拟礼物的消息推送方法,本公开实施例当检测到直播间内接收到用户赠送的虚拟礼物时,确定推送通知消息的直播间区域,通知消息用于告知直播间区域内的所有直播间,该直播间接收到用户赠送的虚拟礼物,然后向直播间区域内的各个直播间分别推送通知消息。即本公开实施例当检测到直播间内接收到用户赠送的虚拟礼物时,能够在对应的直播间区域内的各个直播间发布通知消息,而不是仅在接收到虚拟礼物的直播间内公布接收到虚拟礼物的消息,从而可以丰富发布接收虚拟礼物通知信息的方式,进而可以提升用户体验。
在一些实施例中,通知消息包括以下至少一项:
接收到虚拟礼物的主播信息;
接收到的虚拟礼物信息;
接收到虚拟礼物的直播间信息;
赠送虚拟礼物的用户信息。
在一实施例中,接收到虚拟礼物的主播信息可以包括以下至少一项:接收到虚拟礼物的主播在直播平台上的ID信息;接收到虚拟礼物的主播在直播平台上的名称信息。
在一实施例中,接收到虚拟礼物信息包括以下至少一项:接收到的虚拟礼物对应的名称信息;接收到虚拟礼物对应的虚拟资产信息。
在一实施例中,接收到虚拟礼物的直播间信息包括以下至少一项:
接收到虚拟礼物的直播间对应的直播封面信息;接收到虚拟礼物的直播间对应的直播人数信息;接收到虚拟礼物的直播间对应的直播内容简介信息。
在一实施例中,赠送虚拟礼物的用户信息包括以下至少一项:
赠送虚拟礼物的用户在直播平台上的ID信息;赠送虚拟礼物的用户在直播平台的名称信息;赠送虚拟礼物的用户在直播平台上对应的用户等 级信息。
在一实施例中,推送的通知消息包括接收到虚拟礼物的主播信息、接收到的虚拟礼物信息、接收到虚拟礼物的直播间信息以及赠送虚拟礼物的用户信息中至少一项,可以丰富推送的通知消息的展示形式,也可以使更加吸引观看到该通知消息的用户进入该直播间,提升用户体验。
在一些实施例中,确定推送通知消息的直播间区域,包括:步骤S1011(图中未示出)、步骤S1012(图中未示出)、步骤S1013(图中未示出)、步骤S1014(图中未示出)以及步骤S1015(图中未示出)中至少一项,其中
步骤S1011、确定用户赠送的虚拟礼物的级别信息,并基于用户赠送的虚拟礼物的级别信息,确定推送通知消息的直播间区域。
在一些实施例中,基于用户赠送的虚拟礼物的级别信息,确定推送通知消息的直播间区域,包括:获取第一预设关系,第一预设关系为各个虚拟礼物级别信息与推送通知消息的直播间区域之间的对应关系;基于用户赠送的虚拟礼物的级别信息以及第一预设关系,确定推送通知消息的直播间区域。
例如,一级虚拟礼物对应的推送通知消息的直播间区域为直播间区域1,二级虚拟礼物对应的推送消息的直播间区域为直播间区域2,三级虚拟礼物对应的推送消息的直播间区域为直播间区域3;当用户赠送的虚拟礼物的级别信息为二级,则确定推送通知消息的直播间区域为直播间区域1。
在一实施例中,第一预设关系可以存储在客户端中,也可以存在在服务器中,还可以存储在其它外部设备中。在本公开实施例中不做限定。
在一实施例中,基于虚拟礼物的级别信息在虚拟礼物展示区域按照不同的标识展示该虚拟礼物。例如,一级虚拟礼物在虚拟礼物展示区域通过红色标识展示,二级虚拟礼物在虚拟礼物展示区域通过黄色标识展示。
步骤S1012、确定直播间对应的直播类型,并基于直播间对应的直播类型,确定推送通知消息的直播间区域。
在一些实施例中,基于直播间对应的直播类型,确定推送通知消息的 直播间区域,包括:获取第二预设关系,第二预设关系为各个直播类型与推送通知消息的直播间区域之间的对应关系;基于任一直播间对应的直播类型以及第二预设关系,确定推送通知消息的直播间区域。
例如,直播类型为音乐类型对应的推送通知消息的直播间区域为音乐类型的直播间以及舞蹈类型的直播间;直播类型为八卦类型对应的推送通知消息的直播间为八卦类型直播间以及闲聊类型的直播间;当接收到虚拟礼物的直播间对应的直播类型为音乐类型,则推送该通知消息的直播间区域为所有音乐类型的直播间以及所有舞蹈类型的直播间。
在一实施例中,第二预设关系可以存储在客户端中,也可以存储在服务器中,还可以存储在其它外部设备中。在本公开实施例中不做限定。
步骤S1013、确定赠送虚拟礼物的用户对应的级别信息,并基于赠送虚拟礼物的用户对应的级别信息,确定推送通知消息的直播间区域。
在一些实施例中,基于赠送虚拟礼物的用户对应的级别信息,确定推送通知消息的直播间区域,包括:获取第三预设关系,第三预设关系为各个用户级别信息与推送通知消息的直播间区域之间的对应关系;基于赠送虚拟礼物的用户对应的级别信息以及第三预设关系,确定推送通知消息的直播间区域。
例如,预先设置用户级别1对应的推送通知消息的直播间区域为直播间区域1,用户级别2对应的推送消息的直播间区域为直播间区域2,用户级别3对应的推送消息的直播间区域为直播间区域3;当接收到的虚拟礼物为用户级别2赠送的虚拟礼物,则确定推送通知消息的直播间区域为直播间区域2。
在一实施例中,第三预设关系可以存储在客户端中,也可以存在在服务器中,还可以存储在其它外部设备中。在本公开实施例中不做限定。
步骤S1014、确定赠送虚拟礼物的用户对应的喜好信息,并基于赠送虚拟礼物的用户对应的喜好信息,确定推送通知消息的直播间区域。
其中,赠送虚拟礼物的用户对应的喜好信息用于表征赠送虚拟礼物的用户所喜好的直播间信息。
在一实施例中,基于大数据确定赠送虚拟礼物的用户对应的喜好信 息,并基于赠送虚拟礼物的用户对应的喜好信息,确定推送通知消息的直播间区域。在实施例中,大数据可以是通过各种方式获得用户授权的数据。具体确定赠送虚拟礼物的用户对应的喜好信息详见下文,在此不再赘述。
在实施例中,确定赠送虚拟礼物的用户对应的喜好信息的步骤,包括:获取赠送虚拟礼物的用户在直播平台上的历史操作信息;基于获取的历史操作信息,确定赠送虚拟礼物的用户喜好的直播间和/或赠送虚拟礼物的用户喜好的直播间类型作为赠送虚拟礼物的用户对应的喜好信息。
在实施例中,这些历史操作信息可以是经过用户提前通过各种方式同意的。
其中,赠送虚拟礼物的用户在直播平台上的历史操作信息包括以下至少一项:
点击进入各个直播间的次数、在各个直播间内分别观看直播的时长、在各个直播间内发布评论信息的次数以及在各个直播间内分别对应的点赞次数。
在一实施例中,获取赠送虚拟礼物的用户一段时间内在直播平台上的历史操作信息,通过对获取到的该段时间内赠送虚拟礼物的用户在直播平台上的历史操作信息,确定出赠送虚拟礼物的用户喜好的直播间和/或赠送虚拟礼物的用户喜好的直播间类型,并向确定出的直播间和/或直播间类型推送通知消息。
例如,基于赠送虚拟礼物的用户在最近一个月内在直播平台上的历史操作信息,确定该赠送虚拟礼物的用户最近一个月经常进入的直播间(比如:XXX直播间以及YYY直播间)和/或经常进入的直播间类型(音乐类型直播间),则向XXX直播间以及YYY直播间分别推送虚拟礼物对应的通知消息,或者向音乐类型对应的各个直播间内分别推送通知消息。
在一实施例中,赠送虚拟礼物的用户点进某个直播间的次数越多,表征该赠送虚拟礼物的用户越喜好该直播间;赠送虚拟礼物的用户在某一直播间内观看直播的时长越长,表征该赠送虚拟礼物的用户越喜好此直播间;赠送虚拟礼物的用户发布评论信息的次数越多,表征该赠送虚拟礼物的用户越喜好此直播间;赠送虚拟礼物的用户在某直播间对应的点赞次数 越多,表征该赠送虚拟礼物的用户越喜好该直播间。
步骤S1015、基于用户赠送的虚拟礼物,以及各个虚拟礼物与推送通知消息的直播间区域之间的对应关系,确定推送通知消息的直播间区域。
在一实施例中,基于赠送虚拟礼物的用户在直播平台上的历史操作信息确定出该赠送虚拟礼物的用户对应的喜好信息,并基于该赠送虚拟礼物的用户对应的喜好信息,确定该推送该赠送虚拟礼物的用户赠送虚拟礼物的通知消息的直播间区域,即将通知消息推送至该赠送虚拟礼物的用户对应的直播间或者直播类型的直播间,从而可以更加有针对性的推送通知消息,进而可以进一步地提升用户体验。
在一些实施例中,若检测任一直播间内在预设时间内接收到至少一个用户赠送的多个虚拟礼物,且至少两个虚拟礼物对应的推送通知消息的直播间区域相同,步骤S102可以包括:步骤S1021(图中未示出)以及步骤S1022(图中未示出)中至少一项,其中,
步骤S1021、向直播间区域内的各个直播间分别推送至少两个虚拟礼物分别对应的通知消息。
在一实施例中,具体的推送顺序详见下述实施例。在本公开实施例中,按照下述确定出推送通知消息的推送顺序向直播间区域内的各个直播间分别推送至少两个虚拟礼物分别对应的通知消息。
步骤S1022、确定至少两个虚拟礼物中各个虚拟礼物分别对应的通知消息,并将各个虚拟礼物分别对应的通知消息进行合并,生成合并后的通知消息,例如特定通知消息,并向直播间区域内的各个直播间分别推送特定通知消息。
在实施例中,确定推送所述通知消息的顺序是基于以下至少一项进行的:
至少两个虚拟礼物中各个虚拟礼物分别对应的级别信息;
赠送至少两个虚拟礼物的各个用户分别对应的用户级别信息;
接收到至少两个虚拟礼物中各个虚拟礼物的接收时间。
在一实施例中,合并后的通知消息包括:赠送各个虚拟礼物分别对应的用户信息,和/或,各个虚拟礼物分别对应的标识信息。
在一实施例中,若检测直播间内在预设时间内接收到至少一个用户赠送的多个虚拟礼物,且至少两个虚拟礼物对应的推送通知消息的直播间区域相同,则在确定该至少两个虚拟礼物中各个虚拟礼物分别对应的通知消息时,将该各个虚拟礼物分别对应的通知消息合并成一条通知消息,并向该直播间区域内的各个直播间分别推送该合并后的通知消息。
例如,若检测任一直播间内在预设时间内接收到至少一个用户赠送的虚拟礼物1以及虚拟礼物2,且至少两个虚拟礼物对应的推送通知消息的直播间区域相同,则将虚拟礼物1对应的推送通知消息以及虚拟礼物2对应的推送通知消息进行合并,得到一条合并后的通知消息,该合并后的通知消息可以包括虚拟礼物1的信息以及虚拟礼物2的信息。
其中,合并后的通知消息包括:赠送各个虚拟礼物分别对应的用户信息,和/或,各个虚拟礼物分别对应的标识信息。
在实施例中,若检测到直播间内在预设时间内接收到某一用户赠送的多个虚拟礼物,且该多个虚拟礼物中各个虚拟礼物所分别对应的推送通知消息的直播间区域相同,则将多个虚拟礼物中各个虚拟礼物分别对应的通知消息合并成一条通知消息,并将合并后的通知消息推送至确定出的直播间区域内的各个直播间。
例如,若检测到A直播间在预设时间内接收到用户A赠送的虚拟礼物分别为虚拟礼物3以及虚拟礼物4,且虚拟礼物3以及虚拟礼物4分别对应的推送通知消息的直播间区域均为音乐类型的直播间区域,则将虚拟礼物3对应的通知消息(例如,通知消息可以为“A直播间接收到用户A赠送的虚拟礼物3”),以及虚拟礼物4对应的通知消息(例如,通知消息可以为“A直播间接收到用户A赠送的虚拟礼物4”),合并成一条通知消息(例如,合并后的通知消息可以为“A直播间接收到用户A赠送的虚拟礼物3以及虚拟礼物4”),并将合并后的通知消息分别推送至各个音乐类型的直播间。
在实施例中,当检测到直播间在预设时间内接收到多个用户赠送的虚拟礼物(各个用户赠送的虚拟礼物可以相同,也可不相同)时,且该多个虚拟礼物中各个虚拟礼物所分别对应的推送通知消息的直播间区域相同, 则将多个虚拟礼物中各个虚拟礼物分别对应的通知消息合并成一条通知消息,并将合并后的通知消息推送至确定出的直播间区域内的各个直播间。
例如,若检测到A直播间在预设时间内接收到用户B赠送的虚拟礼物5以及接收到用户C赠送的虚拟礼物6,虚拟礼物5以及虚拟礼物6对应的推送通知消息的直播间区域均为八卦类型的直播间区域,则将虚拟礼物5对应的通知消息(例如,通知消息可以为“A直播间接收到用户B赠送的虚拟礼物5”)以及虚拟礼物6对应的通知消息(例如,通知消息可以为“A直播间接收到用户C赠送的虚拟礼物6”),则将虚拟礼物5对应的通知消息以及虚拟礼物6对应的通知消息合并成一条通知消息(合并后的通知消息可以为“A直播间接收到用户B赠送的虚拟礼物5以及用户C赠送的虚拟礼物6”),并将合并后的通知消息推送至八卦类型的各个直播间。
例如,若检测到A直播间在预设时间内接收到用户B赠送的虚拟礼物5以及接收到用户C赠送的虚拟礼物5,则将虚拟礼物5对应的通知消息(例如,通知消息可以为“A直播间接收到用户B赠送的虚拟礼物5”以及“A直播间接收到用户C赠送的虚拟礼物5”),则将虚拟礼物5对应的两条通知消息合并成一条通知消息(合并后的通知消息可以为“A直播间接收到用户B赠送的虚拟礼物5以及虚拟礼物6”),并将合并后的通知消息推送至八卦类型的各个直播间。
在一实施例中,若检测某一直播间内在预设时间内接收到至少一个用户赠送的多个虚拟礼物,且至少两个虚拟礼物对应的推送通知消息的直播间区域相同,确定至少两个虚拟礼物中各个虚拟礼物分别对应的通知消息,并基于各个虚拟礼物分别对应的通知消息生成特定通知消息,并向直播间区域内的各个直播间分别推送特定通知消息,即将多个对应的通知消息推送区域相同的虚拟礼物合并至成一条通知消息推送,从而可以减少推送通知消息开销,进而可以避免在短时间内频繁推送通知消息造成各个直播间观看直播用户的体验较差。
在一些实施例中,步骤S1021之前还可以包括:
基于以下至少一项,确定推送至少两个虚拟礼物分别对应的通知消息的顺序:
至少两个虚拟礼物中各个虚拟礼物分别对应的级别信息;
赠送至少两个虚拟礼物的各个用户分别对应的用户级别信息;
接收到至少两个虚拟礼物中各个虚拟礼物的接收时间。
在一实施例中,预设时间可以由客户端预先设置,也可以由服务器预先设置。在本公开实施例中不做限定。例如,预设时间可以为5秒、10秒或者20秒。
在一实施例中,若检测某一直播间内在预设时间内接收到至少一个用户赠送的多个虚拟礼物,且至少两个虚拟礼物对应的推送通知消息的直播间区域相同,则基于该至少两个虚拟礼物中各个虚拟礼物分别对应的级别的高低,确定推送该至少两个虚拟礼物分别对应的通知消息的顺序。
例如,若检测到某一直播间在预设时间内接收到至少一个用户赠送的多个虚拟礼物,分别为虚拟礼物1、虚拟礼物2以及虚拟礼物3,并且虚拟礼物1为一级虚拟礼物、虚拟礼物2为三级虚拟礼物以及虚拟礼物3为二级虚拟礼物,确定先推送虚拟礼物1对应的通知消息,然后推送虚拟礼物3对应的通知消息,再推送虚拟礼物2对应的通知消息。
在一实施例中,若检测某一直播间内在预设时间内接收到至少两个用户赠送的多个虚拟礼物,且至少两个虚拟礼物对应的推送通知消息的直播间区域相同,则基于赠送至少两个虚拟礼物的各个用户分别对应的用户级别信息确定推送至少两个虚拟礼物分别对应的通知消息的顺序。在本公开实施例中,赠送虚拟礼物的一个用户的用户级别高于赠送虚拟礼物的另一用户的用户级别,则优先推送该级别较高的用户赠送的虚拟礼物对应的通知消息。
例如,检测到XX直播间在预设时间内接收到用户1赠送的两个虚拟礼物,接收到用户2赠送的一个虚拟礼物,并且用户1的用户级别高于用户2的用户级别,则确定优先推送用户1赠送的两个虚拟礼物对应的通知消息,然后推送用户2赠送的虚拟礼物对应的通知消息。
在一实施例中,若检测直播间内在预设时间内接收到至少一个用户赠 送的多个虚拟礼物,且至少两个虚拟礼物对应的推送通知消息的直播间区域相同,则根据接收到至少两个虚拟礼物中各个虚拟礼物的接收时间顺序,确定推送各个虚拟礼物分别对应的通知消息的顺序。
例如,检测到该直播间在预设时间内接收到虚拟礼物1以及虚拟礼物2,且优先接收到虚拟礼物1,然后再接收到虚拟礼物2,则先推送虚拟礼物1对应的通知消息,然后推送虚拟礼物2对应的通知消息。
在一实施例中,上述实施例可以由服务器执行,也可以由客户端执行,或者部分由服务器执行,部分由客户端执行。在本公开实施例中不做限定。
上述实施例从方法流程的角度介绍了针对虚拟礼物的消息推送方法,下述虚拟模块的角度介绍针对虚拟礼物的消息推送装置,具体如下所示:
本公开实施例提供了一种针对虚拟礼物的消息推送装置针对虚拟礼物的消息推送装置,如图2所示,该针对虚拟礼物的消息推送装置针对虚拟礼物的消息推送装置20可以包括:第一确定模块21以及推送模块22,其中,
第一确定模块21,用于当检测到直播间内接收到用户赠送的虚拟礼物时,确定推送通知消息的直播间区域。
其中,通知消息用于告知直播间区域内的所有直播间,直播间接收到用户赠送的虚拟礼物。
推送模块22,用于向直播间区域内的各个直播间分别推送通知消息。
本公开实施例提供了一种针对虚拟礼物的消息推送装置,本公开实施例当检测到直播间内接收到用户赠送的虚拟礼物时,确定推送通知消息的直播间区域,通知消息用于告知直播间区域内的所有直播间,该直播间接收到用户赠送的虚拟礼物,然后向直播间区域内的各个直播间分别推送通知消息。即本公开实施例当检测到直播间内接收到用户赠送的虚拟礼物时,能够在对应的直播间区域内的各个直播间发布通知消息,而不是仅在接收到虚拟礼物的直播间内公布接收到虚拟礼物的消息,从而可以丰富发布接收虚拟礼物通知信息的方式,进而可以提升用户体验。
本公开实施例的一种可能的实现方式,第一确定模块21,具体用于确定用户赠送的虚拟礼物的级别信息,并基于用户赠送的虚拟礼物的级别 信息,确定推送通知消息的直播间区域,和/或,确定直播间对应的直播类型,并基于直播间对应的直播类型,确定推送通知消息的直播间区域,和/或,确定赠送虚拟礼物的用户对应的级别信息,并基于赠送虚拟礼物的用户对应的级别信息,确定推送通知消息的直播间区域,和/或,确定赠送虚拟礼物的用户对应的喜好信息,并基于赠送虚拟礼物的用户对应的喜好信息,确定推送通知消息的直播间区域,赠送虚拟礼物的用户对应的喜好信息用于表征赠送虚拟礼物的用户所喜好的直播间信息,和/或,基于用户赠送的虚拟礼物,以及各个虚拟礼物与推送通知消息的直播间区域之间的对应关系,确定推送通知消息的直播间区域。
在一些实施例中,第一确定模块21包括:第一获取单元以及第一确定单元,其中,
第一获取单元,用于获取第一预设关系。
其中,第一预设关系为各个虚拟礼物级别信息与推送通知消息的直播间区域之间的对应关系。
第一确定单元,用于基于用户赠送的虚拟礼物的级别信息以及第一获取单元获取的第一预设关系,确定推送通知消息的直播间区域。
在一些实施例中,第一确定模块21包括:第二获取单元以及第二确定单元,其中,
第二获取单元,用于获取第二预设关系。
其中,第二预设关系为各个直播类型与推送通知消息的直播间区域之间的对应关系。
第二确定单元,用于基于直播间对应的直播类型以及第二获取单元获取的第二预设关系,确定推送通知消息的直播间区域。
在一些实施例中,第一确定模块21包括:第三获取单元以及第三确定单元,其中,
第三获取单元,用于获取第三预设关系。
其中,第三预设关系为各个用户级别信息与推送通知消息的直播间区域之间的对应关系。
第三确定单元,用于基于赠送虚拟礼物的用户对应的级别信息以及第 三获取单元获取的第三预设关系,确定推送通知消息的直播间区域。
在一些实施例中,第一确定模块21包括:第四获取单元以及第四确定单元,其中,
第四获取单元,用于获取赠送虚拟礼物的用户在直播平台上的历史操作信息。
第四确定单元,用于基于第四获取单元获取的历史操作信息,确定赠送虚拟礼物的用户喜好的直播间和/或赠送虚拟礼物的用户喜好的直播间类型作为赠送虚拟礼物的用户对应的喜好信息。
其中,赠送虚拟礼物的用户在直播平台上的历史操作信息包括以下至少一项:
点击进入各个直播间的次数、在各个直播间内分别观看直播的时长、在各个直播间内发布评论信息的次数以及在各个直播间内分别对应的点赞次数。
在一实施例中,第一获取单元、第二获取单元、第三获取单元以及第四获取单元可以均为相同的获取单元,还可以均为不同的获取单元,还可以任意两个为相同的获取单元,还可以任意三个为相同的获取单元。在本公开实施例中不做限定。
在一实施例中,第一确定单元、第二确定单元、第三确定单元以及第四确定单元可以均为相同的确定单元,还可以均为不同的确定单元,还可以任意两个为相同的确定单元,还可以任意三个为相同的确定单元。在本公开实施例中不做限定。
在一些实施例中,当检测直播间内在预设时间内接收到至少一个用户赠送的多个虚拟礼物,且至少两个虚拟礼物对应的推送通知消息的直播间区域相同时,推送模块22,具体用于向直播间区域内的各个直播间分别推送至少两个虚拟礼物分别对应的通知消息,和/或,确定至少两个虚拟礼物中各个虚拟礼物分别对应的通知消息,并基于各个虚拟礼物分别对应的通知消息生成特定通知消息,并将各个虚拟礼物分别对应的通知消息进行合并,并向直播间区域内的各个直播间分别推送合并后的通知消息。
在一些实施例中,合并后的通知消息包括以下至少一项:赠送各个虚 拟礼物分别对应的用户信息;各个虚拟礼物分别对应的标识信息。
在一些实施例中,装置还包括:第二确定模块,其中,
第二确定模块,用于基于以下至少一项,确定推送至少两个虚拟礼物分别对应的通知消息的顺序:
至少两个虚拟礼物中各个虚拟礼物分别对应的级别信息;
赠送至少两个虚拟礼物的各个用户分别对应的用户级别信息;
接收到至少两个虚拟礼物中各个虚拟礼物的接收时间。
在一实施例中,第一确定模块21与第二确定模块可以为相同的确定模块,还可以为不同的确定模块。在本公开实施例中不做限定。
在一些实施例中,通知消息包括以下至少一项:
接收到虚拟礼物的主播信息;
接收到的虚拟礼物信息;
接收到虚拟礼物的直播间信息;
赠送虚拟礼物的用户信息。
本公开实施例的针对虚拟礼物的消息推送方法可执行上述方法实施例,其实现原理相类似,此处不再赘述。
上述实施例从方法流程的角度介绍了针对虚拟礼物的消息推送方法,以及从虚拟模块的角度介绍了针对虚拟礼物的消息推送装置,下述从实体装置结构的角度介绍了一种电子设备,用于执行上述方法实施例,具体如下所示:
下面参考图3,其示出了适于用来实现本公开实施例的电子设备300的结构示意图。本公开实施例中的电子设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图3示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图3所示,电子设备300可以包括处理装置(例如中央处理器、图形处理器等)301,其可以根据存储在只读存储器(ROM)302中的程序 或者从存储装置308加载到随机访问存储器(RAM)303中的程序而执行各种适当的动作和处理。在RAM 303中,还存储有电子设备300操作所需的各种程序和数据。处理装置301、ROM 302以及RAM 303通过总线304彼此相连。输入/输出(I/O)接口305也连接至总线304。
通常,以下装置可以连接至I/O接口305:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置306;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置307;包括例如磁带、硬盘等的存储装置308;以及通信装置309。通信装置309可以允许电子设备300与其他设备进行无线或有线通信以交换数据。虽然图3示出了具有各种装置的电子设备300,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置309从网络上被下载和安装,或者从存储装置308被安装,或者从ROM 302被安装。在该计算机程序被处理装置301执行时,执行本公开实施例的方法中限定的上述功能。
本公开实施例提供了一种电子设备,本公开实施例中的电子设备包括:存储器和处理器;至少一个程序,存储于存储器中,用于被处理器执行时,可实现:本公开当检测到直播间内接收到用户赠送的虚拟礼物时,确定推送通知消息的直播间区域,通知消息用于告知直播间区域内的所有直播间,该直播间接收到用户赠送的虚拟礼物,然后向直播间区域内的各个直播间分别推送通知消息。即本公开当检测到直播间内接收到用户赠送的虚拟礼物时,能够在对应的直播间区域内的各个直播间发布通知消息,而不是仅在接收到虚拟礼物的直播间内公布接收到虚拟礼物的消息,从而可以丰富发布接收虚拟礼物通知信息的方式,进而可以提升用户体验。
上述电子设备适用于上述方法实施例,在此中不作限定。
本公开实施例提供了一种计算机可读存储介质,该计算机可读存储介 质上存储有计算机程序,当其在计算机上运行时,使得计算机可以执行前述方法实施例中相应内容。本公开实施例当检测到直播间内接收到用户赠送的虚拟礼物时,确定推送通知消息的直播间区域,通知消息用于告知直播间区域内的所有直播间,该直播间接收到用户赠送的虚拟礼物,然后向直播间区域内的各个直播间分别推送通知消息。即本公开实施例当检测到直播间内接收到用户赠送的虚拟礼物时,能够在对应的直播间区域内的各个直播间发布通知消息,而不是仅在接收到虚拟礼物的直播间内公布接收到虚拟礼物的消息,从而可以丰富发布接收虚拟礼物通知信息的方式,进而可以提升用户体验。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的***、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行***、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行***、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行上述方法实施例所示的针对虚拟礼物的消息推送方法。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的***、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的***来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一确定单元还可以被描述为“确定推送通知消息的直播间区域的单元”。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术 特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
应该理解的是,虽然附图的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,附图的流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
以上所述仅是本公开的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本公开原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本公开的保护范围。

Claims (21)

  1. 一种消息推送方法,包括:
    当直播间内接收到虚拟礼物时,确定推送通知消息的直播间区域,所述通知消息用于告知所述直播间区域内的所有直播间,接收到虚拟礼物;以及
    向所述直播间区域内的各个直播间分别推送所述通知消息。
  2. 根据权利要求1所述的方法,所述确定推送通知消息的直播间区域,包括以下至少一项:
    确定所述虚拟礼物的级别信息,并基于所述虚拟礼物的级别信息,确定推送通知消息的直播间区域;
    确定所述直播间对应的直播类型,并基于所述直播间对应的直播类型,确定推送通知消息的直播间区域;
    确定赠送虚拟礼物的用户对应的级别信息,并基于所述赠送虚拟礼物的用户对应的级别信息,确定推送通知消息的直播间区域;
    确定赠送虚拟礼物的用户对应的喜好信息,并基于所述赠送虚拟礼物的用户对应的喜好信息,确定推送通知消息的直播间区域,所述赠送虚拟礼物的用户对应的喜好信息用于表征所述赠送虚拟礼物的用户所喜好的直播间信息;
    基于所述虚拟礼物,以及各个虚拟礼物与推送通知消息的直播间区域之间的对应关系,确定推送通知消息的直播间区域。
  3. 根据权利要求2所述的方法,基于所述虚拟礼物的级别信息,确定推送通知消息的直播间区域,包括:
    获取第一预设关系,所述第一预设关系为各个虚拟礼物级别信息与推送通知消息的直播间区域之间的对应关系;
    基于所述虚拟礼物的级别信息以及所述第一预设关系,确定推送通知消息的直播间区域;
    或者,所述基于所述直播间对应的直播类型,确定推送通知消息的直播间区域,包括:
    获取第二预设关系,所述第二预设关系为各个直播类型与推送通知消息的直播间区域之间的对应关系;
    基于所述直播间对应的直播类型以及所述第二预设关系,确定推送通知消息的直播间区域;
    或者,所述基于所述赠送虚拟礼物的用户对应的级别信息,确定推送通知消息的直播间区域,包括:
    获取第三预设关系,所述第三预设关系为各个用户级别信息与推送通知消息的直播间区域之间的对应关系;
    基于所述赠送虚拟礼物的用户对应的级别信息以及所述第三预设关系,确定推送通知消息的直播间区域。
  4. 根据权利要求2所述的方法,所述确定赠送虚拟礼物的用户对应的喜好信息的步骤,包括:
    获取所述赠送虚拟礼物的用户在所述直播平台上的历史操作信息;
    基于获取的历史操作信息,确定所述赠送虚拟礼物的用户喜好的直播间和/或所述赠送虚拟礼物的用户喜好的直播间类型作为赠送虚拟礼物的用户对应的喜好信息。
  5. 根据权利要求4所述的方法,所述赠送虚拟礼物的用户在所述直播平台上的历史操作信息包括以下至少一项:
    点击进入各个直播间的次数、在各个直播间内分别观看直播的时长、在各个直播间内发布评论信息的次数以及在各个直播间内分别对应的点赞次数。
  6. 根据权利要求1-5任一项所述的方法,若所述直播间内在预设时间内接收到至少一个用户赠送的多个虚拟礼物,且至少两个虚拟礼物对应的推送通知消息的直播间区域相同,则向所述直播间区域内的各个直播间分别推送所述至少两个虚拟礼物分别对应的通知消息。
  7. 根据权利要求1-5所述的方法,还包括:
    确定所述至少两个虚拟礼物中各个虚拟礼物分别对应的通知消息,并将各个虚拟礼物分别对应的通知消息进行合并,并向所述直播间区域内的各个直播间分别推送合并后的通知消息。
  8. 根据权利要求7所述的方法,所述合并后的通知消息包括以下至少一项:
    赠送各个虚拟礼物的各个用户的用户信息;
    各个虚拟礼物分别对应的标识信息。
  9. 根据权利要求6-8中任一项所述的方法,还包括:
    基于以下至少一项,确定推送所述通知消息的顺序:
    所述至少两个虚拟礼物中各个虚拟礼物分别对应的级别信息;
    赠送所述至少两个虚拟礼物的各个用户分别对应的用户级别信息;
    接收到所述至少两个虚拟礼物中各个虚拟礼物的接收时间。
  10. 根据权利要求1-9中任一项所述的方法,所述通知消息包括以下至少一项:
    接收到虚拟礼物的主播信息;
    接收到的虚拟礼物信息;
    接收到虚拟礼物的直播间信息;
    赠送虚拟礼物的用户信息。
  11. 一种消息推送装置,包括:
    第一确定模块,用于当直播间内接收到虚拟礼物时,确定推送通知消息的直播间区域,所述通知消息用于告知所述直播间区域内的所有直播间,接收到虚拟礼物;
    推送模块,用于向所述直播间区域内的各个直播间分别推送所述通知消息。
  12. 根据权利要求11所述的装置,其中
    所述第一确定模块,具体用于确定所述虚拟礼物的级别信息,并基于所述虚拟礼物的级别信息,确定推送通知消息的直播间区域,和/或,确定所述直播间对应的直播类型,并基于所述直播间对应的直播类型,确定推送通知消息的直播间区域,和/或,确定赠送虚拟礼物的用户对应的级别信息,并基于所述赠送虚拟礼物的用户对应的级别信息,确定推送通知消息的直播间区域,和/或,确定赠送虚拟礼物的用户对应的喜好信息,并基于所述赠送虚拟礼物的用户对应的喜好信息,确定推送通知消息的直 播间区域,所述赠送虚拟礼物的用户对应的喜好信息用于表征所述赠送虚拟礼物的用户所喜好的直播间信息,和/或,基于所述虚拟礼物,以及各个虚拟礼物与推送通知消息的直播间区域之间的对应关系,确定推送通知消息的直播间区域。
  13. 根据权利要求12所述的装置,所述第一确定模块包括:第一获取单元以及第一确定单元,其中,
    所述第一获取单元,用于获取第一预设关系,所述第一预设关系为各个虚拟礼物级别信息与推送通知消息的直播间区域之间的对应关系;
    所述第一确定单元,用于基于所述虚拟礼物的级别信息以及所述第一获取单元获取的第一预设关系,确定推送通知消息的直播间区域;
    或者,所述第一确定模块包括:第二获取单元以及第二确定单元,其中,
    所述第二获取单元,用于获取第二预设关系,所述第二预设关系为各个直播类型与推送通知消息的直播间区域之间的对应关系;
    所述第二确定单元,用于基于所述直播间对应的直播类型以及所述第二获取单元获取的第二预设关系,确定推送通知消息的直播间区域;
    或者,所述第一确定模块包括:第三获取单元以及第三确定单元,其中,
    所述第三获取单元,用于获取第三预设关系,所述第三预设关系为各个用户级别信息与推送通知消息的直播间区域之间的对应关系;
    所述第三确定单元,用于基于所述赠送虚拟礼物的用户对应的级别信息以及所述第三获取单元获取的第三预设关系,确定推送通知消息的直播间区域。
  14. 根据权利要求12所述的装置,所述第一确定模块包括:第四获取单元以及第四确定单元,其中,
    所述第四获取单元,用于获取所述赠送虚拟礼物的用户在所述直播平台上的历史操作信息;
    所述第四确定单元,用于基于所述第四获取单元获取的历史操作信息,确定所述赠送虚拟礼物的用户喜好的直播间和/或所述赠送虚拟礼物 的用户喜好的直播间类型作为赠送虚拟礼物的用户对应的喜好信息。
  15. 根据权利要求14所述的装置,所述赠送虚拟礼物的用户在所述直播平台上的历史操作信息包括以下至少一项:
    点击进入各个直播间的次数、在各个直播间内分别观看直播的时长、在各个直播间内发布评论信息的次数以及在各个直播间内分别对应的点赞次数。
  16. 根据权利要求11-15任一项所述的装置,当所述直播间内在预设时间内接收到至少一个用户赠送的多个虚拟礼物,且至少两个虚拟礼物对应的推送通知消息的直播间区域相同时,
    所述推送模块,具体用于向所述直播间区域内的各个直播间分别推送所述至少两个虚拟礼物分别对应的通知消息,和/或,确定所述至少两个虚拟礼物中各个虚拟礼物分别对应的通知消息,并将各个虚拟礼物分别对应的通知消息进行合并,并向所述直播间区域内的各个直播间分别推送合并后的通知消息。
  17. 根据权利要求16所述的装置,所述合并后的通知消息包括以下至少一项:
    赠送各个虚拟礼物分别对应的用户信息;
    各个虚拟礼物分别对应的标识信息。
  18. 根据权利要求16或17所述的装置,所述装置还包括:第二确定模块,其中,
    所述第二确定模块,用于基于以下至少一项,确定推送所述至少两个虚拟礼物分别对应的通知消息的顺序:
    所述至少两个虚拟礼物中各个虚拟礼物分别对应的级别信息;
    赠送所述至少两个虚拟礼物的各个用户分别对应的用户级别信息;
    接收到所述至少两个虚拟礼物中各个虚拟礼物的接收时间。
  19. 根据权利要求11-18中任一项所述的装置,所述通知消息包括以下至少一项:
    接收到虚拟礼物的主播信息;
    接收到的虚拟礼物信息;
    接收到虚拟礼物的直播间信息;
    赠送虚拟礼物的用户信息。
  20. 一种电子设备,包括:
    一个或多个处理器;
    存储器;
    一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于:执行根据权利要求1~10中任一项所述的消息推送方法。
  21. 一种计算机可读存储介质,所述存储介质存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如权利要求1至10中任一所述的消息推送方法。
PCT/CN2020/087396 2019-05-08 2020-04-28 针对虚拟礼物的消息推送方法及电子设备 WO2020224482A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/609,733 US11924298B2 (en) 2019-05-08 2020-04-28 Message pushing method for a virtual gift and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910380362.0 2019-05-08
CN201910380362.0A CN110300335B (zh) 2019-05-08 2019-05-08 针对虚拟礼物的消息推送方法及电子设备

Publications (1)

Publication Number Publication Date
WO2020224482A1 true WO2020224482A1 (zh) 2020-11-12

Family

ID=68026728

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/087396 WO2020224482A1 (zh) 2019-05-08 2020-04-28 针对虚拟礼物的消息推送方法及电子设备

Country Status (3)

Country Link
US (1) US11924298B2 (zh)
CN (1) CN110300335B (zh)
WO (1) WO2020224482A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596603A (zh) * 2021-07-28 2021-11-02 北京达佳互联信息技术有限公司 虚拟物品的显示控制方法、虚拟物品的显示方法、装置
CN115665463A (zh) * 2022-10-20 2023-01-31 广州方硅信息技术有限公司 直播礼物交互方法及其装置、设备、介质
CN116193204A (zh) * 2022-12-13 2023-05-30 上海幻电信息科技有限公司 资源加载方法、装置、存储介质及电子设备
CN116800834A (zh) * 2023-08-28 2023-09-22 深圳有咖互动科技有限公司 虚拟礼物合并方法、装置、电子设备和计算机可读介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110300335B (zh) 2019-05-08 2021-08-10 北京字节跳动网络技术有限公司 针对虚拟礼物的消息推送方法及电子设备
CN110996141B (zh) 2019-11-05 2022-03-25 北京字节跳动网络技术有限公司 一种直播间中信息的发送方法、装置及电子设备
CN110933453A (zh) * 2019-12-05 2020-03-27 广州酷狗计算机科技有限公司 直播交互方法、装置、服务器及存储介质
JP2022021250A (ja) * 2020-07-21 2022-02-02 エイベックス・テクノロジーズ株式会社 コンテンツ配信システム
CN112367553B (zh) * 2020-11-10 2022-07-01 北京达佳互联信息技术有限公司 消息交互方法、装置、电子设备及存储介质
CN113824984A (zh) * 2021-09-15 2021-12-21 广州方硅信息技术有限公司 虚拟礼物流水的显示方法、***、装置及计算机设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140372188A1 (en) * 2013-06-12 2014-12-18 Robert Desideri Looped incentive commerce system
CN104994421A (zh) * 2015-06-30 2015-10-21 广州华多网络科技有限公司 一种直播频道中虚拟物品的互动方法、装置和***
CN105406974A (zh) * 2015-12-15 2016-03-16 武汉斗鱼网络科技有限公司 一种提升聊天室中人气值的方法和***
CN105976215A (zh) * 2016-06-24 2016-09-28 武汉斗鱼网络科技有限公司 一种互联网直播网站礼物***的交互方法及装置
CN108156507A (zh) * 2017-12-27 2018-06-12 广州酷狗计算机科技有限公司 虚拟物品赠送方法、装置及存储介质
CN108966034A (zh) * 2018-08-02 2018-12-07 广州酷狗计算机科技有限公司 虚拟物品显示方法、装置和存储介质
CN110300335A (zh) * 2019-05-08 2019-10-01 北京字节跳动网络技术有限公司 针对虚拟礼物的消息推送方法及电子设备

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8700714B1 (en) * 2006-12-06 2014-04-15 Google, Inc. Collaborative streaning of video content
KR101720940B1 (ko) * 2013-01-28 2017-04-10 네이버 주식회사 메신저 채팅창을 통한 실시간 영상 공유 장치, 방법 및 컴퓨터 판독 가능한 기록 매체
US20140279408A1 (en) * 2013-03-13 2014-09-18 Jonathan Bowles Methods and systems for facilitating and monitoring charitable donations based on payment card loyalty contributions
US10701018B2 (en) * 2015-08-27 2020-06-30 Mobilitie, Llc System and method for customized message delivery
US10821357B1 (en) * 2016-03-29 2020-11-03 Amazon Technologies Interacting using an electronic link
CN111405299B (zh) * 2016-12-19 2022-03-01 广州虎牙信息科技有限公司 基于视频流的直播交互方法及其相应的装置
CN106973319B (zh) * 2017-03-28 2020-05-12 武汉斗鱼网络科技有限公司 一种虚拟礼物展示方法和***
KR101895001B1 (ko) * 2017-07-13 2018-09-05 (주)블루오션소프트 스마트폰기반 쌍방향 라이브방송 커머스 서비스 플랫폼
CN107547947B (zh) * 2017-08-24 2020-06-02 北京小米移动软件有限公司 直播间中虚拟礼物的赠送方法及装置
US11146599B1 (en) * 2019-02-04 2021-10-12 C/Hca, Inc. Data stream processing to facilitate conferencing based on protocols
CN109194973A (zh) * 2018-09-26 2019-01-11 广州华多网络科技有限公司 一种多主播直播间赠送虚拟礼物的展示方法、装置及设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140372188A1 (en) * 2013-06-12 2014-12-18 Robert Desideri Looped incentive commerce system
CN104994421A (zh) * 2015-06-30 2015-10-21 广州华多网络科技有限公司 一种直播频道中虚拟物品的互动方法、装置和***
CN105406974A (zh) * 2015-12-15 2016-03-16 武汉斗鱼网络科技有限公司 一种提升聊天室中人气值的方法和***
CN105976215A (zh) * 2016-06-24 2016-09-28 武汉斗鱼网络科技有限公司 一种互联网直播网站礼物***的交互方法及装置
CN108156507A (zh) * 2017-12-27 2018-06-12 广州酷狗计算机科技有限公司 虚拟物品赠送方法、装置及存储介质
CN108966034A (zh) * 2018-08-02 2018-12-07 广州酷狗计算机科技有限公司 虚拟物品显示方法、装置和存储介质
CN110300335A (zh) * 2019-05-08 2019-10-01 北京字节跳动网络技术有限公司 针对虚拟礼物的消息推送方法及电子设备

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596603A (zh) * 2021-07-28 2021-11-02 北京达佳互联信息技术有限公司 虚拟物品的显示控制方法、虚拟物品的显示方法、装置
CN113596603B (zh) * 2021-07-28 2023-03-21 北京达佳互联信息技术有限公司 虚拟物品的显示控制方法、虚拟物品的显示方法、装置
CN115665463A (zh) * 2022-10-20 2023-01-31 广州方硅信息技术有限公司 直播礼物交互方法及其装置、设备、介质
CN116193204A (zh) * 2022-12-13 2023-05-30 上海幻电信息科技有限公司 资源加载方法、装置、存储介质及电子设备
CN116800834A (zh) * 2023-08-28 2023-09-22 深圳有咖互动科技有限公司 虚拟礼物合并方法、装置、电子设备和计算机可读介质

Also Published As

Publication number Publication date
US11924298B2 (en) 2024-03-05
CN110300335B (zh) 2021-08-10
US20220239760A1 (en) 2022-07-28
CN110300335A (zh) 2019-10-01

Similar Documents

Publication Publication Date Title
WO2020224482A1 (zh) 针对虚拟礼物的消息推送方法及电子设备
WO2021004221A1 (zh) 特效的展示处理方法、装置及电子设备
WO2021008223A1 (zh) 信息的确定方法、装置及电子设备
JP7082247B2 (ja) 情報プッシュ方法、機器、電子機器及びコンピュータ読み取り可能な記憶媒体
WO2020233142A1 (zh) 多媒体文件播放方法、装置、电子设备和存储介质
WO2020151599A1 (zh) 视频同步发布方法、装置、电子设备及可读存储介质
WO2020233444A1 (zh) 在线文档***信息方法及装置
CN109582310B (zh) 数据处理方法、装置、电子设备及计算机可读存储介质
WO2021218518A1 (zh) 视频的处理方法、装置、设备及介质
CN107390994B (zh) 界面呈现方法和装置
CN110072151B (zh) 虚拟礼物展示方法、电子设备及计算机可读存储介质
WO2020156055A1 (zh) 显示界面切换方法、电子设备及计算机可读存储介质
WO2021249196A1 (zh) 视频播放方法、装置、存储介质和电子设备
WO2022095954A1 (zh) 基于直播的数据交互方法、装置、电子设备和可读介质
WO2021082649A1 (zh) 榜单更新方法、装置、可读介质和电子设备
WO2022142619A1 (zh) 一种私密音视频通话的方法与设备
WO2021082693A1 (zh) 网页图像加载时长的获取方法、装置及电子设备
WO2020233144A1 (zh) 一种用于提供评论输入模式的方法与装置
JP2018517195A (ja) マルチメディア情報処理方法、装置及びシステム、並びにコンピュータ記憶媒体
CN111857858A (zh) 用于处理信息的方法和设备
WO2021135684A1 (zh) 直播间互动方法、装置、可读介质及电子设备
WO2023078072A1 (zh) 基于拜占庭容错的异步共识方法、装置、服务器和介质
WO2020233143A1 (zh) 播放进度显示方法、装置、电子设备和存储介质
WO2020238241A1 (zh) 媒体对象的播放方法、装置、电子设备及存储介质
WO2023134559A1 (zh) 评论提示方法、装置、电子设备、存储介质和程序产品

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

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

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 11/04/2022)