WO2019071857A1 - Method and device preventing gift giving on live streaming platform - Google Patents

Method and device preventing gift giving on live streaming platform Download PDF

Info

Publication number
WO2019071857A1
WO2019071857A1 PCT/CN2017/120149 CN2017120149W WO2019071857A1 WO 2019071857 A1 WO2019071857 A1 WO 2019071857A1 CN 2017120149 W CN2017120149 W CN 2017120149W WO 2019071857 A1 WO2019071857 A1 WO 2019071857A1
Authority
WO
WIPO (PCT)
Prior art keywords
gift
client
request
agreement
viewer
Prior art date
Application number
PCT/CN2017/120149
Other languages
French (fr)
Chinese (zh)
Inventor
周志刚
张文明
陈少杰
Original Assignee
武汉斗鱼网络科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 武汉斗鱼网络科技有限公司 filed Critical 武汉斗鱼网络科技有限公司
Publication of WO2019071857A1 publication Critical patent/WO2019071857A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • Embodiments of the present invention relate to network security technologies, and in particular, to a method and apparatus for preventing a gift from being played in a live broadcast platform.
  • the anchor In order to attract viewers to watch, the anchor will open the treasure chest for the audience to receive. The audience can get gifts by receiving the reward of the treasure chest, such as rewarding the audience for long time watching in the room.
  • some hackers have monitored the broadcast program to see if there is a treasure chest available for collection. Once you find out which live room has a treasure chest, use a large number of accounts to log in to the room to pick up the treasure chest, thus gaining a lot of revenue. The normal viewer only knows if there is a gift in the live room that is being watched. Therefore, the monitoring program written by the hacker has a very good auxiliary function. It can detect the live room with the treasure chest and directly collect the treasure chest from the live room with the treasure chest.
  • the hacker detects the live broadcast room with gifts through the monitoring program, and directs the gift to the live room with gifts to obtain a large amount of income; on the other hand, the hacker uses a large number of accounts to log in to the live room to receive gifts. The winning rate of the normal audience to receive gifts is reduced, affecting the user experience of the normal audience.
  • the purpose of the present application is to provide a method and a device for preventing a gift from being played in a live broadcast platform, which can improve the problem that a hacker detects a live room with a gift and directs a gift to a live room with a gift.
  • an embodiment of the present application provides a method for preventing a gift from being played in a live broadcast platform, including:
  • the method further includes:
  • step S2 further includes:
  • step S2 further includes:
  • the method further includes:
  • the viewer client If the request for receiving a gift sent by any of the viewer clients is received, the viewer client is informed that the viewer client is a hacker client.
  • the method further includes:
  • the winning rate of the hacking client receiving the gift is set to zero.
  • the step of obtaining the gift agreement according to the request sent by the viewer client in step S5 to learn that the viewer client is a hacker client includes:
  • the request for receiving the gift agreement corresponding to the second preset control field is a new request for a gift agreement
  • the received request for receiving the gift agreement sent by the viewer client is an existing request for a gift agreement
  • the notification is obtained.
  • the viewer client is a hacker client; or,
  • the request for receiving the gift agreement corresponding to the second preset control field is an existing request for a gift agreement
  • the received request for receiving the gift agreement sent by the viewer client is a new request for a gift agreement
  • the notification is obtained.
  • the viewer client is a hacker client.
  • step S5 further includes:
  • a viewer client other than the hacker client corresponding to the live broadcast is used as a normal viewer client;
  • the winning algorithm is used to obtain the winning rate of the gifts received by each of the normal audience clients, so that each of the normal audience clients obtains the reward according to the winning rate of the received gifts.
  • an embodiment of the present application further provides an apparatus for preventing a gift from being played in a live broadcast platform, including:
  • a selecting unit configured to select a new gift notification protocol according to the first preset control field when there is a gift in the live room
  • the first sending unit is configured to send the new gift notification protocol to each viewer client in the live room.
  • an embodiment of the present application further provides a device for preventing a gift from being played in a live broadcast platform, including:
  • At least one processor at least one memory, and a bus;
  • the processor and the memory complete communication with each other through the bus;
  • the memory stores program instructions executable by the processor, the processor invoking the program instructions to be able to run the method as previously described.
  • an embodiment of the present application also provides a computer program comprising program code for performing the method described above.
  • an embodiment of the present application further provides a storage medium for storing a computer program as described above.
  • the server uses the first preset control field to select a new gift notification protocol and sends the message to the audience client in the live broadcast room.
  • controlling, by the first preset control field, which new gift notification protocol is sent to the audience client in the live broadcast room increases the flexibility of sending a gift notification protocol, making it difficult for the hacker to crack the anti-brushing strategy;
  • the normal viewer client can receive the new gift notification protocol, and the hacker client is a scripting program that only monitors the existing gift notification protocol and therefore does not receive the new gift notification protocol. It is impossible to perceive that there is a gift in the live room to receive, thereby effectively preventing hackers from brushing gifts.
  • FIG. 1 is a schematic flowchart of an overall method for preventing a gift from being played in a live broadcast platform according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an overall structure of a device for preventing a gift from being played in a live broadcast platform according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of an overall structure of a device for preventing a gift from being played in a live broadcast platform according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a method for preventing a gift from being played in a live broadcast platform according to an embodiment of the present invention, where the method includes: S1, if the live broadcast room There is a gift, and a new gift notification protocol is selected according to the first preset control field; S2, the new gift notification protocol is sent to each viewer client in the live room.
  • the server when the server detects that there is a gift that can be received in the live broadcast room, the existing gift notification protocol is sent to each viewer client in the live broadcast room.
  • the viewer client receives the existing gift notification protocol and displays the identity of the gift at the viewer client.
  • the identification of the gift is used to indicate that there is a gift that can be picked up in the live room.
  • the server sends a request for a gift agreement.
  • the server sends the first preset control field to each audience client in the live broadcast room when there is a gift that can be collected in the live broadcast room, or sends the first preset control field to the audience client when the viewer logs in to the live broadcast room.
  • the first preset control field when the server detects that there is a gift that can be received in the live broadcast room.
  • the first preset control field is a preset field and may be any data.
  • the new gift notification protocol is a preset different from the existing gift notification protocol for notifying the viewer in the live room to let the viewer know that there is a gift available in the live room.
  • the server selects a new gift notification protocol from the preset at least two new gift notification protocols according to the first preset control field.
  • the server sends the new gift notification protocol to the viewer client, and the first preset control field sent by the server controls. S2.
  • the server sends the new gift notification protocol to the audience client in the live room. The viewer is a user watching the live broadcast in the live broadcast room.
  • the normal viewer client displays the identity of the gift after receiving the new gift notification protocol
  • the hacker client is a script program that only monitors the existing gift notification protocol and therefore does not receive the In the new gift notification agreement, hackers cannot perceive that there is a gift in the live room to receive, thus effectively preventing hackers from brushing gifts.
  • the first preset control field corresponding to the existing gift notification protocol is 0000
  • the first preset control fields corresponding to the new gift notification protocol are 0001, 0002, 0003, and the like.
  • the server uses the first preset control field to select a new gift notification protocol and sends the message to the audience client in the live room.
  • the first preset control The field control which new gift notification protocol is sent to the audience client in the live broadcast room increases the flexibility of sending a gift notification protocol, making it difficult for hackers to crack the anti-brushing strategy; on the other hand, the normal viewer client can receive the The new gift notification protocol, and the hacking client is a script that only monitors the existing gift notification protocol, so the new gift notification protocol will not be received, and there is no gift in the live room. Can be collected, thus effectively preventing hackers from brushing gifts.
  • the method further includes: modifying a field in the existing gift notification protocol to generate at least two new gift notification protocols.
  • the existing gift notification protocol has a protocol type of roommessage, and roommessage represents a message between live broadcasts.
  • the field gift is set to TreasureBox, indicating that there is a gift in the live room, and the gift is a treasure chest.
  • the field type is 1, indicating that the type of the treasure chest is 1.
  • the gift in the existing gift notification protocol is modified to ade
  • the TreasureBox is modified to bde
  • the type is modified to Deo.
  • the server can also add more different gift notification protocols.
  • the field in the existing gift notification protocol is modified, and is not limited to the result of the modification. There is no rule for modifying the field, and the modified field has no actual meaning.
  • the specific content of the revised gift notification agreement is consistent with the specific content of the existing treasure chest agreement.
  • the field in the existing gift notification protocol is modified to generate at least two new gift notification protocols, and the new gift notification protocol is selected and sent to the live room according to the first preset control field.
  • the first preset control field controls which new gift notification protocol is sent to the audience client in the live broadcast room, which increases the flexibility of sending the gift notification protocol, making it difficult for the hacker to crack the anti-brushing strategy.
  • the step S2 further includes: sending the first preset control field to each audience client in the live broadcast room.
  • the server sends the first preset control field to the audience client while sending the new gift notification protocol to the audience client in the live room.
  • the viewer client parses the new gift notification protocol according to the first preset control field.
  • the control field delivered by the server is 0001
  • the viewer client parses the new gift notification protocol according to the field of the new gift notification protocol.
  • the viewer client determines whether the protocol type of the new gift notification protocol is roommessage, and if so, further resolves ade and bde according to deo, thereby knowing that the new gift notification protocol is to notify the live room that there is a gift. Agreement, and the gift is a treasure chest, the treasure chest type is 1. Based on the result of the analysis, the identity of the gift is displayed on the viewer client.
  • the hacking client is a script program, and the script program only monitors the existing gift notification protocol, so the first preset control field is not received, and the first preset control field is not
  • the new gift notification protocol is parsed so that the logo of the gift is not displayed, and the gift can be received in the live room, thereby effectively preventing the hacker from brushing the gift.
  • the step S2 further includes: sending an existing gift notification protocol to each viewer client in the live broadcast room; correspondingly, after the step S2
  • the method includes: if receiving a request for receiving a gift agreement sent by any of the viewer clients, knowing that the viewer client is a hacker client.
  • the server sends the existing gift notification protocol to the audience client while transmitting the new gift notification protocol to the audience client in the live room.
  • the normal viewer client displays the gift identifier in the live broadcast room after receiving the new gift notification protocol, and ignores the existing gift notification protocol, and the hacker client receives the existing gift
  • the server receives the request for receiving the gift from the viewer client, and learns that the viewer client is a hacker client, and processes the hacker client, such as adding a blacklist, performing a ban, and the like.
  • the method further includes: S3, sending a second preset control field to the audience client; S4, receiving the audience client according to the The request for receiving the gift is sent by the second preset control field; S5, if the spectator client is the hacker client according to the request for receiving the gift protocol sent by the spectator client, the hiring rate of the hacking client is received Set to 0.
  • the viewer client sends a request for receiving a gift agreement to the server when receiving the gift.
  • the server sends the second preset control field to the viewer client when the viewer in the live room clicks to receive the gift, or when the viewer logs in to the live room.
  • the second preset control field is a preset field and may be any data.
  • the server controls, by the second preset control field, which requesting the gift is sent by the viewer client to the server.
  • the server receives a request for the gift received by the viewer client according to the second field, and the request for receiving the gift agreement is a protocol for requesting a gift, for requesting the server to receive the gift.
  • the request for a gift agreement is a preset gift agreement for at least two new requests.
  • the viewer client selects a request for a gift agreement from the preset at least two request-receiving gift protocols according to the first control field, and sends the selected request-to-card gift protocol to the server.
  • S5 determining, according to the request for a gift agreement, whether the viewer client is a hacker client, and if the viewer client is known as a hacker client, setting a winning rate of the hacking client to receive a gift is set to 0, And the account corresponding to the hacking client is recorded in the blacklist of the server, and the hacking client is not blocked from the front, thereby improving the concealment of the anti-brushing strategy.
  • the viewer client sends an existing request for gift collection protocol to the server to request a gift
  • the uid is a user number attribute
  • xx is a value of a user number attribute.
  • the new request to receive gift agreement is obtained by modifying one or more fields in the existing request for gift collection agreement. It is not limited to the second preset control field in the example of the embodiment, the new request for gift collection agreement, and the existing request for gift collection agreement.
  • the server uses the second preset control field to control the viewer client to send a request to receive a gift agreement, and according to the request, the gift agreement is used to identify the hacking client, and the winning rate of the hacking client receiving the gift is set to 0.
  • the second preset control field controls which requesting gift agreement is sent by the viewer client to the server, which increases the flexibility of sending a request to receive a gift agreement, so that the hacker can hardly crack the anti-brushing strategy; on the other hand, the hacker is normal.
  • the winning rate is set to 0, so that the hacker can not generate revenue, and the hacker does not know that the server has detected the behavior of brushing the gift, and prevents the hacker from brushing the gift while improving the concealment of the anti-brushing strategy. Sex makes it difficult for hackers to break the anti-brush strategy.
  • the step of receiving the gift agreement according to the request sent by the viewer client in step S5 in the embodiment, the step of obtaining the audience client as a hacker client includes:
  • the request receiving gift agreement corresponding to the preset control field is a new request for receiving a gift agreement, and the received request for receiving the gift agreement sent by the viewer client is an existing request for receiving a gift agreement, and the viewer client is known as a hacker. a client; or, if the request for receiving a gift agreement corresponding to the second preset control field is an existing request for a gift agreement, and the received request for receiving the gift agreement sent by the viewer client is a new request
  • the gift agreement knows that the viewer client is a hacker client.
  • the normal viewer client receives the second preset control field, according to the second preset control.
  • the field sends a new request to receive a gift agreement. If the received request for receiving the gift protocol sent by the viewer client is an existing request for a gift agreement, the viewer client is known as a hacker client.
  • the second preset control field controls the viewer client to send an existing request to receive a gift agreement
  • the normal viewer client receives the second preset control field, and sends according to the second preset control field. Existing requests for a gift agreement. If the received request for receiving the gift protocol sent by the viewer client is a new request for a gift agreement, the viewer client is known as a hacker client.
  • the step S5 in the embodiment further includes: using a viewer client other than the hacker client corresponding to the live broadcast as a normal viewer client; using the winning algorithm to obtain each of the foregoing
  • the normal viewer client receives the winning rate of the gift for each of the normal viewer clients to obtain a reward according to the winning rate of the gift.
  • the identified hacking client is excluded, and the winning algorithm is used to calculate the winning rate of the normal audience client in the live broadcast room, and the normal audience client in the live broadcast room receives the corresponding according to the winning rate. Reward.
  • FIG. 2 is a schematic diagram of an overall structure of a device for preventing a gift in a live broadcast platform according to an embodiment of the present invention, where the device includes a selection unit 1 and a a transmitting unit 2, wherein:
  • the selecting unit 1 is configured to select a new gift notification protocol according to a first preset control field when there is a gift in the live room; the first sending unit 2 is configured to send the new gift notification protocol to the Each viewer client in the live room.
  • the first sending unit 2 sends the first preset control field to each audience client in the live broadcast room when there is a gift that can be received in the live broadcast room, or when the viewer logs in to the live broadcast room
  • the viewer client sends the first preset control field.
  • the first preset control field is a preset field and may be any data.
  • the new gift notification protocol is a preset different from the existing gift notification protocol for notifying the viewer in the live room to let the viewer know that there is a gift available in the live room.
  • the selecting unit 1 selects a new gift notification protocol from the preset at least two new gift notification protocols according to the first preset control field.
  • the first sending unit 2 sends the new gift notification protocol to the viewer client, and the first preset control field sent by the selecting unit 1 controls.
  • the first sending unit 2 sends the new gift notification protocol to the audience client in the live room.
  • the viewer is a user watching the live broadcast in the live broadcast room.
  • the normal viewer client displays the identity of the gift after receiving the new gift notification protocol, and the hacker client is a script program that only monitors the existing gift notification protocol and therefore does not receive the In the new gift notification agreement, hackers cannot perceive that there is a gift in the live room to receive, thus effectively preventing hackers from brushing gifts.
  • the server uses the first preset control field to select a new gift notification protocol and sends the message to the audience client in the live room.
  • the first preset control The field control which new gift notification protocol is sent to the audience client in the live broadcast room increases the flexibility of sending a gift notification protocol, making it difficult for hackers to crack the anti-brushing strategy; on the other hand, the normal viewer client can receive the The new gift notification protocol, and the hacking client is a script that only monitors the existing gift notification protocol, so the new gift notification protocol will not be received, and there is no gift in the live room. Can be collected, thus effectively preventing hackers from brushing gifts.
  • the apparatus in this embodiment further includes a generating unit, configured to modify a field in the existing gift notification protocol to generate at least two new gift notification protocols.
  • the first sending unit in the embodiment is further configured to: send the first preset control field to each audience client in the live broadcast room.
  • the first sending unit in the embodiment is further configured to send an existing gift notification protocol to each audience client in the live broadcast room;
  • the device further includes a processing unit, For receiving the request for receiving a gift agreement sent by any of the viewer clients, the viewer client is known as a hacker client.
  • the apparatus in this embodiment further includes a second sending subunit, a receiving subunit, and a setting subunit, where:
  • the second sending subunit is configured to send a second preset control field to the audience client, and the receiving subunit is configured to receive the request sent by the viewer client according to the second preset control field.
  • a gift protocol a gift protocol
  • the setting subunit is configured to set a winning rate of the hacking client to receive a gift to 0 when the viewer client is a hacker client according to the request receiving gift protocol sent by the viewer client.
  • the setting subunit in the embodiment is specifically configured to: in the second preset control field, the request to receive a gift agreement is a new request to receive a gift agreement, and the received
  • the request for receiving the gift sent by the viewer client is an existing request for a gift agreement
  • the viewer client is notified that the viewer client is a hacker client; or, if the second preset control field corresponds to the request for receiving a gift
  • the agreement is an existing request for a gift agreement, and the received request for receiving the gift agreement sent by the viewer client is a new request for a gift agreement, and the viewer client is known as a hacker client.
  • the setting subunit in the embodiment is further configured to: use a viewer client other than the hacker client corresponding to the live broadcast as a normal viewer client; and obtain each of the foregoing by using a winning algorithm.
  • the normal viewer client receives the winning rate of the gift for each of the normal viewer clients to obtain a reward according to the winning rate of the gift.
  • the receiving gift agreement in the embodiment includes the name of the live broadcast platform, the audience number, the number of gifts received, the Token data of the viewer, the time of receiving the gift, the audience client number, and the live room number;
  • the protocol field is a randomly generated random number, a keyword, or an encrypted moment of receiving a gift;
  • the new protocol includes one or at least two of a live room number, a viewer's Token data, and a time to receive a gift.
  • FIG. 3 is a schematic diagram of an overall structure of a device for preventing a gift from being played in a live broadcast platform according to an embodiment of the present invention.
  • the device includes: at least one processor 31 and at least one memory 32. And bus 33; wherein
  • the processor 31 and the memory 32 complete communication with each other through the bus 33;
  • the memory 32 stores program instructions that are executable by the processor 31, and the processor calls the program instructions to perform the methods provided by the foregoing method embodiments, for example, including: S1, if there is a gift in the live room And selecting a new gift notification protocol according to the first preset control field; S2, sending the new gift notification protocol to each viewer client in the live room.
  • the embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, the computer
  • the method provided by each of the foregoing method embodiments is performed, for example, including: S1, if there is a gift in the live broadcast room, selecting a new gift notification protocol according to the first preset control field; S2, sending the new gift notification protocol to Each viewer client in the live room.
  • the embodiment provides a non-transitory computer readable storage medium, the non-transitory computer readable storage medium storing computer instructions, the computer instructions causing the computer to perform the methods provided by the foregoing method embodiments, including, for example, S1, if there is a gift in the live room, select a new gift notification protocol according to the first preset control field; S2, send the new gift notification protocol to each viewer client in the live room.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
  • the device embodiments for preventing the gift from being brushed in the live broadcast platform described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as the unit may be or may be It is not a physical unit, it can be located in one place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

Provided in an embodiment of the present invention is a method and device for preventing giving a gift on a live streaming platform. The method comprises: S1. If there is a gift in a live streaming room, selecting a new gift notification protocol according to a first preset control field; and S2. sending the new gift notification protocol to each viewer client in the live room. Through the present invention, when a gift in the live streaming room is available, a server uses the first preset control field to select the new gift notification protocol to send to the viewer client in the live streaming room. On the one hand, the flexibility of sending the gift notification protocol is increased, making it difficult for a hacker to crack a strategy that prevents giving gifts. On the other hand, a hacker client does not receive the new gift notification protocol, and cannot perceive a gift available to receive in the live streaming room, thereby effectively preventing the hacker from giving gifts.

Description

一种直播平台中防止刷礼物的方法及装置Method and device for preventing brush gift in live broadcast platform
交叉引用cross reference
本申请引用于2015年10月09日提交的专利名称为“一种直播平台中防止刷礼物的方法及装置”的第2017109309620号中国专利申请,其通过引用被全部并入本申请。The present application is hereby incorporated by reference in its entirety in its entirety in its entirety in its entirety in the entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire all
技术领域Technical field
本发明的实施例涉及网络安全技术,尤其涉及一种直播平台中防止刷礼物的方法及装置。Embodiments of the present invention relate to network security technologies, and in particular, to a method and apparatus for preventing a gift from being played in a live broadcast platform.
背景技术Background technique
随着网络交互平台的发展,越来越多的用户通过登录网络交互平台进行交流。其中,网络直播是非常受广大用户欢迎的应用。With the development of the network interaction platform, more and more users communicate through the login network interaction platform. Among them, webcasting is an application that is very popular among users.
直播平台为了吸引观众进行观看,主播会开启宝箱以供观众领取,观众通过领取宝箱的奖励可以获得礼物,如针对房间内长时间观看的观众给予奖励。然而,一些黑客通过编写监控程序监控开播的直播间是否有可以领取的宝箱。一旦发现哪个直播间有宝箱,则使用大量的账号登录到该房间领取宝箱,从而获取大量收益。而正常的观众只知道观看的直播间是否有礼物可以领取。因此,黑客编写的监控程序具有很好的辅助作用,能检测到有宝箱的直播间,直接到有宝箱的直播间领取宝箱。In order to attract viewers to watch, the anchor will open the treasure chest for the audience to receive. The audience can get gifts by receiving the reward of the treasure chest, such as rewarding the audience for long time watching in the room. However, some hackers have monitored the broadcast program to see if there is a treasure chest available for collection. Once you find out which live room has a treasure chest, use a large number of accounts to log in to the room to pick up the treasure chest, thus gaining a lot of revenue. The normal viewer only knows if there is a gift in the live room that is being watched. Therefore, the monitoring program written by the hacker has a very good auxiliary function. It can detect the live room with the treasure chest and directly collect the treasure chest from the live room with the treasure chest.
综上所述,现有技术一方面黑客通过监控程序检测出有礼物的直播间,定向到有礼物的直播间领取礼物,获取大量收益;另一方面,黑客使用大量账号登录直播间领取礼物,使得正常观众领取礼物的中奖率降低,影响正常观众的用户体验。In summary, on the one hand, the hacker detects the live broadcast room with gifts through the monitoring program, and directs the gift to the live room with gifts to obtain a large amount of income; on the other hand, the hacker uses a large number of accounts to log in to the live room to receive gifts. The winning rate of the normal audience to receive gifts is reduced, affecting the user experience of the normal audience.
发明内容Summary of the invention
本申请的目的在于,提供一种直播平台中防止刷礼物的方法及装置,可以改善黑客检测出有礼物的直播间,定向到有礼物的直播间刷礼物的问题。The purpose of the present application is to provide a method and a device for preventing a gift from being played in a live broadcast platform, which can improve the problem that a hacker detects a live room with a gift and directs a gift to a live room with a gift.
第一方面,本申请的实施例提供了提供一种直播平台中防止刷礼物的方法,包括:In a first aspect, an embodiment of the present application provides a method for preventing a gift from being played in a live broadcast platform, including:
S1,若直播间中有礼物,根据第一预设控制字段选择新的礼物通知协议;S1. If there is a gift in the live room, select a new gift notification protocol according to the first preset control field;
S2,将所述新的礼物通知协议发送给所述直播间中各观众客户端。S2. Send the new gift notification protocol to each viewer client in the live room.
具体地,所述步骤S1之前还包括:Specifically, before the step S1, the method further includes:
对现有的礼物通知协议中的字段进行修改,生成至少两种新的礼物通知协议。Modify the fields in the existing gift notification agreement to generate at least two new gift notification protocols.
具体地,所述步骤S2还包括:Specifically, the step S2 further includes:
将所述第一预设控制字段发送给所述直播间中各观众客户端。Sending the first preset control field to each viewer client in the live broadcast room.
具体地,所述步骤S2还包括:Specifically, the step S2 further includes:
将现有的礼物通知协议发送给所述直播间中各观众客户端;Sending an existing gift notification agreement to each viewer client in the live room;
相应地,所述步骤S2之后还包括:Correspondingly, after the step S2, the method further includes:
若接收到任一所述观众客户端发送的请求领取礼物协议,则获知所述观众客户端为黑客客户端。If the request for receiving a gift sent by any of the viewer clients is received, the viewer client is informed that the viewer client is a hacker client.
具体地,所述步骤S2之后还包括:Specifically, after the step S2, the method further includes:
S3,将第二预设控制字段发送给所述观众客户端;S3. Send a second preset control field to the audience client.
S4,接收所述观众客户端根据所述第二预设控制字段发送的请求领取礼物协议;S4. Receive a gift agreement that is received by the viewer client according to the request sent by the second preset control field.
S5,若根据所述观众客户端发送的请求领取礼物协议获知所述观众客户端为黑客客户端,则将所述黑客客户端领取礼物的中奖率设置为0。S5. If it is known that the viewer client is a hacker client according to the request for receiving a gift sent by the viewer client, the winning rate of the hacking client receiving the gift is set to zero.
具体地,所述步骤S5中根据所述观众客户端发送的请求领取礼物协议获知所述观众客户端为黑客客户端的步骤具体包括:Specifically, the step of obtaining the gift agreement according to the request sent by the viewer client in step S5 to learn that the viewer client is a hacker client includes:
若所述第二预设控制字段对应的所述请求领取礼物协议为新的请求领取礼物协议,且接收的所述观众客户端发送的请求领取礼物协议为现有的请求领取礼物协议,则获知所述观众客户端为黑客客户端;或者,If the request for receiving the gift agreement corresponding to the second preset control field is a new request for a gift agreement, and the received request for receiving the gift agreement sent by the viewer client is an existing request for a gift agreement, then the notification is obtained. The viewer client is a hacker client; or,
若所述第二预设控制字段对应的所述请求领取礼物协议为现有的请求领取礼物协议,且接收的所述观众客户端发送的请求领取礼物协议为新的请求领取礼物协议,则获知所述观众客户端为黑客客户端。If the request for receiving the gift agreement corresponding to the second preset control field is an existing request for a gift agreement, and the received request for receiving the gift agreement sent by the viewer client is a new request for a gift agreement, then the notification is obtained. The viewer client is a hacker client.
具体地,所述步骤S5还包括:Specifically, the step S5 further includes:
将所述直播间对应的除黑客客户端以外的观众客户端作为正常观众客户端;A viewer client other than the hacker client corresponding to the live broadcast is used as a normal viewer client;
使用中奖算法获取各所述正常观众客户端领取礼物的中奖率,以供各所述正常观众客户端根据所述领取礼物的中奖率获取奖励。The winning algorithm is used to obtain the winning rate of the gifts received by each of the normal audience clients, so that each of the normal audience clients obtains the reward according to the winning rate of the received gifts.
第二方面,本申请的实施例还提供了提供一种直播平台中防止刷礼物的装置,包括:In a second aspect, an embodiment of the present application further provides an apparatus for preventing a gift from being played in a live broadcast platform, including:
选择单元,用于在直播间中有礼物时,根据第一预设控制字段选择新的礼物通知协议;a selecting unit, configured to select a new gift notification protocol according to the first preset control field when there is a gift in the live room;
第一发送单元,用于将所述新的礼物通知协议发送给所述直播间中各观众客户端。The first sending unit is configured to send the new gift notification protocol to each viewer client in the live room.
第三方面,本申请的实施例还提供了一种直播平台中防止刷礼物的设备,包括:In a third aspect, an embodiment of the present application further provides a device for preventing a gift from being played in a live broadcast platform, including:
至少一个处理器、至少一个存储器和总线;其中,At least one processor, at least one memory, and a bus; wherein
所述处理器和存储器通过所述总线完成相互间的通信;The processor and the memory complete communication with each other through the bus;
所述存储器存储有可被所述处理器运行的程序指令,所述处理器调用所述程序指令能够运行如前所述的方法。The memory stores program instructions executable by the processor, the processor invoking the program instructions to be able to run the method as previously described.
第四方面,本申请的实施例还提供了一种计算机程序,包括程序代码,所述程序代码用于执行上述所述的方法。In a fourth aspect, an embodiment of the present application also provides a computer program comprising program code for performing the method described above.
第五方面,本申请的实施例还提供了一种存储介质,用于存储如前所述的计算机程序。In a fifth aspect, an embodiment of the present application further provides a storage medium for storing a computer program as described above.
本申请实施例提供的直播平台中防止刷礼物的方法通过在直播间中有礼物可以领取时,服务器使用第一预设控制字段选择新的礼物通知协议发送给所述直播间中观众客户端,一方面,由所述第一预设控制字段控制将哪种新的礼物通知协议发送给直播间中观众客户端,增加了发送礼物通知协议的灵活性,使黑客很难破解防刷策略;另一方面,正常观众客户端能接收到所述新的礼物通知协议,而黑客客户端是一种脚本程序,只监控现有的礼物通知协议,因此不会接收到所述新的礼物通知协议,就无法感知到所述直播间中有礼物可以领取,从而有效防止黑客刷礼物。When the method for preventing a gift in the live broadcast platform provided by the embodiment of the present application can be collected by having a gift in the live broadcast room, the server uses the first preset control field to select a new gift notification protocol and sends the message to the audience client in the live broadcast room. In one aspect, controlling, by the first preset control field, which new gift notification protocol is sent to the audience client in the live broadcast room increases the flexibility of sending a gift notification protocol, making it difficult for the hacker to crack the anti-brushing strategy; In one aspect, the normal viewer client can receive the new gift notification protocol, and the hacker client is a scripting program that only monitors the existing gift notification protocol and therefore does not receive the new gift notification protocol. It is impossible to perceive that there is a gift in the live room to receive, thereby effectively preventing hackers from brushing gifts.
附图说明DRAWINGS
图1为本发明实施例提供的直播平台中防止刷礼物的方法整体流程示意图;1 is a schematic flowchart of an overall method for preventing a gift from being played in a live broadcast platform according to an embodiment of the present invention;
图2为本发明实施例提供的直播平台中防止刷礼物的装置整体结构示意图;2 is a schematic diagram of an overall structure of a device for preventing a gift from being played in a live broadcast platform according to an embodiment of the present invention;
图3为本发明实施例提供的直播平台中防止刷礼物的设备整体结构示意图。FIG. 3 is a schematic diagram of an overall structure of a device for preventing a gift from being played in a live broadcast platform according to an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
在本发明的一个实施例中提供一种直播平台中防止刷礼物的方法,图1为本发明实施例提供的直播平台中防止刷礼物的方法整体流程示意图,该方法包括:S1,若直播间中有礼物,根据第一预设控制字段选择新的礼物通知协议;S2,将所述新的礼物通知协议发送给所述直播间中各观众客户端。In an embodiment of the present invention, a method for preventing a gift from being played in a live broadcast platform is provided. FIG. 1 is a schematic flowchart of a method for preventing a gift from being played in a live broadcast platform according to an embodiment of the present invention, where the method includes: S1, if the live broadcast room There is a gift, and a new gift notification protocol is selected according to the first preset control field; S2, the new gift notification protocol is sent to each viewer client in the live room.
具体地,现有技术中服务器检测到直播间中有可以领取的礼物时,给所述直播间中的每一位观众客户端发送现有的礼物通知协议。所述观众客户端接收到所述现有的礼物通知协议,则在所述观众客户端显示所述礼物的标识。所述礼物的标识用于表示所述直播间中有可以领取的礼物。观众点击所述礼物的标识时,向服务器发送请求领取礼物协议。S1中,服务器在直播间中有可以领取的礼物时向所述直播间中各观众客户端发送所述第一预设控制字段,或在观众登录所述直播间时向所述观众客户端发送所述第一预设控制字段。所述第一预设控制字段为预先设定的字段,可以为任意数据。所述新的礼物通知协议为预先设定的不同于现有的礼物通知协议,用于通知所述直播间中的观众以使所述观众获知直播间中有可以领取的礼物。服务器根据所述第一预设控制字段从预设的至少两种新的礼物通知协议中选择新的礼物通知协议。服务器将哪种所述新的礼物通知协议发 送给所述观众客户端,由服务器发送的第一预设控制字段进行控制。S2,服务器将所述新的礼物通知协议发送给所述直播间中观众客户端。所述观众为所述直播间中观看直播的用户。正常观众客户端在接收到所述新的礼物通知协议后,展示礼物的标识,而黑客客户端是一种脚本程序,所述脚本程序只监控现有的礼物通知协议,因此不会接收到所述新的礼物通知协议,黑客就无法感知到所述直播间中有礼物可以领取,从而有效防止黑客刷礼物。Specifically, in the prior art, when the server detects that there is a gift that can be received in the live broadcast room, the existing gift notification protocol is sent to each viewer client in the live broadcast room. The viewer client receives the existing gift notification protocol and displays the identity of the gift at the viewer client. The identification of the gift is used to indicate that there is a gift that can be picked up in the live room. When the viewer clicks on the logo of the gift, the server sends a request for a gift agreement. In S1, the server sends the first preset control field to each audience client in the live broadcast room when there is a gift that can be collected in the live broadcast room, or sends the first preset control field to the audience client when the viewer logs in to the live broadcast room. The first preset control field. The first preset control field is a preset field and may be any data. The new gift notification protocol is a preset different from the existing gift notification protocol for notifying the viewer in the live room to let the viewer know that there is a gift available in the live room. The server selects a new gift notification protocol from the preset at least two new gift notification protocols according to the first preset control field. The server sends the new gift notification protocol to the viewer client, and the first preset control field sent by the server controls. S2. The server sends the new gift notification protocol to the audience client in the live room. The viewer is a user watching the live broadcast in the live broadcast room. The normal viewer client displays the identity of the gift after receiving the new gift notification protocol, and the hacker client is a script program that only monitors the existing gift notification protocol and therefore does not receive the In the new gift notification agreement, hackers cannot perceive that there is a gift in the live room to receive, thus effectively preventing hackers from brushing gifts.
例如,现有的礼物通知协议对应的所述第一预设控制字段为0000,新的所述礼物通知协议对应的所述第一预设控制字段为0001、0002和0003等。For example, the first preset control field corresponding to the existing gift notification protocol is 0000, and the first preset control fields corresponding to the new gift notification protocol are 0001, 0002, 0003, and the like.
本实施例通过在直播间中有礼物可以领取时,服务器使用第一预设控制字段选择新的礼物通知协议发送给所述直播间中观众客户端,一方面,由所述第一预设控制字段控制将哪种新的礼物通知协议发送给直播间中观众客户端,增加了发送礼物通知协议的灵活性,使黑客很难破解防刷策略;另一方面,正常观众客户端能接收到所述新的礼物通知协议,而黑客客户端是一种脚本程序,只监控现有的礼物通知协议,因此不会接收到所述新的礼物通知协议,就无法感知到所述直播间中有礼物可以领取,从而有效防止黑客刷礼物。In this embodiment, when the user can receive the gift in the live room, the server uses the first preset control field to select a new gift notification protocol and sends the message to the audience client in the live room. On the one hand, the first preset control The field control which new gift notification protocol is sent to the audience client in the live broadcast room increases the flexibility of sending a gift notification protocol, making it difficult for hackers to crack the anti-brushing strategy; on the other hand, the normal viewer client can receive the The new gift notification protocol, and the hacking client is a script that only monitors the existing gift notification protocol, so the new gift notification protocol will not be received, and there is no gift in the live room. Can be collected, thus effectively preventing hackers from brushing gifts.
在上述实施例的基础上,本实施例中所述步骤S1之前还包括:对现有的礼物通知协议中的字段进行修改,生成至少两种新的礼物通知协议。Based on the foregoing embodiment, before step S1 in this embodiment, the method further includes: modifying a field in the existing gift notification protocol to generate at least two new gift notification protocols.
具体地,假设现有的礼物通知协议为“type@=roommessage/gift@=TreasureBox/type@=1”,所述现有的礼物通知协议的协议类型为roommessage,roommessage表示直播间的消息。字段gift设置为TreasureBox,表示所述直播间中有礼物,所述礼物为宝箱。所述字段type为1,表示宝箱的类型为1。当所述观众客户端接收到服务器发送的所述现有的礼物通知协议时,获知所述直播间中有礼物可以领取。在所述观众客户端的页面上显示礼物标识,观众点击所述礼物标识领取礼物。对所述现有的礼物通知协议中的字段进行修改,生成至少两种新的礼物通知协议。如所述新的礼物通知协议为 "type@=roommessage/ade@=bde/deo@=1”,将所述现有的礼物通知协议中的gift修改为ade,TreasureBox修改为bde,type修改为deo。,服务器还可以增加更多不同的礼物通知协议。本实施例中对所述现有的礼物通知协议中的字段进行修改,不限于此种修改结果,对字段的修改没有规则,且修改后的字段没有实际含义。修改后的礼物通知协议的具体内容与现有的宝箱协议的具体内容一致。Specifically, it is assumed that the existing gift notification protocol is “type@=roommessage/gift@=TreasureBox/type@=1”, the existing gift notification protocol has a protocol type of roommessage, and roommessage represents a message between live broadcasts. The field gift is set to TreasureBox, indicating that there is a gift in the live room, and the gift is a treasure chest. The field type is 1, indicating that the type of the treasure chest is 1. When the viewer client receives the existing gift notification protocol sent by the server, it is known that a gift can be received in the live room. A gift identification is displayed on the page of the viewer client, and the viewer clicks on the gift identification to receive the gift. Modifying the fields in the existing gift notification protocol to generate at least two new gift notification protocols. If the new gift notification protocol is "type@=roommessage/ade@=bde/deo@=1", the gift in the existing gift notification protocol is modified to ade, the TreasureBox is modified to bde, and the type is modified to Deo. The server can also add more different gift notification protocols. In this embodiment, the field in the existing gift notification protocol is modified, and is not limited to the result of the modification. There is no rule for modifying the field, and the modified field has no actual meaning. The specific content of the revised gift notification agreement is consistent with the specific content of the existing treasure chest agreement.
本实施例中对现有的礼物通知协议中的字段进行修改,生成至少两种新的礼物通知协议,根据所述第一预设控制字段选择所述新的礼物通知协议发送给所述直播间中观众客户端,由所述第一预设控制字段控制将哪种新的礼物通知协议发送给直播间中观众客户端,增加了发送礼物通知协议的灵活性,使黑客很难破解防刷策略In this embodiment, the field in the existing gift notification protocol is modified to generate at least two new gift notification protocols, and the new gift notification protocol is selected and sent to the live room according to the first preset control field. In the audience client, the first preset control field controls which new gift notification protocol is sent to the audience client in the live broadcast room, which increases the flexibility of sending the gift notification protocol, making it difficult for the hacker to crack the anti-brushing strategy.
在上述实施例的基础上,本实施例中,所述步骤S2还包括:将所述第一预设控制字段发送给所述直播间中各观众客户端。On the basis of the foregoing embodiment, in the embodiment, the step S2 further includes: sending the first preset control field to each audience client in the live broadcast room.
具体地,服务器在将所述新的礼物通知协议发送给所述直播间中观众客户端的同时,将所述第一预设控制字段发送给所述观众客户端。所述观众客户端根据所述第一预设控制字段对所述新的礼物通知协议进行解析。例如,服务器下发的控制字段为0001,所述观众客户端根据所述新的礼物通知协议的字段对所述新的礼物通知协议进行解析。首先观众客户端会判断所述新的礼物通知协议的协议类型是否为roommessage,如果是则进一步根据deo解析ade和bde,从而获知所述新的礼物通知协议为通知所述直播间中有礼物的协议,且所述礼物为宝箱,宝箱类型为1。根据解析结果,在观众客户端展示所述礼物的标识。同样,对于其他新的礼物协议都进行解析。而黑客客户端是一种脚本程序,所述脚本程序只监控现有的礼物通知协议,因此不会接收所述第一预设控制字段,也不会根据所述第一预设控制字段对所述新的礼物通知协议进行解析,从而不会显示所述礼物的标识,无法感知到所述直播间中有礼物可以领取,从而有效防止黑客刷礼物。Specifically, the server sends the first preset control field to the audience client while sending the new gift notification protocol to the audience client in the live room. The viewer client parses the new gift notification protocol according to the first preset control field. For example, the control field delivered by the server is 0001, and the viewer client parses the new gift notification protocol according to the field of the new gift notification protocol. First, the viewer client determines whether the protocol type of the new gift notification protocol is roommessage, and if so, further resolves ade and bde according to deo, thereby knowing that the new gift notification protocol is to notify the live room that there is a gift. Agreement, and the gift is a treasure chest, the treasure chest type is 1. Based on the result of the analysis, the identity of the gift is displayed on the viewer client. Again, parsing other new gift agreements. The hacking client is a script program, and the script program only monitors the existing gift notification protocol, so the first preset control field is not received, and the first preset control field is not The new gift notification protocol is parsed so that the logo of the gift is not displayed, and the gift can be received in the live room, thereby effectively preventing the hacker from brushing the gift.
在上述任一实施例的基础上,本实施例中,所述步骤S2还包括:将现有的礼物通知协议发送给所述直播间中各观众客户端;相应地,所述步 骤S2之后还包括:若接收到任一所述观众客户端发送的请求领取礼物协议,则获知所述观众客户端为黑客客户端。On the basis of any of the above embodiments, in the embodiment, the step S2 further includes: sending an existing gift notification protocol to each viewer client in the live broadcast room; correspondingly, after the step S2 The method includes: if receiving a request for receiving a gift agreement sent by any of the viewer clients, knowing that the viewer client is a hacker client.
具体地,服务器在将所述新的礼物通知协议发送给所述直播间中观众客户端的同时,还将所述现有的礼物通知协议发送给所述观众客户端。正常观众客户端在同时接收到所述新的礼物通知协议后在所述直播间中显示所述礼物标识,而会忽略所述现有的礼物通知协议,而黑客客户端接收到所述现有的礼物通知协议后,获知所述直播间中有可以领取的礼物,则向服务器发送请求领取礼物协议,所述请求领取礼物协议为请求领取礼物的协议。服务器接收所述观众客户端的发送的请求领取礼物协议,则获知所述观众客户端为黑客客户端,对所述黑客客户端进行处理,如加入黑名单、进行封禁等。Specifically, the server sends the existing gift notification protocol to the audience client while transmitting the new gift notification protocol to the audience client in the live room. The normal viewer client displays the gift identifier in the live broadcast room after receiving the new gift notification protocol, and ignores the existing gift notification protocol, and the hacker client receives the existing gift After the gift notification agreement, it is known that there is a gift that can be collected in the live broadcast room, and then a request for a gift agreement is sent to the server, and the request for the gift agreement is an agreement for requesting a gift. The server receives the request for receiving the gift from the viewer client, and learns that the viewer client is a hacker client, and processes the hacker client, such as adding a blacklist, performing a ban, and the like.
在上述任一实施例的基础上,本实施例中所述步骤S2之后还包括:S3,将第二预设控制字段发送给所述观众客户端;S4,接收所述观众客户端根据所述第二预设控制字段发送的请求领取礼物协议;S5,若根据所述观众客户端发送的请求领取礼物协议获知所述观众客户端为黑客客户端,将所述黑客客户端领取礼物的中奖率设置为0。On the basis of any of the foregoing embodiments, after step S2 in this embodiment, the method further includes: S3, sending a second preset control field to the audience client; S4, receiving the audience client according to the The request for receiving the gift is sent by the second preset control field; S5, if the spectator client is the hacker client according to the request for receiving the gift protocol sent by the spectator client, the hiring rate of the hacking client is received Set to 0.
具体地,S3中,所述观众客户端在领取礼物时向服务器发送请求领取礼物协议。服务器在所述直播间中的观众点击领取礼物时,或在观众登录所述直播间时向所述观众客户端发送所述第二预设控制字段。所述第二预设控制字段为预先设定的字段,可以为任意数据。服务器通过所述第二预设控制字段控制所述观众客户端向服务器发送哪种请求领取礼物协议。S4中,服务器接收观众客户端根据所述第二字段发送的请求领取礼物协议,所述请求领取礼物协议为请求领取礼物的协议,用于向服务器请求领取礼物。所述请求领取礼物协议为预设的至少两种新的请求领取礼物协议。所述观众客户端根据所述第而控制字段从预设的至少两种请求领取礼物协议中选择请求领取礼物协议,将选择的所述请求领取礼物协议发送给服务器。S5中,根据所述请求领取礼物协议判断所述观众客户端是否为黑客客户端,若获知所述观众客户端为黑客客户端,则将所述黑客客户端领取礼物的中奖率设置为0,并将所述黑客客户端对应的账号记录到服务器的黑名单中,不从正面封禁所述黑客客户端,提高了防刷策略的隐蔽性。Specifically, in S3, the viewer client sends a request for receiving a gift agreement to the server when receiving the gift. The server sends the second preset control field to the viewer client when the viewer in the live room clicks to receive the gift, or when the viewer logs in to the live room. The second preset control field is a preset field and may be any data. The server controls, by the second preset control field, which requesting the gift is sent by the viewer client to the server. In S4, the server receives a request for the gift received by the viewer client according to the second field, and the request for receiving the gift agreement is a protocol for requesting a gift, for requesting the server to receive the gift. The request for a gift agreement is a preset gift agreement for at least two new requests. The viewer client selects a request for a gift agreement from the preset at least two request-receiving gift protocols according to the first control field, and sends the selected request-to-card gift protocol to the server. In S5, determining, according to the request for a gift agreement, whether the viewer client is a hacker client, and if the viewer client is known as a hacker client, setting a winning rate of the hacking client to receive a gift is set to 0, And the account corresponding to the hacking client is recorded in the blacklist of the server, and the hacking client is not blocked from the front, thereby improving the concealment of the anti-brushing strategy.
例如,当所述第二预设控制字段为0000时,所述观众客户端将现有的请求领取礼物协议发送给服务器以请求领取礼物,所述现有的请求领取礼物协议为POST/Live/Room/gift/roomid?uid=xx。所述uid为用户编号属性,xx为用户编号属性的值。当所述第二预设控制字段为0001时,所述观众客户端将0001对应的新的请求领取礼物协议发送给服务器,所述新的请求领取礼物协议为POST/Live/Room/bbd?ccd=yy。所述新的请求领取礼物协议通过对所述现有的请求领取礼物协议中的一个或多个字段进行修改后获取。不限于本实施例举例中的第二预设控制字段、新的请求领取礼物协议和现有的请求领取礼物协议。For example, when the second preset control field is 0000, the viewer client sends an existing request for gift collection protocol to the server to request a gift, and the existing request for a gift agreement is POST/Live/ Room/gift/roomid? Uid=xx. The uid is a user number attribute, and xx is a value of a user number attribute. When the second preset control field is 0001, the audience client sends a new request for gift agreement corresponding to 0001 to the server, and the new request for receiving a gift agreement is POST/Live/Room/bbd? Ccd=yy. The new request to receive gift agreement is obtained by modifying one or more fields in the existing request for gift collection agreement. It is not limited to the second preset control field in the example of the embodiment, the new request for gift collection agreement, and the existing request for gift collection agreement.
本实施例通过服务器使用第二预设控制字段控制观众客户端发送请求领取礼物协议,根据所述请求领取礼物协议识别黑客客户端,将黑客客户端领取礼物的中奖率设置为0,一方面,所述第二预设控制字段控制观众客户端将哪种请求领取礼物协议发送给服务器,增加了发送请求领取礼物协议的灵活性,使黑客很难破解防刷策略;另一方面,使黑客正常领取礼物,当将黑客领取礼物的中奖率设置为0,使黑客无法产生收益,而黑客并不知道服务器已检测出其刷礼物的行为,在防止黑客刷礼物的同时提高了防刷策略的隐蔽性,使黑客很难破解防刷策略。In this embodiment, the server uses the second preset control field to control the viewer client to send a request to receive a gift agreement, and according to the request, the gift agreement is used to identify the hacking client, and the winning rate of the hacking client receiving the gift is set to 0. The second preset control field controls which requesting gift agreement is sent by the viewer client to the server, which increases the flexibility of sending a request to receive a gift agreement, so that the hacker can hardly crack the anti-brushing strategy; on the other hand, the hacker is normal. When receiving a gift, when the hacker receives the gift, the winning rate is set to 0, so that the hacker can not generate revenue, and the hacker does not know that the server has detected the behavior of brushing the gift, and prevents the hacker from brushing the gift while improving the concealment of the anti-brushing strategy. Sex makes it difficult for hackers to break the anti-brush strategy.
在上述任一实施例的基础上,本实施例中所述步骤S5中根据所述观众客户端发送的请求领取礼物协议获知所述观众客户端为黑客客户端的步骤具体包括:若所述第二预设控制字段对应的请求领取礼物协议为新的请求领取礼物协议,且接收的所述观众客户端发送的请求领取礼物协议为现有的请求领取礼物协议,则获知所述观众客户端为黑客客户端;或者,若所述第二预设控制字段对应的所述请求领取礼物协议为现有的请求领取礼物协议,且接收的所述观众客户端发送的请求领取礼物协议为新的请求领取礼物协议,则获知所述观众客户端为黑客客户端。On the basis of any of the above embodiments, the step of receiving the gift agreement according to the request sent by the viewer client in step S5 in the embodiment, the step of obtaining the audience client as a hacker client includes: The request receiving gift agreement corresponding to the preset control field is a new request for receiving a gift agreement, and the received request for receiving the gift agreement sent by the viewer client is an existing request for receiving a gift agreement, and the viewer client is known as a hacker. a client; or, if the request for receiving a gift agreement corresponding to the second preset control field is an existing request for a gift agreement, and the received request for receiving the gift agreement sent by the viewer client is a new request The gift agreement knows that the viewer client is a hacker client.
具体地,如果所述第二预设控制字段控制控制所述观众客户端发送新的请求领取礼物协议,正常的观众客户端接收所述第二预设控制字段,根据所述第二预设控制字段发送新的请求领取礼物协议。若接收的所述观众客户端发送的请求领取礼物协议为现有的请求领取礼物协议,则获知所述观众客户端为黑客客户端。如果所述第二预设控制字段控制控制所述观众 客户端发送现有的请求领取礼物协议,正常的观众客户端接收所述第二预设控制字段,根据所述第二预设控制字段发送现有的请求领取礼物协议。若接收的所述观众客户端发送的请求领取礼物协议为新的请求领取礼物协议,则获知所述观众客户端为黑客客户端。Specifically, if the second preset control field controls to control the viewer client to send a new request to receive a gift agreement, the normal viewer client receives the second preset control field, according to the second preset control. The field sends a new request to receive a gift agreement. If the received request for receiving the gift protocol sent by the viewer client is an existing request for a gift agreement, the viewer client is known as a hacker client. If the second preset control field controls the viewer client to send an existing request to receive a gift agreement, the normal viewer client receives the second preset control field, and sends according to the second preset control field. Existing requests for a gift agreement. If the received request for receiving the gift protocol sent by the viewer client is a new request for a gift agreement, the viewer client is known as a hacker client.
在上述任一实施例的基础上,本实施例中所述步骤S5还包括:将所述直播间对应的除黑客客户端以外的观众客户端作为正常观众客户端;使用中奖算法获取各所述正常观众客户端领取礼物的中奖率,以供各所述正常观众客户端根据所述领取礼物的中奖率获取奖励。On the basis of any of the foregoing embodiments, the step S5 in the embodiment further includes: using a viewer client other than the hacker client corresponding to the live broadcast as a normal viewer client; using the winning algorithm to obtain each of the foregoing The normal viewer client receives the winning rate of the gift for each of the normal viewer clients to obtain a reward according to the winning rate of the gift.
具体地,将识别出的黑客客户端排除在外,使用中奖算法计算所述直播间中各正常观众客户端领取礼物的中奖率,所述直播间中各正常观众客户端根据所述中奖率领取相应的奖励。Specifically, the identified hacking client is excluded, and the winning algorithm is used to calculate the winning rate of the normal audience client in the live broadcast room, and the normal audience client in the live broadcast room receives the corresponding according to the winning rate. Reward.
在本发明的另一个实施例中提供一种直播平台中防止刷礼物的装置,图2为本发明实施例提供的直播平台中防止刷礼物的装置整体结构示意图,该装置包括选择单元1和第一发送单元2,其中:In another embodiment of the present invention, a device for preventing a gift from being played in a live broadcast platform is provided. FIG. 2 is a schematic diagram of an overall structure of a device for preventing a gift in a live broadcast platform according to an embodiment of the present invention, where the device includes a selection unit 1 and a a transmitting unit 2, wherein:
所述选择单元1用于在直播间中有礼物时,根据第一预设控制字段选择新的礼物通知协议;所述第一发送单元2用于将所述新的礼物通知协议发送给所述直播间中各观众客户端。The selecting unit 1 is configured to select a new gift notification protocol according to a first preset control field when there is a gift in the live room; the first sending unit 2 is configured to send the new gift notification protocol to the Each viewer client in the live room.
具体地,所述第一发送单元2在直播间中有可以领取的礼物时向所述直播间中各观众客户端发送所述第一预设控制字段,或在观众登录所述直播间时向所述观众客户端发送所述第一预设控制字段。所述第一预设控制字段为预先设定的字段,可以为任意数据。所述新的礼物通知协议为预先设定的不同于现有的礼物通知协议,用于通知所述直播间中的观众以使所述观众获知直播间中有可以领取的礼物。所述选择单元1根据所述第一预设控制字段从预设的至少两种新的礼物通知协议中选择新的礼物通知协议。所述第一发送单元2将哪种所述新的礼物通知协议发送给所述观众客户端,由所述选择单元1发送的第一预设控制字段进行控制。所述第一发送单元2器将所述新的礼物通知协议发送给所述直播间中观众客户端。所述观众为所述直播间中观看直播的用户。正常观众客户端在接收到所述新的礼物通知协议后,展示礼物的标识,而黑客客户端是一种脚本程序,所 述脚本程序只监控现有的礼物通知协议,因此不会接收到所述新的礼物通知协议,黑客就无法感知到所述直播间中有礼物可以领取,从而有效防止黑客刷礼物。Specifically, the first sending unit 2 sends the first preset control field to each audience client in the live broadcast room when there is a gift that can be received in the live broadcast room, or when the viewer logs in to the live broadcast room The viewer client sends the first preset control field. The first preset control field is a preset field and may be any data. The new gift notification protocol is a preset different from the existing gift notification protocol for notifying the viewer in the live room to let the viewer know that there is a gift available in the live room. The selecting unit 1 selects a new gift notification protocol from the preset at least two new gift notification protocols according to the first preset control field. The first sending unit 2 sends the new gift notification protocol to the viewer client, and the first preset control field sent by the selecting unit 1 controls. The first sending unit 2 sends the new gift notification protocol to the audience client in the live room. The viewer is a user watching the live broadcast in the live broadcast room. The normal viewer client displays the identity of the gift after receiving the new gift notification protocol, and the hacker client is a script program that only monitors the existing gift notification protocol and therefore does not receive the In the new gift notification agreement, hackers cannot perceive that there is a gift in the live room to receive, thus effectively preventing hackers from brushing gifts.
本实施例通过在直播间中有礼物可以领取时,服务器使用第一预设控制字段选择新的礼物通知协议发送给所述直播间中观众客户端,一方面,由所述第一预设控制字段控制将哪种新的礼物通知协议发送给直播间中观众客户端,增加了发送礼物通知协议的灵活性,使黑客很难破解防刷策略;另一方面,正常观众客户端能接收到所述新的礼物通知协议,而黑客客户端是一种脚本程序,只监控现有的礼物通知协议,因此不会接收到所述新的礼物通知协议,就无法感知到所述直播间中有礼物可以领取,从而有效防止黑客刷礼物。In this embodiment, when the user can receive the gift in the live room, the server uses the first preset control field to select a new gift notification protocol and sends the message to the audience client in the live room. On the one hand, the first preset control The field control which new gift notification protocol is sent to the audience client in the live broadcast room increases the flexibility of sending a gift notification protocol, making it difficult for hackers to crack the anti-brushing strategy; on the other hand, the normal viewer client can receive the The new gift notification protocol, and the hacking client is a script that only monitors the existing gift notification protocol, so the new gift notification protocol will not be received, and there is no gift in the live room. Can be collected, thus effectively preventing hackers from brushing gifts.
在上述实施例的基础上,本实施例中所述装置还包括生成单元,用于对现有的礼物通知协议中的字段进行修改,生成至少两种新的礼物通知协议。Based on the foregoing embodiment, the apparatus in this embodiment further includes a generating unit, configured to modify a field in the existing gift notification protocol to generate at least two new gift notification protocols.
在上述任一实施例的基础上,本实施例中所述第一发送单元还用于:将所述第一预设控制字段发送给所述直播间中各观众客户端。On the basis of any of the foregoing embodiments, the first sending unit in the embodiment is further configured to: send the first preset control field to each audience client in the live broadcast room.
在上述任一实施例的基础上,本实施例中所述第一发送单元还用于将现有的礼物通知协议发送给所述直播间中各观众客户端;所述装置还包括处理单元,用于在接收到任一所述观众客户端发送的请求领取礼物协议时,获知所述观众客户端为黑客客户端。On the basis of any of the foregoing embodiments, the first sending unit in the embodiment is further configured to send an existing gift notification protocol to each audience client in the live broadcast room; the device further includes a processing unit, For receiving the request for receiving a gift agreement sent by any of the viewer clients, the viewer client is known as a hacker client.
在上述任一实施例的基础上,本实施例中所述装置还包括第二发送子单元、接收子单元和设置子单元,其中:On the basis of any of the foregoing embodiments, the apparatus in this embodiment further includes a second sending subunit, a receiving subunit, and a setting subunit, where:
所述第二发送子单元用于将第二预设控制字段发送给所述观众客户端;所述接收子单元用于接收所述观众客户端根据所述第二预设控制字段发送的请求领取礼物协议;所述设置子单元用于在根据所述观众客户端发送的请求领取礼物协议获知所述观众客户端为黑客客户端时,将所述黑客客户端领取礼物的中奖率设置为0。The second sending subunit is configured to send a second preset control field to the audience client, and the receiving subunit is configured to receive the request sent by the viewer client according to the second preset control field. a gift protocol; the setting subunit is configured to set a winning rate of the hacking client to receive a gift to 0 when the viewer client is a hacker client according to the request receiving gift protocol sent by the viewer client.
在上述实施例的基础上,本实施例中所述设置子单元具体用于:在所述第二预设控制字段对应的所述请求领取礼物协议为新的请求领取礼物 协议,且接收的所述观众客户端发送的请求领取礼物协议为现有的请求领取礼物协议时,则获知所述观众客户端为黑客客户端;或者,若所述第二预设控制字段对应的所述请求领取礼物协议为现有的请求领取礼物协议,且接收的所述观众客户端发送的请求领取礼物协议为新的请求领取礼物协议,则获知所述观众客户端为黑客客户端。On the basis of the foregoing embodiment, the setting subunit in the embodiment is specifically configured to: in the second preset control field, the request to receive a gift agreement is a new request to receive a gift agreement, and the received When the request for receiving the gift sent by the viewer client is an existing request for a gift agreement, the viewer client is notified that the viewer client is a hacker client; or, if the second preset control field corresponds to the request for receiving a gift The agreement is an existing request for a gift agreement, and the received request for receiving the gift agreement sent by the viewer client is a new request for a gift agreement, and the viewer client is known as a hacker client.
在上述实施例的基础上,本实施例中所述设置子单元还用于:将所述直播间对应的除黑客客户端以外的观众客户端作为正常观众客户端;使用中奖算法获取各所述正常观众客户端领取礼物的中奖率,以供各所述正常观众客户端根据所述领取礼物的中奖率获取奖励。On the basis of the foregoing embodiment, the setting subunit in the embodiment is further configured to: use a viewer client other than the hacker client corresponding to the live broadcast as a normal viewer client; and obtain each of the foregoing by using a winning algorithm. The normal viewer client receives the winning rate of the gift for each of the normal viewer clients to obtain a reward according to the winning rate of the gift.
在上述实施例的基础上,本实施例中所述领取礼物协议包括直播平台的名称、观众编号、领取礼物的数目、观众的Token数据、领取礼物的时刻、观众客户端编号和直播房间编号;所述协议字段为随机生成的随机数、关键字或加密的领取礼物的时刻;所述新协议包括直播房间编号、观众的Token数据和领取礼物的时刻中的一种或至少两种。On the basis of the foregoing embodiment, the receiving gift agreement in the embodiment includes the name of the live broadcast platform, the audience number, the number of gifts received, the Token data of the viewer, the time of receiving the gift, the audience client number, and the live room number; The protocol field is a randomly generated random number, a keyword, or an encrypted moment of receiving a gift; the new protocol includes one or at least two of a live room number, a viewer's Token data, and a time to receive a gift.
本实施例提供一种直播平台中防止刷礼物的设备,图3为本发明实施例提供的直播平台中防止刷礼物的设备整体结构示意图,该设备包括:至少一个处理器31、至少一个存储器32和总线33;其中,This embodiment provides a device for preventing a gift from being played in a live broadcast platform. FIG. 3 is a schematic diagram of an overall structure of a device for preventing a gift from being played in a live broadcast platform according to an embodiment of the present invention. The device includes: at least one processor 31 and at least one memory 32. And bus 33; wherein
所述处理器31和存储器32通过所述总线33完成相互间的通信;The processor 31 and the memory 32 complete communication with each other through the bus 33;
所述存储器32存储有可被所述处理器31执行的程序指令,所述处理器调用所述程序指令能够执行上述各方法实施例所提供的方法,例如包括:S1,若直播间中有礼物,根据第一预设控制字段选择新的礼物通知协议;S2,将所述新的礼物通知协议发送给所述直播间中各观众客户端。The memory 32 stores program instructions that are executable by the processor 31, and the processor calls the program instructions to perform the methods provided by the foregoing method embodiments, for example, including: S1, if there is a gift in the live room And selecting a new gift notification protocol according to the first preset control field; S2, sending the new gift notification protocol to each viewer client in the live room.
本实施例公开一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,计算机能够执行上述各方法实施例所提供的方法,例如包括:S1,若直播间中有礼物,根据第一预设控制字段选择新的礼物通知协议;S2,将所述新的礼物通知协议发送给所述直播间中各观众客户端。The embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, the computer The method provided by each of the foregoing method embodiments is performed, for example, including: S1, if there is a gift in the live broadcast room, selecting a new gift notification protocol according to the first preset control field; S2, sending the new gift notification protocol to Each viewer client in the live room.
本实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可 读存储介质存储计算机指令,所述计算机指令使所述计算机执行上述各方法实施例所提供的方法,例如包括:S1,若直播间中有礼物,根据第一预设控制字段选择新的礼物通知协议;S2,将所述新的礼物通知协议发送给所述直播间中各观众客户端。The embodiment provides a non-transitory computer readable storage medium, the non-transitory computer readable storage medium storing computer instructions, the computer instructions causing the computer to perform the methods provided by the foregoing method embodiments, including, for example, S1, if there is a gift in the live room, select a new gift notification protocol according to the first preset control field; S2, send the new gift notification protocol to each viewer client in the live room.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
以上所描述的直播平台中防止刷礼物的设备实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments for preventing the gift from being brushed in the live broadcast platform described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as the unit may be or may be It is not a physical unit, it can be located in one place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the various embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware. Based on such understanding, the above-described technical solutions may be embodied in the form of software products in essence or in the form of software products, which may be stored in a computer readable storage medium such as ROM/RAM, magnetic Discs, optical discs, etc., include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments or portions of the embodiments.
最后应说明的是:以上各实施例仅用以说明本发明的实施例的技术方案,而非对其限制;尽管参照前述各实施例对本发明的实施例进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明的实施例各实施例技术方案的范围。It should be noted that the above embodiments are only used to explain the technical solutions of the embodiments of the present invention, and are not limited thereto; although the embodiments of the present invention are described in detail with reference to the foregoing embodiments, common in the art The skilled person should understand that the technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the essence of the corresponding technical solutions. Embodiments The scope of the technical solutions of the various embodiments.

Claims (11)

  1. 一种直播平台中防止刷礼物的方法,其特征在于,包括:A method for preventing a gift from being played in a live broadcast platform, comprising:
    S1,若直播间中有礼物,根据第一预设控制字段选择新的礼物通知协议;S1. If there is a gift in the live room, select a new gift notification protocol according to the first preset control field;
    S2,将所述新的礼物通知协议发送给所述直播间中各观众客户端。S2. Send the new gift notification protocol to each viewer client in the live room.
  2. 根据权利要求1所述的方法,其特征在于,所述步骤S1之前还包括:The method according to claim 1, wherein the step S1 further comprises:
    对现有的礼物通知协议中的字段进行修改,生成至少两种新的礼物通知协议。Modify the fields in the existing gift notification agreement to generate at least two new gift notification protocols.
  3. 根据权利要求1或2所述的方法,其特征在于,所述步骤S2还包括:The method according to claim 1 or 2, wherein the step S2 further comprises:
    将所述第一预设控制字段发送给所述直播间中各观众客户端。Sending the first preset control field to each viewer client in the live broadcast room.
  4. 根据权利要求1或2所述的方法,其特征在于,所述步骤S2还包括:The method according to claim 1 or 2, wherein the step S2 further comprises:
    将现有的礼物通知协议发送给所述直播间中各观众客户端;Sending an existing gift notification agreement to each viewer client in the live room;
    相应地,所述步骤S2之后还包括:Correspondingly, after the step S2, the method further includes:
    若接收到任一所述观众客户端发送的请求领取礼物协议,则获知所述观众客户端为黑客客户端。If the request for receiving a gift sent by any of the viewer clients is received, the viewer client is informed that the viewer client is a hacker client.
  5. 根据权利要求1或2所述的方法,其特征在于,所述步骤S2之后还包括:The method according to claim 1 or 2, wherein the step S2 further comprises:
    S3,将第二预设控制字段发送给所述观众客户端;S3. Send a second preset control field to the audience client.
    S4,接收所述观众客户端根据所述第二预设控制字段发送的请求领取礼物协议;S4. Receive a gift agreement that is received by the viewer client according to the request sent by the second preset control field.
    S5,若根据所述观众客户端发送的请求领取礼物协议获知所述观众客户端为黑客客户端,则将所述黑客客户端领取礼物的中奖率设置为0。S5. If it is known that the viewer client is a hacker client according to the request for receiving a gift sent by the viewer client, the winning rate of the hacking client receiving the gift is set to zero.
  6. 根据权利要求5所述的方法,其特征在于,所述步骤S5中根据所 述观众客户端发送的请求领取礼物协议获知所述观众客户端为黑客客户端的步骤具体包括:The method according to claim 5, wherein the step of obtaining the gift agreement according to the request sent by the viewer client in step S5 to learn that the viewer client is a hacker client comprises:
    若所述第二预设控制字段对应的所述请求领取礼物协议为新的请求领取礼物协议,且接收的所述观众客户端发送的请求领取礼物协议为现有的请求领取礼物协议,则获知所述观众客户端为黑客客户端;或者,If the request for receiving the gift agreement corresponding to the second preset control field is a new request for a gift agreement, and the received request for receiving the gift agreement sent by the viewer client is an existing request for a gift agreement, then the notification is obtained. The viewer client is a hacker client; or,
    若所述第二预设控制字段对应的所述请求领取礼物协议为现有的请求领取礼物协议,且接收的所述观众客户端发送的请求领取礼物协议为新的请求领取礼物协议,则获知所述观众客户端为黑客客户端。If the request for receiving the gift agreement corresponding to the second preset control field is an existing request for a gift agreement, and the received request for receiving the gift agreement sent by the viewer client is a new request for a gift agreement, then the notification is obtained. The viewer client is a hacker client.
  7. 根据权利要求5所述的方法,其特征在于,所述步骤S5还包括:The method of claim 5, wherein the step S5 further comprises:
    将所述直播间对应的除黑客客户端以外的观众客户端作为正常观众客户端;A viewer client other than the hacker client corresponding to the live broadcast is used as a normal viewer client;
    使用中奖算法获取各所述正常观众客户端领取礼物的中奖率,以供各所述正常观众客户端根据所述领取礼物的中奖率获取奖励。The winning algorithm is used to obtain the winning rate of the gifts received by each of the normal audience clients, so that each of the normal audience clients obtains the reward according to the winning rate of the received gifts.
  8. 一种直播平台中防止刷礼物的装置,其特征在于,包括:A device for preventing a gift from being played in a live broadcast platform, comprising:
    选择单元,用于在直播间中有礼物时,根据第一预设控制字段选择新的礼物通知协议;a selecting unit, configured to select a new gift notification protocol according to the first preset control field when there is a gift in the live room;
    第一发送单元,用于将所述新的礼物通知协议发送给所述直播间中各观众客户端。The first sending unit is configured to send the new gift notification protocol to each viewer client in the live room.
  9. 一种直播平台中防止刷礼物的设备,其特征在于,包括:A device for preventing a gift from being played in a live broadcast platform, comprising:
    至少一个处理器、至少一个存储器和总线;其中,At least one processor, at least one memory, and a bus; wherein
    所述处理器和存储器通过所述总线完成相互间的通信;The processor and the memory complete communication with each other through the bus;
    所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如权利要求1至7任一所述的方法。The memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1-7.
  10. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行如权利要求1至7任一所述的方法。A computer program product, comprising: a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, The computer performs the method of any one of claims 1 to 7.
  11. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行如权利要求1至7任一所述的方法。A non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium stores computer instructions, the computer instructions causing the computer to perform the method of any one of claims 1 to 7. .
PCT/CN2017/120149 2017-10-09 2017-12-29 Method and device preventing gift giving on live streaming platform WO2019071857A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710930962.0 2017-10-09
CN201710930962.0A CN107770162B (en) 2017-10-09 2017-10-09 Method and device for preventing gift from being brushed in live broadcast platform

Publications (1)

Publication Number Publication Date
WO2019071857A1 true WO2019071857A1 (en) 2019-04-18

Family

ID=61267145

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/120149 WO2019071857A1 (en) 2017-10-09 2017-12-29 Method and device preventing gift giving on live streaming platform

Country Status (2)

Country Link
CN (1) CN107770162B (en)
WO (1) WO2019071857A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110807668A (en) * 2019-10-31 2020-02-18 广州市百果园信息技术有限公司 Live broadcast reward method, device, equipment and storage medium
CN112070524A (en) * 2020-07-24 2020-12-11 广州阿凡提电子科技有限公司 Advertisement service recommendation method and device
CN114503598A (en) * 2019-12-19 2022-05-13 多玩国株式会社 Management server, user terminal, gift system, and information processing method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120192229A1 (en) * 2011-01-20 2012-07-26 Hunter Christopher Glynn R Process, instructions and architecture of a graphical user interface saved on a physical, computer read-able media device and run for the display of multiple streaming live video feeds simultaneously
CN105654354A (en) * 2016-03-11 2016-06-08 武汉斗鱼网络科技有限公司 User interaction optimization method and system in live video
CN105872830A (en) * 2016-05-31 2016-08-17 广州华多网络科技有限公司 Interaction method and device for live channel
CN106028165A (en) * 2016-06-17 2016-10-12 武汉斗鱼网络科技有限公司 Method and system for realizing lucky draw in mobile terminal of live broadcasting website
CN106228410A (en) * 2016-07-29 2016-12-14 武汉斗鱼网络科技有限公司 Virtual present task anti-brush system and method in a kind of live platform
CN107124619A (en) * 2017-04-28 2017-09-01 暴风集团股份有限公司 User interaction method and interaction platform in a kind of net cast
CN107222754A (en) * 2017-05-27 2017-09-29 武汉斗鱼网络科技有限公司 Present gives Notification Method, device and server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106454814A (en) * 2016-11-10 2017-02-22 中国科学院计算技术研究所 GTP tunnel communication system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120192229A1 (en) * 2011-01-20 2012-07-26 Hunter Christopher Glynn R Process, instructions and architecture of a graphical user interface saved on a physical, computer read-able media device and run for the display of multiple streaming live video feeds simultaneously
CN105654354A (en) * 2016-03-11 2016-06-08 武汉斗鱼网络科技有限公司 User interaction optimization method and system in live video
CN105872830A (en) * 2016-05-31 2016-08-17 广州华多网络科技有限公司 Interaction method and device for live channel
CN106028165A (en) * 2016-06-17 2016-10-12 武汉斗鱼网络科技有限公司 Method and system for realizing lucky draw in mobile terminal of live broadcasting website
CN106228410A (en) * 2016-07-29 2016-12-14 武汉斗鱼网络科技有限公司 Virtual present task anti-brush system and method in a kind of live platform
CN107124619A (en) * 2017-04-28 2017-09-01 暴风集团股份有限公司 User interaction method and interaction platform in a kind of net cast
CN107222754A (en) * 2017-05-27 2017-09-29 武汉斗鱼网络科技有限公司 Present gives Notification Method, device and server

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110807668A (en) * 2019-10-31 2020-02-18 广州市百果园信息技术有限公司 Live broadcast reward method, device, equipment and storage medium
CN114503598A (en) * 2019-12-19 2022-05-13 多玩国株式会社 Management server, user terminal, gift system, and information processing method
CN114503598B (en) * 2019-12-19 2024-01-16 多玩国株式会社 Management server, user terminal, gift system, and information processing method
CN112070524A (en) * 2020-07-24 2020-12-11 广州阿凡提电子科技有限公司 Advertisement service recommendation method and device
CN112070524B (en) * 2020-07-24 2024-02-13 广州阿凡提电子科技有限公司 Advertisement service recommendation method and device

Also Published As

Publication number Publication date
CN107770162B (en) 2020-01-03
CN107770162A (en) 2018-03-06

Similar Documents

Publication Publication Date Title
CN110536146B (en) Live broadcast method and device based on cloud game and storage medium
CN107071584B (en) Live broadcast wheat connecting method and device
CN108184140B (en) Live broadcast wheat connecting method, server, storage medium and computer equipment
US9686329B2 (en) Method and apparatus for displaying webcast rooms
CN106161219B (en) Message treatment method and device
CN104580364B (en) A kind of method and apparatus of resource sharing
CN110830735B (en) Video generation method and device, computer equipment and storage medium
US20180167689A1 (en) Video Studio Creating Method and Service Device
WO2019071859A1 (en) Method and apparatus for preventing gift swiping on live broadcast platform
JP6492198B2 (en) Information processing method, terminal, and computer storage medium
WO2014183427A1 (en) Method and apparatus for displaying webcast rooms
CN112311684B (en) Burst traffic processing method, computer device and readable storage medium
US20170171286A1 (en) Methods and devices for validating a video connection or other types of communication sessions over a computer network
WO2019061598A1 (en) Data verification method and client
WO2019134303A1 (en) Live stream room popularity processing method and apparatus, server and storage medium
CN107426253B (en) Data verification method and client
CN110336820B (en) Single-point logout method, device, equipment, storage medium and system
WO2019061628A1 (en) Data verification method, and server
WO2019071857A1 (en) Method and device preventing gift giving on live streaming platform
WO2019061626A1 (en) Data verification method, and server
WO2019061597A1 (en) Data processing method and server
US20160261647A1 (en) Method, system and apparatus for inviting users to participate in an interactive session
US20170270561A1 (en) Method, terminal and server for monitoring advertisement exhibition
CN107205173B (en) Live webcast interaction method and device
CN111131843A (en) Network live broadcast system and method

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

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

Country of ref document: EP

Kind code of ref document: A1