Invention content
The embodiment of the present invention is designed to provide a kind of barrage display methods, realizes the dynamically slip to each barrage
The purpose that time is adjusted.Specific technical solution is as follows:
In a first aspect, an embodiment of the present invention provides a kind of barrage display methods, applied to client, the method packet
It includes:
The character string for include comment information that is received is cached, for each character string, when determining the caching character string
The quantity of character string is cached;
The cached character string of extraction, parses the comment information in the character string;
The gained comment information is converted into barrage and determines the display length of the barrage, the converted barrage of caching;
For the barrage of each caching, grown based on the display of the identified quantity for having cached character string and the barrage
Degree determines the sliding time of the barrage, wherein, the sliding time of the barrage is with the identified current quantity for having cached character string
Increase and reduce, show that length increases and increases with barrage;
According to the sliding time of identified each barrage, the barrage of display caching is slided.
Optionally, the cached character string of the extraction, parses the comment information in character string, including:
Time order and function according to caching character string sequentially extracts the multiple character strings cached, and parsing is extracted in character string
Comment information;
Alternatively, according to multiple character strings that the priority orders extraction of character string is cached, parsing is extracted in character string
Comment information.
Optionally, the barrage for each caching, based on the identified quantity for having cached character string and the bullet
The display length of curtain determines the sliding time of the barrage, wherein, the sliding time of the barrage has currently cached word with identified
The quantity of symbol string increases and reduces, and shows that length increases and increases with barrage, including:
By the following formula, the sliding time of the barrage is determined:
In formula, TiRepresent the sliding time of the barrage, W represents the length of the barrage display area, WiRepresent the bullet
Curtain shows length, TmaxRepresent maximum character string caching quantity, BnExpression has cached the quantity of character string, λnRepresent the first coefficient,
λwRepresent the second coefficient.
Optionally, the sliding time according to identified each barrage slides the barrage of display caching, including:
According to the sliding time of identified first barrage, the first barrage of display caching is slided;
After first barrage slides its own length and at least first distance, the second barrage of display caching is slided,
Wherein, first barrage and the adjacent caching of second barrage, first distance are not weighed for the first barrage and the second barrage
Folded minimum range.
Optionally, it is described after first barrage slides its own length and at least first distance, slide display caching
The second barrage, including:
By the following formula, the first distance is determined:
In formula, WgRepresent the first distance, W represents the length of barrage display area, WaRepresent that the first barrage shows length, Ta
Represent the sliding time of the first barrage, WbRepresent that the second barrage shows length, TbRepresent the sliding time of the second barrage.
Optionally, it is described to cache the multiple character strings for including comment information received, for each character string, determine
Before the quantity that character string has been cached when caching the character string, the method further includes:
The multiple character strings for including comment information sent by server are received, judge to receive character string in the unit interval
Quantity whether be less than predetermined threshold value, if less than predetermined threshold value, convert the character string as barrage, slided according to pre-set velocity
Show the barrage.
Second aspect, an embodiment of the present invention provides a kind of barrage display device, described device includes:
First cache module, for caching the character string for including comment information that is received, for each character string, really
The quantity of character string has been cached when caching the character string surely;
Parsing module for extracting cached character string, parses the comment information in character string;
Second cache module, for gained comment information to be converted into barrage and determines the display length of the barrage, caching
The barrage converted;
Determining module for being directed to the barrage of each caching, based on the identified quantity for having cached character string and is somebody's turn to do
The display length of barrage determines the sliding time of the barrage, wherein, the sliding time of the barrage has currently been cached with identified
The quantity of character string increases and reduces, and shows that length increases and increases with barrage;
First display module, for according to the sliding time of identified each barrage, sliding the barrage of display caching.
Optionally, the parsing module, is specifically used for:
Time order and function according to caching character string sequentially extracts the multiple character strings cached, and parsing is extracted in character string
Comment information;
Alternatively, according to multiple character strings that the priority orders extraction of character string is cached, parsing is extracted in character string
Comment information.
Optionally, the determining module, is specifically used for:
By the following formula, the sliding time of the barrage is determined:
In formula, TiRepresent the sliding time of the barrage, W represents the length of the barrage display area, WiRepresent the bullet
Curtain shows length, TmaxRepresent maximum character string caching quantity, BnExpression has cached the quantity of character string, λnRepresent the first coefficient,
λwRepresent the second coefficient.
Optionally, second display module, including:
First display sub-module, for according to the sliding time of identified first barrage, sliding the first of display caching
Barrage;
Second display sub-module, for after first barrage slides its own length and at least first distance, sliding
Second barrage of display caching, wherein, first barrage and the adjacent caching of second barrage, first distance is first
Barrage and the nonoverlapping minimum range of the second barrage.
Optionally, second display sub-module, is specifically used for:
By the following formula, the first distance is determined:
In formula, WgRepresent the first distance, W represents the length of barrage display area, WaRepresent that the first barrage shows length, Ta
Represent the sliding time of the first barrage, WbRepresent that the second barrage shows length, TbRepresent the sliding time of the second barrage.
Optionally, described device further includes:
Second display module for receiving the multiple character strings for including comment information sent by server, judges unit
Whether the quantity that character string is received in the time is less than predetermined threshold value, if less than predetermined threshold value, converts the character string as bullet
Curtain slides according to pre-set velocity and shows the barrage.
The third aspect, the embodiment of the present invention additionally provide a kind of electronic equipment, including processor, communication interface, memory
And communication bus, wherein, processor, communication interface, memory completes mutual communication by communication bus;
Memory, for storing computer program;
Processor during for performing the program stored on memory, realizes any of the above-described barrage display methods
Step.
At the another aspect that the present invention is implemented, a kind of computer readable storage medium is additionally provided, it is described computer-readable
Instruction is stored in storage medium, when run on a computer so that computer performs any of the above-described barrage and shows
Show method.
At the another aspect that the present invention is implemented, the embodiment of the present invention additionally provides a kind of computer program production comprising instruction
Product, when run on a computer so that computer performs any of the above-described barrage display methods.
A kind of barrage display methods provided in an embodiment of the present invention and device pass through each character string received in caching
When, it determines currently to have cached the quantity of character string and when character string is converted into barrage, determines the display length of barrage,
And based on the identified display length for having cached character string quantity and the barrage, the sliding time of the barrage is determined, due to working as
Numerical value of the preceding quantity for having cached character string for a dynamic change, therefore client can move the sliding time of each barrage
It is adjusted to state, so as to avoid causing user's evaluation information from overstocking, user can be made to see delivered barrage in time.When
So, it implements any of the products of the present invention or method must be not necessarily required to reach all the above advantage simultaneously.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is described.
Dynamically the sliding time of each barrage is adjusted in order to realize, an embodiment of the present invention provides a kind of barrages
Display methods, display device and electronic equipment.
Existing barrage display methods, when client shows barrage in video, every barrage is generally with fixed cunning
Dynamic speed is shown.Barrage has certain length, and when sliding display, the head of barrage is usually slided from the side boundary of video
Occur, then slide into another lateral boundaries of video, until the tail portion of barrage skids off boundary, this barrage slides display and completes.
Different in size due to every barrage, the sliding speed of barrage is fixed, in existing barrage display methods, the sliding time of barrage
Only can change with the length rule of barrage, when barrage is long, sliding time is elongated therewith, when barrage in short-term, sliding time is therewith
It shortens, the quantity of user comment can not be received according to client, dynamic adjusts the sliding time of barrage.When in user's short time
When delivering a large amount of comments, user's evaluation information can be caused to overstock, plot is caused to cross the bullet that for a long time can just show that user is delivered
Curtain content, user experience are bad.
Generally, a kind of barrage display methods provided in an embodiment of the present invention, first, in each character that caching is received
During string, determine currently to have cached the quantity of character string and when character string is converted into barrage, determine that the display of barrage is grown
Degree;Then, based on the identified display length for having cached character string quantity and the barrage, and then during the slip of the determining barrage
Between.Due to currently having cached the numerical value of the quantity of character string for a dynamic change, client is determining every barrage
During sliding time, the sliding time of each barrage can be dynamically adjusted, so as to avoid causing user's evaluation information from accumulating
Pressure, makes user see delivered barrage in time, improves the usage experience of user.
Embodiment of the method
As shown in Figure 1, an embodiment of the present invention provides a kind of barrage display methods, it can be applied to play the client of video
End, naturally it is also possible to there is the equipment of data processing operation applied to other kinds of, which can include following step
Suddenly:
The character string for including comment information that S101, caching are received for each character string, determines to cache the character
The quantity of character string has been cached during string.
In the embodiment of the present invention, client receive as the character string transmitted by server, typically JSON
The string of binary characters of (JavaScript Object Notation, JS object tag) data format, JSON data formats are
A kind of data interchange format of lightweight.In above-mentioned character string, comment information that user delivers can be carried in itself and such as
The information such as user's name, user gradation, character string priority.From the foregoing, it will be observed that in the character string that client is received, not only include
Comment information, also comprising other information.For example, can be by character string, user's name corresponding with comment information and user
Grade determines the significance level of the comment information.Specifically, when user gradation is high-grade, corresponding comment information weight
Want degree high.
Under normal conditions, after client receives the multiple character strings sent one by one by server, the received character of caching
String.Specifically he, client can cache received character string in the form of chained list.By the character string meeting cached in chained list
It is extracted progress barrage to show so that caching quantity is reduced, and newly caching character string can so that caching quantity increases, therefore delay
The character string quantity deposited is a dynamic value.Client, can be with one word of every caching in multiple character strings that caching is received
Symbol string is determined once when caching the character string, currently the quantity of buffered character string.Determine caching character string quantity
Process is simple algorithm calculations, and the process performance of client is had little effect.
As the optional embodiment of the method for the present invention embodiment kind, sometimes due to the character string quantity that client is received
Seldom, caching can be not required to directly to convert character string and show barrage.Specifically, an amount threshold can be set,
The threshold value can be application developer according to determined by client performance, client being capable of processing character within the unit interval
The maximum value of string quantity.If the character string quantity received in the client unit interval is greater than or equal to predetermined threshold value, caching
The character string received, and according to barrage display methods processing character string provided in an embodiment of the present invention and show barrage;If
The character string quantity received in the client unit interval is less than predetermined threshold value, and the character string received directly is converted into bullet
Curtain, and slided according to pre-set velocity and show barrage.Wherein, pre-set velocity can be changeless.
The cached character string of S102, extraction, parses the comment information in character string.
In the embodiment of the present invention, cached character string can be extracted from chained list, and parse the comment in the character string
Information.
It, can be suitable according to the time order and function for caching each character string as the optional embodiment of the method for the present invention embodiment kind
Sequence extracts cached character string one by one.For example, the cache-time of character string A is 1 point, the cache-time of character string B is 1 point
01 point, the cache-time of character string C for 1 point 02 minute, then first extract character string A, then extract character string B, then extract character string C.
It is this by cache-time extract character string in the way of, can ensure that the comment content of all users is converted into barrage and shows
Show.
As it was noted above, precedence information can be carried in character string, to indicate the priority level of the character string.Make
It, then can be according to if necessary to the barrage of preferential display responsible consumer for another optional embodiment of the embodiment of the present invention
The priority orders of character string extract the multiple character strings cached.For example, the first higher character string of extraction priority, then carry
The character string that priority is relatively low is taken, so as to make the character string with higher priority than the character string with lower priority earlier
Ground is converted into barrage, and then shows the barrage earlier.
It is alternatively possible at regular intervals, the minimum character string of the priority cached in a chained list is removed, so as to keep away
The character string for exempting from cached low priority is overstock.
S103, gained comment information is converted into barrage and determines the display length of the barrage, the converted barrage of caching.
In the embodiment of the present invention, the process that comment information is converted into barrage can be by existing barrage generation method reality
Existing, details are not described herein.It is readily appreciated that, after comment information is converted into barrage, the display pixel value (showing length) of the barrage
Nature can determine.
After comment information is converted into barrage, converted barrage can be cached.Specifically, client can also be with chain
The form caching barrage of table, and storage shows relevant information, such as display length, the cunning of each barrage with each barrage in chained list
Dynamic time etc..
S104, the barrage for each caching, based on the identified current quantity and the barrage for having cached character string
It shows length, determines the sliding time of the barrage, wherein, the sliding time of the barrage has currently cached character string with identified
Quantity increase and reduce, with barrage show length increase and increase.
In the embodiment of the present invention, so it is easy to understand that if the current character string quantity cached is more, illustrate to need
The barrage of display is more, if the display length of barrage is longer, illustrates that the sliding distance needed for this barrage is longer.Cause
This, when the character string quantity increase cached, in order to show cached barrage as early as possible, can shorten the slip of every barrage
Time.
Specifically, the sliding time of the barrage by the following formula, can be determined:
Wherein, TiRepresent the sliding time of the barrage;W represents the length of barrage display area, generally according to the aobvious of video
Show that length is set, can specifically be represented with pixel value, such as the resolution ratio of a video is 640 × 480, show the aobvious of the video
Show length for 640 pixel values, then the length that can determine the display area of barrage is 800 pixel values;WiRepresent barrage display length
Degree, can specifically be represented with pixel value;As shown in Fig. 2, W and WiThe sum of be barrage sliding distance;TmaxRepresent maximum character string
Quantity is cached, is set generally according to the memory space of client;BnExpression has cached the quantity of character string;λnIt represents the first coefficient, leads to
Standing to be set to constant, the quotient that the character string that can be averaged according to history caches quantity and maximum character string caching quantity determines;λwTable
Show the second coefficient, be usually arranged as constant, the barrage that can be averaged according to history shows length and the length of barrage display area
Quotient determines.By above-mentioned first coefficient and the second coefficient, the sliding time of barrage can be adjusted.
S105, the sliding time according to identified each barrage slide the barrage of display caching.
It, can be by identified after the sliding time of each barrage for determining to be cached in the embodiment of the present invention
Sliding time slides show each barrage one by one.Such as barrage A, identified sliding time are 3 seconds, the display length of barrage A
For 20 pixels, the length of barrage display area is 640 pixels, and the sliding distance of barrage A is 660 pixels, then can calculate bullet
When curtain A is slided with 220 pixels/second, display can be slided just in 3 seconds and finished.
On the basis of barrage display methods shown in Fig. 1, in the optional embodiment of the method for the present invention embodiment kind, on
Sliding times of the S105 according to identified each barrage is stated, the barrage of display caching is slided, as shown in figure 3, being specifically as follows:
S1051 according to the sliding time of identified first barrage, slides the first barrage of display caching.
S1052 after the first barrage slides its own length and the first distance, slides the second barrage of display caching,
In, the first distance is the first barrage and the nonoverlapping minimum range of the second barrage.
In the embodiment of the present invention, the first barrage and the second barrage are two barrages of adjacent caching in chained list, such as Fig. 4 institutes
Show, the cache-time of the first barrage is earlier than the second barrage, so the first barrage is shown earlier than the second barrage.In the presence of a kind of possible
Situation, if after the first barrage is shown, and then showing the second barrage, it is possible to the situation of two barrage superpositions occur.In order to
Such case is avoided, its own length and at least the first distance W can be slided in the first barragegAfterwards, then to slide display slow
The second barrage deposited, so as to make will not to occur there are certain distance between the second barrage and the first barrage two barrages overlappings
Situation.
As shown in figure 5, the first barrage is with the nonoverlapping limiting case of the second barrage, when the first barrage shows completion just
When (tail portion skids off display area just), the head of the second barrage closely tail portion of the first barrage just.To make the first bullet
Curtain is not be overlapped with the second barrage, and it is necessary to meet following condition:
Wherein, WgRepresent the first distance;W represents the length of barrage display area, is set generally according to the length of video, tool
Body can be represented with pixel value;VaRepresent the sliding speed of the first barrage;VbRepresent the sliding speed of the second barrage.
Know again, the sliding speed of the first barrage is:
Wherein, TaRepresent that the slip of the first barrage shows the time;WaRepresent the display length of the first barrage;W represents that barrage is shown
Show the length in region;
The sliding speed of second barrage is:
Wherein, TbRepresent that the slip of the second barrage shows the time;WbRepresent the display length of the second barrage;W represents that barrage is shown
Show the length in region;
It can then derive that the first distance is:
Wherein, WgRepresent the first distance;W represents the length of barrage display area, is set generally according to the length of video, tool
Body can be represented with pixel value;WaIt represents that the first barrage shows length, can specifically be represented with pixel value;TaRepresent the first barrage
Sliding time;WbIt represents that the second barrage shows length, can specifically be represented with pixel value;TbWhen representing the slip of the second barrage
Between.
After the first barrage starts to slide display, sliding distance is at least Wa+WgWhen, by the second barrage and then first
It is slided behind barrage, in this way when the first barrage, which slides, to disappear, can guarantee that the second barrage and the first barrage do not overlap.
A kind of barrage display methods provided in an embodiment of the present invention, by caching received each character string when, really
The quantity of character string has been cached before settled and when character string is converted into barrage, determines the display length of barrage, and be based on
The identified display length for having cached character string quantity and the barrage determines the sliding time sliding time of the barrage, due to
Numerical value of the current quantity for having cached character string for a dynamic change, therefore client can be to the sliding time of each barrage
It is dynamically adjusted, so as to avoid causing user's evaluation information from overstocking, user can be made to see delivered barrage in time.
Device embodiment
Corresponding to above method embodiment, the embodiment of the present invention additionally provides a kind of barrage display device, such as Fig. 6 institutes
Show, including:
First cache module 201, for caching the character string for including comment information received, for each character
String determines to have cached the quantity of character string when caching the character string;
Parsing module 202 for extracting cached character string, parses the comment information in character string;
Second cache module 203 for gained comment information to be converted into barrage and determines the display length of the barrage, delays
Deposit converted barrage;
Determining module 204, for being directed to the barrage of each caching, based on the identified quantity for having cached character string and
The display length of the barrage determines the sliding time of the barrage, wherein, the sliding time of the barrage has currently delayed with identified
The quantity for depositing character string increases and reduces, and shows that length increases and increases with barrage;
First display module 205, for according to the sliding time of identified each barrage, sliding the bullet of display caching
Curtain.
Optionally, parsing module 202 are specifically used for:
Time order and function according to caching character string sequentially extracts the multiple character strings cached, and parsing is extracted in character string
Comment information;
Alternatively, according to multiple character strings that the priority orders extraction of character string is cached, parsing is extracted in character string
Comment information.
Optionally it is determined that module 204, is specifically used for:
By the following formula, the sliding time of the barrage is determined:
In formula, TiRepresent the sliding time of the barrage, W represents the length of the barrage display area, WiRepresent the bullet
Curtain shows length, TmaxRepresent maximum character string caching quantity, BnExpression has cached the quantity of character string, λnRepresent the first coefficient,
λwRepresent the second coefficient.
As shown in fig. 7, the embodiment of the present invention additionally provides a kind of barrage display device, on the basis of above device embodiment
On, the device of the embodiment of the present invention may further include:
Second display module 206 for receiving the multiple character strings for including comment information sent by server, judges list
Whether the quantity that character string is received in the time of position is less than predetermined threshold value, and if less than predetermined threshold value, converting the character string is
Barrage slides according to pre-set velocity and shows the barrage.
Optionally, as shown in figure 8, the second display module 206, including:
First display sub-module 2061, for according to the sliding time of identified first barrage, sliding display caching
First barrage;
Second display sub-module 2062, for sliding its own length and at least first after in first barrage,
The second barrage of display caching is slided, wherein, first barrage and the adjacent caching of second barrage, first distance are
First barrage and the nonoverlapping minimum range of the second barrage.
Optionally, the second display sub-module 2062, is specifically used for:
By the following formula, the first distance is determined:
In formula, WgRepresent the first distance, W represents the length of barrage display area, WaRepresent that the first barrage shows length, Ta
Represent the sliding time of the first barrage, WbRepresent that the second barrage shows length, TbRepresent the sliding time of the second barrage.
A kind of barrage display device provided in an embodiment of the present invention, by caching received each character string when, really
The quantity of character string has been cached before settled and when character string is converted into barrage, determines the display length of barrage, and be based on
The identified display length for having cached character string quantity and the barrage determines the sliding time sliding time of the barrage, due to
Numerical value of the current quantity for having cached character string for a dynamic change, therefore client can be to the sliding time of each barrage
Dynamically it is adjusted.
As shown in figure 9, the embodiment of the present invention additionally provides a kind of barrage display system, including:401 He of barrage function module
Message function module 402, wherein, barrage function module 401 can be located at client, for receiving by message function module 402
The character string of transmission, the processing task related with barrage;Message function module 402 can be located at server, for barrage work(
Energy module 401 sends the character string containing user comment information.
Barrage function module 401 includes:Display control submodule 4010, cache sub-module 4011, character string buffer unit
4012, barrage buffer unit 4013, barrage Message Processing submodule 4014.
Its processing procedure is:After barrage Message Processing submodule 4014 receives (JSON forms) character string, character string is delayed
It deposits to character string buffer unit 4012;When to string processing, the cached character string of extraction is simultaneously handled as barrage, and by bullet
Curtain caching to barrage buffer unit 4013, display control submodule 4010 obtains the barrage that barrage buffer unit 4013 is cached,
The display time of barrage is calculated, barrage is shown in screen.After barrage is shown, the view of the barrage can also be recycled
(view), it and caches to barrage buffer unit 4013, after receiving new barrage, the view recycled is initialized again, again
Setting show content be new barrage, avoid ceaselessly New View to picture, avoid waste of resource.
A kind of barrage display system provided in an embodiment of the present invention, by caching received each character string when, really
The quantity of character string has been cached before settled and when character string is converted into barrage, determines the display length of barrage, and be based on
The identified display length for having cached character string quantity and the barrage determines the sliding time sliding time of the barrage, due to
Numerical value of the current quantity for having cached character string for a dynamic change, therefore client can be to the sliding time of each barrage
It is dynamically adjusted, so as to avoid causing user's evaluation information from overstocking, user can be made to see delivered barrage in time.
The embodiment of the present invention additionally provides a kind of electronic equipment, as shown in Figure 10, including processor 301, communication interface
302nd, memory 303 and communication bus 304, wherein, processor 301, communication interface 302, memory 303 passes through communication bus
304 complete mutual communication,
Memory 303, for storing computer program;
Processor 301 during for performing the program stored on memory 303, realizes following steps:
The character string for include comment information that is received is cached, for each character string, when determining the caching character string
The quantity of character string is cached;
The cached character string of extraction, parses the comment information in character string;
Gained comment information is converted into barrage and determines the display length of the barrage, the converted barrage of caching;
For the barrage of each caching, grown based on the display of the identified quantity for having cached character string and the barrage
Degree determines the sliding time of the barrage, wherein, the sliding time of the barrage is with the identified current quantity for having cached character string
Increase and reduce, show that length increases and increases with barrage;
According to the sliding time of identified each barrage, the barrage of display caching is slided.
A kind of electronic equipment provided in an embodiment of the present invention is worked as by when caching each character string received, determining
The preceding quantity for having cached character string and when character string is converted into barrage determines the display length of barrage, and based on institute really
The fixed sliding time sliding time for having cached character string quantity and the display length of the barrage, having determined the barrage, due to current
Numerical value of the quantity of character string for a dynamic change is cached, therefore client can be to the sliding time dynamic of each barrage
Ground is adjusted, and so as to avoid causing user's evaluation information from overstocking, user can be made to see delivered barrage in time.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component
Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry Standard
Architecture, abbreviation EISA) bus etc..The communication bus can be divided into address bus, data/address bus, controlling bus etc..
For ease of representing, only represented in figure with a thick line, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory can include random access memory (Random Access Memory, abbreviation RAM), can also include
Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Optionally, memory may be used also
To be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
Abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor
(Digital Signal Processing, abbreviation DSP), application-specific integrated circuit (Application Specific
Integrated Circuit, abbreviation ASIC), field programmable gate array (Field-Programmable Gate Array,
Abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can
It reads to be stored with instruction in storage medium, when run on a computer so that computer performs any institute in above-described embodiment
The barrage display methods stated.
In another embodiment provided by the invention, a kind of computer program product for including instruction is additionally provided, when it
When running on computers so that computer performs any barrage display methods in above-described embodiment.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its arbitrary combination real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program
Product includes one or more computer instructions.When loading on computers and performing the computer program instructions, all or
It partly generates according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, special meter
Calculation machine, computer network or other programmable devices.The computer instruction can be stored in computer readable storage medium
In or from a computer readable storage medium to another computer readable storage medium transmit, for example, the computer
Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center
User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or
Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or
It is the data storage devices such as server, the data center integrated comprising one or more usable mediums.The usable medium can be with
It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state disk
Solid State Disk (SSD)) etc..
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any this practical relationship or sequence.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those
Element, but also including other elements that are not explicitly listed or further include as this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
Also there are other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is described using relevant mode, identical similar portion between each embodiment
Point just to refer each other, and the highlights of each of the examples are difference from other examples.Especially for device reality
For applying example, since it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.