CN107770575B - The method and device of brush present is prevented in a kind of live streaming platform - Google Patents

The method and device of brush present is prevented in a kind of live streaming platform Download PDF

Info

Publication number
CN107770575B
CN107770575B CN201710930940.4A CN201710930940A CN107770575B CN 107770575 B CN107770575 B CN 107770575B CN 201710930940 A CN201710930940 A CN 201710930940A CN 107770575 B CN107770575 B CN 107770575B
Authority
CN
China
Prior art keywords
account
spectators
present
hacker
agreement
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
CN201710930940.4A
Other languages
Chinese (zh)
Other versions
CN107770575A (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 CN201710930940.4A priority Critical patent/CN107770575B/en
Priority to PCT/CN2017/120147 priority patent/WO2019071856A1/en
Publication of CN107770575A publication Critical patent/CN107770575A/en
Application granted granted Critical
Publication of CN107770575B publication Critical patent/CN107770575B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols

Landscapes

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

Abstract

The present invention provides a kind of method and device for being broadcast live in platform and preventing brush present, which comprises S1, using multiple-authentication method, judgement gets whether spectators' account of present is hacker's account;After capturing the present under spectators' account and being transferred under main broadcaster's account, the present shifted under spectators' account under main broadcaster's account is removed if it is hacker's account that at least one judging result, which is spectators' account, by S2.One aspect of the present invention, by carrying out multiple-authentication to hacker, to make hacker be difficult around detection, improve the accuracy of hacker's detection, on the other hand, the present for not handling when finding hacker, and later shifting hacker under main broadcaster's account at once in the case where the present of brush is transferred to main broadcaster's account by hacker is reset, to make hacker that can not know the reason of being detected, it is difficult to around the detection of server.

Description

The method and device of brush present is prevented in a kind of live streaming platform
Technical field
The present invention relates to technical field of network security, more particularly, to the side for preventing brush present in a kind of live streaming platform Method and device.
Background technique
With the development of network interaction platform, more and more users are exchanged by logging in network interaction platform.Its In, network direct broadcasting is the application being popular in users very much.
Platform is broadcast live in order to attract spectators to watch, some free gifts can be sent to spectators, or complete in spectators Present is freely got in the case where some tasks, so that spectators give the free gift to main broadcaster.Main broadcaster can be by present It carries out fulfilling acquisition income, but spectators cannot fulfil present.Some hackers are by writing script batch registration user, so Getting present agreement by writing script transmission carrys out free present of getting afterwards.After hacker gets free gift, will freely it lead The present taken is transferred under the account of main broadcaster, carries out the present freely got under main broadcaster's account to fulfil acquisition income, It brings about great losses to live streaming platform.
In the prior art, when server detects brush behavior, brush operation is prevented in time.In this way, hacker is known that at which It is detected in step operation by server, to be readily apparent that the inspection policies of server, hacker can bypass the detection plan next time Slightly, continue brush behavior.
Summary of the invention
To overcome the problems, such as that above-mentioned hacker is readily apparent that the inspection policies of server or at least is partially solved above-mentioned ask Topic, the present invention provides the method and devices that brush present is prevented in a kind of live streaming platform.
According to the first aspect of the invention, a kind of method for being broadcast live in platform and preventing brush present is provided, comprising:
S1, using multiple-authentication method, judgement gets whether spectators' account of present is hacker's account;
S2 is capturing spectators' account if it is hacker's account that at least one judging result, which is spectators' account, Under present be transferred under main broadcaster's account after, the present shifted under spectators' account under main broadcaster's account is gone It removes.
Specifically, the step S1 is specifically included:
According to spectators get present operation and spectators client send get present agreement, judge spectators' account It number whether is hacker's account.
Specifically, according to spectators get the operation judges of present described in spectators' account whether be hacker's account the step of it is specific Include:
It obtains the spectators and gets one of duration of the operation of present, the sequence of the operation and the operation or more Kind, the operation includes the clicking operation of the input operation and mouse of keyboard;
According to acquisition as a result, judging whether spectators' account is hacker's account.
Specifically, judge whether spectators' account is hacker's account according to the present agreement of getting that the client of spectators is sent Number the step of specifically include:
Increase protocol fields in described get in present agreement;
Receive the client transmission of the spectators gets present agreement;
If received described get in present agreement does not have the increased protocol fields, know that spectators' account is Hacker's account.
Specifically, judge whether spectators' account is hacker's account according to the present agreement of getting that the client of spectators is sent Number the step of specifically include:
Increase new agreement in present agreement in described get;
Receive the client transmission of the spectators gets present agreement;
If received described get in present agreement does not have the new agreement, know that spectators' account is hacker's account Number.
Specifically, according to acquisition as a result, judging that the step of whether spectators' account is hacker's account specifically includes:
If not getting the operation that the spectators get present, know that spectators' account is hacker's account;
If the sequence of the operation is not preset order, know that spectators' account is hacker's account;
If the duration respectively operated is less than corresponding preset duration, know that spectators' account is hacker's account.
Specifically, according to spectators get the operation judges of present described in spectators' account whether be hacker's account the step of also wrap It includes:
Mobile present gets the position of control;
When capturing the spectators and clicking the present and get the operation of control, obtains the spectators and click the present Get the position of control;
If the present get the mobile front and back spectators of control click the present get control position it is identical, obtain Know that spectators' account is hacker's account.
Specifically, the present agreement of getting includes the title that platform is broadcast live, spectators' number, the number for getting present, sees Many Token data, at the time of get present, the client number of spectators and live streaming room number;
The protocol fields are at the time of the getting present of random number, keyword or encryption generated at random;
The new agreement include room number, the Token data of spectators are broadcast live and one of at the time of get present or It is a variety of.
According to the second aspect of the invention, a kind of device for being broadcast live in platform and preventing brush present is provided, comprising:
Judging unit, for utilizing multiple-authentication method, judgement gets whether spectators' account of present is hacker's account;
Removal unit, for when it is hacker's account that at least one judging result, which is spectators' account, capturing It states after the present under spectators' account is transferred under main broadcaster's account, will be shifted under spectators' account under main broadcaster's account Present removal.
According to the third aspect of the invention we, a kind of non-transient computer readable storage medium is provided, for storing such as preceding institute State the computer program of method.
The present invention provides a kind of method and device for being broadcast live in platform and preventing brush present, this method one side, by black Visitor carries out multiple-authentication, to make hacker be difficult around detection, improves the accuracy of hacker's detection and is on the other hand finding It is not handled at once when hacker, and after the present of brush is transferred under main broadcaster's account by hacker, it will be under main broadcaster's account The present of hacker's transfer is reset, to make hacker that can not know the reason of being detected, it is difficult to around the detection of server.
Detailed description of the invention
Fig. 1 is the method overall flow schematic diagram that brush present is prevented in live streaming platform provided in an embodiment of the present invention;
Fig. 2 is the device overall structure diagram that brush present is prevented in live streaming platform provided in an embodiment of the present invention;
Fig. 3 is the equipment overall structure schematic diagram that brush present is prevented in live streaming platform provided in an embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawings and examples, specific embodiments of the present invention will be described in further detail.Implement below Example is not intended to limit the scope of the invention for illustrating the present invention.
A kind of method for being broadcast live in platform and preventing brush present is provided in one embodiment of the invention, and Fig. 1 is the present invention The method overall flow schematic diagram that brush present is prevented in the live streaming platform that embodiment provides, this method comprises: S1, is tested using multiple Card method, judgement get whether spectators' account of present is hacker's account;S2, if at least one judging result is spectators' account Number be hacker's account, then after capturing the present under spectators' account and being transferred under main broadcaster's account, by the main broadcaster The present removal shifted under spectators' account under account.
Specifically, in S1, hacker is in order to prevent around the strategy for detecting brush behavior, using multiple-authentication method.It is described more Weight verification method be it is a variety of verify get present spectators' account whether be hacker's account method.A variety of verification methods can It, can also be according to sequencing using the various methods in the multiple-authentication method, when a kind of verification method is tested all to use Demonstrate,proving out spectators' account is hacker's account, then stops using subsequent verification method to be verified, to reduce calculating.It utilizes The multiple-authentication method judgement gets whether spectators' account of present is hacker's account.In S2, have in acquisition judging result more It is hacker's account that a few judging result, which is spectators' account, if it is hacker that at least one judging result, which is spectators' account, Account, it is determined that spectators' account is hacker's account, starts simultaneously at the capture spectators and gives the present got to main broadcaster Operation.When capture the present under spectators' account give be transferred under main broadcaster's account after, will be under main broadcaster's account The present removal shifted under spectators' account.For be broadcast live platform, even if spectators have present can not from live streaming platform into Row is fulfilled, and only main broadcaster could fulfil present, therefore, can generally be given present to main broadcaster after hacker's brush present, Present is transferred under main broadcaster's account, present is then exchanged into cash under main broadcaster's account.When determining the spectators When account is hacker's account, without preventing the behavior of hacker's brush present at once, but present is got in hacker, and present is turned After moving on under main broadcaster's account, it will be removed, i.e., will be shifted by the hacker by the present that the hacker shifts under main broadcaster's account The zeroing number of present under to main broadcaster's account, in the irredeemable situation of present for making brush, hacker can not aware services device It is which step to detect that spectators' account is hacker's account in, to can not know the inspection policies of server, it is not easy to around Cross the detection of server.
On the one hand the present embodiment, by carrying out multiple-authentication to hacker, to make hacker be difficult around detection, improves black On the other hand the accuracy of visitor's detection is not handled at once when finding hacker, and the present of brush is transferred to master in hacker After broadcasting under account, before the present brushed under main broadcaster's account is exchanged, by the present of hacker's transfer under main broadcaster's account It resets, to make hacker that can not know the reason of being detected, it is difficult to around the detection of server.
On the basis of the above embodiments, step S1 described in the present embodiment specifically includes: getting present according to spectators What the client of operation and spectators were sent gets present agreement, judges whether spectators' account is hacker's account.
Specifically, some operations can be carried out on the client during spectators get present, after spectators operate, The operation note of control can be added in the control of operation, such as inputted in control, click control.When getting spectators After getting present, present agreement is got in the user end to server transmission of the spectators, and the present agreement of getting includes Protocol fields.Operating for present, which is got, according to the spectators gets present agreement, judgement with what the client of the spectators was sent Whether spectators' account is hacker's account.Operation and the client of the spectators of present can be got according to the spectators simultaneously The present agreement of getting that end is sent is judged, can also first be judged according to the operation that the spectators get present.If sentencing Spectators' account of breaking is hacker's account, then the present agreement of getting not sent further according to the client of the spectators is sentenced It is disconnected;If judging, spectators' account is not hacker's account, and that continues to be sent according to the client of the spectators gets present association View is judged, to avoid repeating to judge, is improved efficiency, is economized on resources.
The present embodiment is assisted according to the present of getting that the spectators get the operation of present and the client transmission of the spectators View is difficult hacker around detection, improves the accuracy of hacker's detection to realize multiple-authentication.
On the basis of the above embodiments, in the present embodiment according to spectators get the operation judges of present described in spectators' account The step of whether being hacker's account, specifically includes: obtaining the spectators and gets the operation of present, the sequence of the operation and described One of duration of operation is a variety of, and the operation includes the clicking operation of the input operation and mouse of keyboard;According to acquisition As a result, judging whether spectators' account is hacker's account.
Specifically, it includes operating and passing through mouse to the input that control carries out by keyboard that the spectators, which get the operation of present, Mark the clicking operation carried out to control.The operation order that the spectators get present is the elder generation respectively operated during getting present Sequence afterwards.The operation duration that the spectators get present can be respectively to operate the time spent respectively during getting present, The time spent in total can be operated to be each.Encryption is sent to server and is stored after the result that will acquire is packaged.According to obtaining It is taking as a result, judging whether spectators' account is hacker's account.
On the basis of the above embodiments, the judgement of present agreement is got according to what the client of spectators was sent in the present embodiment The step of whether spectators' account is hacker's account specifically includes: increasing protocol fields in described get in present agreement;It connects That receives the client transmission of the spectators gets present agreement;If it is received it is described get in present agreement do not have it is increased described Protocol fields then know that spectators' account is hacker's account.
Specifically, it is got in present agreement existing, server processes increase by one in existing get in present agreement A little protocol fields, the protocol fields can be the field that server generates at random.Receive the client transmission of the spectators Get present agreement.Whether the client that server will record the spectators sends increased protocol fields.Gift is got when described When there is no the increased protocol fields in object agreement, then know that spectators' account is hacker's account, and mark the spectators Account is hacker's account.Server can modify the increased protocol fields every preset duration.Assuming that the existing spectators Client when getting present, can request server get present operation interface, such as/api/get_reward.
No matter getting whether have increased protocol fields in present agreement described in received in the present embodiment, the spectators are Present can be normally got, therefore hacker does not know that described get there are increased protocol fields in present agreement, hacker can be normal Swipe present makes hacker think that server does not detect its brush present behavior, to not know the existing detection plan of server Slightly.
On the basis of the various embodiments described above, sentenced in the present embodiment according to the present agreement of getting that the client of spectators is sent The step of whether spectators' account is hacker's account of breaking specifically includes: increasing new agreement in present agreement in described get;It connects That receives the client transmission of the spectators gets present agreement;If received described get in present agreement does not have the new association View then knows that spectators' account is hacker's account.
Specifically, server can control client and get one or more new agreement of increase in present agreement existing, The agreement newly increased will not influence the existing function of getting fish ball, be only intended to recognize whether the behavior of brush present. So hacker is also that can successfully get present, so hacker is simultaneously even if when hacker's brush present does not send the new agreement Server will not be perceived and increase new agreement in getting present agreement.Because the client of normal spectators is got in transmission When present agreement, increased new agreement can be sent, and the script that hacker writes will not generally be sent when carrying out the operation of brush present The new agreement.Server then will record whether lower client has the transmission new agreement.If do not sent, server if, can Recording the spectators, there are the operations of brush present.The new agreement can be the server interface newly increased, the new agreement it is interior Hold it is unlimited because only needing to count whether client sends the new agreement, without concern for the particular content of new agreement.Such as it is existing Interface be /api/get_reward, increase an interface be /api/get_data.
On the basis of the above embodiments, the result in the present embodiment according to acquisition judges whether spectators' account is black The step of guest account, specifically includes: if not getting the operation that the spectators get present, knowing that spectators' account is Hacker's account;If the sequence of the operation is not preset order, know that spectators' account is hacker's account;If each behaviour The duration of work is less than corresponding preset duration, then knows that spectators' account is hacker's account.
Specifically, brush present is carried out using the script write due to hacker, the operation of present may be got without described in, such as Operation and the operation of control that the operation of keyboard input, mouse are clicked etc., and normal spectators centainly have the operation for getting present. If not getting the operation that the spectators get present, know that spectators' account is hacker's account.Hacker's use is write Script carry out brush present, it is likely that some operations can be skipped, and normal users can be operated according to preset order.If described The sequence of operation is not preset order, then knows that spectators' account is hacker's account.Since hacker grasps batch account Make, operation note and motion profile are fixed, and since hacker uses script operation, each operating procedure is than normal spectators' Block is wanted in manual operations, if the duration respectively operated is less than corresponding preset duration, knows that spectators' account is hacker's account Number.
On the basis of the above embodiments, in the present embodiment according to spectators get the operation judges of present described in spectators' account The step of whether being hacker's account further include: mobile present gets the position of control;The gift is clicked when capturing the spectators When object gets the operation of control, obtains the spectators and click the position that the present gets control;If the present gets control The mobile front and back spectators click the present get control position it is identical, then know that spectators' account is hacker's account.
Specifically, it is described get present control refer to get present during the control that needs to operate, movement gets gift The position of the control of object, which refers to, carries out dynamic micro-adjustments for the position of the control, such as the position of the control is finely tuned upwards Deng whether the human eye of spectators can not be identified the control and is moved, and user is when operating, since the position of control occurs Variation, the position that user clicks can change.And hacker is hardly perceivable these subtle numbers, forges in hacker and clicks institute When stating the operation of control, the position for not perceiving control changes, and the position of the click control of forgery will not become Change.If the present get the mobile front and back spectators of control click the present get control position it is identical, know institute Stating spectators' account is hacker's account.
On the basis of the above embodiments, present agreement is got described in the present embodiment to include the title that platform is broadcast live, see Crowd's number, the numbers for getting present, the Token data of spectators, at the time of get present, the client number of spectators and live streaming room Between number;The protocol fields are at the time of the getting present of random number, keyword or encryption generated at random;The new agreement It is one of at the time of including the Token data of room number, spectators are broadcast live and get present or a variety of.
A kind of device for being broadcast live in platform and preventing brush present is provided in another embodiment of the present invention, and Fig. 2 is this hair The device overall structure diagram of brush present is prevented in the live streaming platform that bright embodiment provides, which includes 1 He of judging unit Removal unit 2, in which:
The judging unit 1 is used to utilize multiple-authentication method, and judgement gets whether spectators' account of present is hacker's account Number;The removal unit 2 is used for when it is hacker's account that at least one judging result, which is spectators' account, described capturing After present under spectators' account is transferred under main broadcaster's account, by what is shifted under spectators' account under main broadcaster's account Present removal.
Specifically, hacker is in order to prevent around the strategy for detecting brush behavior, using multiple-authentication method.The multiple-authentication Method be it is a variety of verify get present spectators' account whether be hacker's account method.A variety of verification methods can all make With can also be according to sequencing using the various methods in the multiple-authentication method, when a kind of verification method verifies institute Stating spectators' account is hacker's account, then stops using subsequent verification method to be verified, to reduce calculating.The judgement is single Member 1 gets whether spectators' account of present is hacker's account using multiple-authentication method judgement.The removal unit 2 obtains It is hacker's account that how many judging result, which is spectators' account, in judging result, if at least one judging result is described Spectators' account is hacker's account, it is determined that spectators' account is hacker's account, starts simultaneously at and captures the spectators and will get Present is given to the operation of main broadcaster.After capturing the present under spectators' account and being transferred under main broadcaster's account, by institute State the present removal shifted under spectators' account under main broadcaster's account.For platform is broadcast live, even if spectators have present can not It is fulfilled from live streaming platform, only main broadcaster could fulfil present, therefore, generally can be by present after hacker's brush present It gives to main broadcaster, i.e., present is transferred under main broadcaster's account, present is then exchanged into cash under main broadcaster's account.When true When fixed spectators' account is hacker's account, without preventing the behavior of hacker's brush present at once, but present is got in hacker, And after present is transferred under main broadcaster's account, it will be removed under main broadcaster's account by the present that the hacker shifts, i.e., it will be by institute The zeroing number for stating the present that hacker is transferred under main broadcaster's account, in the irredeemable situation of present for making brush, hacker can not Aware services device is which step to detect that spectators' account is hacker's account in, to can not know the detection plan of server Slightly, it is not easy to around the detection of server.
On the one hand the present embodiment, by carrying out multiple-authentication to hacker, to make hacker be difficult around detection, improves black On the other hand the accuracy of visitor's detection is not handled at once when finding hacker, and the present of brush is transferred to master in hacker After broadcasting under account, before the present brushed under main broadcaster's account is exchanged, by the present of hacker's transfer under main broadcaster's account It resets, to make hacker that can not know the reason of being detected, it is difficult to around the detection of server.
On the basis of the above embodiments, judging unit described in the present embodiment is specifically used for: being got according to the spectators What the operation of present and the client of the spectators were sent gets present agreement, judges whether spectators' account is hacker's account Number.
On the basis of the above embodiments, judging unit described in the present embodiment is further specifically used for: obtaining the sight Crowd gets one of duration of the operation of present, the sequence of the operation and the operation or a variety of, and the operation includes key The clicking operation of the input operation and mouse of disk;According to acquisition as a result, judging whether spectators' account is hacker's account.
On the basis of the above embodiments, judging unit described in the present embodiment is further specifically used for: getting described Increase protocol fields in present agreement;Receive the client transmission of the spectators gets present agreement;If the received neck Taking in present agreement does not have the increased protocol fields, then knows that spectators' account is hacker's account.
On the basis of the various embodiments described above, judging unit described in the present embodiment is further specifically used for: in the neck It takes and increases new agreement in present agreement;Receive the client transmission of the spectators gets present agreement;If the received neck Taking in present agreement does not have the new agreement, then knows that spectators' account is hacker's account.
On the basis of the above embodiments, judging unit described in the present embodiment is further specifically used for: if not obtaining The operation of present is got to the spectators, then knows that spectators' account is hacker's account;If the sequence of the operation is not pre- If sequence, then know that spectators' account is hacker's account;If the duration respectively operated is less than corresponding preset duration, obtain Know that spectators' account is hacker's account.
On the basis of the above embodiments, judging unit described in the present embodiment is also used to: mobile present gets control Position;When capturing the spectators and clicking the present and get the operation of control, obtains the spectators and click the present neck Take the position of control;If the present gets control, the mobile front and back spectators click the position phase that the present gets control Together, then know that spectators' account is hacker's account.
On the basis of the above embodiments, present agreement is got described in the present embodiment to include the title that platform is broadcast live, see Crowd's number, the numbers for getting present, the Token data of spectators, at the time of get present, the client number of spectators and live streaming room Between number;The protocol fields are at the time of the getting present of random number, keyword or encryption generated at random;The new agreement It is one of at the time of including the Token data of room number, spectators are broadcast live and get present or a variety of.
A kind of equipment the present embodiment provides brush present is prevented in live streaming platform, Fig. 3 are provided in an embodiment of the present invention straight Broadcast the equipment overall structure schematic diagram that brush present is prevented in platform, which includes: at least one processor 31, at least one deposits Reservoir 32 and bus 33;Wherein,
The processor 31 and memory 32 complete mutual communication by the bus 33;
The memory 32 is stored with the program instruction that can be executed by the processor 31, and the processor calls the journey Sequence instruction is able to carry out method provided by above-mentioned each method embodiment, for example, S1 utilizes multiple-authentication method, judgement Whether the spectators' account for getting present is hacker's account;S2, if it is hacker's account that at least one judging result, which is spectators' account, Number, then after capturing the present under spectators' account and being transferred under main broadcaster's account, by under main broadcaster's account from institute State the present removal shifted under spectators' account.
The present embodiment provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage medium Computer instruction is stored, the computer instruction makes the computer execute method provided by above-mentioned each method embodiment, example It such as include: S1, using multiple-authentication method, judgement gets whether spectators' account of present is hacker's account;S2, if at least one Judging result is that spectators' account is hacker's account, then the present in the case where capturing spectators' account is transferred to main broadcaster's account After under number, the present shifted under spectators' account under main broadcaster's account is removed.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light The various media that can store program code such as disk.
Prevent the apparatus embodiments of brush present only schematical in live streaming platform described above, wherein the work It may or may not be physically separated for the unit of separate part description, component shown as a unit can be Or it may not be physical unit, it can it is in one place, or may be distributed over multiple network units.It can be with Some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment according to the actual needs.The common skill in this field Art personnel are without paying creative labor, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Finally, the present processes are only preferable embodiment, it is not intended to limit the scope of the present invention.It is all Within the spirit and principles in the present invention, any modification, equivalent replacement, improvement and so on should be included in protection of the invention Within the scope of.

Claims (9)

1. preventing the method for brush present in a kind of live streaming platform characterized by comprising
S1, using multiple-authentication method, judgement gets whether spectators' account of present is hacker's account;
S2, if it is hacker's account that at least one judging result, which is spectators' account, in the case where capturing spectators' account After present is transferred under main broadcaster's account, the present shifted under spectators' account under main broadcaster's account is removed;
Wherein, step S1 is specifically included:
According to spectators get present operation and spectators client send get present agreement, judge that spectators' account is No is hacker's account.
2. the method according to claim 1, wherein according to spectators get the operation judges of present described in spectators' account The step of number whether being hacker's account, specifically includes:
It obtains the spectators and gets one of duration of the operation of present, the sequence of the operation and the operation or a variety of, The operation includes the clicking operation of the input operation and mouse of keyboard;
According to acquisition as a result, judging whether spectators' account is hacker's account.
3. the method according to claim 1, wherein being sentenced according to the present agreement of getting that the client of spectators is sent The step of whether spectators' account is hacker's account of breaking specifically includes:
Increase protocol fields in described get in present agreement;
Receive the client transmission of the spectators gets present agreement;
If received described get in present agreement does not have the increased protocol fields, know that spectators' account is hacker Account.
4. according to the method described in claim 3, it is characterized in that, being sentenced according to the present agreement of getting that the client of spectators is sent The step of whether spectators' account is hacker's account of breaking specifically includes:
Increase new agreement in present agreement in described get;
Receive the client transmission of the spectators gets present agreement;
If received described get in present agreement does not have the new agreement, know that spectators' account is hacker's account.
5. according to the method described in claim 2, it is characterized in that, according to acquisition as a result, whether judging spectators' account It is specifically included for the step of hacker's account:
If not getting the operation that the spectators get present, know that spectators' account is hacker's account;
If the sequence of the operation is not preset order, know that spectators' account is hacker's account;
If the duration respectively operated is less than corresponding preset duration, know that spectators' account is hacker's account.
6. the method according to claim 1, wherein according to spectators get the operation judges of present described in spectators' account The step of number whether being hacker's account further include:
Mobile present gets the position of control;
When capturing the spectators and clicking the present and get the operation of control, obtains the spectators and click the present and get The position of control;
If the present get the mobile front and back spectators of control click the present get control position it is identical, know institute Stating spectators' account is hacker's account.
7. according to the method described in claim 4, it is characterized in that, it is described get present agreement include be broadcast live platform title, Spectators' number, the number for getting present, the Token data of spectators, at the time of get present, the client number and live streaming of spectators Room number;
The protocol fields are at the time of the getting present of random number, keyword or encryption generated at random;
The new agreement includes that room number, the Token data of spectators and one of at the time of get present or a variety of is broadcast live.
8. preventing the device of brush present in a kind of live streaming platform characterized by comprising
Judging unit, for utilizing multiple-authentication method, judgement gets whether spectators' account of present is hacker's account;
Removal unit, for capturing the sight when it is hacker's account that at least one judging result, which is spectators' account, After present under many accounts is transferred under main broadcaster's account, gift that will be shifted under spectators' account under main broadcaster's account Object removal;
Wherein, the judging unit is specifically used for:
According to spectators get present operation and spectators client send get present agreement, judge that spectators' account is No is hacker's account.
9. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited Computer instruction is stored up, the computer instruction makes the computer execute the method as described in claim 1 to 7 is any.
CN201710930940.4A 2017-10-09 2017-10-09 The method and device of brush present is prevented in a kind of live streaming platform Active CN107770575B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710930940.4A CN107770575B (en) 2017-10-09 2017-10-09 The method and device of brush present is prevented in a kind of live streaming platform
PCT/CN2017/120147 WO2019071856A1 (en) 2017-10-09 2017-12-29 Method and device for preventing spam gift in live broadcasting platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710930940.4A CN107770575B (en) 2017-10-09 2017-10-09 The method and device of brush present is prevented in a kind of live streaming platform

Publications (2)

Publication Number Publication Date
CN107770575A CN107770575A (en) 2018-03-06
CN107770575B true CN107770575B (en) 2019-11-01

Family

ID=61267069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710930940.4A Active CN107770575B (en) 2017-10-09 2017-10-09 The method and device of brush present is prevented in a kind of live streaming platform

Country Status (2)

Country Link
CN (1) CN107770575B (en)
WO (1) WO2019071856A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108574697A (en) * 2018-04-28 2018-09-25 广东亿迅科技有限公司 Illegal method and device based on live streaming platform
CN110933113B (en) * 2019-12-30 2021-04-09 腾讯科技(深圳)有限公司 Block chain-based interactive behavior detection method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6643694B1 (en) * 2000-02-09 2003-11-04 Michael A. Chernin System and method for integrating a proxy server, an e-mail server, and a DHCP server, with a graphic interface
CN104935578A (en) * 2015-05-04 2015-09-23 广州唯品会信息科技有限公司 Website malicious attack prevention method and system
CN106022826A (en) * 2016-05-18 2016-10-12 武汉斗鱼网络科技有限公司 Cheating user recognition method and system in webcast platform
CN106227813A (en) * 2016-07-22 2016-12-14 百度在线网络技术(北京)有限公司 For the method and apparatus preventing voice ballot cheating
CN106228410A (en) * 2016-07-29 2016-12-14 武汉斗鱼网络科技有限公司 Virtual present task anti-brush system and method in a kind of live platform
CN106375327A (en) * 2016-09-13 2017-02-01 湖北工业大学 Anti-malicious attack proxy secret key mixing-based electronic voting system and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8078515B2 (en) * 2007-05-04 2011-12-13 Michael Sasha John Systems and methods for facilitating electronic transactions and deterring fraud
CN105635745B (en) * 2015-12-23 2019-10-22 广州华多网络科技有限公司 Method and client that signature shines are generated based on online live streaming application
CN105897770B (en) * 2016-06-20 2018-11-27 武汉斗鱼网络科技有限公司 A kind of virtual gift display method and device based on live streaming
CN106599251A (en) * 2016-12-20 2017-04-26 北京小米移动软件有限公司 Method and device for displaying anchor rankings

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6643694B1 (en) * 2000-02-09 2003-11-04 Michael A. Chernin System and method for integrating a proxy server, an e-mail server, and a DHCP server, with a graphic interface
CN104935578A (en) * 2015-05-04 2015-09-23 广州唯品会信息科技有限公司 Website malicious attack prevention method and system
CN106022826A (en) * 2016-05-18 2016-10-12 武汉斗鱼网络科技有限公司 Cheating user recognition method and system in webcast platform
CN106227813A (en) * 2016-07-22 2016-12-14 百度在线网络技术(北京)有限公司 For the method and apparatus preventing voice ballot cheating
CN106228410A (en) * 2016-07-29 2016-12-14 武汉斗鱼网络科技有限公司 Virtual present task anti-brush system and method in a kind of live platform
CN106375327A (en) * 2016-09-13 2017-02-01 湖北工业大学 Anti-malicious attack proxy secret key mixing-based electronic voting system and method

Also Published As

Publication number Publication date
CN107770575A (en) 2018-03-06
WO2019071856A1 (en) 2019-04-18

Similar Documents

Publication Publication Date Title
CN107402880B (en) Test method and electronic equipment
US10997063B1 (en) System testing from production transactions
CN105556482B (en) Monitor mobile application performance
US20170180909A1 (en) Cloud-Based Custom Metric/Timer Definitions and Real-Time Analytics of Mobile Applications
CN106104555B (en) For protecting the behavioural analysis of peripheral equipment
CN108885666A (en) For detecting and preventing the pseudo- system and method emitted
US9015668B1 (en) Instrumentation agent for manipulating component responses in a test
CN110830735B (en) Video generation method and device, computer equipment and storage medium
CN106155298A (en) Man-machine recognition methods and device, the acquisition method of behavior characteristics data and device
CN108111554B (en) Control method and device for access queue
CN108721898B (en) Frame rate determination method and apparatus, storage medium, and electronic apparatus
CN104765678A (en) Method and device for testing applications on mobile terminal
CN107770161B (en) The method and device of brush present is prevented in a kind of live streaming platform
CN105868973B (en) Event resource processing method and device
CN110347608B (en) Interactive application testing method and related device
CN107770575B (en) The method and device of brush present is prevented in a kind of live streaming platform
CN110177086A (en) A kind of cloud mobile phone screen sharing method, system and device
CN108830093A (en) Management method, server and the terminal device of terminal device operating right
CN110120928A (en) A kind of identity authentication method, device, server and computer-readable medium
CN110533457A (en) A kind of advertisement push system, method and server
CN107517139A (en) Data processing method and system, device test system and bus test system
CN108881132A (en) Using authorization method, client, server and computer-readable medium
CN106844219A (en) Using detection method and apply detection means
CN104363257B (en) A kind of user interface data method for refreshing and equipment
CN105718314B (en) Event execution method and apparatus and system

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