CN107770162B - Method and device for preventing gift from being brushed in live broadcast platform - Google Patents

Method and device for preventing gift from being brushed in live broadcast platform Download PDF

Info

Publication number
CN107770162B
CN107770162B CN201710930962.0A CN201710930962A CN107770162B CN 107770162 B CN107770162 B CN 107770162B CN 201710930962 A CN201710930962 A CN 201710930962A CN 107770162 B CN107770162 B CN 107770162B
Authority
CN
China
Prior art keywords
gift
client
protocol
live broadcast
request
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201710930962.0A
Other languages
Chinese (zh)
Other versions
CN107770162A (en
Inventor
周志刚
张文明
陈少杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201710930962.0A priority Critical patent/CN107770162B/en
Priority to PCT/CN2017/120149 priority patent/WO2019071857A1/en
Publication of CN107770162A publication Critical patent/CN107770162A/en
Application granted granted Critical
Publication of CN107770162B publication Critical patent/CN107770162B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

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

The invention provides a method and a device for preventing gifts from being brushed in a live broadcast platform, wherein the method comprises the following steps: s1, if there is 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 broadcast room. According to the invention, when the gift can be received in the live broadcast room, the server uses the first preset control field to select a new gift notification protocol to be sent to the audience client in the live broadcast room, on one hand, the flexibility of sending the gift notification protocol is increased, and a hacker is difficult to break the anti-swiping strategy; on the other hand, the hacker client does not receive the new gift notification protocol and cannot perceive that the gift in the live broadcast room can be received, so that the hacker is effectively prevented from refreshing the gift.

Description

Method and device for preventing gift from being brushed in live broadcast platform
Technical Field
The invention relates to the technical field of network security, in particular to a method and a device for preventing gifts from being refreshed in a live broadcast platform.
Background
With the development of the network interaction platform, more and more users can communicate by logging in the network interaction platform. Among them, webcast is an application very popular with users.
Live broadcast platform is in order to attract spectator to watch, and the anchor can open treasure case for spectator's earning, and spectator can obtain the gift through the reward of earning treasure case, for example give the reward to the spectator who watches for a long time in the room. However, some hackers monitor whether there is a treasure box available in the live room of the broadcast by writing a monitoring program. Once a treasure box is found in which live room, a large number of account numbers are used for logging in the room to get the treasure box, and therefore a large amount of income is obtained. While normal viewers only know whether the viewing live room has gifts available. Therefore, the monitoring program written by the hacker has a good auxiliary effect, can detect the live broadcast room with the treasure box, and can directly get the treasure box from the live broadcast room with the treasure box.
In summary, in the prior art, on one hand, a hacker detects a live broadcast room with a gift through a monitoring program, and directs the live broadcast room with the gift to receive the gift, so as to obtain a large amount of income; on the other hand, a hacker logs in a live broadcast room to receive the gift by using a large number of accounts, so that the winning rate of the gift received by normal audiences is reduced, and the user experience of the normal audiences is influenced.
Disclosure of Invention
In order to overcome the problem that hackers detect a live room with a gift and direct the live room with the gift to refresh the gift or at least partially solve the problem, the invention provides a method and a device for preventing the gift from being refreshed in a live platform.
According to a first aspect of the present invention, there is provided a method for preventing gifting in a live platform, comprising:
s1, if there is 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 broadcast room.
Specifically, the step S1 is preceded by:
the fields in the existing gift notification protocol are modified to generate at least two new gift notification protocols.
Specifically, the step S2 further includes:
and sending the first preset control field to each audience client in the live broadcast room.
Specifically, the step S2 further includes:
sending an existing gift notification protocol to each viewer client in the live broadcast room;
correspondingly, the step S2 is followed by:
and if receiving a request for getting a gift protocol sent by any one of the audience clients, acquiring that the audience client is a hacker client.
Specifically, the step S2 is followed by:
s3, sending a second preset control field to the viewer client;
s4, receiving a request to receive a gift protocol sent by the viewer client according to the second preset control field;
and S5, if the client is a hacker client according to the request gift getting protocol sent by the client, setting the winning rate of the hacker client getting the gift to 0.
Specifically, the step of learning that the viewer client is a hacker client according to the gift access request protocol sent by the viewer client in step S5 specifically includes:
if the request to receive the gift protocol corresponding to the second preset control field is a new request to receive the gift protocol and the received request to receive the gift protocol sent by the audience client is the existing request to receive the gift protocol, the client of the audience is known to be a hacker client; alternatively, the first and second electrodes may be,
and if the request to receive the gift protocol corresponding to the second preset control field is the existing request to receive the gift protocol and the received request to receive the gift protocol sent by the audience client is the new request to receive the gift protocol, the client of the audience is known to be a hacker client.
Specifically, the step S5 further includes:
taking audience clients except the hacker client corresponding to the live broadcast room as normal audience clients;
and obtaining the winning rate of the gift drawn by each normal audience client by using a winning algorithm so that each normal audience client can obtain a reward according to the winning rate of the gift drawn.
According to a second aspect of the present invention, there is provided an apparatus for preventing gift from being brushed in a live broadcasting platform, comprising:
the selection unit is used for selecting a new gift notification protocol according to the first preset control field when a gift exists in the live broadcast room;
and the first sending unit is used for sending the new gift notification protocol to each audience client in the live broadcast room.
According to a third aspect of the present invention, there is provided an apparatus for preventing a gift from being brushed in a live platform, comprising:
at least one processor, at least one memory, and a bus; wherein the content of the first and second substances,
the processor and the memory complete mutual communication through the bus;
the memory stores program instructions executable by the processor, which when called by the processor are capable of performing the method as previously described.
According to a fourth aspect of the invention, there is provided a non-transitory computer readable storage medium storing a computer program of the method as described above.
The invention provides a method and a device for preventing gifts from being brushed in a live broadcast platform, wherein when gifts can be received in a live broadcast room, a server selects a new gift notification protocol to send to a spectator client in the live broadcast room by using a first preset control field; on the other hand, the normal audience client can receive the new gift notification protocol, and the hacker client is a script program and only monitors the existing gift notification protocol, so that the hacker cannot sense that the gift can be received in the live broadcast room without receiving the new gift notification protocol, and the hacker is effectively prevented from refreshing the gift.
Drawings
Fig. 1 is a schematic overall flow chart of a method for preventing gifting in a live broadcast platform according to an embodiment of the present invention;
fig. 2 is a schematic overall structure diagram of a device for preventing gifting in a live broadcast platform according to an embodiment of the present invention;
fig. 3 is a schematic view of an overall structure of a device for preventing gifting in a live broadcast platform according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
Fig. 1 is a schematic overall flow chart of a method for preventing gifting in a live broadcast platform according to an embodiment of the present invention, where the method includes: s1, if there is 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 broadcast room.
Specifically, in the prior art, when a server detects that there is a gift available in a live broadcast room, the server sends an existing gift notification protocol to each viewer client in the live broadcast room. And when the audience client receives the existing gift notification protocol, displaying the identification of the gift at the audience client. The identification of the gift is used for indicating that the gift can be received in the live broadcast room. And when the audience clicks the identification of the gift, sending a protocol for requesting to receive the gift to the server. In S1, the server sends the first preset control field to each viewer client in the live broadcast room when there is a gift available in the live broadcast room, or sends the first preset control field to the viewer client when the viewer logs in the live broadcast room. The first preset control field is a preset field and can be any data. The new gift notification protocol is different from the existing gift notification protocol which is preset and is used for notifying the audience in the live broadcast room so that the audience can know that the gift can be received in the live broadcast room. And the server selects a new gift notification protocol from at least two preset gift notification protocols according to the first preset control field. The server sends the new gift notification protocol to the audience client, and the server sends the new gift notification protocol to the audience client, wherein the server sends the new gift notification protocol to the audience client in a first preset control field for controlling. S2, the server sends the new gift notification protocol to the viewer client in the live broadcast. The audience is a user watching the live broadcast in the live broadcast room. The normal audience client displays the identification of the gift after receiving the new gift notification protocol, and the hacker client is a script program which only monitors the existing gift notification protocol, so that a hacker cannot perceive that the gift in the live broadcast room can be received without receiving the new gift notification protocol, and the hacker is effectively prevented from refreshing the gift.
For example, the first preset control field corresponding to the existing gift notification protocol is 0000, and the first preset control field corresponding to the new gift notification protocol is 0001, 0002, 0003, and the like.
In this embodiment, when a gift is available in the live broadcast room, the server uses the first preset control field to select a new gift notification protocol to send to the audience client in the live broadcast room, on one hand, the first preset control field controls which new gift notification protocol is sent to the audience client in the live broadcast room, so that flexibility of sending the gift notification protocol is increased, and a hacker is difficult to break the anti-brushing strategy; on the other hand, the normal audience client can receive the new gift notification protocol, and the hacker client is a script program and only monitors the existing gift notification protocol, so that the hacker cannot sense that the gift can be received in the live broadcast room without receiving the new gift notification protocol, and the hacker is effectively prevented from refreshing the gift.
On the basis of the foregoing embodiment, step S1 in this embodiment further includes: the fields in the existing gift notification protocol are modified to generate at least two new gift notification protocols.
Specifically, it is assumed that the existing gift notification protocol is "type @ ═ roommessage/gift @ TreasureBox/type @ 1", the protocol type of the existing gift notification protocol is roommessage, and roommessage represents messages between live broadcasts. The field gift is set to treasurbox and indicates that the gift is in the live broadcast room, and the gift is a treasure box. The field type is 1, indicating that the type of the treasure box is 1. And when the audience client receives the existing gift notification protocol sent by the server, the client learns that the gift in the live broadcast room can be picked up. And displaying a gift identifier on a page of the audience client, and clicking the gift identifier by the audience to obtain the gift. And modifying 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", modify gift in the existing gift notification protocol to ade, treasurbox to bde, and type to deo. The server may also add more different gift notification protocols. In this embodiment, the field in the existing gift notification protocol is modified, which is not limited to such a modification result, and there is no rule for modifying the field, and the modified field has no actual meaning. The details of the modified gift notification protocol are consistent with the details of the existing treasure box protocol.
In this embodiment, a field in an existing gift notification protocol is modified to generate at least two new gift notification protocols, the new gift notification protocol is selected according to the first preset control field and sent to the audience client in the live broadcast room, and the first preset control field controls which new gift notification protocol is sent to the audience client in the live broadcast room, so that flexibility of sending the gift notification protocol is increased, and a hacker is difficult to break a brushing prevention strategy
On the basis of the foregoing embodiment, in this embodiment, the step S2 further includes: and sending the first preset control field to each audience client in the live broadcast room.
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 broadcast room. And the audience client analyzes the new gift notification protocol according to the first preset control field. For example, the control field sent 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. Firstly, the spectator client will judge whether the protocol type of the new gift notification protocol is roommessage, if so, the ade and bde are further analyzed according to the deo, so as to know that the new gift notification protocol is a protocol for notifying that a gift exists in the live broadcast room, and the gift is a treasure box with a type of 1. And displaying the identification of the gift at the audience client according to the analysis result. Likewise, other new gift protocols are parsed. The hacker client is a script program, and the script program only monitors the existing gift notification protocol, so that the first preset control field cannot be received, the new gift notification protocol cannot be analyzed according to the first preset control field, the identification of the gift cannot be displayed, the fact that the gift can be received in the live broadcast room cannot be sensed, and therefore hackers can be effectively prevented from refreshing the gift.
On the basis of any one of the above embodiments, in this embodiment, the step S2 further includes: sending an existing gift notification protocol to each viewer client in the live broadcast room; correspondingly, the step S2 is followed by: and if receiving a request for getting a gift protocol sent by any one of the audience clients, acquiring that the audience client is a hacker client.
Specifically, the server sends the new gift notification protocol to the viewer client in the live broadcast room, and simultaneously sends the existing gift notification protocol to the viewer client. And after the hacker client receives the existing gift notification protocol and learns that the gift can be received in the live broadcast room, the hacker client sends a request to receive the gift protocol to the server, wherein the request to receive the gift protocol is a protocol for requesting to receive the gift. And the server receives a request sent by the audience client to get a gift protocol, knows that the audience client is a hacker client, and processes the hacker client, such as adding a blacklist, carrying out banning and the like.
On the basis of any of the above embodiments, in this embodiment, after the step S2, the method further includes: s3, sending a second preset control field to the viewer client; s4, receiving a request to receive a gift protocol sent by the viewer client according to the second preset control field; and S5, if the client is a hacker client according to the request gift getting protocol sent by the client, setting the winning rate of the gift getting by the hacker client to 0.
Specifically, in S3, the viewer client sends a request to receive a gift protocol to the server when receiving the gift. And the server sends the second preset control field to the audience client when the audience in the live broadcast room clicks to get the gift or when the audience logs in the live broadcast room. The second preset control field is a preset field and can be any data. The server controls which gift request protocol is sent to the server by the audience client through the second preset control field. In S4, the server receives a request to receive the gift protocol sent by the viewer client according to the second field, where the request to receive the gift protocol is a request to receive the gift and is used to request the server to receive the gift. The request to receive the gift protocol is at least two preset new request to receive the gift protocols. And the audience client selects a request to receive the gift protocol from at least two preset request to receive the gift protocols according to the second control field, and sends the selected request to receive the gift protocol to the server. In S5, whether the viewer client is a hacker client is determined according to the request gift-receiving protocol, and if it is known that the viewer client is a hacker client, the winning rate of the hacker client receiving the gift is set to 0, and the account corresponding to the hacker client is recorded in a blacklist of the server, so that the hacker client is not prohibited from the front, thereby improving the concealment of the anti-swipe strategy.
For example, when the second preset control field is 0000, the spectator client sends an existing request to pick up a gift protocol to the server to request to pick up a gift, where the existing request to pick up a gift protocol is POST/Live/rom/gift/roomid? uid xx., the uid is a user number attribute, and xx is a value of the user number attribute.
In the embodiment, the server uses the second preset control field to control the spectator client to send the request to receive the gift protocol, identifies the hacker client according to the request to receive the gift protocol, and sets the winning rate of the hacker client to receive the gift to 0; on the other hand, when the prize winning rate of the gift received by the hacker is set to 0, the hacker cannot generate profits, and the hacker does not know the behavior that the server detects the gift swiping of the hacker, so that the hacker is prevented from swiping the gift, meanwhile, the imperceptibility of the anti-swiping strategy is improved, and the hacker is difficult to break the anti-swiping strategy.
On the basis of any of the foregoing embodiments, in this embodiment, the step of knowing that the viewer client is a hacker client according to the request-to-get gift protocol sent by the viewer client in step S5 specifically includes: if the request to receive the gift protocol corresponding to the second preset control field is a new request to receive the gift protocol and the received request to receive the gift protocol sent by the audience client is the existing request to receive the gift protocol, the client of the audience is known to be a hacker client; or, if the request to receive the gift protocol corresponding to the second preset control field is an existing request to receive the gift protocol, and the received request to receive the gift protocol sent by the viewer client is a new request to receive the gift protocol, the viewer client is known to be a hacker client.
Specifically, if the second preset control field controls the spectator client to send a new request to receive the gift protocol, the normal spectator client receives the second preset control field and sends the new request to receive the gift protocol according to the second preset control field. And if the received request gift getting protocol sent by the audience client is the existing request gift getting protocol, the audience client is known to be a hacker client. And if the second preset control field controls the audience client to send the existing request to get the gift protocol, the normal audience client receives the second preset control field and sends the existing request to get the gift protocol according to the second preset control field. And if the received request gift getting protocol sent by the audience client is a new request gift getting protocol, the audience client is known to be a hacker client.
On the basis of any one of the above embodiments, in this embodiment, the step S5 further includes: taking audience clients except the hacker client corresponding to the live broadcast room as normal audience clients; and obtaining the winning rate of the gift drawn by each normal audience client by using a winning algorithm so that each normal audience client can obtain a reward according to the winning rate of the gift drawn.
Specifically, the identified hacker clients are excluded, and the winning rate of the gift received by each normal audience client in the live broadcast room is calculated by using a winning algorithm, and each normal audience client in the live broadcast room receives the corresponding reward according to the winning rate.
In another embodiment of the present invention, a device for preventing gifting in a live broadcast platform is provided, and fig. 2 is a schematic structural diagram of the device for preventing gifting in a live broadcast platform provided in an embodiment of the present invention, the device includes a selection unit 1 and a first sending unit 2, wherein:
the selection unit 1 is used for selecting a new gift notification protocol according to a first preset control field when a gift exists in a live broadcast room; the first sending unit 2 is configured to send the new gift notification protocol to each viewer client in the live broadcast room.
Specifically, the first sending unit 2 sends the first preset control field to each viewer client in a live broadcast when a gift that can be retrieved exists in the live broadcast, or sends the first preset control field to the viewer client when a viewer logs in the live broadcast. The first preset control field is a preset field and can be any data. The new gift notification protocol is different from the existing gift notification protocol which is preset and is used for notifying the audience in the live broadcast room so that the audience can know that the gift can be received in the live broadcast room. The selecting unit 1 selects a new gift notification protocol from at least two preset gift notification protocols according to the first preset control field. The first sending unit 2 sends which new gift notification protocol to the viewer client, and is controlled by the first preset control field sent by the selecting unit 1. The first sending unit 2 sends the new gift notification protocol to the viewer client in the live broadcast. The audience is a user watching the live broadcast in the live broadcast room. The normal audience client displays the identification of the gift after receiving the new gift notification protocol, and the hacker client is a script program which only monitors the existing gift notification protocol, so that a hacker cannot perceive that the gift in the live broadcast room can be received without receiving the new gift notification protocol, and the hacker is effectively prevented from refreshing the gift.
In this embodiment, when a gift is available in the live broadcast room, the server uses the first preset control field to select a new gift notification protocol to send to the audience client in the live broadcast room, on one hand, the first preset control field controls which new gift notification protocol is sent to the audience client in the live broadcast room, so that flexibility of sending the gift notification protocol is increased, and a hacker is difficult to break the anti-brushing strategy; on the other hand, the normal audience client can receive the new gift notification protocol, and the hacker client is a script program and only monitors the existing gift notification protocol, so that the hacker cannot sense that the gift can be received in the live broadcast room without receiving the new gift notification protocol, and the hacker is effectively prevented from refreshing the gift.
On the basis of the foregoing embodiments, the apparatus in this embodiment further includes a generating unit, configured to modify a field in an existing gift notification protocol, and generate at least two new gift notification protocols.
On the basis of any of the foregoing embodiments, in this embodiment, the first sending unit is further configured to: and sending the first preset control field to each audience client in the live broadcast room.
On the basis of any of the above embodiments, in this embodiment, the first sending unit is further configured to send an existing gift notification protocol to each viewer client in the live broadcast room; the device also comprises a processing unit which is used for knowing that the audience client is a hacker client when receiving a request for getting the gift protocol sent by any one of the audience clients.
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:
the second sending subunit is configured to send a second preset control field to the viewer client; the receiving subunit is configured to receive a request to receive a gift protocol sent by the viewer client according to the second preset control field; the setting subunit is configured to set, when it is known that the spectator client is a hacker client according to the request gift getting protocol sent by the spectator client, a winning rate of getting the gift by the hacker client to 0.
On the basis of the above embodiment, in this embodiment, the setting subunit is specifically configured to: when the request to receive the gift protocol corresponding to the second preset control field is a new request to receive the gift protocol and the received request to receive the gift protocol sent by the audience client is the existing request to receive the gift protocol, the client knows that the audience client is a hacker client; or, if the request to receive the gift protocol corresponding to the second preset control field is an existing request to receive the gift protocol, and the received request to receive the gift protocol sent by the viewer client is a new request to receive the gift protocol, the viewer client is known to be a hacker client.
On the basis of the foregoing embodiment, in this embodiment, the setting subunit is further configured to: taking audience clients except the hacker client corresponding to the live broadcast room as normal audience clients; and obtaining the winning rate of the gift drawn by each normal audience client by using a winning algorithm so that each normal audience client can obtain a reward according to the winning rate of the gift drawn.
On the basis of the above embodiment, the gift getting protocol in this embodiment includes the name of the live broadcast platform, the audience number, the number of the gift getting, the Token data of the audience, the time of the gift getting, the client number of the audience and the number of the live broadcast room; the protocol field is a random number generated randomly, a keyword or an encrypted gift-receiving time; the new protocol includes one or at least two of a live room number, a viewer's Token data, and a time of day to receive a gift.
Fig. 3 is a schematic view of an overall structure of a device for preventing a gift from being brushed in a live broadcast platform according to an embodiment of the present invention, where the device includes: at least one processor 31, at least one memory 32, and a bus 33; wherein the content of the first and second substances,
the processor 31 and the memory 32 complete mutual communication through the bus 33;
the memory 32 stores program instructions executable by the processor 31, and the processor calls the program instructions to execute the methods provided by the method embodiments, for example, the method includes: s1, if there is 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 broadcast room.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the above method embodiments, for example, including: s1, if there is 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 broadcast room.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments of the device for preventing gifts from being brushed in the live platform are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, the method of the present application is only a preferred embodiment and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A method for preventing gift from being brushed in a live broadcast platform is characterized by comprising the following steps:
s1, if there is gift in the live broadcast room, selecting a new gift notification protocol corresponding to the first preset control field according to the first preset control field; wherein a correspondence between the first preset control field and the new gift notification protocol is predetermined;
s2, sending the new gift notification protocol to each viewer client in the live broadcast room;
wherein, after the step S2, the method further includes:
s3, sending a second preset control field to the viewer client;
s4, receiving a request to receive a gift protocol sent by the viewer client according to the second preset control field;
and S5, if the client is a hacker client according to the request gift getting protocol sent by the client, setting the winning rate of the hacker client getting the gift to 0.
2. The method according to claim 1, wherein the step S1 is preceded by:
the fields in the existing gift notification protocol are modified to generate at least two new gift notification protocols.
3. The method according to claim 1 or 2, wherein the step S2 further comprises:
and sending the first preset control field to each audience client in the live broadcast room.
4. The method according to claim 1 or 2, wherein the step S2 further comprises:
sending an existing gift notification protocol to each viewer client in the live broadcast room;
correspondingly, the step S2 is followed by:
and if receiving a request for getting a gift protocol sent by any one of the audience clients, acquiring that the audience client is a hacker client.
5. The method according to claim 1, wherein the step of learning in step S5 that the viewer client is a hacker client according to a request-to-get gift protocol sent by the viewer client specifically comprises:
if the request to receive the gift protocol corresponding to the second preset control field is a new request to receive the gift protocol and the received request to receive the gift protocol sent by the audience client is the existing request to receive the gift protocol, the client of the audience is known to be a hacker client; alternatively, the first and second electrodes may be,
and if the request to receive the gift protocol corresponding to the second preset control field is the existing request to receive the gift protocol and the received request to receive the gift protocol sent by the audience client is the new request to receive the gift protocol, the client of the audience is known to be a hacker client.
6. The method according to claim 1, wherein the step S5 further comprises:
taking audience clients except the hacker client corresponding to the live broadcast room as normal audience clients;
and obtaining the winning rate of the gift drawn by each normal audience client by using a winning algorithm so that each normal audience client can obtain a reward according to the winning rate of the gift drawn.
7. A device for preventing gift from being brushed in a live broadcast platform, comprising:
the selection unit is used for selecting a new gift notification protocol corresponding to a first preset control field according to the first preset control field when a gift exists in a live broadcast room; wherein a correspondence between the first preset control field and the new gift notification protocol is predetermined;
a first sending unit, configured to send the new gift notification protocol to each viewer client in the live broadcast room;
wherein, still include the second and send subunit, receive subunit and set up the subunit, wherein:
the second sending subunit is configured to send a second preset control field to the viewer client;
the receiving subunit is configured to receive a request to receive a gift protocol sent by the viewer client according to the second preset control field;
the setting subunit is configured to set, when it is known that the spectator client is a hacker client according to the request gift getting protocol sent by the spectator client, a winning rate of getting the gift by the hacker client to 0.
8. An apparatus for preventing gift from being brushed in a live broadcast platform, comprising:
at least one processor, at least one memory, and a bus; wherein the content of the first and second substances,
the processor and the memory complete mutual communication through the bus;
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 6.
9. A non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform the method of any one of claims 1 to 6.
CN201710930962.0A 2017-10-09 2017-10-09 Method and device for preventing gift from being brushed in live broadcast platform Active CN107770162B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710930962.0A CN107770162B (en) 2017-10-09 2017-10-09 Method and device for preventing gift from being brushed in live broadcast platform
PCT/CN2017/120149 WO2019071857A1 (en) 2017-10-09 2017-12-29 Method and device preventing gift giving on live streaming platform

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN107770162A CN107770162A (en) 2018-03-06
CN107770162B true CN107770162B (en) 2020-01-03

Family

ID=61267145

Family Applications (1)

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

Country Status (2)

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

Families Citing this family (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
JP6766246B1 (en) * 2019-12-19 2020-10-07 株式会社ドワンゴ Management server, user terminal, gift system and information processing method
CN112070524B (en) * 2020-07-24 2024-02-13 广州阿凡提电子科技有限公司 Advertisement service recommendation method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 (2)

* 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
CN106454814A (en) * 2016-11-10 2017-02-22 中国科学院计算技术研究所 GTP tunnel communication system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN107770162A (en) 2018-03-06
WO2019071857A1 (en) 2019-04-18

Similar Documents

Publication Publication Date Title
US11290550B2 (en) Method and device for allocating augmented reality-based virtual objects
CN107454441B (en) A kind of method, live streaming Platform Server and the computer readable storage medium of detection direct broadcasting room brush popularity behavior
US9686329B2 (en) Method and apparatus for displaying webcast rooms
CN104980809B (en) A kind of barrage treating method and apparatus
US20170163580A1 (en) Interactive method and device for playback of multimedia
CN112312153B (en) Live broadcast interaction realization method and computer readable storage medium
US8990325B2 (en) Real-time and interactive community-based content publishing system
JP2018512088A (en) Information processing method, terminal, and computer storage medium
US20150195097A1 (en) Facilitating Media Streaming with Social Interaction
CN107770162B (en) Method and device for preventing gift from being brushed in live broadcast platform
WO2014183427A1 (en) Method and apparatus for displaying webcast rooms
JP6492198B2 (en) Information processing method, terminal, and computer storage medium
CN113840154B (en) Live broadcast interaction method and system based on virtual gift and computer equipment
CN108024144B (en) Video playing method, terminal and computer readable storage medium
JP6861649B2 (en) Session processing in instant messaging
CN107786884B (en) Barrage data processing method, server, first terminal and storage medium
WO2019071859A1 (en) Method and apparatus for preventing gift swiping on live broadcast platform
CN111444415A (en) Barrage processing method, server, client, electronic device and storage medium
WO2022193071A1 (en) Live broadcast-based gift giving method and apparatus, and device and storage medium
CN110913237A (en) Live broadcast control method and device, live broadcast initiating device and storage medium
CN108174267A (en) The sending device of interactive information, method and computer readable storage medium in live streaming
CN113805991A (en) Object prompting method and device, electronic equipment and storage medium
CN112995695A (en) Live broadcast interaction method, device, equipment and storage medium
CN112073740A (en) Information display method, device, server and storage medium
CN113301421B (en) Live broadcast segment display method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant