CN108521583A - A kind of a large amount of barrage information concurrent processing methods and cloud computing server based on cloud computing - Google Patents

A kind of a large amount of barrage information concurrent processing methods and cloud computing server based on cloud computing Download PDF

Info

Publication number
CN108521583A
CN108521583A CN201810368470.1A CN201810368470A CN108521583A CN 108521583 A CN108521583 A CN 108521583A CN 201810368470 A CN201810368470 A CN 201810368470A CN 108521583 A CN108521583 A CN 108521583A
Authority
CN
China
Prior art keywords
barrage information
barrage
display
trajectory
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810368470.1A
Other languages
Chinese (zh)
Other versions
CN108521583B (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 blue cloud Network Technology Co.,Ltd.
Original Assignee
黄宇松
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 黄宇松 filed Critical 黄宇松
Priority to CN201810368470.1A priority Critical patent/CN108521583B/en
Publication of CN108521583A publication Critical patent/CN108521583A/en
Application granted granted Critical
Publication of CN108521583B publication Critical patent/CN108521583B/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/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2407Monitoring of transmitted content, e.g. distribution time, number of downloads
    • 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

This application discloses a kind of a large amount of barrage information concurrent processing methods and cloud computing server based on cloud computing, it is related to field of cloud computer technology, the application is utilized in the cloud computing platform that server end is built when the barrage information content for monitoring that server receives at preset time intervals is more than preset quantity threshold value, using barrage message buffer mechanism, only the barrage information of extraction default number of branches and establishment suitably show that trajectory is shown, remaining barrage information storage after extraction is waited in pre-set buffer area and is extracted displaying, the barrage of server end displaying result is synchronized in each client in the process and synchronizes displaying.The phenomenon that not only avoiding a large amount of barrage information overlaps from showing, but also the phenomenon that client-side system resource can be reduced, avoid the occurrence of barrage presentation of information interim card.The application is suitable for a large amount of barrage information concurrent processing.

Description

A kind of a large amount of barrage information concurrent processing methods and cloud computing clothes based on cloud computing Business device
Technical field
This application involves field of cloud computer technology, concurrent particularly with regard to a kind of a large amount of barrage information based on cloud computing Processing method and cloud computing server.
Background technology
With the rapid development of network multimedia technology, barrage technology is widely used in video website.So-called barrage Information refers to the comment information being directly displayed on video playing picture.When playing video, comment can be made in screen On from one end float towards the other end, when a large amount of comment informations are sailed from screen, picture effect is similar in flight shooting game Barrage shows the comment information of user by using the mode of barrage, can increase the real-time interactive between user.
Currently, the barrage information that different user is submitted can be all sent to client by server carries out real-time display, when When client receives a large amount of barrage information progress real-time displays, barrage information overlap can be caused, the display of barrage information is influenced Effect, user can not see the particular content in barrage information clearly;And it is more that client shows that a large amount of barrage information need to expend System resource can lead to the phenomenon that barrage presentation of information interim card occur, affect the viewing experience of user when serious.
Invention content
In view of this, a large amount of barrage information concurrent processing methods that this application provides a kind of based on cloud computing and cloud computing Server, main purpose be to solve current server the barrage information that different user is submitted can be all sent to client into Row real-time display can cause barrage information overlap, influence bullet when client, which receives a large amount of barrage information, carries out real-time display The display effect of curtain information, and also result in and the problem of barrage presentation of information interim card phenomenon occur.
According to the one side of the application, a kind of a large amount of barrage information concurrent processing methods based on cloud computing are provided, This method includes:
Cloud computing platform is built in server end, and following process is realized using the cloud computing platform:
The barrage information that the different user that real-time monitoring server receives is submitted;
When the barrage information content for monitoring to receive at preset time intervals is more than preset quantity threshold value, from the barrage Remaining barrage information storage is in pre-set buffer area after extracting the barrage information of default number of branches in information and extracting;
According to the barrage content-length for the every barrage information extracted, the every barrage information extracted is carried out respectively Length scale divides;
According to the length scale after division, create and the corresponding display bullet of every barrage information extracted Road, and the display trajectory is arranged according to pre-set sequence, and spacing distance is not fixed between the display trajectory, and every The track dimension scale of display trajectory is not fixed, and the track dimension scale is determined according to the display size of video;
The every barrage information extracted is arranged respectively on corresponding display trajectory and is shown, wherein will The barrage information that barrage content-length is more than pre-set length threshold carries out line feed displaying, and the displaying speed of every barrage information with The barrage information content not shown in the pre-set buffer area is directly proportional;
After display trajectory completely shows barrage information, the barrage information not shown is extracted from the pre-set buffer area;
According to the corresponding length scale of barrage information of extraction not shown, new display trajectory, the new display bullet are created There is similar and different display location between road and the display trajectory created before, and so that the new display trajectory will The content of display and the content shown on the display trajectory created before be not be overlapped;
The barrage information configuration of the extraction not shown is shown on the new display trajectory;
The barrage displaying result of server end is synchronized in each client and synchronizes displaying.
According to the another aspect of the application, a kind of a large amount of barrage information concurrent processing devices based on cloud computing are provided, Applied to cloud computing platform, which includes:
Monitoring unit, the barrage information for the different user submission that real-time monitoring server receives;
Processing unit, for being more than preset quantity threshold value when the barrage information content for monitoring to receive at preset time intervals When, from the barrage information for extracting default number of branches in the barrage information and after extracting, remaining barrage information storage is delayed default It rushes in area;
According to the barrage content-length for the every barrage information extracted, the every barrage information extracted is carried out respectively Length scale divides;
According to the length scale after division, create and the corresponding display bullet of every barrage information extracted Road, and the display trajectory is arranged according to pre-set sequence, and spacing distance is not fixed between the display trajectory, and every The track dimension scale of display trajectory is not fixed, and the track dimension scale is determined according to the display size of video;
Display unit is carried out for the every barrage information extracted to be arranged respectively on corresponding display trajectory Displaying, wherein the barrage information that barrage content-length is more than to pre-set length threshold carries out line feed displaying, and every barrage information Displaying speed it is directly proportional to the barrage information content not shown in the pre-set buffer area;
The processing unit is additionally operable to after display trajectory completely shows barrage information, is extracted not from the pre-set buffer area The barrage information of displaying;
According to the corresponding length scale of barrage information of extraction not shown, new display trajectory, the new display bullet are created There is similar and different display location between road and the display trajectory created before, and so that the new display trajectory will The content of display and the content shown on the display trajectory created before be not be overlapped;
The display unit is additionally operable to the barrage information configuration of the extraction not shown is enterprising in the new display trajectory Row displaying;
The barrage displaying result of server end is synchronized in each client and synchronizes displaying.
According to the application another aspect, a kind of storage medium is provided, computer program, described program are stored thereon with Above-mentioned a large amount of barrage information concurrent processing methods based on cloud computing are realized when being executed by processor.
According to the application another aspect, a kind of cloud computing server, including storage medium, processor and storage are provided On a storage medium and the computer program that can run on a processor, the processor realize above-mentioned base when executing described program In a large amount of barrage information concurrent processing methods of cloud computing.
By above-mentioned technical proposal, a kind of a large amount of barrage information concurrent processing methods based on cloud computing provided by the present application And cloud computing server, the barrage information that different user is submitted can be all sent to client with current server and carried out in real time The mode of display is compared, and the application can utilize the cloud computing platform built in server end to work as and monitor at preset time intervals When the barrage information content inside received is more than preset quantity threshold value, using barrage message buffer mechanism, default number of branches are only extracted Barrage information and create suitable display trajectory and be shown, remaining barrage information storage is in pre-set buffer area after extraction Waiting is extracted displaying, and the barrage of server end displaying result is synchronized in each client the exhibition that synchronizes in the process Show.The phenomenon that not only avoiding a large amount of barrage information overlaps from showing so that user can see the particular content in barrage information clearly, and And a large amount of barrage information concurrent processing are carried out in service end side, client-side is the barrage displaying knot of synchronous displaying server end Fruit, client-side reduce while showing the quantity of barrage information, it is possible to reduce client-side system resource avoids the occurrence of barrage letter Breath shows the phenomenon that interim card.
Above description is only the general introduction of technical scheme, in order to better understand the technological means of the application, And can be implemented in accordance with the contents of the specification, and in order to allow above and other objects, features and advantages of the application can It is clearer and more comprehensible, below the special specific implementation mode for lifting the application.
Description of the drawings
Attached drawing described herein is used for providing further understanding of the present application, constitutes part of this application, this Shen Illustrative embodiments and their description please do not constitute the improper restriction to the application for explaining the application.In the accompanying drawings:
Fig. 1 shows a kind of flow of a large amount of barrage information concurrent processing methods based on cloud computing provided by the embodiments of the present application Schematic diagram;
Fig. 2 shows a kind of display trajectory example alignment schematic diagrames provided by the embodiments of the present application;
Fig. 3 shows a kind of structure of a large amount of barrage information concurrent processing devices based on cloud computing provided by the embodiments of the present application Schematic diagram;
Fig. 4 shows a kind of entity structure schematic diagram of cloud computing server provided by the embodiments of the present application.
Specific implementation mode
The application is described in detail below with reference to attached drawing and in conjunction with the embodiments.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
The mode shown simultaneously for a large amount of barrage information in current traditional client end side can cause barrage information overlap, influence The display effect of barrage information, and also result in and the problem of barrage presentation of information interim card phenomenon occur, present embodiments provide one A large amount of barrage information concurrent processing methods of the kind based on cloud computing are realized big using the cloud computing platform built in server end Barrage information concurrent processing is measured, as shown in Figure 1, realizing following process using cloud computing platform:
101, the barrage information that the different user that real-time monitoring server receives is submitted.
In the present embodiment, user can be submitted the barrage speech oneself inputted by videoconference client and be sent to service Device.Can be the cloud computing platform for a large amount of barrage information concurrent processing for the executive agent of the present embodiment, cloud computing is flat Platform provides most reliable, safest data storage center, and user does not have to the trouble such as concern of data loss, poisoning intrusion.In order to Illustrate the structure of this cloud computing platform, it is preferred that the cloud computing platform includes:Sequentially connected barrage information cloud monitoring module, Barrage information cloud processing module and barrage information display module, the present embodiment specifically utilize these three modules execute step 101 to Process shown in 109.The present embodiment utilizes cloud computing platform, can enhance computing capability.
The barrage information content received using the real-time monitoring server of cloud computing platform, is received once there is server When a large amount of barrage information, helps server to carry out a large amount of barrage information concurrent processing, mitigate the pressure of server, avoid the occurrence of clothes The case where business device collapse.
102, when the barrage information content for monitoring to receive at preset time intervals is more than preset quantity threshold value, from Remaining barrage information storage is in pre-set buffer area after extracting the barrage information of default number of branches in barrage information and extracting.
Wherein, pre-set buffer area is used to cache the barrage information that cannot be temporarily shown on display trajectory.Pre-set buffer area Size, predetermined time interval, preset quantity threshold value and default number of branches can be preset according to practical business demand.In this reality It applies in example, whether reaches a large amount of standard by predetermined time interval and in the preset quantity threshold definitions barrage information short time, I.e. without processing, all being sent to client is shown the case where will appear barrage information overlap.Default number of branches can be considered Video-see can or can not be influenced, the factors such as barrage information overlap can or can not be caused and determine specific item number.
In order to meet different business demands, as a kind of preferred embodiment of the present embodiment, extracted from barrage information pre- If the step of barrage information of item number, can specifically include:According to server receive user submission barrage information from morning to The sequence in evening extracts the barrage information of default number of branches from barrage information;Or similar barrage content in barrage information is carried out Cluster, according to cluster result, to extract the barrage information of default number of branches;Or by barrage information according to user gradation, and/or use The affiliated age bracket in family, and/or barrage content multiplicity, and/or barrage content erotic degree are classified, to be tied according to classification Fruit extracts the barrage information of default number of branches.
For example, the sequence of the barrage information of user's submission from morning to night is received according to server, first from barrage information The barrage information for extracting certain item number is shown, and can be ensured the demand for first submitting barrage information user in this way, be accomplished barrage The opposite promptness of presentation of information.
For another example can have the same or similar barrage letter of content in a large amount of barrage information that server receives sometimes Breath, due to not showing that user information, the present embodiment can first gather similar barrage content when barrage information is shown usually Class can thus eliminate the opposite barrage content repeated, then according to after cluster as a result, being carried from remaining barrage information It takes the barrage information of certain item number to be shown, can accomplish properer actual conditions, accomplish the opposite of barrage presentation of information Promptness, this barrage information can also further mark the number of similar barrage content in displaying so that Yong Huzhi How many people of road and Ta have same opinion.
For another example in order to meet the needs of different type user as far as possible, do not shown usually when being shown due to barrage information Show that user information, the present embodiment can be first according to barrage information according to user gradations, and/or the affiliated age bracket of user, and/or bullet Curtain content multiplicity, and/or barrage content erotic degree etc. are classified, as member user and age are belonged to 25 years old to 30 years old Age bracket, barrage content are classified as one kind than more sensitive barrage information, and ordinary user and age are belonged to 40 years old to 50 years old Age bracket, the stronger barrage information of barrage content erotic degree be classified as it is another kind of etc..Then according to sorted as a result, from remaining Barrage information in extract the barrage information of certain item number and be shown, may be implemented to meet inhomogeneity in the short time as far as possible The demand of type user.
103, according to the barrage content-length for the every barrage information extracted, the every barrage information extracted is distinguished Carry out length scale division.
For example, barrage content-length is longer, the length scale of barrage information is higher.In the present embodiment, length scale Quantity and each corresponding length range of length scale can be preset according to actual conditions.
In order to be accurately obtained the corresponding length scale of barrage information, as a kind of preferred embodiment of the present embodiment, step 103 It can specifically include:Preset length range belonging to determining the barrage content-length of every barrage information respectively;Pass through inquiry institute The corresponding length scale of preset length range of category determines every corresponding length scale of barrage information, wherein not respectively Same preset length range corresponds to different length scales respectively, its bigger corresponding length scale of preset length value range is more It is high.
104, according to the length scale after division, the corresponding display bullet of every barrage information that creates and extract Road.
Wherein, display trajectory is used for the content that carries in barrage information and is shown, and display trajectory is according to certain preset It is ranked sequentially, and spacing distance is not fixed between display trajectory, and the track dimension scale of every display trajectory is not fixed, track Dimension scale determines that in the present embodiment, track dimension scale determines to show the height of trajectory, i.e., according to the display size of video The display size for determining barrage information, for the present embodiment, the track dimension scale of every display trajectory can be all different, or The track dimension scales of only individual several displays trajectories are different, show the different barrage information of size in this way, can be with Enhance display effect so that some barrage information can increase displaying, which barrage information can increase displaying for can root According to submitting the user gradation of barrage information, the content length of barrage information, the modal particle in barrage information how many etc., factors determine. Further, show that the length of trajectory can also be different, and the display location at place is also different, such barrage information Occur respectively from different display locations, changes original exhibition method, the display effect of barrage information can be enhanced.For example, As shown in Fig. 2, there are 3 displays trajectory a, b, c, trajectories are shown according to being ranked sequentially this 3 in Fig. 2.
In order to meet the needs of various users, it is preferred that display trajectory can be curve trajectory or deformable trajectory, accordingly Barrage information can show curve bandwagon effect or the bandwagon effect of various modifications track, further enhance the aobvious of barrage information Show effect, such barrage information can also avoid some special icons and be shown, to avoid special icon is sheltered from.
For the present embodiment, the length scale of barrage information is higher, illustrates that the content-length of barrage information is longer, at this time for It shows the complete barrage information content as early as possible, the mode of line feed display can be used, in this way in order to ensure the word of barrage information Size does not interfere with the viewing of user, just may require that the orbit altitude of bigger, as a kind of preferred embodiment of the present embodiment, step 104 can specifically include:According to the length scale more bigger principle of high orbit dimension scale, it is respectively right to create every barrage information The display trajectory answered, the wherein height of track dimension scale=display trajectory/(Height-video of video resides the height of icon), Video is resided icon and is obtained by parsing video requency frame data, and video resides icon and includes but not limited to:Advertising logo, TV station Mark, prize drawing icon, weather Time of Day icon, news icon, question and answer icon etc.;And need the display location for ensureing to show trajectory The display location for residing icon with video is not be overlapped.
For example, if having advertisement station symbol a at one, the icon b of drawing a lottery at one, weather forecast icon c at one in video, show Show the height of track dimension scale=display trajectory A of trajectory A/(The height of the height-c of the height-b of the height-a of video).It is logical Cross the display trajectory for creating obtain in this way, it is ensured that the barrage information of displaying does not block advertising logo, TV station symbol, prize drawing figure The videos such as mark, weather Time of Day icon, news icon, question and answer icon reside icon so that these business will not be by a large amount of The influence of barrage information displaying.
105, the every barrage information extracted is arranged respectively on corresponding display trajectory and is shown.
Wherein, the barrage information for barrage content-length being more than to pre-set length threshold can carry out line feed displaying, and every bullet The displaying speed of curtain information is directly proportional to the barrage information content not shown in pre-set buffer area.For example, if pre-set buffer area The barrage information content that middle residue is not shown is more, then the displaying speed for the barrage information being currently displaying is faster, needs Illustrate, the displaying speed of barrage information needs to ensure that the content of barrage information can allow user to watch rapidly, cannot be because of bullet The displaying excessive velocities of curtain information, cause user unclear to the content viewing of barrage information.Pass through the line feed exhibition of this barrage information Show, and the mode of barrage information displaying speed is provided, the barrage information that can accelerate not show in pre-set buffer area is extracted The process of displaying will not cause the duration that user delivers barrage information long and influence the experience of user, and for content mistake Long barrage information can also show complete barrage content as early as possible.
106, after display trajectory completely shows barrage information, the barrage information not shown is extracted from pre-set buffer area.
It, can be advance according to practical business demand to showing that trajectory completely shows the standard of barrage information in this present embodiment Configuration.For example, the last character of barrage information can be shown completely on display trajectory, as complete display barrage letter The standard of breath;Barrage information can also be rolled to the left end of video from the right end of video, and last character rolling terminates When,
Further, in order to save system resource, as a preferred embodiment, this method may also include:Timing is closed and is discharged Had shown that barrage information and subsequently without the display track for showing any barrage information.Here between the time for executing release task Every can not only save the consumption of system resource in this way depending on practical business demand, nor can influence follow-up new Create the process for showing trajectory.
107, according to the corresponding length scale of barrage information of extraction not shown, new display trajectory is created.
Wherein, there is similar and different display location between new display trajectory and the display trajectory created before, and So that new display trajectory is not be overlapped by content to be shown and the content shown on the display trajectory created before.New wound The track dimension scale for the display trajectory built can correspond to length scale according to the barrage information not shown and determine, process is as above It states shown in step 104, details are not described herein.
In order to make full use of allocated system resource, as a preferred method, before step 107, can also wrap It includes:Detection created and in the display trajectory that does not discharge with the presence or absence of the free time and the barrage Chief Information Officer not shown with extraction Spend the corresponding display trajectory of grade;If having created and having existed idle in the display trajectory that does not discharge and do not shown with extraction The corresponding display trajectory of barrage message length grade, then by the barrage information configuration of extraction not shown it is idle and with It is shown on the corresponding display trajectory of barrage message length grade of extraction not shown.Correspondingly, step 107 specifically can be with Including:If having created and there is no the barrage message lengths idle and with extraction not shown in the display trajectory that does not discharge The corresponding display trajectory of grade creates new display bullet then according to the corresponding length scale of barrage information of extraction not shown Road.
By the above-mentioned means, the displaying of barrage information can be carried out using idle display trajectory, it is new without re-creating Display trajectory, the resource of system can be saved, and also have a certain upgrade in efficiency.
108, the barrage information configuration of extraction not shown is shown on new display trajectory.
Here to ensure it is not be overlapped between the barrage information newly shown and the barrage information shown, to ensure user's Good viewing experience.
109, the barrage of server end displaying result is synchronized in each client and synchronizes displaying.
In the present embodiment, the barrage of the server end involved in step 105 to 109 can be shown that result is synchronized to respectively Displaying is synchronized in a client, with tradition compared with client-side is handled by way of a large amount of barrage information are shown, The system pressure of terminal where client can be mitigated, reduction expended multi-system resource, caused by barrage information presentation card The phenomenon that pausing.
Using above-mentioned barrage message buffer mechanism, when server newly receives barrage information, for buffering effect before Fruit is not affected, and further, this method can also include as a preferred method,:If monitoring, server receives use The new barrage information that family is submitted then detects in pre-set buffer area with the presence or absence of the barrage information not shown;If in pre-set buffer area In the presence of the barrage information not shown, then by new barrage information storage in pre-set buffer area, in this way, subsequently will newly connect The barrage information received ensures that the bandwagon effect of this programme is not affected into row buffering.It further, can also timing cleaning The barrage information that duration is more than preset duration threshold value is stored in pre-set buffer area to pick to ensure to save the space in pre-set buffer area Except expired data, the demand that the barrage information that newest user submits is shown also can guarantee.
A large amount of barrage information concurrent processing methods provided in this embodiment based on cloud computing, can will not with current server Compared with the barrage information that user submits all is sent to the mode that client carries out real-time display, the application, which can utilize, to be taken The cloud computing platform that business device end is built is more than present count when the barrage information content for monitoring to receive at preset time intervals When measuring threshold value, using barrage message buffer mechanism, only extract the barrage information of default number of branches and create suitable display trajectory into Row displaying, remaining barrage information storage waits in pre-set buffer area and is extracted displaying after extraction, in the process will service The barrage displaying result at device end, which is synchronized in each client, synchronizes displaying.A large amount of barrage information overlaps are not only avoided to show The phenomenon that so that user can see the particular content in barrage information clearly, and carry out a large amount of barrage information simultaneously in service end side Hair processing, client-side are the barrage displaying of synchronous displaying server end as a result, client-side reduces while showing that barrage is believed The quantity of breath, it is possible to reduce client-side system resource, the phenomenon that avoiding the occurrence of barrage presentation of information interim card.
Further, the specific implementation as Fig. 1 methods present embodiments provides a kind of a large amount of barrages based on cloud computing Information concurrent processing device, can be applied to cloud computing platform, as shown in Fig. 2, the device includes:Monitoring unit 21, processing are single Member 22, display unit 23.
Monitoring unit 21 can be used for the barrage information that the different user that real-time monitoring server receives is submitted;
Processing unit 22 can be used for being more than present count when the barrage information content for monitoring to receive at preset time intervals When measuring threshold value, from the barrage information for extracting default number of branches in barrage information and after extracting, remaining barrage information storage is being preset In buffering area;According to the barrage content-length for the every barrage information extracted, to every barrage information extracting respectively into Row length scale divides;Then according to the length scale after division, the every barrage information for creating and extracting is corresponding It shows trajectory, and display trajectory is arranged according to pre-set sequence, and spacing distance is not fixed between display trajectory, and every aobvious Show that the track dimension scale of trajectory is not fixed, track dimension scale is determined according to the display size of video;
Display unit 23, it is enterprising that the every barrage information that can be used for extract is arranged respectively at corresponding display trajectory Row displaying, wherein the barrage information that barrage content-length is more than to pre-set length threshold carries out line feed displaying, and every barrage letter The displaying speed of breath is directly proportional to the barrage information content not shown in pre-set buffer area;
Processing unit 22 can be also used for after display trajectory completely shows barrage information, extract from pre-set buffer area and not open up The barrage information shown;According to the corresponding length scale of barrage information of extraction not shown, new display trajectory is created, new is aobvious There is similar and different display location between showing trajectory and the display trajectory that creates before, and so that new display trajectory will The content of display and the content shown on the display trajectory created before be not be overlapped;
Display unit 23 can be also used for opening up the barrage information configuration of extraction not shown on new display trajectory Show;The barrage displaying result of server end is synchronized in each client and synchronizes displaying.
In specific application scenarios, processing unit 22 is specifically determined for the barrage content of every barrage information Length respectively belonging to preset length range;By inquiring the affiliated corresponding length scale of preset length range, determine respectively Every corresponding length scale of barrage information, wherein different preset length ranges corresponds to different length scales respectively, Preset length value range is bigger, and its corresponding length scale is higher;
Processing unit 22 specifically can be also used for, according to the length scale more bigger principle of high orbit dimension scale, creating every The corresponding display trajectory of barrage information, the wherein height of track dimension scale=display trajectory/(Height-video of video is normal In the height of icon), video reside icon by parse video requency frame data obtain, video reside icon include but not limited to:Extensively Accuse icon, TV station symbol, prize drawing icon, weather Time of Day icon, news icon, question and answer icon;Show the displaying position of trajectory It is not be overlapped to set the display location for residing icon with video.
In specific application scenarios, processing unit 22 specifically can be also used for receiving user's submission according to server Barrage information sequence from morning to night, the barrage information of default number of branches is extracted from barrage information;Or by phase in barrage information As barrage content clustered, according to cluster result, to extract the barrage information of default number of branches;Or by barrage information according to User gradation, and/or the affiliated age bracket of user, and/or barrage content multiplicity, and/or barrage content erotic degree are classified, According to classification results, to extract the barrage information of default number of branches.
In specific application scenarios, processing unit 22, if can be also used for monitoring that server receives user's submission New barrage information, then detect in pre-set buffer area with the presence or absence of the barrage information that does not show;If existing not in pre-set buffer area The barrage information of displaying, then by new barrage information storage in pre-set buffer area;Timing cleaning pre-set buffer stores duration in area More than the barrage information of preset duration threshold value.
In specific application scenarios, optionally, display trajectory be curve trajectory or deformable trajectory, processing unit 22, It can be also used for periodically closing and discharging having shown that barrage information and subsequently without the display track for showing any barrage information.
In specific application scenarios, processing unit 22 can be also used for the display trajectory that detection has been created and do not discharged In with the presence or absence of display trajectory idle and corresponding with the barrage message length grade of extraction not shown;If created and In the presence of the display bullet free time and corresponding with the barrage message length grade of extraction not shown in the display trajectory not discharged Road, then by the barrage information configuration of extraction not shown in the barrage message length grade idle and with extraction not shown It is shown on corresponding display trajectory;
Processing unit 22, if specifically can be also used for having created and in the display trajectory that does not discharge there is no it is idle and with carry The corresponding display trajectory of barrage message length grade not shown taken, then it is corresponding according to the barrage information of extraction not shown Length scale creates new display trajectory.
In specific application scenarios, cloud computing platform includes:Sequentially connected barrage information cloud monitoring module, barrage letter Cease cloud processing module and barrage information display module.
It should be noted that a kind of a large amount of barrage information concurrent processing devices institute based on cloud computing provided in this embodiment It is related to other corresponding descriptions of each functional unit, can be with the corresponding description in reference chart 1, details are not described herein.
It is stored thereon with based on above-mentioned method as shown in Figure 1 correspondingly, the present embodiment additionally provides a kind of storage medium Computer program, the program realize above-mentioned a large amount of barrage information based on cloud computing as shown in Figure 1 simultaneously when being executed by processor Send out processing method.
Based on this understanding, the technical solution of the application can be expressed in the form of software products, software production Product can be stored in a non-volatile memory medium(Can be CD-ROM, USB flash disk, mobile hard disk etc.)In, including some instructions With so that a computer equipment(Can be personal computer, server or the network equipment etc.)It is each to execute the application Method described in implement scene.
Based on above-mentioned method as shown in Figure 1 and virtual bench embodiment shown in Fig. 2, to achieve the goals above, The embodiment of the present application also provides a kind of cloud computing servers, as shown in figure 4, the cloud computing server includes processor 31 and deposits Storage media 32;Storage medium 32, for storing computer program;Processor 31, it is above-mentioned to realize for executing computer program A large amount of barrage information concurrent processing methods based on cloud computing as shown in Figure 1.The cloud computing server further includes:Bus 33, It is configured as coupling processor 31 and storage medium 32.
Optionally, which can also include user interface, network interface, radio frequency(Radio Frequency, RF) Circuit, sensor, voicefrequency circuit, WI-FI modules etc..User interface may include display screen(Display), input unit ratio Such as keyboard(Keyboard)Can also include USB interface, card reader interface etc. Deng, optional user interface.Network interface is optional It may include standard wireline interface and wireless interface(Such as WI-FI interfaces)Deng.
It will be understood by those skilled in the art that a kind of cloud computing server structure provided in this embodiment is not constituted to this The restriction of entity device may include more or fewer components, either combine certain components or different components arrangement.
Can also include operating system, network communication module in storage medium.Operating system is the above-mentioned cloud computing clothes of management The program for device hardware and software resource of being engaged in supports the operation of message handling program and other softwares and/or program.Network communication Module for realizing the communication between each component in storage medium inside, and with other hardware in information processing entities equipment and soft It is communicated between part.
Through the above description of the embodiments, those skilled in the art can be understood that the application can borrow It helps software that the mode of necessary general hardware platform is added to realize, hardware realization can also be passed through.Pass through the skill of application the application Art scheme only extracts the barrage information of default number of branches and the suitable display trajectory of establishment carries out using barrage message buffer mechanism Displaying, remaining barrage information storage waits in pre-set buffer area and is extracted displaying after extraction, in the process by server The barrage displaying result at end, which is synchronized in each client, synchronizes displaying.A large amount of barrage information overlaps are not only avoided to show Phenomenon so that user can see the particular content in barrage information clearly, and concurrent in a large amount of barrage information of service end side progress Processing, client-side are the barrage displaying of synchronous displaying server end as a result, client-side reduces while showing barrage information Quantity, it is possible to reduce client-side system resource, the phenomenon that avoiding the occurrence of barrage presentation of information interim card.
It will be appreciated by those skilled in the art that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, module in attached drawing or Flow is not necessarily implemented necessary to the application.It will be appreciated by those skilled in the art that the mould in device in implement scene Block can according to implement scene describe be distributed in the device of implement scene, can also carry out respective change be located at be different from In one or more devices of this implement scene.The module of above-mentioned implement scene can be merged into a module, can also be into one Step splits into multiple submodule.
Above-mentioned the application serial number is for illustration only, does not represent the quality of implement scene.Disclosed above is only the application Several specific implementation scenes, still, the application is not limited to this, and the changes that any person skilled in the art can think of is all The protection domain of the application should be fallen into.

Claims (10)

1. a kind of a large amount of barrage information concurrent processing methods based on cloud computing, which is characterized in that including:
Cloud computing platform is built in server end, and following process is realized using the cloud computing platform:
The barrage information that the different user that real-time monitoring server receives is submitted;
When the barrage information content for monitoring to receive at preset time intervals is more than preset quantity threshold value, from the barrage Remaining barrage information storage is in pre-set buffer area after extracting the barrage information of default number of branches in information and extracting;
According to the barrage content-length for the every barrage information extracted, the every barrage information extracted is carried out respectively Length scale divides;
According to the length scale after division, create and the corresponding display bullet of every barrage information extracted Road, and the display trajectory is arranged according to pre-set sequence, and spacing distance is not fixed between the display trajectory, and every The track dimension scale of display trajectory is not fixed, and the track dimension scale is determined according to the display size of video;
The every barrage information extracted is arranged respectively on corresponding display trajectory and is shown, wherein will The barrage information that barrage content-length is more than pre-set length threshold carries out line feed displaying, and the displaying speed of every barrage information with The barrage information content not shown in the pre-set buffer area is directly proportional;
After display trajectory completely shows barrage information, the barrage information not shown is extracted from the pre-set buffer area;
According to the corresponding length scale of barrage information of extraction not shown, new display trajectory, the new display bullet are created There is similar and different display location between road and the display trajectory created before, and so that the new display trajectory will The content of display and the content shown on the display trajectory created before be not be overlapped;
The barrage information configuration of the extraction not shown is shown on the new display trajectory;
The barrage displaying result of server end is synchronized in each client and synchronizes displaying.
2. according to the method described in claim 1, it is characterized in that, long according to the barrage content for the every barrage information extracted Degree, carries out length scale division to the every barrage information extracted, specifically includes respectively:
Preset length range belonging to determining the barrage content-length of every barrage information respectively;
By inquiring the affiliated corresponding length scale of preset length range, every corresponding length of barrage information is determined respectively Grade is spent, wherein different preset length ranges corresponds to different length scales, its bigger correspondence of preset length value range respectively Length scale it is higher;
The length scale according to after division creates and the every corresponding display of barrage information extracted Trajectory specifically includes:
According to the length scale more bigger principle of high orbit dimension scale, the corresponding display bullet of every barrage information is created The height of road, wherein track dimension scale=display trajectory/(Height-video of video resides the height of icon), the video is normal It is obtained in icon by parsing video requency frame data, the video resides icon and includes but not limited to:Advertising logo, TV station symbol, Prize drawing icon, weather Time of Day icon, news icon, question and answer icon;The display location of the display trajectory and the video The display location of resident icon is not overlapped.
3. method according to any one of claim 1 to 2, which is characterized in that extracted from the barrage information default The barrage information of item number, specifically includes:
The sequence of the barrage information of user's submission from morning to night is received according to server, is extracted from the barrage information default The barrage information of item number;Or,
Similar barrage content in the barrage information is clustered, according to cluster result, to extract the bullet of default number of branches Curtain information;Or,
By the barrage information according to user gradation, and/or the affiliated age bracket of user, and/or barrage content multiplicity, and/or Barrage content erotic degree is classified, according to classification results, to extract the barrage information of default number of branches.
4. according to the method in any one of claims 1 to 3, which is characterized in that the method further includes:
If monitoring, server receives the new barrage information of user's submission, detects in the pre-set buffer area with the presence or absence of not The barrage information of displaying;
If there is the barrage information not shown in the pre-set buffer area, by the new barrage information storage described default slow It rushes in area;
Timing, which is cleared up in the pre-set buffer area, stores the barrage information that duration is more than preset duration threshold value.
5. according to the method described in claim 1, it is characterized in that, the display trajectory be curve trajectory or deformable trajectory, The method further includes:
Timing, which is closed and discharged, had shown that barrage information and subsequently without the display track for showing any barrage information.
6. according to the method described in claim 5, it is characterized in that, described corresponding according to the barrage information of extraction not shown Length scale, before creating new display trajectory, the method further includes:
Detection has created and in the display trajectory that does not discharge with the presence or absence of the barrage letter idle and with the extraction not shown Cease the corresponding display trajectory of length scale;
If there is idle and with the extraction the barrage information not shown in the display trajectory for having created and not discharged The corresponding display trajectory of length scale, then by the barrage information configuration of the extraction not shown it is described idle and with institute It states and is shown on the corresponding display trajectory of barrage message length grade of extraction not shown;
The corresponding length scale of barrage information not shown according to extraction creates new display trajectory, specifically includes:
If there is no idle and with the extraction the barrages not shown to believe in the display trajectory for having created and not discharged The corresponding display trajectory of breath length scale creates new then according to the corresponding length scale of barrage information of extraction not shown Show trajectory.
7. method according to any one of claim 1 to 6, which is characterized in that the cloud computing platform includes:Connect successively Barrage information cloud monitoring module, barrage information cloud processing module and the barrage information display module connect.
8. a kind of a large amount of barrage information concurrent processing devices based on cloud computing are applied to cloud computing platform, which is characterized in that packet It includes:
Monitoring unit, the barrage information for the different user submission that real-time monitoring server receives;
Processing unit, for being more than preset quantity threshold value when the barrage information content for monitoring to receive at preset time intervals When, from the barrage information for extracting default number of branches in the barrage information and after extracting, remaining barrage information storage is delayed default It rushes in area;
According to the barrage content-length for the every barrage information extracted, the every barrage information extracted is carried out respectively Length scale divides;
According to the length scale after division, create and the corresponding display bullet of every barrage information extracted Road, and the display trajectory is arranged according to pre-set sequence, and spacing distance is not fixed between the display trajectory, and every The track dimension scale of display trajectory is not fixed, and the track dimension scale is determined according to the display size of video;
Display unit is carried out for the every barrage information extracted to be arranged respectively on corresponding display trajectory Displaying, wherein the barrage information that barrage content-length is more than to pre-set length threshold carries out line feed displaying, and every barrage information Displaying speed it is directly proportional to the barrage information content not shown in the pre-set buffer area;
The processing unit is additionally operable to after display trajectory completely shows barrage information, is extracted not from the pre-set buffer area The barrage information of displaying;
According to the corresponding length scale of barrage information of extraction not shown, new display trajectory, the new display bullet are created There is similar and different display location between road and the display trajectory created before, and so that the new display trajectory will The content of display and the content shown on the display trajectory created before be not be overlapped;
The display unit is additionally operable to the barrage information configuration of the extraction not shown is enterprising in the new display trajectory Row displaying;
The barrage displaying result of server end is synchronized in each client and synchronizes displaying.
9. a kind of storage medium, is stored thereon with computer program, which is characterized in that realized when described program is executed by processor A large amount of barrage information concurrent processing methods based on cloud computing described in any one of claim 1 to 7.
10. a kind of cloud computing server, including storage medium, processor and storage can transport on a storage medium and on a processor Capable computer program, which is characterized in that the processor realizes any one of claim 1 to 7 institute when executing described program The a large amount of barrage information concurrent processing methods based on cloud computing stated.
CN201810368470.1A 2018-04-23 2018-04-23 Bullet screen concurrent processing method and device, storage medium and cloud computing server Active CN108521583B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810368470.1A CN108521583B (en) 2018-04-23 2018-04-23 Bullet screen concurrent processing method and device, storage medium and cloud computing server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810368470.1A CN108521583B (en) 2018-04-23 2018-04-23 Bullet screen concurrent processing method and device, storage medium and cloud computing server

Publications (2)

Publication Number Publication Date
CN108521583A true CN108521583A (en) 2018-09-11
CN108521583B CN108521583B (en) 2020-10-09

Family

ID=63429043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810368470.1A Active CN108521583B (en) 2018-04-23 2018-04-23 Bullet screen concurrent processing method and device, storage medium and cloud computing server

Country Status (1)

Country Link
CN (1) CN108521583B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109089171A (en) * 2018-10-22 2018-12-25 北京洛必达科技有限公司 Big data barrage processing system and method
CN109413484A (en) * 2018-12-29 2019-03-01 咪咕文化科技有限公司 A kind of barrage methods of exhibiting, device and storage medium
CN109600655A (en) * 2018-11-30 2019-04-09 北京微播视界科技有限公司 Method, applications client and the electronic equipment that barrage is shown in applications client
CN110458996A (en) * 2019-07-05 2019-11-15 平安国际智慧城市科技股份有限公司 Probability method of adjustment, device, equipment and storage medium based on social platform prize drawing
CN110944236A (en) * 2019-11-29 2020-03-31 维沃移动通信有限公司 Group creation method and electronic device
CN110971952A (en) * 2018-09-29 2020-04-07 传线网络科技(上海)有限公司 Bullet screen display method and device
CN111083551A (en) * 2019-12-17 2020-04-28 腾讯科技(深圳)有限公司 Barrage rendering method and device, computer readable storage medium and computer equipment
CN111796825A (en) * 2020-06-30 2020-10-20 北京字节跳动网络技术有限公司 Bullet screen drawing method, device, equipment and storage medium
CN114501117A (en) * 2021-12-28 2022-05-13 杭州星犀科技有限公司 Multi-platform message synchronous merging method, system, electronic equipment and storage medium
WO2024041515A1 (en) * 2022-08-22 2024-02-29 北京字跳网络技术有限公司 Bullet-screen comment display method and apparatus

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105828164B (en) * 2016-04-28 2019-05-17 武汉斗鱼网络科技有限公司 A kind of method and system avoiding barrage overlapping display
CN106454485B (en) * 2016-10-25 2018-04-10 华中科技大学 A kind of trajectory distribution method of speed variable barrage
CN107197355B (en) * 2017-06-02 2020-02-21 北京潘达互娱科技有限公司 Bullet screen display method and device
CN107295387B (en) * 2017-06-16 2020-03-17 北京潘达互娱科技有限公司 Bullet screen display method and device
CN107360459B (en) * 2017-07-07 2021-02-02 腾讯科技(深圳)有限公司 Bullet screen processing method and device and storage medium
CN107371056A (en) * 2017-07-18 2017-11-21 北京蜜莱坞网络科技有限公司 A kind of method and apparatus for loading barrage
CN107506246A (en) * 2017-08-08 2017-12-22 北京小米移动软件有限公司 Information displaying method, device and computer-readable recording medium
CN107948761B (en) * 2017-12-12 2021-01-01 上海哔哩哔哩科技有限公司 Bullet screen play control method, server and bullet screen play control system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110971952A (en) * 2018-09-29 2020-04-07 传线网络科技(上海)有限公司 Bullet screen display method and device
CN109089171B (en) * 2018-10-22 2019-05-21 江苏冬云云计算股份有限公司 Big data barrage processing system and method
CN109089171A (en) * 2018-10-22 2018-12-25 北京洛必达科技有限公司 Big data barrage processing system and method
CN109600655A (en) * 2018-11-30 2019-04-09 北京微播视界科技有限公司 Method, applications client and the electronic equipment that barrage is shown in applications client
CN109413484B (en) * 2018-12-29 2022-05-10 咪咕文化科技有限公司 Bullet screen display method and device and storage medium
CN109413484A (en) * 2018-12-29 2019-03-01 咪咕文化科技有限公司 A kind of barrage methods of exhibiting, device and storage medium
CN110458996A (en) * 2019-07-05 2019-11-15 平安国际智慧城市科技股份有限公司 Probability method of adjustment, device, equipment and storage medium based on social platform prize drawing
CN110944236A (en) * 2019-11-29 2020-03-31 维沃移动通信有限公司 Group creation method and electronic device
CN110944236B (en) * 2019-11-29 2021-11-30 维沃移动通信有限公司 Group creation method and electronic device
CN111083551A (en) * 2019-12-17 2020-04-28 腾讯科技(深圳)有限公司 Barrage rendering method and device, computer readable storage medium and computer equipment
CN111796825A (en) * 2020-06-30 2020-10-20 北京字节跳动网络技术有限公司 Bullet screen drawing method, device, equipment and storage medium
CN111796825B (en) * 2020-06-30 2024-02-09 北京字节跳动网络技术有限公司 Bullet screen drawing method, bullet screen drawing device, bullet screen drawing equipment and storage medium
CN114501117A (en) * 2021-12-28 2022-05-13 杭州星犀科技有限公司 Multi-platform message synchronous merging method, system, electronic equipment and storage medium
CN114501117B (en) * 2021-12-28 2024-01-30 杭州星犀科技有限公司 Multi-platform message synchronous merging method, system, electronic equipment and storage medium
WO2024041515A1 (en) * 2022-08-22 2024-02-29 北京字跳网络技术有限公司 Bullet-screen comment display method and apparatus

Also Published As

Publication number Publication date
CN108521583B (en) 2020-10-09

Similar Documents

Publication Publication Date Title
CN108521583A (en) A kind of a large amount of barrage information concurrent processing methods and cloud computing server based on cloud computing
US20140143071A1 (en) Method and apparatus for providing online advertisement
WO2018095096A1 (en) Method, device and system for processing overlay comment message and apparatus thereof
CN109120949B (en) Video message pushing method, device, equipment and storage medium for video set
US8819139B2 (en) Virtual desktop infrastructure (VDI) login acceleration
CN107018440B (en) Methods, systems, and media for presenting advertisements while buffering video
CN106201246A (en) Page layout processing method and processing device
CN113225607B (en) Method and system for displaying gift in live broadcast room
CN106921865A (en) Method for processing video frequency and device
US20210345009A1 (en) Method and device, equipment, and storage medium for data processing
US20180068342A1 (en) Advertisement accessing server and advertisement accessing service method
CN108712299A (en) A kind of method, apparatus, equipment and the computer storage media of monitoring live streaming delay
CN108156509A (en) Video broadcasting method, device and user terminal
CN111031376A (en) Bullet screen processing method and system based on WeChat applet
CN113839998B (en) Image data transmission method, apparatus, device, storage medium, and program product
CN109698960A (en) Methods of exhibiting, the apparatus and system of message is broadcast live
CN110445667A (en) A kind of link delay detection method, device, storage medium and terminal
CN110032691A (en) Data cached sweep-out method, device and equipment
WO2024001612A1 (en) Comment display method and apparatus, electronic device, and computer readable medium
CN111667313A (en) Advertisement display method and device, client device and storage medium
US20230042070A1 (en) Recommendation content resource acquisition method and apparatus, device, medium, and program product
CN114637927B (en) Content recommendation method and device, electronic equipment and storage medium
CN113824689B (en) Edge computing network, data transmission method, device, equipment and storage medium
CN108965935A (en) The method and apparatus of data collection and analysis and the information push of multiple terminals broadcasting and TV business
WO2015096791A1 (en) Method and system for releasing media content

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200914

Address after: 200131 unit 657, 601-057, building 3, building 2, No. 88, Keyuan Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Applicant after: Shanghai blue cloud Network Technology Co.,Ltd.

Address before: 528400 Huangpu town, Zhongshan City, Guangdong Province, Shui Mu Qinghua Garden

Applicant before: Huang Yusong

GR01 Patent grant
GR01 Patent grant