CN105553681A - Anti-plug-in method and system - Google Patents

Anti-plug-in method and system Download PDF

Info

Publication number
CN105553681A
CN105553681A CN201510936999.5A CN201510936999A CN105553681A CN 105553681 A CN105553681 A CN 105553681A CN 201510936999 A CN201510936999 A CN 201510936999A CN 105553681 A CN105553681 A CN 105553681A
Authority
CN
China
Prior art keywords
red packet
user
chatroom
request
module
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.)
Granted
Application number
CN201510936999.5A
Other languages
Chinese (zh)
Other versions
CN105553681B (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 CN201510936999.5A priority Critical patent/CN105553681B/en
Publication of CN105553681A publication Critical patent/CN105553681A/en
Application granted granted Critical
Publication of CN105553681B publication Critical patent/CN105553681B/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
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1804Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for stock exchange and similar applications

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an anti-plug-in method, comprising: receiving a red envelope creation request from a chat room, wherein the request includes an ID and a nickname of a user sending the request in the chat room, a service ID of the chat room and an ID of a gift sent from the user to an anchor in the chat room; creating a red envelope according to the received red envelope creation request, and allocating a unique red envelope ID to the red envelope, wherein all red envelope IDs constitute a red envelope ID set, and IDs of a plurality of users obtaining the rights to grab the red envelope from the chat room periodically and randomly constitute a user ID set; and receiving, by a gateway server, a red envelope grabbing request of a user, wherein the red envelope grabbing request includes the ID of the corresponding user and the red envelope ID of the corresponding red envelope. The method can solve the technical problem that relevant defects caused by plug-in are not radically overcome because a forbidden user still can unallowably grab red envelopes by applying for a new account in the existing anti-plug-in mode.

Description

A kind of anti-plug-in method and system
Technical field
The invention belongs to Internet technical field, more specifically, relate to a kind of anti-plug-in method and system.
Background technology
Now, under the scene of many Internets, businessman can attract consumer by the mode of robbing red packet.Rob ideal money in more live platform, and rob red packet in the such shopping platform of similar Taobao.But, many bad consumers, can go to rob these red packets by some illegal means, more commonly by the mode of externally hung software, such consequence, causes numerous subscriber computer can divide the injustice of mixing, on the other hand on the one hand, the red packet illegally got also can be sold away by these illegal consumers through various channels, illegally gets profit.
Now anti-plug-in method has been had to be used, the result of large data analysis is the most generally used to close the account of disabled user, but, still illegally can be robbed red packet by applying for that the mode of new account re-starts by the user closed, therefore this mode does not fundamentally solve plug-in caused numerous shortcomings.
Summary of the invention
For above defect or the Improvement requirement of prior art, the invention provides a kind of anti-plug-in method and system, its object is to, solve exist in existing anti-plug-in mode closed user and still can re-start and illegally rob red packet activity thus the technical problem fundamentally not solving the plug-in related defects caused by the new account mode of application.
For achieving the above object, according to one aspect of the present invention, provide a kind of anti-plug-in method, comprise the following steps:
(1) receive red packet request to create from chatroom, in this request, include in chatroom the ID that the ID of the user sending this request and user's pet name, the service ID of chatroom and this user send to the present of main broadcaster in chatroom;
(2) create red packet according to the red packet request to create that receives, and distribute a unique red packet ID for this red packet, all red packet ID form red packet ID and gather;
(3) timing obtains the ID formation user ID set of the multiple users having the right to get this red packet at random from chatroom;
(4) by gateway server receive user rob red packet request, this is robbed red packet request and comprises the ID of respective user and the red packet ID of corresponding red packet;
(5) judge whether the red packet ID robbed in red packet request is present in red packet ID set, if it is proceeds to step (6), otherwise send the announcement information not getting red packet to this user;
(6) judge whether the user ID of robbing in red packet request is present in the user ID set got from chatroom, if it is proceeds to step (7), otherwise send the announcement information not getting red packet to this user, process terminates;
(7) from red packet, randomly draw the red packet amount of money, this red packet amount of money is distributed to this user, and the ID of this user is deleted from user ID set.
Preferably, the information of all presents is all stored in external data base with tabular form, and also stores the special efficacy of all presents in this list, stores the amount of money of red packet and have the right to get the number of users of this red packet in this special efficacy.
Preferably, the time span obtaining user ID in step (3) is less than the opening time of the red packet pre-set, and the opening time of red packet is from red packet, be created to the time starting to rob red packet.
Preferably, in step (3), if the quantity of user is less than the number of users having the right to get this red packet in chatroom, then obtain the ID of all users in this chatroom.
Preferably, this method also comprises: by getting the ID of the user of red packet, user's pet name, the red packet amount of money is sent to chatroom, by chatroom the user ID received, user's pet name, the red packet amount of money is sent in a broadcast manner all users in room.
According to another aspect of the present invention, provide a kind of anti-plug-in system, comprising:
First module, for receiving red packet request to create from chatroom, includes in chatroom the ID that the ID of the user sending this request and user's pet name, the service ID of chatroom and this user send to the present of main broadcaster in chatroom in this request;
Second module, for creating red packet according to the red packet request to create that receives, and distribute a unique red packet ID for this red packet, all red packet ID form red packet ID and gather;
3rd module, obtains the ID formation user ID set of the multiple users having the right to get this red packet at random from chatroom for timing;
Four module, for by gateway server receive user rob red packet request, this is robbed red packet request and comprises the ID of respective user and the red packet ID of corresponding red packet;
5th module, for judging whether the red packet ID robbed in red packet request is present in red packet ID set, if it is proceeds to the 6th module, otherwise sends the announcement information not getting red packet to this user;
6th module, for judging whether the user ID of robbing in red packet request is present in the user ID set got from chatroom, if it is proceeds to the 7th module, otherwise sends the announcement information not getting red packet to this user, and process terminates;
7th module, for randomly drawing the red packet amount of money from red packet, distributing to this user by this red packet amount of money, and being deleted from user ID set by the ID of this user.
Preferably, the information of all presents is all stored in external data base with tabular form, and also stores the special efficacy of all presents in this list, stores the amount of money of red packet and have the right to get the number of users of this red packet in this special efficacy.
Preferably, the time span obtaining user ID in the 3rd module is less than the opening time of the red packet pre-set, and the opening time of red packet is from red packet, be created to the time starting to rob red packet.
Preferably, in the 3rd module, if the quantity of user is less than the number of users having the right to get this red packet in chatroom, then obtain the ID of all users in this chatroom.
Preferably, native system also comprises the 8th module, being sent to chatroom for the ID of the user by getting red packet, user's pet name, the red packet amount of money, by chatroom the user ID received, user's pet name, the red packet amount of money being sent in a broadcast manner all users in room.
In general, the above technical scheme conceived by the present invention compared with prior art, can obtain following beneficial effect:
(1) owing to have employed step (3), the ID obtaining the multiple users having the right to get this red packet from chatroom at random forms user ID set, to a certain extent the plug-in user of use can be foreclosed, thus reduce plug-in the brought all multi-risk Systems of use and problem;
(2) owing to have employed step (6) and (7), all users in user ID set have an opportunity to get red packet, thus ensure that user robs the fairness of red packet.
Accompanying drawing explanation
Fig. 1 is the flow chart of the anti-plug-in method of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.In addition, if below in described each execution mode of the present invention involved technical characteristic do not form conflict each other and just can mutually combine.
The present invention be applied in comprise chatroom, red packet processing server, gateway server environment in, as shown in Figure 1, the anti-plug-in method of the present invention comprises the following steps:
(1) red packet processing server receives red packet request to create from chatroom, includes in chatroom the ID that the ID of the user sending this request and user's pet name, the service ID of chatroom and this user send to the present of main broadcaster in chatroom in this request; Specifically, the information of all presents is all stored in external data base with tabular form, and in this list, also store the special efficacy of all presents, (it is red packet by the multiple of the quantity split for the amount of money storing red packet in this special efficacy and the number of users having the right to get this red packet, be preferably twice), such as, in certain special efficacy, the amount of money of red packet is 10000 yuan, and be divided into 300 parts, simultaneously to 600 users should be had can to have the right to get this red packet, and finally there are 300 people can get this red packet;
(2) red packet processing server creates red packet according to the red packet request to create that receives, and distributes a unique red packet ID for this red packet, and all red packet ID form red packet ID and gather;
(3) (its time span should be less than the opening time of this red packet pre-set to the timing of red packet processing server, the opening time of red packet is exactly create from red packet, to starting the time of robbing red packet, such as, the opening time of this red packet is 3 minutes, then time span can be any time in 3 minutes) ID that obtains the multiple users having the right to get this red packet from chatroom at random forms user ID set, if the quantity of user is less than the number of users having the right to get this red packet in chatroom, then the ID of all users in this chatroom is all obtained;
(4) red packet processing server by gateway server receive user rob red packet request, this is robbed red packet request and comprises the ID of respective user and the red packet ID of corresponding red packet;
(5) red packet processing server judges whether the red packet ID robbed in red packet request is present in red packet ID set, if it is proceeds to step (6), otherwise sends the announcement information not getting red packet to this user;
(6) red packet processing server judges whether the user ID of robbing in red packet request is present in the user ID set got from chatroom, if it is step (7) is proceeded to, otherwise send the announcement information not getting red packet to this user, process terminates;
(7) red packet processing server randomly draws the red packet amount of money of some from red packet, this red packet amount of money is distributed to this user, and is deleted from user ID set by the ID of this user.
Preferably, method of the present invention also comprises,
(8) red packet processing server by getting the ID of the user of red packet, user's pet name, the red packet amount of money is sent to chatroom;
(9) user ID received, user's pet name, the red packet amount of money are sent to all users in room by chatroom in a broadcast manner.
Generally speaking, advantage of the present invention comprises:
(1) owing to have employed step (3), the ID obtaining the multiple users having the right to get this red packet from chatroom at random forms user ID set, to a certain extent the plug-in user of use can be foreclosed, thus reduce plug-in the brought all multi-risk Systems of use and problem;
(2) owing to have employed step (6) and (7), all users in user ID set have an opportunity to get red packet, thus ensure that user robs the fairness of red packet.
In embodiments of the present invention, system embodiment and embodiment of the method are one to one, and therefore the expansion content of embodiment of the method also can be used for system embodiment.
Those skilled in the art will readily understand; the foregoing is only preferred embodiment of the present invention; not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. an anti-plug-in method, is characterized in that, comprise the following steps:
(1) receive red packet request to create from chatroom, in this request, include in chatroom the ID that the ID of the user sending this request and user's pet name, the service ID of chatroom and this user send to the present of main broadcaster in chatroom;
(2) create red packet according to the red packet request to create that receives, and distribute a unique red packet ID for this red packet, all red packet ID form red packet ID and gather;
(3) timing obtains the ID formation user ID set of the multiple users having the right to get this red packet at random from chatroom;
(4) by gateway server receive user rob red packet request, this is robbed red packet request and comprises the ID of respective user and the red packet ID of corresponding red packet;
(5) judge whether the red packet ID robbed in red packet request is present in red packet ID set, if it is proceeds to step (6), otherwise send the announcement information not getting red packet to this user;
(6) judge whether the user ID of robbing in red packet request is present in the user ID set got from chatroom, if it is proceeds to step (7), otherwise send the announcement information not getting red packet to this user, process terminates;
(7) from red packet, randomly draw the red packet amount of money, this red packet amount of money is distributed to this user, and the ID of this user is deleted from user ID set.
2. method according to claim 1, it is characterized in that, the information of all presents is all stored in external data base with tabular form, and also stores the special efficacy of all presents in this list, stores the amount of money of red packet and have the right to get the number of users of this red packet in this special efficacy.
3. method according to claim 1, is characterized in that, the time span obtaining user ID in step (3) is less than the opening time of the red packet pre-set, and the opening time of red packet is from red packet, be created to the time starting to rob red packet.
4. method according to claim 1, is characterized in that, in step (3), if the quantity of user is less than the number of users having the right to get this red packet in chatroom, then obtains the ID of all users in this chatroom.
5. method according to claim 1, it is characterized in that, also comprise: by getting the ID of the user of red packet, user's pet name, the red packet amount of money is sent to chatroom, by chatroom the user ID received, user's pet name, the red packet amount of money is sent in a broadcast manner all users in room.
6. an anti-plug-in system, is characterized in that, comprising:
First module, for receiving red packet request to create from chatroom, includes in chatroom the ID that the ID of the user sending this request and user's pet name, the service ID of chatroom and this user send to the present of main broadcaster in chatroom in this request;
Second module, for creating red packet according to the red packet request to create that receives, and distribute a unique red packet ID for this red packet, all red packet ID form red packet ID and gather;
3rd module, obtains the ID formation user ID set of the multiple users having the right to get this red packet at random from chatroom for timing;
Four module, for by gateway server receive user rob red packet request, this is robbed red packet request and comprises the ID of respective user and the red packet ID of corresponding red packet;
5th module, for judging whether the red packet ID robbed in red packet request is present in red packet ID set, if it is proceeds to the 6th module, otherwise sends the announcement information not getting red packet to this user;
6th module, for judging whether the user ID of robbing in red packet request is present in the user ID set got from chatroom, if it is proceeds to the 7th module, otherwise sends the announcement information not getting red packet to this user, and process terminates;
7th module, for randomly drawing the red packet amount of money from red packet, distributing to this user by this red packet amount of money, and being deleted from user ID set by the ID of this user.
7. system according to claim 1, it is characterized in that, the information of all presents is all stored in external data base with tabular form, and also stores the special efficacy of all presents in this list, stores the amount of money of red packet and have the right to get the number of users of this red packet in this special efficacy.
8. system according to claim 1, is characterized in that, the time span obtaining user ID in the 3rd module is less than the opening time of the red packet pre-set, and the opening time of red packet is from red packet, be created to the time starting to rob red packet.
9. system according to claim 1, is characterized in that, in the 3rd module, if the quantity of user is less than the number of users having the right to get this red packet in chatroom, then obtains the ID of all users in this chatroom.
10. system according to claim 1, it is characterized in that, also comprise the 8th module, being sent to chatroom for the ID of the user by getting red packet, user's pet name, the red packet amount of money, by chatroom the user ID received, user's pet name, the red packet amount of money being sent in a broadcast manner all users in room.
CN201510936999.5A 2015-12-15 2015-12-15 A kind of anti-plug-in method and system Active CN105553681B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510936999.5A CN105553681B (en) 2015-12-15 2015-12-15 A kind of anti-plug-in method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510936999.5A CN105553681B (en) 2015-12-15 2015-12-15 A kind of anti-plug-in method and system

Publications (2)

Publication Number Publication Date
CN105553681A true CN105553681A (en) 2016-05-04
CN105553681B CN105553681B (en) 2018-11-27

Family

ID=55832623

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510936999.5A Active CN105553681B (en) 2015-12-15 2015-12-15 A kind of anti-plug-in method and system

Country Status (1)

Country Link
CN (1) CN105553681B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933759A (en) * 2016-05-20 2016-09-07 安徽省谷威天地传媒科技有限公司 Red envelope grabbing method for digital television, server and system
CN106028165A (en) * 2016-06-17 2016-10-12 武汉斗鱼网络科技有限公司 Method and system for realizing lucky draw in mobile terminal of live broadcasting website
CN106230926A (en) * 2016-07-27 2016-12-14 宁波圆形网络科技有限公司 A kind of red packet sends system and method
CN106302111A (en) * 2016-08-04 2017-01-04 财付通支付科技有限公司 A kind of information processing method, terminal and server
CN108595965A (en) * 2018-04-28 2018-09-28 北京字节跳动网络技术有限公司 Prevent the method and its device that the attribute information of interface control is stolen
CN109218753A (en) * 2017-06-30 2019-01-15 武汉斗鱼网络科技有限公司 A kind of method and apparatus showing virtual present special efficacy
US11153237B2 (en) 2016-08-04 2021-10-19 Tencent Technology (Shenzhen) Company Limited Information processing method, apparatus, device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104111821A (en) * 2013-04-18 2014-10-22 腾讯科技(深圳)有限公司 Data processing method, data processing device and data processing system
CN104253795A (en) * 2013-06-27 2014-12-31 腾讯科技(深圳)有限公司 Method and device for preventing utilizing plug-in in network games

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104111821A (en) * 2013-04-18 2014-10-22 腾讯科技(深圳)有限公司 Data processing method, data processing device and data processing system
CN104253795A (en) * 2013-06-27 2014-12-31 腾讯科技(深圳)有限公司 Method and device for preventing utilizing plug-in in network games

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933759A (en) * 2016-05-20 2016-09-07 安徽省谷威天地传媒科技有限公司 Red envelope grabbing method for digital television, server and system
CN106028165A (en) * 2016-06-17 2016-10-12 武汉斗鱼网络科技有限公司 Method and system for realizing lucky draw in mobile terminal of live broadcasting website
CN106230926A (en) * 2016-07-27 2016-12-14 宁波圆形网络科技有限公司 A kind of red packet sends system and method
CN106302111A (en) * 2016-08-04 2017-01-04 财付通支付科技有限公司 A kind of information processing method, terminal and server
CN111934977A (en) * 2016-08-04 2020-11-13 财付通支付科技有限公司 Information processing method, terminal, server and storage medium
CN106302111B (en) * 2016-08-04 2020-12-22 财付通支付科技有限公司 Information processing method, terminal and server
US11153237B2 (en) 2016-08-04 2021-10-19 Tencent Technology (Shenzhen) Company Limited Information processing method, apparatus, device and storage medium
CN111934977B (en) * 2016-08-04 2022-08-02 财付通支付科技有限公司 Information processing method, terminal, server and storage medium
US11595330B2 (en) 2016-08-04 2023-02-28 Tencent Technology (Shenzhen) Company Limited Information processing method, apparatus, device, and storage medium
CN109218753A (en) * 2017-06-30 2019-01-15 武汉斗鱼网络科技有限公司 A kind of method and apparatus showing virtual present special efficacy
CN109218753B (en) * 2017-06-30 2021-03-16 武汉斗鱼网络科技有限公司 Method and equipment for displaying special effect of virtual gift
CN108595965A (en) * 2018-04-28 2018-09-28 北京字节跳动网络技术有限公司 Prevent the method and its device that the attribute information of interface control is stolen

Also Published As

Publication number Publication date
CN105553681B (en) 2018-11-27

Similar Documents

Publication Publication Date Title
CN105553681A (en) Anti-plug-in method and system
CN105406974B (en) The method and system of popularity value in a kind of promotion chatroom
JP5800872B2 (en) Packet level prioritization in interconnected networks
CN108848530B (en) Method and device for acquiring network resources and scheduling server
CN102185856B (en) Team organizing video method, device and system used in team organizing game
CN104885477B (en) For carrying out the method and apparatus of content delivery on broadcasting network
CN108881354A (en) A kind of pushed information storage method, device, server and computer storage medium
CN112766945A (en) Virtual resource allocation processing method, device, equipment and storage medium
CN108900469A (en) Connect progress page methods of exhibiting, terminal device and computer-readable medium
CN104809369A (en) Method, client, server and system for grouping device access permissions
CN106059888A (en) IP (Internet Protocol) address assignment method and device based on open network operating system
JP2016507192A5 (en)
CN107026861A (en) A kind of plug-flow method and device
CN107659930A (en) A kind of AP connection control methods and device
CN102801716A (en) DHCP (Dynamic Host Configuration Protocol) anti-attacking method and device
CN103051738B (en) A kind of dhcp address distribution method and system
CN102143154B (en) For method and the media server of preventing attack on media server
CN107257558B (en) Message forwarding method and device
CN103095604A (en) System and method for identifying specific application of home network
CN101115001B (en) Host computer of ADSL router and PVC dynamic binding method
JP5504967B2 (en) Content distribution system, content distribution server, and user terminal
CN104780230A (en) Method of automatically acquiring cloud server IP address, system and cloud system
CN103986593B (en) Multicast message sending method and dispensing device in dynamic vlan
KR101705983B1 (en) User device and server for distributing contents
CN105933352B (en) Method of data synchronization, client and system between client-based server

Legal Events

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