CN106209579B - The system and method for hyperlink is quickly generated in the chat process of barrage website - Google Patents

The system and method for hyperlink is quickly generated in the chat process of barrage website Download PDF

Info

Publication number
CN106209579B
CN106209579B CN201610493273.3A CN201610493273A CN106209579B CN 106209579 B CN106209579 B CN 106209579B CN 201610493273 A CN201610493273 A CN 201610493273A CN 106209579 B CN106209579 B CN 106209579B
Authority
CN
China
Prior art keywords
mark
content
barrage
client
server
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
CN201610493273.3A
Other languages
Chinese (zh)
Other versions
CN106209579A (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.)
Urumqi Bangbangjun 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 CN201610493273.3A priority Critical patent/CN106209579B/en
Publication of CN106209579A publication Critical patent/CN106209579A/en
Application granted granted Critical
Publication of CN106209579B publication Critical patent/CN106209579B/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
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/212Monitoring or handling of messages using filtering or selective blocking
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/454Content or additional data filtering, e.g. blocking advertisements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Abstract

The invention discloses the system and methods that hyperlink is quickly generated in a kind of chat process of barrage website, are related to barrage website chat field.The content of mark is obtained, the content of mark is identified and filtered when client is detected in barrage containing mark method includes the following steps: server presets a mark;Whether the content of identification marking contains malicious code, and if there is malicious code, client is directly filtered out, and is not sent to server;When the content of only client identification marking is normal, server just is sent by the content of mark;Server carries out logic control to the content of the mark received, by the content translation of mark at corresponding room number;Server filters out illegal room, abnormal room, room is not present, and the room number of necessary being is generated hyperlink and is shown in the client.The present invention realizes that the hyperlink of station inside enclosed shares mode by the content of identification marking.

Description

The system and method for hyperlink is quickly generated in the chat process of barrage website
Technical field
The present invention relates to barrage website chat fields, are specifically related to quickly generate in a kind of chat process of barrage website super The system and method for link.
Background technique
During internet is broadcast live, some users need to chat using barrage website.Barrage can be a kind of to spectators The illusion of " real-time interactive ", although the sending time different from of different barrage, its only can in video specific one Time point occurs, therefore in the barrage mutually sent in the same time substantially also theme having the same, just has when participating in comment The illusion commented on simultaneously with other spectators.When user is chatted using barrage website, needs to be broadcast live platform and efficient and convenient, high knowledge is provided Other hyperlink sending method.
Summary of the invention
The purpose of the invention is to overcome the shortcomings of above-mentioned background technique, provide fast in a kind of chat process of barrage website Fast-growing realizes that the hyperlink of station inside enclosed shares mode by the content of identification marking at the system and method for hyperlink.
The present invention provides the system that hyperlink is quickly generated in a kind of chat process of barrage website, which includes client And server, the server preset a mark, whether contain server in the barrage that client detection user sends The mark of setting, if detecting that, containing mark in barrage, client obtains the content of mark, identifies to the content of mark And filtering;Whether the content of client identification marking contains malicious code, and if there is malicious code, client is directly filtered out, It is not sent to server;When the content of only client identification marking is normal, server just is sent by the content of mark;It is described Server carries out logic control to the content of the mark received, by the content translation of mark at corresponding room number;Server It filters out illegal room, abnormal room, room be not present, the room number of necessary being is generated into hyperlink, is shown in client In end.
Based on the above technical solution, the format of the mark are as follows: reference characters+number, the content of mark are mark Know the subsequent number of code name, represents room number.
Based on the above technical solution, the client judge user send barrage in whether contain sensitive words, If containing sensitive words in barrage, the barrage is shielded, is not sent.
Based on the above technical solution, when the client is detected in a barrage containing multiple marks, client End only sends first and is identified to server.
The present invention also provides the methods that hyperlink is quickly generated in a kind of chat process of barrage website, comprising the following steps:
Whether S1, server preset a mark, set containing server in the barrage that client detection user sends Fixed mark, if detect in barrage containing mark, client obtain mark content, to the content of mark carry out identification and Filtering;
S2, client identification marking content whether contain malicious code, if there is malicious code, client is directly filtered Fall, is not sent to server;When the content of only client identification marking is normal, server just is sent by the content of mark;
S3, server carry out logic control to the content of the mark received, by the content translation of mark at corresponding room Between number;
S4, server filter out illegal room, abnormal room, room are not present, and the room number of necessary being is generated Hyperlink is shown in the client.
Based on the above technical solution, the format of the mark are as follows: reference characters+number, the content of mark are mark Know the subsequent number of code name, represents room number.
Based on the above technical solution, further comprising the steps of in step S1: client judges the bullet that user sends Whether contain sensitive words in curtain, if containing sensitive words in barrage, shields the barrage, do not send.
Based on the above technical solution, in step S2, when client is detected in a barrage containing multiple marks, Client only sends first and is identified to server.
Compared with prior art, advantages of the present invention is as follows:
(1) whether the server in the present invention presets a mark, contain in the barrage that client detection user sends There is the mark of server settings, if detecting that client obtains the content of mark, to the content of mark containing mark in barrage It is identified and is filtered;When the content of only client identification marking is normal, server just is sent by the content of mark.Service Device carries out logic control to the content of the mark received, by the content translation of mark at corresponding room number;Server filtering Fall illegal room, abnormal room, room be not present, the room number of necessary being is generated into hyperlink, is shown in the client. The present invention realizes that the hyperlink of station inside enclosed shares mode by the content of identification marking.
(2) server in the present invention filters out illegal room, abnormal room, room is not present, by necessary being Room number generates hyperlink, shows in the client, in this way, divide user can only when user shares hyperlink in station The legal hyperlink address in station is enjoyed, can not go to send a large amount of advertisement using this hyperlink, therefore, can safeguard live streaming room Between order.
(3) user under Entered state, can send barrage, and the client in the present invention judges the barrage that user sends In whether contain sensitive words, if containing sensitive words in barrage, shield the barrage, will not normally send, can prevent in this way User sends some sensitive speeches.
Detailed description of the invention
Fig. 1 is the flow chart for quickly generating the method for hyperlink in the embodiment of the present invention in the chat process of barrage website.
Specific embodiment
With reference to the accompanying drawing and specific embodiment the present invention is described in further detail.
The embodiment of the present invention provides the system that hyperlink is quickly generated in a kind of chat process of barrage website, which includes Client and server.
Shown in Figure 1, the embodiment of the present invention also provides in a kind of chat process of barrage website and quickly generates hyperlink Method, comprising the following steps:
S1, server preset a mark, the format of mark are as follows: reference characters+number, the content of mark are mark The subsequent number of code name, represents room number;
Client judge user send barrage in whether contain sensitive words, if containing sensitive words in barrage, shield The barrage will not normally be sent;The step of this is optimization, not necessary step;
Client detect user send barrage in whether the mark containing server settings, contain if detected in barrage There is mark, client obtains the content of mark, the content of mark is identified and filtered;
S2, it is based on security consideration, whether the content of client identification marking contains malicious code, such as: // ,+,-, such as Fruit has malicious code, and client directly filters out, and is not sent to server;When the content of only client identification marking is normal, Just server is sent by the content of mark.
When client is detected in a barrage containing multiple marks, client only sends first and is identified to server, The behavior that barrage is continuously largely sent for user, can mitigate the pressure of server.
S3, server carry out logic control to the content of the mark received, by the content translation of mark at corresponding room Between number;
S4, server filter out illegal room, abnormal room, room are not present, and the room number of necessary being is generated Hyperlink is shown in the client.
In practical applications, the number in the mark of server settings can be with are as follows: no more than the continuous number of 9 digits, example Such as: server settings are identified as [Num], and user is in the barrage of transmission if containing such as: I really likes well this of bucket fish A direct broadcasting room [$ 12450], server identification in content: [12450].The content [12450] of client identification marking is normal Mark, sends server for the content [12450] of the mark.It is numeric string: [12450] that server, which receives, clothes Device be engaged in logic control of this numeric string progress, is translated as www.douyutv.com/123450.This collation process is One simple logic collation process, the link of generation are only possible to be the link below bucket fish, and linking corresponding room may be It is empty, it is also possible to mistake.Server compares the room state that room ID is 12345, filters out illegal room, abnormal room, no There are rooms etc..
Those skilled in the art can carry out various modifications to the embodiment of the present invention and modification, if these modifications and change For type within the scope of the claims in the present invention and its equivalent technologies, then these modifications and variations are also in protection scope of the present invention Within.
The prior art that the content being not described in detail in specification is known to the skilled person.

Claims (8)

1. the system that hyperlink is quickly generated in a kind of chat process of barrage website, the system include client and server, Be characterized in that: the server presets a mark, whether contains server in the barrage that client detection user sends The mark of setting, if detecting that, containing mark in barrage, client obtains the content of mark, identifies to the content of mark And filtering;Whether the content of client identification marking contains malicious code, and if there is malicious code, client is directly filtered out, It is not sent to server;When the content of only client identification marking is normal, server just is sent by the content of mark;It is described Server carries out logic control to the content of the mark received, by the content translation of mark at corresponding room number;Server It filters out illegal room, abnormal room, room be not present, the room number of necessary being is generated into hyperlink, is shown in client In end.
2. quickly generating the system of hyperlink in the chat process of barrage website as described in claim 1, it is characterised in that: described The format of mark are as follows: the content of reference characters+number, mark is the subsequent number of reference characters, represents room number.
3. quickly generating the system of hyperlink in the chat process of barrage website as described in claim 1, it is characterised in that: described Client judge user send barrage in whether contain sensitive words, if containing sensitive words in barrage, shield the barrage, no It sends.
4. quickly generating the system of hyperlink in the chat process of barrage website as described in claim 1, it is characterised in that: described When client is detected in a barrage containing multiple marks, client only sends first and is identified to server.
5. quickly generating the method for hyperlink in a kind of chat process of barrage website, which comprises the following steps:
S1, server preset a mark, whether contain server settings in the barrage that client detection user sends Mark, if detecting that containing mark in barrage, client obtains the content of mark, carries out identification and mistake to the content of mark Filter;
S2, client identification marking content whether contain malicious code, if there is malicious code, client is directly filtered out, It is not sent to server;When the content of only client identification marking is normal, server just is sent by the content of mark;
S3, server carry out logic control to the content of the mark received, by the content translation of mark at corresponding room number;
S4, server filter out illegal room, abnormal room, room are not present, and the room number of necessary being is generated hyperlink It connects, shows in the client.
6. quickly generating the method for hyperlink in the chat process of barrage website as claimed in claim 5, it is characterised in that: described The format of mark are as follows: the content of reference characters+number, mark is the subsequent number of reference characters, represents room number.
7. quickly generating the method for hyperlink in the chat process of barrage website as claimed in claim 5, it is characterised in that: step Further comprising the steps of in S1: client judges whether contain sensitive words in barrage that user sends, if containing quick in barrage Feel word, then shields the barrage, do not send.
8. quickly generating the method for hyperlink in the chat process of barrage website as claimed in claim 5, it is characterised in that: step In S2, when client is detected in a barrage containing multiple marks, client only sends first and is identified to server.
CN201610493273.3A 2016-06-28 2016-06-28 The system and method for hyperlink is quickly generated in the chat process of barrage website Active CN106209579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610493273.3A CN106209579B (en) 2016-06-28 2016-06-28 The system and method for hyperlink is quickly generated in the chat process of barrage website

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610493273.3A CN106209579B (en) 2016-06-28 2016-06-28 The system and method for hyperlink is quickly generated in the chat process of barrage website

Publications (2)

Publication Number Publication Date
CN106209579A CN106209579A (en) 2016-12-07
CN106209579B true CN106209579B (en) 2019-03-15

Family

ID=57462472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610493273.3A Active CN106209579B (en) 2016-06-28 2016-06-28 The system and method for hyperlink is quickly generated in the chat process of barrage website

Country Status (1)

Country Link
CN (1) CN106209579B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660869A (en) * 2017-10-10 2019-04-19 武汉斗鱼网络科技有限公司 Barrage message screening method, storage medium, equipment and the system of multiterminal cooperation
CN109992737A (en) * 2019-04-03 2019-07-09 北京字节跳动网络技术有限公司 Third party's web page contents checking method, device and electronic equipment
CN114245163B (en) * 2021-12-15 2023-06-09 四川启睿克科技有限公司 Method for filtering bullet screen of robot

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533442A (en) * 2013-09-27 2014-01-22 北京奇虎科技有限公司 Method and device for loading video popped screen
CN104113785A (en) * 2014-06-26 2014-10-22 小米科技有限责任公司 Information acquisition method and device
CN104602131A (en) * 2015-02-16 2015-05-06 腾讯科技(北京)有限公司 Barrage processing method and system
CN104661096A (en) * 2013-11-21 2015-05-27 深圳市快播科技有限公司 Video barrage adding method and device, video playing method and video player
CN105373554A (en) * 2014-08-25 2016-03-02 北京爱声声科技有限公司 Mobile device webpage based screen popup method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533442A (en) * 2013-09-27 2014-01-22 北京奇虎科技有限公司 Method and device for loading video popped screen
CN104661096A (en) * 2013-11-21 2015-05-27 深圳市快播科技有限公司 Video barrage adding method and device, video playing method and video player
CN104113785A (en) * 2014-06-26 2014-10-22 小米科技有限责任公司 Information acquisition method and device
CN105373554A (en) * 2014-08-25 2016-03-02 北京爱声声科技有限公司 Mobile device webpage based screen popup method and system
CN104602131A (en) * 2015-02-16 2015-05-06 腾讯科技(北京)有限公司 Barrage processing method and system

Also Published As

Publication number Publication date
CN106209579A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN105072504B (en) A kind of barrage playback method, the apparatus and system of movie theatre
CN106209579B (en) The system and method for hyperlink is quickly generated in the chat process of barrage website
JP2010539565A5 (en)
CN104317804B (en) The method and apparatus for issuing vote information
CN111245838B (en) Method for protecting key information by anti-crawler
KR101329034B1 (en) System and method for collecting url information using retrieval service of social network service
CN106911514A (en) SCADA network inbreak detection methods and system based on the agreements of IEC60870 5 104
CN105915494A (en) Anti-stealing-link method and system
CN103164698A (en) Method and device of generating fingerprint database and method and device of fingerprint matching of text to be tested
CN106549980A (en) A kind of malice C&C server determines method and device
CN105657471A (en) Account management method and device
CN102999723A (en) Method and device for generating data defense assembly for actively defending XSS (Cross Site Script) attack
CN109660552A (en) A kind of Web defence method combining address jump and WAF technology
CN106209781A (en) A kind of based on the access recognition methods of statistical exceptional interface
CN106357628A (en) Attack defense method and device
CN107666468A (en) network security detection method and device
CN108632634A (en) A kind of providing method and device of direct broadcast service
CN105897671A (en) Anti-hotlinking method and system
US8910281B1 (en) Identifying malware sources using phishing kit templates
CN103905421A (en) Suspicious event detection method and system based on URL heterogeneity
CN108319822A (en) A kind of method, storage medium, electronic equipment and the system of protection web page code
CN108184146A (en) A kind of method and relevant device for calculating live streaming platform popularity
CN103336693B (en) The creation method of refer chain, device and security detection equipment
CN106411819A (en) Method and apparatus for recognizing proxy Internet protocol address
CN111092912A (en) Security defense method and device

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240308

Address after: 830000, Room 17A, Building 17, Block A, Times Square Community, No. 59 Guangming Road, Tianshan District, Urumqi, Xinjiang Uygur Autonomous Region BD00244

Patentee after: Urumqi Bangbangjun Technology Co.,Ltd.

Country or region after: China

Address before: 430000 East Lake Development Zone, Wuhan City, Hubei Province, No. 1 Software Park East Road 4.1 Phase B1 Building 11 Building

Patentee before: WUHAN DOUYU NETWORK TECHNOLOGY Co.,Ltd.

Country or region before: China