CN106101851B - A kind of whole realization method and system of barrage service - Google Patents

A kind of whole realization method and system of barrage service Download PDF

Info

Publication number
CN106101851B
CN106101851B CN201610513409.2A CN201610513409A CN106101851B CN 106101851 B CN106101851 B CN 106101851B CN 201610513409 A CN201610513409 A CN 201610513409A CN 106101851 B CN106101851 B CN 106101851B
Authority
CN
China
Prior art keywords
barrage
real
server
cdn node
time
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
CN201610513409.2A
Other languages
Chinese (zh)
Other versions
CN106101851A (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.)
Shanghai Huandian Information Technology Co Ltd
Original Assignee
Shanghai Huandian Information 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 Shanghai Huandian Information Technology Co Ltd filed Critical Shanghai Huandian Information Technology Co Ltd
Priority to CN201610513409.2A priority Critical patent/CN106101851B/en
Publication of CN106101851A publication Critical patent/CN106101851A/en
Application granted granted Critical
Publication of CN106101851B publication Critical patent/CN106101851B/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/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
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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/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/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4627Rights management associated to the content

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides the whole implementation method and its network structure of a kind of barrage service, the multiple CDN nodes disposing data center and linking therewith respectively;The barrage that any one CDN node is received from the input medium of user, after being handled by the business barrage server that CDN node is sent to data center deployment, the history barrage server for being sent to data center deployment is stored, and is shown by being forwarded on the output medium for linking to the user of each CDN node respectively with all CDN nodes that data center links;History barrage server periodically sends each CDN node for the history barrage of all videos and caches, and allows the user to through output medium from the caching for the CDN node being linked, and is directly accessed history barrage associated with video.The present invention provides high efficiency, high real-time, multi-functional, multiple terminals barrage data deployment scheme, effectively accelerates user's access speed, improves user experience.

Description

A kind of whole realization method and system of barrage service
Technical field
The present invention relates to barrage technical field, in particular to the whole implementation method and its network knot of a kind of barrage service Structure.
Background technique
Barrage refer to one kind when watch video, largely in the form of subtitle the comment of presentation and video in picture Phenomenon.The comment largely sailed above video is as intensive shell, therefore barrage of gaining the name.
In the playing process of network video, barrage server obtains barrage information from user terminal, then by each user The barrage information that the network video is delivered is added in the different periods of network video and carries out real-time display, in this way, user exists During browse network video, the comment information oneself delivered with other users is read with can be convenient.
However, since the bearing capacity of barrage server is limited, when number of users increases, barrage server and each use Barrage information transfer rate between family decreases.Meanwhile the size of data of barrage information increases with the accumulation of time, So that user needs to wait the long period that can just get whole barrage information before watching video, the broadcasting of video is caused to prolong Late, poor user experience.
The patent application that patent publication No. is CN105451087A disclose the method for pushing of barrage information a kind of, terminal, Historic data server and system;Wherein, barrage information is divided into history barrage information and real-time barrage information, passes through history Data server obtains history barrage information;Real-time barrage information is obtained by barrage server;The two is exported to user respectively The history barrage information and the real-time barrage information.
The connection type of server is more single in above-mentioned patent application, barrage application form it is more various currently, History barrage and real-time barrage server respectively push history barrage and real-time barrage to terminal, can face following some problems: 1, user such as can shield to barrage or filter often at the operation, and existing history barrage server can not add the algorithm, difficult To meet the current environment of barrage;2, for barrage, server may need to record it and be thumbed up record or review record, existing History barrage server and real-time barrage server only solely provide the terminal with data, can not record these has terminal The data of sending, it is difficult to meet the purposes.
Summary of the invention
The purpose of the present invention is to provide a kind of whole implementation method of barrage service and its network structures, to accelerate user Speed when history barrage is accessed, stability when pushing real-time barrage is improved, improves user experience.
In order to achieve the above object, a technical solution of the invention is to provide a kind of whole realization side of barrage service Method, it includes: data center deployment business barrage server, history barrage server, real-time barrage server real-time bullet Curtain data module;Multiple CDN nodes are linked with the data center respectively, and dispose real-time barrage for each CDN node The real-time barrage service module of server, long link module;
The real-time barrage data module of the data center from the received barrage of any one CDN node, sends it to Business barrage server is handled;Alternatively, the real-time barrage data module is by it from the received bullet of business barrage server Curtain, is distributed to all CDN nodes being linked with the data center, respectively will by the real-time barrage service module of each CDN node Its a plurality of barrage received within the set time polymerize to form a network packet, and sends network packet via long link module Give the output medium for the user that CDN node is linked;
The history barrage server sends the history barrage of all videos to each CDN node and is cached, so that User, which can be sent by output medium to the CDN node being linked, accelerates access request to the history barrage of any video, from And the history barrage associated with the video cached in the CDN node is directly accessed by the output medium.
Preferably, more IDC support modules of the data center deployment, from it is corresponding with the data center link it is all At the real-time barrage service module of CDN node, the nodal information for obtaining each CDN node forms list;According to the input of user IP where when medium and/or output medium transmission service request, more IDC support modules are to CDN node each in list Do the sequence from excellent to bad suitable for user;The input medium and/or output medium of user is worked as from the list after sequence The nodal information of preceding optimal CDN node is linked with current optimal CDN node.
Preferably, the long link module of the CDN node receives what user was sent by input medium and/or output medium When service request, after transferring to real-time barrage service module to add the nodal information of the CDN node to the service request received, lead to The real-time barrage data module for crossing data center is transmitted to business barrage server and is handled.
Preferably, the CDN node is based respectively on both network communication modes of HTTP and TCP, with the data center Real-time barrage data module carry out data communication.
Preferably, barrage is transmitted to history barrage server and deposited by the business barrage server of the data center Storage, stores quantity barrage corresponding with video length in local cache by history barrage server, and periodically will The barrage of local cache flushes in database corresponding with video and the caching of CDN node.
Preferably, barrage and its label are stored in the history barrage server simultaneously;
It is described label comprising it is below any one or combinations thereof: sender, video associated with barrage identification believe Breath, the time point of barrage relative video, barrage, which are executed by user by output medium, thumbs up or puts quantity, the barrage exhibition of stepping on operation Show effect;The barrage bandwagon effect includes any one barrage attribute below or combinations thereof: color, position, moving direction, Movement speed;
According to the combination of any one label or label, lookup, screening or the condition for shielding barrage is arranged.
Preferably, business barrage server is patrolled initiatively or based on the service request that user sends to execute following processing Volume in any one or combinations thereof:
To in barrage perhaps barrage bandwagon effect carry out shielding processing logic;
Internally hold duplicate a plurality of barrage and carries out the logic that quantity is deleted;
The logic for thumbing up or putting and step on the quantity of operation and be marked is executed by user to barrage;
Before executing other processing logics, the permission for first whether having transmission respective service request to user judges Logic.
Preferably, the barrage management backstage of the data center deployment provides phase for user and corporate operations personnel respectively The administration interface answered, and open different administration authority, the user for allowing to have corresponding management permission and corporate operations personnel access The administration portal being provided in respective server or module grasps the barrage related data in respective server or module Control;
The respective server or module is business barrage server, history barrage server, real-time barrage data mould Block, real-time barrage service module, the one or more among long link module;
To barrage related data carry out manipulation, comprising it is below any one or combinations thereof:
It is arranged to the perhaps keyword that is shielded of barrage bandwagon effect or rule in barrage;
Screening conditions needed for searching barrage are set;
Barrage associated with selected video is moved to and is associated with again under another selected video.
Another technical solution of the invention is to provide a kind of network structure that barrage service is integrally realized, it includes: number The multiple CDN nodes linked therewith according to center and respectively;
More IDC support modules of the data center deployment obtain the nodal information of each CDN node to form list;With The input medium and/or output medium at family obtain the nodal information that current optimal CDN node is ordered as in list, come with deserve Preceding optimal CDN node is linked;
The barrage that any one CDN node is received from the input medium of user, is sent in data by the CDN node After the business barrage server of center portion administration is handled, the history barrage server for being sent to data center deployment is deposited It stores up, and links to the output of the user of each CDN node by being forwarded to respectively with all CDN nodes that data center links It is shown on medium;
The history barrage server periodically sends each CDN node for the history barrage of all videos and caches, It allows the user to through output medium from the caching for the CDN node being linked, to history bullet associated with the video Curtain is directly accessed.
Preferably, the data center further includes the real-time barrage data module of real-time barrage server;Each institute It states CDN node and respectively contains the real-time barrage service module of real-time barrage server, long link module;
The long link module, realize user input medium and/or output medium and data center it is uninterrupted two-way Communication, to be transmitted to by the barrage received from input medium or from the service request that input medium and/or output medium receive Real-time barrage service module, or the network packet of the barrage received from real-time barrage service module is transmitted to output medium;
The real-time barrage service module, the service request addition received to it is above after the nodal information of affiliated CDN node It is forwarded to the real-time barrage data module of data center, or it is received from real-time barrage data module within the set time A plurality of barrage polymerize to form a network packet and be sent to long-chain connection module, or the nodal information of affiliated CDN node is sent To more IDC support modules;
The real-time barrage data module sends it from the received barrage of any one CDN node and/or service request It is handled to business barrage server;Alternatively, the real-time barrage data module is received from business barrage server by it Barrage is distributed to the real-time barrage service module for all CDN nodes being linked with the data center.
Compared with prior art, the whole implementation method and its network structure of barrage service of the invention, the advantage is that:
The present invention realizes that more IDC are supported, provides high efficiency, high real-time, multi-functional, multiple terminals barrage data portion management side Case effectively accelerates user's access speed, improves user experience.
CDN node of the invention is also based on TCP and HTTP two ways, and barrage server corresponding to data center carries out Data communication provides the service of maintenance TCP long link for real-time barrage, to ensure that output medium and the corresponding barrage of user take The stability of data communication between business device, and history barrage is then added by the history barrage caching of direct accessed node Speed.
The present invention by business barrage server provide barrage handle logic, also by barrage management backstage be user and Different administration interfaces is arranged in corporate operations personnel, opens the administration portal of corresponding authority to operate corresponding barrage data, in fact Existing rich and varied barrage management means, enhances interactivity, interactivity.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of barrage server disposition principle in the present invention;
Fig. 2 is the schematic diagram of overall network structure deployment principle in the present invention;
Fig. 3 is the schematic diagram of CDN node deployment principle in the present invention;
Fig. 4 is the schematic diagram of barrage management backstage deployment principle in the present invention.
Specific embodiment
Below in conjunction with attached drawing, illustrate the whole implementation method of barrage service of the present invention and its specific reality of network structure Apply mode.
With the growth requirement of user interaction mode, barrage technology is enhanced and the interactivity of user, interactivity.User is logical Cross the electronic equipment of various terminals, e.g. mobile phone, plate, VR(virtual reality device) etc. mobile terminals, PC(PC), shadow Institute or the projection device of meeting room or household etc. are linked with corresponding barrage server.These electronic equipments can be made It receives real-time barrage from corresponding barrage server for the output medium of barrage and pulls history barrage and broadcast with video It puts;Some of electronic equipments are also used as input medium (or other electronic equipments for being connected to input medium), to Corresponding barrage server sends barrage;The output medium and/or input medium can also be to corresponding barrage server Send various service requests.
As shown in Figure 1, barrage server of the present invention, includes business barrage server, history barrage server, reality When barrage server.Real-time barrage server can be based on multiple network agreement (TCP, UDP, HTTP, WebSocket etc.), with The electronic equipment of user and other barrage servers carry out data communication.In different application examples, real-time barrage server The barrage that user is sent to it by respectively inputting medium can be received, or receives business barrage server and it is transferred to forward Barrage, and the barrage that receives is sent in real time to the output medium of each user.
Business barrage server can receive the barrage that user is sent to it by respectively inputting medium, or receive real-time The barrage that barrage server is forwarded to it;The business barrage server carries out corresponding the barrage received according to the logic of setting After processing, the output medium of all users can be directly transmitted or is transmitted to via real-time barrage server.
The barrage (or barrage further across its processing) that business barrage server can also be received is sent to History barrage server is stored, and can also be received output medium and be directly transmitted or via the forwarding of real-time barrage server The request of history barrage obtains corresponding history barrage from history barrage server, directly transmitted by the business barrage server or The output medium filed a request is transmitted to via real-time barrage server.The business barrage server has HTTP service logic Interface, can be as the interface for being directly facing output medium.
User wishes with regard to real-time barrage or history barrage when the bandwagon effect on its output medium carries out control adjustment, also The processing request of corresponding barrage can be directly transmitted by output medium or be transmitted to business bullet via real-time barrage server Curtain server, by business barrage server according to request, to it from input medium or in real time barrage server or history barrage The barrage that server etc. obtains carries out respective handling according to the logic of setting.
In the preferable example for implementing overall network structure as shown in Figure 2 and Figure 3, the real-time barrage server is using distribution Formula structure further includes real-time barrage data module, real-time barrage service module, long link module.The present invention is provided with number According to center, the business barrage server, history barrage server, real-time barrage data module are wherein being disposed, and is being disposed There is more IDC support modules (i.e. Svrlist module);The present invention is also in multiple networks in the covering whole nation (or even each area in the whole world) Node computer room disposes CDN node (CDN: content distributing network) respectively, and the real-time barrage is disposed in each CDN node Service module and long link module.
The present invention supports (IDC: Internet data center) by more IDC, and it is real-time, multi-functional, mostly whole to provide high efficiency, height The barrage data deployment scheme at end effectively accelerates user's access speed, improves user experience.Also, in order to further ensure clothes The high availability of business determines which CDN node input medium/output medium selection is linked in, and the present invention can pass through data More IDC support modules at center, from the real-time barrage service module of all CDN nodes linked corresponding with the data center, Obtain the nodal informations such as weight, IP, port, the expired time of each CDN node.
More IDC support modules form a list according to these nodal informations, and propose to service according to user equipment IP where when request does the sequence from excellent to bad suitable for the user for each CDN node in lists;Input medium/ Output medium program start when backstage obtain sequence after list (from backstage obtain can not card user interface, avoid influencing User experience), and the nodal information by getting from the list of sequence carries out network request, selection is linked to current optimal One CDN node of (e.g. postponing minimum);If midway some CDN node access failure, default are obtained from list Next relatively optimal CDN node is linked.
The CDN node of the invention can realize that the acceleration for history barrage accesses for the output medium of user;With And linked based on two kinds of network communication modes of HTTP and TCP and the real-time barrage data module of data center, for real-time barrage The maintenance service that TCP long is linked is provided, to ensure the steady of data communication between the output medium of user and corresponding barrage server It is qualitative.In addition, between CDN node and the business barrage server of data center, it can also be by being deployed in CDN node Nginx service carries out the forwarding of information.
The long link module for the real-time barrage server disposed in the CDN node, can be logical based on TCP long linked network Agreement is interrogated, corresponding barrage server and the uninterrupted bilateral network of input medium/output medium is kept to communicate.Long link module The network linking purpose for having reached nearest apart from user is set, the success rate of network linking can be effectively improved, reduce drop rate.
In this example, the various service requests that user is sent by input medium and/or output medium (ask by such as barrage transmission Ask, the request of history barrage, barrage processing request) etc., it can directly be accessed by the CDN node being linked therewith, by CDN Long link module in node receives, and transferring to real-time barrage service module is the node letter that service request adds the upper CDN node After breath, it is transmitted to data center together and carries out subsequent processing;Added nodal information can be used to which derives to forwarding CDN node is marked.
The real-time barrage data module of data center, the service request from each CDN node is received (or into One step is ranked up according to the parameter items such as receiving time or node source), it relays to business barrage server and carries out subsequent place Reason.In addition, barrage data module can also turn to the barrage from each CDN node or from business barrage server in real time The barrage of hair is received, and the real-time barrage service module for being distributed to each CDN node carries out the converging operation of barrage, herein The a plurality of barrage received in setting time (such as 1s) is polymerize after forming a network packet, long link module is transferred to be transmitted to output Medium.
In order to accelerate the access speed to history barrage, going through for each video is cached in each CDN node in this example History barrage, and the ID(identification information with video) it is associated;When CDN node in this example (such as passes through real-time barrage and services mould Block) when recognizing the history barrage access request of output medium, output medium can be made directly to access going through in the nodal cache History barrage.The history barrage server of the data center stores all history barrages, particular by distributed storage, by bullet Curtain is stored in different libraries according to corresponding video, while also storage is a in local cache.Only retain in local cache Part barrage, and the barrage according to the length of video storage different number, the barrage number under the more long same video of video length It measures more.The history barrage server is in addition to flushing to database purchase for the barrage data timing of local cache, also timing To the file of the cache flush history barrage of CDN node.
History barrage, can by the selection or combination of each attribute such as color, position, direction, movement speed to barrage The bandwagon effect of different-style is presented, such as: bottom subtitle barrage rolls barrage, top low side gradual change barrage, reverse barrage Deng.Business barrage server can identify that barrage specified when user sends barrage shows effect by handling logic accordingly Fruit is simultaneously marked, and as one of the label of this barrage, history barrage server is arrived in storage together with barrage.
In addition, the label stored together with history barrage, can also be thumbed up/point comprising time, sender, this barrage Step on the information such as quantity, associated video ID.Wherein, " time " information of storage, refers to the time point of barrage relative video, such as User sent out a barrage when video 5 minutes, then when the user or other users see the 5th minute of the video It can be seen that this barrage.
The present invention is mainly managed the playing method of barrage by the business barrage server.Business barrage server is also Include the following processing logic to barrage:
By mask logic, realizes and the keyword of barrage is shielded and provides canonical shielding rules etc..According to output medium The shielding request (as sent the keyword and/or shielding rules that need to be shielded simultaneously) of proposition, business barrage server is not to meeting After the barrage content of shielding request carries out shielding processing, real-time barrage and/or history barrage are provided to output medium.Alternatively, example Such as according to the requirement of laws and regulations, business barrage server writes corresponding shielding word and shielding rules, initiatively to real-time bullet After content against regulation carries out active shield in curtain/history barrage, it is supplied to output medium and shows or be sent to history The storage of barrage server.It, can be according to the various labels of barrage or each attribute of barrage bandwagon effect according to different selections (associated barrage under the barrage of a certain sender, or a certain video of shielding, or only display screen are such as shielded to set the content of shielding Curtain bottom and shield the barrage of other positions etc.).
To realize that barrage optimizes function, by duplicate contents recognition logic, program can be by " repeating barrage content can show Part " identifies, that is, assuming that multi-user sends the similar barrage of a large amount of contents by inputting medium respectively, then business barrage Server according to optimization algorithm automatic identification and can delete the similar barrage of the excessive content of quantity, allow a portion bullet Curtain is shown (part that display is allowed to after identification is " repeats barrage content can display portion "), is optimized by barrage It can effectively improve the colorful property of barrage.
User can be thumbed up (or point is stepped on) operation for certain barrage seen by output medium;According to point The logic of operation processing is praised/steps on, business barrage server is able to record that the barrage is praised the quantity of (or being stepped on) as barrage One of label when storage, also one of the Rule of judgment as later screening high-quality barrage.
By rights management logic, business barrage server can first with regard to user whether have by input medium and/or Output medium proposes that the permission of a certain service request is judged, carries out corresponding position to barrage according to service request when having permission Reason;Respective service request can be ignored when lack of competence.For example, for output display barrage, business barrage server can to Whether family there is the permission for sending barrage processing request by output medium first to be judged, when judgement has corresponding authority, then Handling request according to barrage, (processing e.g. shows barrage and imitates to be handled to the barrage that output medium provides The selection or adjustment of fruit, in undesirable barrage perhaps effect shielded, identify duplicate barrage content, thumbed up/ Point steps on operation processing, but not limited to this).
For the barrage of input, whether business barrage server, which can then have user, sends barrage by input medium Permission, or whether there is the permission for sending specific barrage bandwagon effect to be judged, further according to allowing to send under different rights Barrage bandwagon effect the barrage received is handled.For example, user in addition to can to barrage show when color, position, Except each attribute such as direction, movement speed is selected or combined, business barrage server also supports that content is one section of code Advanced barrage, to realize the fixed barrage of such as dynamic/static map, picture mosaic, simple game etc. special-effect.Then according to user By the code for the advanced barrage that input medium is sent, business barrage server formerly judges that user has advanced barrage transmission route Limit and then with it is manual or automatic operation correlative code come audit its presentation barrage effect whether effectively or whether influence to watch Experience;It is shown when after the approval, providing the advanced barrage to output medium, or is sent to the progress of history barrage server Storage.
In addition to business barrage server in the present invention, can also it pass through the real-time barrage service module or real-time barrage When the transmitting-receiving of data module progress barrage or service request, implement the functions such as simple barrage content shielding or attribute management.
The present invention can also be managed barrage, provide permission further in data center deployment barrage management backstage Control function, the shielding keyword function that video is arranged search barrage function, migration barrage function etc., but not limited to this.
As shown in figure 4, barrage management backstage is that user and corporate operations personnel are respectively provided with administration portal, pass through difference Administration interface show, and have different administration authorities.The administration authority of corporate operations personnel can be further divided into multiple The management function of rank, higher level's permission is more, and the management function of controllable subordinate right.For example, corporate operations personnel can be with By barrage management backstage, finds any one barrage information below any video and be managed;High level company leader The higher level's permission having can add multiple subordinate rights and be dispatched to auditor, and the subordinate right that auditor is arranged is only Have management function to part barrage: the video masking keyword of some up master (referring to video upload user) can be set in analogy, Or it controls certain barrage and whether deletes etc..The administration authority that equal users main to up are possessed limits, and is merely able to allow Barrage corresponding to its video uploaded to oneself is managed.
Barrage management backstage provide lookup barrage function, can according to it is related with barrage it is one or more label and/ Or attribute delimit seeking scope: for example, in for barrage transmitted by some video, or it is being directed to some up masters Video transmitted by barrage, perhaps in the barrage transmitted by the video for a certain classification or at some Between carry out in the barrage that sends in point range screening, etc..
Barrage under some video, can be moved to another video by the migration barrage function that barrage management backstage provides Under.When usage scenario is such as that user has found the video inadequate high definition uploaded for the first time, it is desirable to be substituted for an identical content HD video, then corporate operations personnel can assist to move to barrage into the HD video newly uploaded in the following, adjusting and storing this The related information of a little barrages and new video;The same function main to up can also open, and enable up master by exporting matchmaker Be situated between the similar migration barrage operation of (or input medium) progress.
In order to realize above-mentioned various functions, barrage management backstage can directly manipulate whole system (comprising data center, CDN node) all barrage servers, functional module and the data that are related to, such as, but not limited to: in history barrage server or industry Corresponding administration portal is arranged in business barrage server, is managed for perhaps its label, attribute etc. in the barrage of storage, such as deletes Except wherein illegal barrage content, the related information of modification barrage and video search barrage content etc.;Alternatively, in business bullet Corresponding administration portal is arranged in curtain server or real-time barrage server, such as adds the sensitive word or shielding rules of filtering, if Set administration portal or the data etc. that can open that permission is operated to user.Under different applicable cases, it can permit User by corresponding barrage server be its open permission administration portal, directly barrage related data is operated, The service request that family sends barrage management by administration portal to corresponding barrage server can be used, completed by the latter specific Operation.
It is discussed in detail although the contents of the present invention have passed through above preferred embodiment, but it should be appreciated that above-mentioned Description is not considered as limitation of the present invention.After those skilled in the art have read above content, for of the invention A variety of modifications and substitutions all will be apparent.Therefore, protection scope of the present invention should be limited to the appended claims.

Claims (10)

1. a kind of whole implementation method of barrage service, which is characterized in that
In the real-time barrage data of data center deployment business barrage server, history barrage server, real-time barrage server Module;Multiple CDN nodes are linked with the data center respectively, and dispose real-time barrage server for each CDN node Real-time barrage service module, long link module;
The real-time barrage data module of the data center, from the received barrage of any one CDN node, sends business for it Barrage server is handled;Alternatively, the real-time barrage data module by it from the received barrage of business barrage server, point All CDN nodes being linked with the data center are issued, are respectively being set it by the real-time barrage service module of each CDN node Interior received a plurality of barrage of fixing time polymerize to form a network packet, and via long link module by network packet be sent to The output medium for the user that CDN node is linked;
The history barrage server sends the history barrage of all videos to each CDN node and is cached, so that user It can be sent by output medium to the CDN node being linked and access request is accelerated to the history barrage of any video, thus logical The output medium is crossed directly to access the history barrage associated with the video cached in the CDN node.
2. the whole implementation method of barrage service as described in claim 1, which is characterized in that
More IDC support modules of data center deployment, from the real-time barrage of all CDN nodes linked corresponding with the data center At service module, the nodal information for obtaining each CDN node forms list;
According to user input medium and/or output medium send service request when where IP, more IDC support modules pair Each CDN node does the sequence from excellent to bad suitable for user in list;
The input medium and/or output medium of user obtains the node letter of current optimal CDN node from the list after sequence Breath is linked with current optimal CDN node.
3. the whole implementation method of barrage service as described in claim 1, which is characterized in that
When the long link module of the CDN node receives the service request that user is sent by input medium and/or output medium, After transferring to real-time barrage service module to add the nodal information of the CDN node to the service request received, pass through data center Real-time barrage data module be transmitted to business barrage server and handled.
4. the whole implementation method of barrage service as described in claim 1, which is characterized in that
The CDN node is based respectively on both network communication modes of HTTP and TCP, the real-time barrage number with the data center Data communication is carried out according to module.
5. the whole implementation method of barrage service as described in claim 1, which is characterized in that
Barrage is transmitted to history barrage server and stored by the business barrage server of the data center, by history barrage Server stores quantity barrage corresponding with video length in local cache, and periodically by the barrage of local cache It flushes in database corresponding with video and the caching of CDN node.
6. the whole implementation method of barrage service as claimed in claim 1 or 5, which is characterized in that
Barrage and its label are stored in the history barrage server simultaneously;
It is described label comprising it is below any one or combinations thereof: sender, the identification information of video associated with barrage, bullet The time point of curtain relative video, barrage are executed by output medium by user and thumb up or put the quantity for stepping on operation, barrage shows effect Fruit;The barrage bandwagon effect includes any one barrage attribute below or combinations thereof: color, position, moving direction, movement Speed;
According to the combination of any one label or label, lookup, screening or the condition for shielding barrage is arranged.
7. the whole implementation method of barrage service as described in claim 1, which is characterized in that
Business barrage server is any one in following processing logic to execute initiatively or based on the service request that user sends Kind or combinations thereof:
To in barrage perhaps barrage bandwagon effect carry out shielding processing logic;
Internally hold duplicate a plurality of barrage and carries out the logic that quantity is deleted;
The logic for thumbing up or putting and step on the quantity of operation and be marked is executed by user to barrage;
Before executing other processing logics, what the permission for first whether having transmission respective service request to user was judged is patrolled Volume.
8. the whole implementation method of barrage service as described in claim 1, which is characterized in that
The barrage management backstage of data center deployment provides corresponding administration interface for user and corporate operations personnel respectively, and Open different administration authority allows the user for having corresponding management permission and corporate operations personnel to access and is provided with respective server Or the administration portal in module, the barrage related data in respective server or module is manipulated;
The respective server or module, be business barrage server, history barrage server, real-time barrage data module, One or more among real-time barrage service module, long link module;
To barrage related data carry out manipulation, comprising it is below any one or combinations thereof:
It is arranged to the perhaps keyword that is shielded of barrage bandwagon effect or rule in barrage;
Screening conditions needed for searching barrage are set;
Barrage associated with selected video is moved to and is associated with again under another selected video.
9. a kind of network system that barrage service is integrally realized, characterized by comprising: data center and link therewith respectively Multiple CDN nodes;
More IDC support modules of data center deployment obtain the nodal information of each CDN node to form list;The input of user Medium and/or output medium obtain the nodal information that current optimal CDN node is ordered as in list, current optimal with this CDN node is linked;
The barrage that any one CDN node is received from the input medium of user, is sent to data center section by the CDN node After the business barrage server of administration is handled, the history barrage server for being sent to data center deployment is stored, with And the output medium of the user of each CDN node is linked to by being forwarded to respectively with all CDN nodes that data center links Upper display;
The history barrage server periodically sends each CDN node for the history barrage of all videos and caches, so that User can by output medium from the caching for the CDN node being linked, to history barrage associated with the video into Row directly accesses.
10. the network system that barrage service as claimed in claim 9 is integrally realized, which is characterized in that
The data center further includes the real-time barrage data module of real-time barrage server;Each CDN node is each The real-time barrage service module of self-contained real-time barrage server, long link module;
The long link module realizes the input medium of user and/or the uninterrupted both-way communication of output medium and data center, To be transmitted to real-time bullet by the barrage received from input medium or from the service request that input medium and/or output medium receive Curtain service module, or the network packet of the barrage received from real-time barrage service module is transmitted to output medium;
The real-time barrage service module, the service request received to it forward after adding the above nodal information of affiliated CDN node To the real-time barrage data module of data center, or it is received from real-time barrage data module within the set time a plurality of Barrage polymerize to form a network packet and be sent to long-chain connection module, or the nodal information of affiliated CDN node is sent to more IDC support module;
The real-time barrage data module sends industry from the received barrage of any one CDN node and/or service request for it Business barrage server is handled;Alternatively, the real-time barrage data module is by it from the received barrage of business barrage server It is distributed to the real-time barrage service module for all CDN nodes being linked with the data center.
CN201610513409.2A 2016-07-01 2016-07-01 A kind of whole realization method and system of barrage service Active CN106101851B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610513409.2A CN106101851B (en) 2016-07-01 2016-07-01 A kind of whole realization method and system of barrage service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610513409.2A CN106101851B (en) 2016-07-01 2016-07-01 A kind of whole realization method and system of barrage service

Publications (2)

Publication Number Publication Date
CN106101851A CN106101851A (en) 2016-11-09
CN106101851B true CN106101851B (en) 2019-04-23

Family

ID=57211708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610513409.2A Active CN106101851B (en) 2016-07-01 2016-07-01 A kind of whole realization method and system of barrage service

Country Status (1)

Country Link
CN (1) CN106101851B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648757B (en) * 2016-11-29 2021-02-02 维沃移动通信有限公司 Data processing method of virtual reality terminal and virtual reality terminal
CN106534905B (en) * 2016-12-09 2019-08-02 武汉斗鱼网络科技有限公司 A kind of method and system of the live streaming of video barrage platform and the intercommunication of third-party platform barrage
CN107257507A (en) * 2017-07-05 2017-10-17 武汉斗鱼网络科技有限公司 Barrage display methods, device and electronic equipment
CN107438201B (en) * 2017-07-06 2020-08-21 北京潘达互娱科技有限公司 Message processing system, method and device
CN108259968A (en) * 2017-12-13 2018-07-06 华为技术有限公司 Processing method, system and the relevant device of video barrage
CN108156531A (en) * 2017-12-29 2018-06-12 中兴通讯股份有限公司 Message method and device, system, message receival method and device
CN108289253A (en) * 2018-01-09 2018-07-17 武汉斗鱼网络科技有限公司 Barrage sends interval control method, storage medium, electronic equipment and system
CN109005465B (en) * 2018-08-07 2021-01-01 武汉斗鱼网络科技有限公司 Bullet screen message distribution method, device, equipment and storage medium
CN109274988B (en) * 2018-08-20 2021-01-01 武汉斗鱼网络科技有限公司 Bullet screen message distribution method, device, equipment and storage medium
CN110971985B (en) * 2018-09-30 2021-11-26 武汉斗鱼网络科技有限公司 Method and related device for dynamically scheduling server
CN110971923B (en) * 2018-09-30 2021-11-09 武汉斗鱼网络科技有限公司 Bullet screen connection method, storage medium, system and client
CN110536156B (en) * 2019-08-16 2022-10-18 咪咕文化科技有限公司 Information processing method, system, communication device, and computer-readable storage medium
CN112839011B (en) * 2019-11-22 2023-04-28 贵州白山云科技股份有限公司 Cache distribution method, device, medium and system
CN112437329B (en) * 2020-11-05 2024-01-26 上海幻电信息科技有限公司 Method, device and equipment for playing video and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0718786A1 (en) * 1994-07-08 1996-06-26 Sony Corporation Information service system and user terminal
CN103533442A (en) * 2013-09-27 2014-01-22 北京奇虎科技有限公司 Method and device for loading video popped screen
CN103825837A (en) * 2014-02-19 2014-05-28 上海视云网络科技有限公司 Node load distributed CDN global scheduling method
CN104253838A (en) * 2013-06-27 2014-12-31 北京世纪互联宽带数据中心有限公司 CDN (content delivery network) node and CDN service system
CN105120006A (en) * 2015-09-11 2015-12-02 百度在线网络技术(北京)有限公司 Live commenting control method, live commenting server and live commenting control device for electronic readings
CN105451087A (en) * 2015-12-14 2016-03-30 广州弹幕网络科技有限公司 Pushing method, terminals, historical data server and system for barrage information

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0718786A1 (en) * 1994-07-08 1996-06-26 Sony Corporation Information service system and user terminal
CN104253838A (en) * 2013-06-27 2014-12-31 北京世纪互联宽带数据中心有限公司 CDN (content delivery network) node and CDN service system
CN103533442A (en) * 2013-09-27 2014-01-22 北京奇虎科技有限公司 Method and device for loading video popped screen
CN103825837A (en) * 2014-02-19 2014-05-28 上海视云网络科技有限公司 Node load distributed CDN global scheduling method
CN105120006A (en) * 2015-09-11 2015-12-02 百度在线网络技术(北京)有限公司 Live commenting control method, live commenting server and live commenting control device for electronic readings
CN105451087A (en) * 2015-12-14 2016-03-30 广州弹幕网络科技有限公司 Pushing method, terminals, historical data server and system for barrage information

Also Published As

Publication number Publication date
CN106101851A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
CN106101851B (en) A kind of whole realization method and system of barrage service
Ayres et al. The digital economy: Where do we stand?
CN105897946B (en) A kind of acquisition methods and system of access address
CN104168300B (en) Content accelerated method and system
CN103475947B (en) A kind of flow media distribution system based on software defined network and method
CN101888409B (en) Remote information issuing and monitoring system based on wide area network and control method thereof
CN104246737B (en) The system and method that the connection pool of video flowing is used in content distributing network
WO2018177053A1 (en) Method for realizing integration of video resource and social interaction, and system for integration of video and social interaction
CN106060605B (en) A kind of live stream adaptive approach and system based on CDN
CN105659623B (en) Sending device, sending method, reception device and method of reseptance
CN106804002A (en) A kind of processing system for video and method
CN103024001A (en) Business scheduling method and device, and fusion equipment
CN1636399A (en) Distributed storage network architecture using user devices
CN102771135A (en) Systems and methods for accessing content using an internet content guide
CN107819742A (en) A kind of system architecture and its method of Dynamical Deployment Network Security Service
CN101155001B (en) Monitoring source service implementing method, monitoring system and front end unit metadata server
CN108628915A (en) A kind of record queries method and device
US11455228B2 (en) Non-linear management of real time sequential data in cloud instances via time constraints
CN103269442B (en) Content on-demand broadcasting method, content on-demand broadcasting system and content on-demand broadcasting equipment
CN101902445A (en) Multi-media data downloading system and video system based on network
CN106375319A (en) Audio and video transcoding scheduling method, apparatus, device and system
CN201550138U (en) System for providing mobile stream medium service
CN109688010B (en) Method and system for generating and managing content network
CN101902389A (en) Method for downloading multimedia data based on network
CN106507415A (en) A kind of content caching of mobile network-oriented and network cooperating method

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