CN106131696B - A kind of barrage sending control method and device - Google Patents

A kind of barrage sending control method and device Download PDF

Info

Publication number
CN106131696B
CN106131696B CN201610443740.1A CN201610443740A CN106131696B CN 106131696 B CN106131696 B CN 106131696B CN 201610443740 A CN201610443740 A CN 201610443740A CN 106131696 B CN106131696 B CN 106131696B
Authority
CN
China
Prior art keywords
barrage
cooling time
density
obtains
user
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
CN201610443740.1A
Other languages
Chinese (zh)
Other versions
CN106131696A (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 CN201610443740.1A priority Critical patent/CN106131696B/en
Publication of CN106131696A publication Critical patent/CN106131696A/en
Application granted granted Critical
Publication of CN106131696B publication Critical patent/CN106131696B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • H04N21/4756End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for rating content, e.g. scoring a recommended movie
    • 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/254Management at additional data server, e.g. shopping server, rights management server
    • H04N21/2541Rights Management
    • 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/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26241Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the time of distribution, e.g. the best time of the day for inserting an advertisement or airing a children program
    • 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/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel

Abstract

The invention discloses a kind of barrage sending control method and devices.The method, comprising the following steps: (1) when getting the barrage of user's transmission, cancel the barrage sending permission of user and timing;(2) when timing reaches pre-set cooling time in step (1), restore the barrage sending permission of the user.Described device, including barrage obtain module and timing module.After the barrage sending control method and device of the decorum of the present invention, it is difficult to be concentrated on a large scale using plug-in program and send barrage, reduction barrage concentration, which is sent, influences server performance and user video watches influence, safeguards that normal barrage sends enjoyment.

Description

A kind of barrage sending control method and device
Technical field
The invention belongs to computer application fields, more particularly, to a kind of barrage sending control method and device.
Background technique
Current barrage was sent without cooling time.It will lead to barrage, a large amount of intensive transmissions for repeating barrage, rubbish barrage. Decline so as to cause whole barrage quality, reduces the enthusiasm of the barrage exchange of user.
Summary of the invention
Aiming at the above defects or improvement requirements of the prior art, the present invention provides a kind of barrage sending control methods and dress It sets, its object is to adjustment cooling times according to barrage degree adaptive, thus solve existing barrage and intensively send out on a large scale The technical issues of sending.
To achieve the above object, according to one aspect of the present invention, a kind of barrage sending control method is provided, including with Lower step:
(1) when getting the barrage of user's transmission, cancel the barrage sending permission of user and timing;
(2) when timing reaches pre-set cooling time in step (1), restore the barrage transmission route of the user Limit.
Preferably, the barrage sending control method, the cooling time calculate as follows:
A, it obtains barrage density and pre-set cooling time shortens ratio;
B, according to the barrage density obtained in step A, according to the principle that barrage density bigger basic cooling time is longer, really Fixed basis cooling time.
C, ratio is shortened according to the basic cooling time obtained in step B and the cooling time, obtains cooling time.
Preferably, the barrage sending control method, step B specifically: when barrage density is in the bullet divided in advance When curtain density section, it is set as barrage density section basic cooling time accordingly basic cooling time.
Preferably, the barrage sending control method, step C specifically: cooling time be basic cooling time with it is cold But the time shortens the result that the product of ratio is rounded.
Preferably, the barrage sending control method shortens ratio the cooling time according to the attribute of the user Setting.
It is another aspect of this invention to provide that providing a kind of barrage transmission control device, comprising:
Barrage obtains module, in effective or invalid state, in the active state for obtaining the barrage of user's transmission, obtains Triggering barrage acquisition module is switched to invalid state after taking the barrage of family transmission, and starts countdown module;In invalid state Down for obtaining the useful signal of countdown state, triggering barrage obtains module and is switched to effective status;
The timing module, for obtaining cooling time, and when after being obtained module starting by the barrage according to cooling Between timing, cooling time reach when send the useful signal so that barrage obtain module be in effective status.
Preferably, the barrage transmission control device, the timing module includes acquisition submodule cooling time, described Cooling time, acquisition submodule obtained cooling time as follows:
A, it obtains barrage density and pre-set cooling time shortens ratio;
B, according to the barrage density obtained in step A, according to the principle that barrage density bigger basic cooling time is longer, really Fixed basis cooling time.
C, ratio is shortened according to the basic cooling time obtained in step B and the cooling time, obtains cooling time.
Preferably, the barrage transmission control device, the timing module use countdown.
Preferably, the barrage transmission control device, the step B specifically: divided in advance when barrage density is in Barrage density section when, be set as barrage density section basic cooling time accordingly basic cooling time.
Preferably, the barrage transmission control device, the step C specifically: cooling time is basic cooling time The result being rounded with the product for shortening ratio cooling time.
In general, through the invention it is contemplated above technical scheme is compared with the prior art, can obtain down and show Beneficial effect:
After the barrage sending control method and device of the decorum of the present invention, it is difficult to concentrate hair on a large scale using plug-in program Barrage is sent, barrage is reduced and transmission is concentrated to watch influence to server performance influence and user video, safeguards normal barrage hair Send enjoyment.
On the one hand preferred embodiment makes so that barrage is sent adapts to current barrage density and user class cooling time automatically It obtains barrage density and forms negative-feedback, is i.e. barrage is sent more, and cooling time is longer, so that the total amount of barrage maintains server In level that is acceptable or not influencing perception, while preferably maintenance user's barrage sends enjoyment.
Detailed description of the invention
Fig. 1 is the flow chart of barrage sending control method of the present invention;
Fig. 2 is the structural schematic diagram of barrage transmission control device of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.As long as in addition, technical characteristic involved in the various embodiments of the present invention described below Not constituting a conflict with each other can be combined with each other.
Barrage sending control method provided by the invention, as shown in Figure 1, comprising the following steps:
(1) when getting the barrage of user's transmission, cancel the barrage sending permission of user and timing;
(2) when timing reaches pre-set cooling time in step (1), restore the barrage transmission route of the user Limit.
The cooling time calculates as follows:
A, it obtains barrage density and pre-set cooling time shortens ratio;
The barrage density, that is, barrage sends item number in the unit time.
B, according to the barrage density obtained in step A, according to the principle that barrage density bigger basic cooling time is longer, really Fixed basis cooling time.
Specifically, basic cooling time is determined as follows:
When barrage density is in the barrage density section divided in advance, it is set as barrage density section basic cooling time Corresponding basis cooling time;
C, ratio is shortened according to the basic cooling time obtained in step B and the cooling time, obtains cooling time;
Specifically, cooling time is the result of the product rounding of basic cooling time and shortening cooling time ratio.
Cooling time shortens ratio, can be arranged according to the attribute of user, such as user class Gao Ze contracts cooling time Short ratio is low.
Barrage transmission control device provided by the invention, as shown in Figure 2, comprising:
Barrage obtains module, in effective or invalid state, in the active state for obtaining the barrage of user's transmission, obtains Triggering barrage acquisition module is switched to invalid state after taking the barrage of family transmission, and starts countdown module;In invalid state Down for obtaining the useful signal of countdown state, triggering barrage obtains module and is switched to effective status;
The timing module, for obtaining cooling time, and when after being obtained module starting by the barrage according to cooling Between timing, cooling time reach when send the useful signal so that barrage obtain module be in effective status.
Countdown can be used in the timing module.
The timing module includes acquisition submodule cooling time, obtains cooling time as follows:
A, it obtains barrage density and pre-set cooling time shortens ratio;
The barrage density, that is, barrage sends item number in the unit time.
B, according to the barrage density obtained in step A, according to the principle that barrage density bigger basic cooling time is longer, really Fixed basis cooling time.
Specifically, basic cooling time is determined as follows:
When barrage density is in the barrage density section divided in advance, it is set as barrage density section basic cooling time Corresponding basis cooling time;
C, ratio is shortened according to the basic cooling time obtained in step B and the cooling time, obtains cooling time;
Specifically, cooling time is the result of the product rounding of basic cooling time and shortening cooling time ratio.
Cooling time shortens ratio, can be arranged according to the attribute of user, such as user class Gao Ze contracts cooling time Short ratio is low.
The following are embodiments:
Embodiment 1
A kind of barrage sending control method, comprising the following steps:
(1) after barrage sends the order that frame gets user's barrage transmission barrage, barrage transmission is carried out, while barrage is sent Frame is invalid, and starts timing.
(2) when timing reaches pre-set cooling time in step (1), restore the barrage transmission route of the user Limit.
Preferably prompt cooling time during timing, for example, when user attempts to send barrage prompting residue cooling time or Using being to prompt user's barrage sending function cooling down by the way of clock or progress bar.
The cooling time calculates as follows:
A, it obtains barrage density and pre-set cooling time shortens ratio;
The barrage density, that is, barrage sends item number in the unit time.
B, according to the barrage density obtained in step A, according to the principle that barrage density bigger basic cooling time is longer, really Fixed basis cooling time.
Specifically, basic cooling time is determined as follows:
When barrage density is in the barrage density section divided in advance, it is set as barrage density section basic cooling time Corresponding basis cooling time;
Specifically:
When barrage density is less than or equal to 80/minute, it is set as basic cooling time 3 seconds;
When barrage density is greater than 90/minute and is less than or equal to 120/minute, basic cooling time is set as 5 Second;
When barrage density is greater than 120/minute and is less than or equal to 150/minute, basic cooling time is set as 7 Second;
When barrage density is greater than 150/minute, it is set as basic cooling time 9 seconds.
C, ratio is shortened according to the basic cooling time obtained in step B and the cooling time, obtains cooling time;
Cooling time is the result of the product rounding of basic cooling time and shortening cooling time ratio.
Cooling time shortens ratio, can be arranged according to the attribute of user, such as user class Gao Ze contracts cooling time Short ratio is low.
Embodiment 2
Barrage transmission control device provided by the invention, comprising:
Barrage obtains module, in effective or invalid state, in the active state for obtaining the barrage of user's transmission, obtains Triggering barrage acquisition module is switched to invalid state after taking the barrage of family transmission, and starts countdown module;In invalid state Down for obtaining the useful signal of countdown state, triggering barrage obtains module and is switched to effective status;
The timing module, for obtaining cooling time, and when after being obtained module starting by the barrage according to cooling Between timing, cooling time reach when send the useful signal so that barrage obtain module be in effective status.
Countdown can be used in the timing module.
The timing module includes acquisition submodule cooling time, obtains cooling time as follows:
A, it obtains barrage density and pre-set cooling time shortens ratio;
The barrage density, that is, barrage sends item number in the unit time.
B, according to the barrage density obtained in step A, according to the principle that barrage density bigger basic cooling time is longer, really Fixed basis cooling time.
Specifically, basic cooling time is determined as follows:
When barrage density is in the barrage density section divided in advance, it is set as barrage density section basic cooling time Corresponding basis cooling time;
Specifically:
When barrage density is less than or equal to 80/minute, it is set as basic cooling time 3 seconds;
When barrage density is greater than 90/minute and is less than or equal to 120/minute, basic cooling time is set as 5 Second;
When barrage density is greater than 120/minute and is less than or equal to 150/minute, basic cooling time is set as 7 Second;
When barrage density is greater than 150/minute, it is set as basic cooling time 9 seconds.
C, cooling time is the result of the product rounding of basic cooling time and shortening cooling time ratio.
Cooling time shortens ratio and is arranged according to user class, such as user class Gao Ze shortens ratio cooling time Low, so that the transmission of higher-level user's barrage is short cooling time, maintenance higher-level user's barrage sends enjoyment.
As it will be easily appreciated by one skilled in the art that the foregoing is merely illustrative of the preferred embodiments of the present invention, not to The limitation present invention, any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should all include Within protection scope of the present invention.

Claims (8)

1. a kind of barrage sending control method, which comprises the following steps:
(1) when getting the barrage of user's transmission, cancel the barrage sending permission of user and timing;
(2) when timing reaches pre-set cooling time in step (1), restore the barrage sending permission of the user;
The cooling time calculates as follows:
A, it obtains barrage density and pre-set cooling time shortens ratio;
B, according to the barrage density obtained in step A, according to the principle that barrage density bigger basic cooling time is longer, base is determined Plinth cooling time;
C, ratio is shortened according to the basic cooling time obtained in step B and the cooling time, obtains cooling time.
2. barrage sending control method as described in claim 1, which is characterized in that step B specifically: when barrage density is in When the barrage density section divided in advance, it is set as barrage density section basic cooling time accordingly basic cooling time.
3. barrage sending control method as described in claim 1, which is characterized in that step C specifically: based on cooling time The result that cooling time and the product for shortening ratio cooling time are rounded.
4. barrage sending control method as claimed in claim 3, which is characterized in that shorten ratio the cooling time according to institute State the attribute setting of user.
5. a kind of barrage transmission control device characterized by comprising
Barrage obtains module, in effective or invalid state, in the active state for obtaining the barrage of user's transmission, obtains and uses Triggering barrage obtains module and is switched to invalid state after the barrage that family is sent, and starts countdown module;It uses in the invalid state In the useful signal for obtaining countdown state, triggering barrage obtains module and is switched to effective status;
The timing module, for obtaining cooling time, and according to counting cooling time after being obtained module starting by the barrage When, cooling time sends the useful signal when reaching, so that barrage obtains module and is in effective status;
The timing module includes acquisition submodule cooling time, and acquisition submodule cooling time obtains as follows Cooling time:
A, it obtains barrage density and pre-set cooling time shortens ratio;
B, according to the barrage density obtained in step A, according to the principle that barrage density bigger basic cooling time is longer, base is determined Plinth cooling time;
C, ratio is shortened according to the basic cooling time obtained in step B and the cooling time, obtains cooling time.
6. barrage transmission control device as claimed in claim 5, which is characterized in that the timing module uses countdown.
7. barrage transmission control device as claimed in claim 5, which is characterized in that the step B specifically: when barrage density When in the barrage density section divided in advance, when being set as the basis cooling accordingly of barrage density section basic cooling time Between.
8. barrage transmission control device as claimed in claim 5, which is characterized in that the step C specifically: cooling time is The result that basic cooling time and the product for shortening ratio cooling time are rounded.
CN201610443740.1A 2016-06-20 2016-06-20 A kind of barrage sending control method and device Active CN106131696B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610443740.1A CN106131696B (en) 2016-06-20 2016-06-20 A kind of barrage sending control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610443740.1A CN106131696B (en) 2016-06-20 2016-06-20 A kind of barrage sending control method and device

Publications (2)

Publication Number Publication Date
CN106131696A CN106131696A (en) 2016-11-16
CN106131696B true CN106131696B (en) 2019-03-05

Family

ID=57471005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610443740.1A Active CN106131696B (en) 2016-06-20 2016-06-20 A kind of barrage sending control method and device

Country Status (1)

Country Link
CN (1) CN106131696B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660831B (en) * 2017-10-10 2021-06-15 武汉斗鱼网络科技有限公司 Barrage sending period setting method, storage medium, electronic device and system
CN108307244B (en) * 2018-01-09 2020-06-16 武汉斗鱼网络科技有限公司 Bullet screen speaking time control method, storage medium, electronic device and system
CN108289253A (en) * 2018-01-09 2018-07-17 武汉斗鱼网络科技有限公司 Barrage sends interval control method, storage medium, electronic equipment and system
CN112565916B (en) * 2020-11-26 2022-09-23 厦门理工学院 Bullet screen display method, bullet screen display device, bullet screen display equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6085069A (en) * 1997-03-11 2000-07-04 U.S. Philips Corporation Message transmission system, a method of operating the message transmission system, and a primary station therefor
CN101296101A (en) * 2007-04-28 2008-10-29 中兴通讯股份有限公司 Optimization method and system for conference service notice
CN101374271A (en) * 2007-08-24 2009-02-25 中兴通讯股份有限公司 Counting method for multimedia broadcast and multicast business
CN102404239A (en) * 2010-09-08 2012-04-04 腾讯科技(深圳)有限公司 Method and system for providing broadcast messages in microblogs

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6085069A (en) * 1997-03-11 2000-07-04 U.S. Philips Corporation Message transmission system, a method of operating the message transmission system, and a primary station therefor
CN101296101A (en) * 2007-04-28 2008-10-29 中兴通讯股份有限公司 Optimization method and system for conference service notice
CN101374271A (en) * 2007-08-24 2009-02-25 中兴通讯股份有限公司 Counting method for multimedia broadcast and multicast business
CN102404239A (en) * 2010-09-08 2012-04-04 腾讯科技(深圳)有限公司 Method and system for providing broadcast messages in microblogs

Also Published As

Publication number Publication date
CN106131696A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN106131696B (en) A kind of barrage sending control method and device
CN112262611B (en) Data transmission preemption
US9336754B2 (en) Methods and apparatuses for controlling display refresh rate
CN105263037B (en) A kind of adaptive fluidizing method based on client-cache
CN103580848B (en) Device, user terminal and method for reference clock calibration
CN103632063B (en) Method and system for acquiring data of user sleep quality grade
RU2008103505A (en) DYNAMIC Gating of the Ascending Control Channel to Increase Throughput
CN105894555A (en) Method and device for simulating body motions of animation model
US10034241B2 (en) Wireless communication device and system
CN106604078B (en) A kind of network video recommended method and device
US11050548B2 (en) Image transmission system, imaging terminal, display terminal, adjustment method, adjustment assistance method, and non-transitory computer-readable recording medium storing program
US9363777B2 (en) Fast recovering for network listening schemes in synchronization over air for small cells
CN104503222B (en) A kind of wrist-watch and its method for synchronizing time
CN105528366B (en) A kind of data synchronization control method and device
CN106445444A (en) Tourism landscape realization system based on virtual reality technology
TWI572395B (en) Treadmilland control method thereof
DE102015204865A1 (en) Synchronized Low-Energy Detection Technique
CN107465474A (en) The clock synchronization system and method for digital control system bus apparatus
CN105872246B (en) A kind of Anti-addiction method, Anti-addiction device and terminal
WO2021036558A1 (en) Wireless network connection method and related apparatus
CN105808225A (en) Application program management method and device as well as terminal
CN105561565A (en) Method and system for dynamically setting fitness rest time and intelligent wearable equipment
CN107359954B (en) A kind of method and system carrying out time calibration based on reference synchronization mechanism
CN107948703B (en) Method and device for synchronizing playing progress
US10200955B2 (en) Collaborative transmission management for smart devices

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