CN103561354A - Method and device for calculating and processing video smoothness - Google Patents

Method and device for calculating and processing video smoothness Download PDF

Info

Publication number
CN103561354A
CN103561354A CN201310522860.7A CN201310522860A CN103561354A CN 103561354 A CN103561354 A CN 103561354A CN 201310522860 A CN201310522860 A CN 201310522860A CN 103561354 A CN103561354 A CN 103561354A
Authority
CN
China
Prior art keywords
video
fluency
pausing
unit
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
CN201310522860.7A
Other languages
Chinese (zh)
Other versions
CN103561354B (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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201310522860.7A priority Critical patent/CN103561354B/en
Publication of CN103561354A publication Critical patent/CN103561354A/en
Application granted granted Critical
Publication of CN103561354B publication Critical patent/CN103561354B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a method and device for calculating and processing the video smoothness. The method for calculating and processing the video smoothness comprises the steps that client sides record video blocking information; the client sides calculate one-machine video smoothness according to the video blocking information; the client sides send the one-machine video smoothness to a server, wherein the server computes the average video smoothness of the client sides according to the one-machine video smoothness. Through the method and device for calculating and processing the video smoothness, the video smoothness can be calculated and meanwhile, statistical resource consumption can be reduced.

Description

Video fluency computation processing method and device
Technical field
The present invention relates to internet arena, in particular to a kind of video fluency computation processing method and device.
Background technology
User is when watching Internet video, video fluency while paying close attention to video playback very much, prior art is in order to calculate video fluency, server need to be preserved initial time and the lasting duration that every secondary card of each user is paused, when the new card information of pausing arrives, search for this information and belong to which user, and add this user's card to pause in information recording information, then regularly the information recording that pauses of the card in all users' queue is all checked to it is whether within a period of time recently (in such as 5 minutes), then will not that nearest (being expired) card pauses and abandons, only the nearest card information of pausing is added to calculating.
In the situation that there is mass data, the card that prior art is preserved user when the calculating video fluency informational needs that pauses expends a lot of memory sources, search and the overtime record of regular check can expend very large CPU computational resource, receive and dispatch each secondary card information of pausing and can consume more Internet resources.
For calculating video flowing in prior art, freely spend the problem that consumes a large amount of statistics resources, not yet propose at present effective solution.
Summary of the invention
Main purpose of the present invention is to provide a kind of computation processing method and device of video fluency, to solve, calculates video flowing freely spend the problems that consume a large amount of statistics resources in prior art.
To achieve these goals, according to an aspect of the present invention, provide a kind of computation processing method of video fluency.According to the computation processing method of video fluency of the present invention, comprise: the client records video card information of pausing; Client is calculated unit video fluency according to the video card information of pausing; And client sends unit video fluency to server, wherein, server calculates the average video fluency of a plurality of clients according to unit video fluency.
Further, the client records video card information of pausing comprises: record video card in the first predetermined amount of time information of pausing; Client is calculated unit video fluency according to the video card information of pausing and is comprised: according to the pause time span of information and the first predetermined amount of time of the video card of record, obtain unit video fluency.
Further, the video card information of pausing recording in the first predetermined amount of time comprises: the store video card information of pausing in chronological order; The video card of searching storage before the first predetermined amount of time information of pausing, obtains a historical card information; The deleting history card information of pausing, obtains video card in the first predetermined amount of time information of pausing; And record video card in the first predetermined amount of time information of pausing.
Further, client transmission unit video fluency to server comprises: client sends unit video fluency to server at interval of the second predetermined amount of time; The average video fluency that server calculates a plurality of clients according to unit video fluency comprises: server calculates the average video fluency of a plurality of clients according to unit video fluency at interval of the second Preset Time section.
A kind of computation processing method of video fluency is also provided according to another aspect of the invention.According to the computation processing method of video fluency of the present invention, comprise: server receives the unit video fluency from a plurality of clients, wherein, unit video fluency is the client records video card information of pausing, and calculates according to the video card information of pausing; Server is added up the number of a plurality of clients; And server calculates the average video fluency of a plurality of clients according to the number of the unit video fluency of a plurality of clients receiving and the client of statistics.
To achieve these goals, according to a further aspect in the invention, provide a kind of calculation processing apparatus of video fluency.According to the calculation processing apparatus of video fluency of the present invention, comprise: record cell, for the recording of video card information of pausing; The first computing unit, calculates unit video fluency for the information of pausing according to video card; And transmitting element, for sending unit video fluency to server, wherein, server calculates the average video fluency of a plurality of clients according to unit video fluency.
Further, record cell is also for recording video card in the first predetermined amount of time information of pausing; The first computing unit also obtains unit video fluency for the time span of pause according to the video card of record information and the first predetermined amount of time.
Further, record cell comprises: memory module, for the information of pausing of store video card in chronological order; Search module, for searching the video card of storage before the first predetermined amount of time information of pausing, obtain a historical card information; Removing module, for the deleting history card information of pausing, obtains video card in the first predetermined amount of time information of pausing; And logging modle, for recording video card in the first predetermined amount of time information of pausing.
Further, video fluency calculation processing apparatus also comprises: transmitting element, for sending unit video fluency at interval of the second predetermined amount of time to server; The second computing unit, for calculating the average video fluency of a plurality of clients according to unit video fluency at interval of the second Preset Time section.
A kind of calculation processing apparatus of video fluency is also provided according to another aspect of the invention.According to the calculation processing apparatus of video fluency of the present invention, comprise: receiving element, for receiving the unit video fluency from a plurality of clients, wherein, unit video fluency is the client records video card information of pausing, and calculates according to the video card information of pausing; Statistic unit, for adding up the number of a plurality of clients; And the 3rd computing unit, for calculate the average video fluency of a plurality of clients according to the number of the unit video fluency of a plurality of clients receiving and the client of statistics.
By the present invention, adopt the client records video card information of pausing, client is calculated unit video fluency according to the video card information of pausing, and client sends unit video fluency to server, wherein, server calculates the average video fluency of a plurality of clients according to unit video fluency, solved in prior art, to calculate video flowing and freely spend the problems that consume a large amount of statistics resources, and then reached the effect of saving statistics resource when calculating video fluency.
Accompanying drawing explanation
The accompanying drawing that forms the application's a part is used to provide a further understanding of the present invention, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is according to the flow chart of the video fluency computation processing method of first embodiment of the invention;
Fig. 2 is according to the flow chart of the video fluency computation processing method of second embodiment of the invention;
Fig. 3 is according to the flow chart of the video fluency computation processing method of third embodiment of the invention;
Fig. 4 is according to the schematic diagram of the video fluency calculation processing apparatus of first embodiment of the invention; And
Fig. 5 is according to the schematic diagram of the video fluency calculation processing apparatus of second embodiment of the invention.
Embodiment
It should be noted that, in the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the present invention in detail.
In order to make those skilled in the art person understand better the present invention program, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, the term " first " in specification of the present invention and claims and above-mentioned accompanying drawing, " second " etc. are for distinguishing similar object, and needn't be for describing specific order or precedence.The data that should be appreciated that such use suitably can exchanged in situation, so as embodiments of the invention described herein can with except diagram here or describe those order enforcement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, for example, those steps or unit that the process that has comprised series of steps or unit, method, system, product or equipment are not necessarily limited to clearly list, but can comprise clearly do not list or for these processes, method, product or equipment intrinsic other step or unit.
Fig. 1 is according to the flow chart of the video fluency computation processing method of first embodiment of the invention.As shown in the figure, this video fluency computation processing method comprises the steps:
Step S101, the client records video card information of pausing.Client is the arbitrary client in network system, the video card that can record client itself information of pausing.In client, can set up the video card information table that pauses, in the time of video generation Caton phenomenon, add this card information to video card and pause in information table.In order to facilitate the inquirying card information of pausing, can fill the video card information table that pauses according to time sequencing.
The recording of video card information of pausing can be immediately long for time in fact and card that recording of video card pauses.For fear of the duplicate record of data, when card just occurs, card is immediately long is recorded as 0, in the process of card, can be updated periodically the duration of card, when current card pauses and finishes, and the duration that more neocaine pauses for the last time.Because card is to finish the last time just may occur next time afterwards again, therefore the current card record one that pauses is positioned the pause end of information table of card, upgrading card that current video card pauses and only need upgrade in immediately long this record at end, the information of can recording of video card pausing.Following table is the example of a card record sheet, the most de novo card end that fixes on queue of pausing, and every secondary card pause necessarily do not have overlapping.
Figure BDA0000404442960000041
Step S102, client is calculated unit video fluency according to the video card information of pausing.Unit video fluency can be the video fluency of client in current slot, in enough hour of the time period of current slot, can think that unit video fluency is real-time video fluency.Client is according to the card information of pausing of record, determines total duration that in number of times that this client video card pauses and certain hour, video card pauses.The number of times that video card pauses is more, and unit video fluency is lower, and total duration that video card pauses is longer, and the fluency of unit video is also lower.Number of times * constant a that client can be paused video card and video card immediately between * constant b summation obtains unit video fluency.The higher video playback of unit video fluency calculating is more smooth, and therefore less by the above-mentioned numerical value calculating, unit video fluency is high.
Preferably, can obtain unit video fluency with constant/(number of times * constant a+ video card that video card pauses immediately between * constant b+ constant).The numerical value of the unit video fluency calculating between 0 to 1, the convenient machine of order really video fluency.
It should be noted that, what the mode of the calculating unit fluency that the embodiment of the present invention provides was just carried out for convenient understanding illustrates, should be understood that, unit fluency can calculate by the mode that other can characterize numerical value and unit video fluency relation.
Step S103, client sends unit video fluency to server, and wherein, server calculates the average video fluency of a plurality of clients according to unit video fluency.One or more clients are sent to service by unit video fluency, wherein, server can receive the unit video fluency of a plurality of clients, and the unit video fluency of a plurality of clients is processed, and calculates the average video fluency of a plurality of clients.By the average video fluency of a plurality of clients, can determine the fluency of the video playback of whole network.
After calculating unit video fluency by client, unit video fluency is sent to server, server only need be added up the average video fluency of a plurality of clients, repeatedly transfer of data and calculating without client and server, save Internet resources and memory source, improved the computational efficiency of average video fluency.
Preferably, in order to determine the video fluency of current slot in network, video card in client records the first predetermined amount of time information of pausing, then client obtains unit video fluency according to the pause time span of information and the first predetermined amount of time of the video card of record.
Wherein, the first predetermined amount of time is the time period adjacent with current time.Enough hour of the duration of the first predetermined amount of time, the card that to think at interval of the video card information of pausing in the first predetermined amount of time be real time record current time that can the be similar to information of timing.
Further, client can record video card in the first predetermined amount of time information of pausing to step S204 by following steps S201:
Step S201, in chronological order the store video card information of pausing.Because video card pauses, be to finish the last time just may occur again next time afterwards, when pausing information, store video card can be stored in client according to time sequencing, therefore, it is more forward that the video card information of pausing is stored in the position that video card pauses in information table, the video card information of pausing is older, longer with the interval of current time.The video card that can read easily storage according to the time sequencing store video card information of the pausing information of pausing.
Step S202, the video card of searching storage before the first predetermined amount of time information of pausing, obtains a historical card information.Video card pause information according to the sequential storage of time in client, client can by storage the video card information of pausing obtain unit video fluency.Calculate unit video fluency and need to utilize video card in the first predetermined amount of time information of pausing, and canned data not only comprises that the video card information of pausing in the first predetermined amount of time also comprises video card before the first predetermined amount of time information of pausing in client, therefore need to determine the first predetermined amount of time information before by searching, i.e. a historical card information.
Search storage before the first Preset Time section the video card information of pausing can according to time sequencing from video card pause information table start foremost search, also can adopt the methods such as binary search to search.The value of the first predetermined amount of time can be preferably a minute rank according to user's the setting that needs, and can more accurately reflect the fluency of current video.
Step S203, the deleting history card information of pausing, obtains video card in the first predetermined amount of time information of pausing.After finding a historical card information, the video card that can distinguish the first predetermined amount of time pause information and a historical card information, pause history card after information deletion, obtains video card in the first predetermined amount of time information of pausing.
Step S204, records video card in the first predetermined amount of time information of pausing.When deleting history card pauses information, the information of pausing of the video card in the first predetermined amount of time of obtaining of record.
Owing to surpassing the history card information of pausing of the first predetermined amount of time, be all removed, each playing duration while calculating unit video fluency is all the first predetermined amount of time of fixing, therefore only need be by video card number of times and the video card total duration calculation of pausing of pausing when calculating unit video fluency.
Fig. 2 is according to the flow chart of the video fluency computation processing method of second embodiment of the invention.
Step S301, the client records video card information of pausing.Client is the arbitrary client in network system, the video card that can record client itself information of pausing.In client, can set up the video card information table that pauses, in the time of video generation Caton phenomenon, add this card information to video card and pause in information table.In order to facilitate the inquirying card information of pausing, can fill the video card information table that pauses according to time sequencing.
Step S302, client is calculated unit video fluency according to the video card information of pausing.Unit video fluency can be the video fluency of client in current slot, in enough hour of the time period of current slot, can think that unit video fluency is real-time video fluency.Client is according to the card information of pausing of record, determines total duration that in number of times that this client video card pauses and certain hour, video card pauses.The number of times that video card pauses is more, and unit video fluency is lower, and total duration that video card pauses is longer, and the fluency of unit video is also lower.Number of times * constant a that client can be paused video card and video card immediately between * constant b summation obtains unit video fluency, can also obtain unit video fluency with constant/(number of times * constant a+ video card that video card pauses immediately between * constant b+ constant).
Step S303, client sends unit video fluency to server at interval of the second predetermined amount of time, and server calculates the average video fluency of a plurality of clients according to unit video fluency at interval of the second Preset Time section.
Client sends unit video fluency at interval of the second predetermined amount of time to server, server receives at interval of the second predetermined amount of time the unit video fluency that client is sent, because transmission cycle of client is identical with the receiving cycle of server, in one-period, each client only serviced device statistics once, has been avoided a large amount of duplicate removal computings.For example, first scheduled time was 5 minutes, and second scheduled time was 1 minute, and client retains the video card information of pausing in before current time 5 minutes, by the information deletion that pauses of the video card before 5 minutes.Suppose that current time is the 5th minute, the video card information of pausing that current time sends is the information of pausing of the video card in zero minutes to the five minutes, and the video card information of pausing that after one minute, the 6th minute client sends is the video card of first minute to the 6th minute information of pausing.
After client is sent to server by unit video fluency, server only need be added up the summation of the number of client and the unit video fluency that all clients are sent, and by the summation of unit video fluency, divided by the number of client, can access the average video fluency of a plurality of clients.
Client matches with server and has reduced the amount of calculation of average video fluency, by unified data, sends and computing cycle, can guarantee that each client is only added up once, has improved the accuracy rate of calculating average video fluency.
Fig. 3 is according to the flow chart of the video fluency computation processing method of third embodiment of the invention.As shown in the figure, this video fluency computation processing method comprises the steps:
Step S401, server receives the unit video fluency from a plurality of clients, and wherein, unit video fluency is the client records video card information of pausing, and calculates according to the video card information of pausing.
Unit video fluency can be the video fluency of client in current slot, in enough hour of the time period of current slot, can think that unit video fluency is real-time video fluency.Client is according to the card information of pausing of record, determines total duration that in number of times that this client video card pauses and certain hour, video card pauses.The number of times that video card pauses is more, and unit video fluency is lower, and total duration that video card pauses is longer, and the fluency of unit video is also lower.Number of times * constant a that client can be paused video card and video card immediately between * constant b summation obtains unit video fluency.
Server receives the unit video fluency of a plurality of clients at interval of second scheduled time, a plurality of clients send unit video fluency at interval of second scheduled time, be that server and client side has the unified data transmit-receive cycle, guarantee that the unit video fluency that server receives is only added up once.
Step S402, server is added up the number of a plurality of clients.Because server and client side has the unified data transmit-receive cycle, therefore, the number of the unit video fluency that server is received by statistics just can obtain the number of client.In the number of a plurality of clients of statistics, the summation that can also add up the unit video fluency of a plurality of clients.In the process of summation of adding up the number of a plurality of clients and the unit video fluency of a plurality of clients, without each unit video fluency of judgement, come from which client, reduced deal with data workload, improved computational speed.
Step S403, server calculates the average video fluency of a plurality of clients according to the number of the unit video fluency of a plurality of clients receiving and the client of statistics.Server can be processed the unit video fluency of a plurality of clients, calculates the average video fluency of a plurality of clients.It can be the number divided by a plurality of clients by the summation of the unit video fluency of a plurality of clients that server is processed the unit video fluency of a plurality of clients, thereby obtains average video fluency.By the average video fluency of a plurality of clients, can determine the fluency of the video playback of whole network.
Pass through said method, server only need to be determined to the unit video fluency of a plurality of clients that receive the summation of the number of client and the unit video fluency of a plurality of clients, thereby reduced the calculating of server, saved the Internet resources of server and client communication.
According to embodiments of the invention, provide a kind of video fluency calculation processing apparatus.
The video fluency calculation processing apparatus that the video fluency computation processing method of the embodiment of the present invention can provide by the embodiment of the present invention is carried out, the video fluency computation processing method that the video fluency calculation processing apparatus of the embodiment of the present invention also can provide for carrying out the embodiment of the present invention.
Fig. 4 is according to the schematic diagram of the video fluency calculation processing apparatus of first embodiment of the invention.As shown in the figure, this video fluency calculation processing apparatus comprises record cell 10, the first computing unit 20 and transmitting element 30.
Record cell 10 is for the recording of video card information of pausing.Client is the arbitrary client in network system, the video card that can record client itself information of pausing.In client, can set up the video card information table that pauses, in the time of video generation Caton phenomenon, add this card information to video card and pause in information table.In order to facilitate the inquirying card information of pausing, can fill the video card information table that pauses according to time sequencing.
The recording of video card information of pausing can be immediately long for time in fact and card that recording of video card pauses.For fear of the duplicate record of data, when card just occurs, card is immediately long is recorded as 0, in the process of card, can be updated periodically the duration of card, when current card pauses and finishes, and the duration that more neocaine pauses for the last time.Because card is to finish the last time just may occur next time afterwards again, therefore the current card record one that pauses is positioned the pause end of information table of card, upgrading card that current video card pauses and only need upgrade in immediately long this record at end, the information of can recording of video card pausing.Following table is the example of a card record sheet, the most de novo card end that fixes on queue of pausing, and every secondary card pause necessarily do not have overlapping.
Figure BDA0000404442960000081
The first computing unit 20 calculates unit video fluency for the information of pausing according to video card.Unit video fluency can be the video fluency of client in current slot, in enough hour of the time period of current slot, can think that unit video fluency is real-time video fluency.Client is according to the card information of pausing of record, determines total duration that in number of times that this client video card pauses and certain hour, video card pauses.The number of times that video card pauses is more, and unit video fluency is lower, and total duration that video card pauses is longer, and the fluency of unit video is also lower.Number of times * constant a that client can be paused video card and video card immediately between * constant b summation obtains unit video fluency.The higher video playback of unit video fluency calculating is more smooth, and therefore less by the above-mentioned numerical value calculating, unit video fluency is high.
Preferably, can obtain unit video fluency with constant/(number of times * constant a+ video card that video card pauses immediately between * constant b+ constant).The numerical value of the unit video fluency calculating between 0 to 1, the convenient machine of order really video fluency.
It should be noted that, what the mode of the calculating unit fluency that the embodiment of the present invention provides was just carried out for convenient understanding illustrates, should be understood that, unit fluency can calculate by the mode that other can characterize numerical value and unit video fluency relation.
Transmitting element 30 is for sending unit video fluency to server, and wherein, server calculates the average video fluency of a plurality of clients according to unit video fluency.One or more clients are sent to service by unit video fluency, wherein, server can receive the unit video fluency of a plurality of clients, and the unit video fluency of a plurality of clients is processed, and calculates the average video fluency of a plurality of clients.It can be the number divided by a plurality of clients by the summation of the unit video fluency of a plurality of clients that server is processed the unit video fluency of a plurality of clients, thereby obtains average video fluency.By the average video fluency of a plurality of clients, can determine the fluency of the video playback of whole network.
After calculating unit video fluency by client, unit video fluency is sent to server, server only need be added up the average video fluency of a plurality of clients, repeatedly transfer of data and calculating without client and server, save Internet resources and memory source, improved the computational efficiency of average video fluency.
Preferably, in order to determine the video fluency of current slot in network, record cell 10 is also for recording video card in the first predetermined amount of time information of pausing, and the first computing unit 20 also obtains unit video fluency for the time span of pause according to the video card of record information and the first predetermined amount of time.
Wherein, the first predetermined amount of time is the time period adjacent with current time.Enough hour of the duration of the first predetermined amount of time, the card that to think at interval of the video card information of pausing in the first predetermined amount of time be real time record current time that can the be similar to information of timing.
Further, video fluency calculation processing apparatus can be by memory module, search module, removing module and logging modle and record video card in the first predetermined amount of time information of pausing:
Memory module is for the information of pausing of store video card in chronological order.Because video card pauses, be to finish the last time just may occur again next time afterwards, when pausing information, store video card can be stored in client according to time sequencing, therefore, it is more forward that the video card information of pausing is stored in the position that video card pauses in information table, the video card information of pausing is older, longer with the interval of current time.The video card that can read easily storage according to the time sequencing store video card information of the pausing information of pausing.
Search module for searching the video card of storage before the first predetermined amount of time information of pausing, obtain a historical card information.The video card of searching storage before the first predetermined amount of time information of pausing, obtains a historical card information.Video card pause information according to the sequential storage of time in client, client can by storage the video card information of pausing obtain unit video fluency.Calculate unit video fluency and need to utilize video card in the first predetermined amount of time information of pausing, and canned data not only comprises that the video card information of pausing in the first predetermined amount of time also comprises video card before the first predetermined amount of time information of pausing in client, therefore need to determine the first predetermined amount of time information before by searching, i.e. a historical card information.
Search storage before the first Preset Time section the video card information of pausing can according to time sequencing from video card pause information table start foremost search, also can adopt the methods such as binary search to search.The value of the first predetermined amount of time can be preferably a minute rank according to user's the setting that needs, and can more accurately reflect the fluency of current video.
Removing module is for the deleting history card information of pausing, and obtains video card in the first predetermined amount of time information of pausing.After finding a historical card information, the video card that can distinguish the first predetermined amount of time pause information and a historical card information, pause history card after information deletion, obtains video card in the first predetermined amount of time information of pausing.
Logging modle is for recording video card in the first predetermined amount of time information of pausing.When deleting history card pauses information, the information of pausing of the video card in the first predetermined amount of time of obtaining of record.
Owing to surpassing the history card information of pausing of the first predetermined amount of time, be all removed, each playing duration while calculating unit video fluency is all the first predetermined amount of time of fixing, therefore only need be by video card number of times and the video card total duration calculation of pausing of pausing when calculating unit video fluency.
Preferably, in order to calculate the average video fluency of a plurality of clients, this video fluency calculation processing apparatus also comprises transmitting element and the second computing unit, wherein, transmitting element is for sending unit video fluency to server at interval of the second predetermined amount of time, the second computing unit is for calculating the average video fluency of a plurality of clients according to unit video fluency at interval of the second Preset Time section.
Transmitting element sends unit video fluency at interval of the second predetermined amount of time to server, server receives at interval of the second predetermined amount of time the unit video fluency that transmitting element is sent, because transmission cycle of transmitting element is identical with the receiving cycle of server, in one-period, each client only serviced device statistics once, has been avoided a large amount of duplicate removal computings.For example, first scheduled time was 5 minutes, and second scheduled time was 1 minute, and client retains the video card information of pausing in before current time 5 minutes, by the information deletion that pauses of the video card before 5 minutes.Suppose that current time is the 5th minute, the video card information of pausing that current time sends is the information of pausing of the video card in zero minutes to the five minutes, and the video card information of pausing that after one minute, the 6th minute client sends is the video card of first minute to the 6th minute information of pausing.
After client is sent to server by unit video fluency, server only need be added up the summation of the number of client and the unit video fluency that all clients are sent, and by the summation of unit video fluency, divided by the number of client, can access the average video fluency of a plurality of clients.
Client matches with server and has reduced the amount of calculation of average video fluency, by unified data, sends and computing cycle, can guarantee that each client is only added up once, has improved the accuracy rate of calculating average video fluency.
Fig. 5 is according to the schematic diagram of the video fluency calculation processing apparatus of second embodiment of the invention.As described in Figure, this video fluency calculation processing apparatus comprises receiving element 11, statistic unit 22 and the 3rd computing unit 33.
Receiving element 11 is for receiving the unit video fluency from a plurality of clients, and wherein, unit video fluency is the client records video card information of pausing, and calculates according to the video card information of pausing.
Unit video fluency can be the video fluency of client in current slot, in enough hour of the time period of current slot, can think that unit video fluency is real-time video fluency.Client is according to the card information of pausing of record, determines total duration that in number of times that this client video card pauses and certain hour, video card pauses.The number of times that video card pauses is more, and unit video fluency is lower, and total duration that video card pauses is longer, and the fluency of unit video is also lower.
Receiving element 11 receives the unit video fluency of a plurality of clients at interval of second scheduled time, a plurality of clients send unit video fluency at interval of second scheduled time, the receiving element 11 and the client that are server have the unified data transmit-receive cycle, guarantee that the unit video fluency that receiving element 11 receives is only added up once.
Statistic unit 22 is for adding up the number of a plurality of clients.Because server and client side has the unified data transmit-receive cycle, therefore, the number of the unit video fluency that the statistic unit 22 of server is received by statistics just can obtain the number of client.Statistic unit 22 statistics a plurality of clients number in, the summation that can also add up the unit video fluency of a plurality of clients.In the process of summation of adding up the number of a plurality of clients and the unit video fluency of a plurality of clients, without each unit video fluency of judgement, come from which client, reduced deal with data workload, improved computational speed.
The 3rd computing unit 33 is for calculating the average video fluency of a plurality of clients according to the number of the unit video fluency of a plurality of clients receiving and the client of statistics.
The 3rd computing unit 33 can be processed the unit video fluency of a plurality of clients, calculates the average video fluency of a plurality of clients.It can be the number divided by a plurality of clients by the summation of the unit video fluency of a plurality of clients that the unit video fluency of 33 pairs of a plurality of clients of the 3rd computing unit is processed, thereby obtains average video fluency.By the average video fluency of a plurality of clients, can determine the fluency of the video playback of whole network.
Pass through said apparatus, server only need to be determined to the unit video fluency of a plurality of clients that receive the summation of the number of client and the unit video fluency of a plurality of clients, thereby reduced the calculating of server, saved the Internet resources of server and client communication.
It should be noted that, in the step shown in the flow chart of accompanying drawing, can in the computer system such as one group of computer executable instructions, carry out, and, although there is shown logical order in flow process, but in some cases, can carry out shown or described step with the order being different from herein.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in storage device and be carried out by calculation element, or they are made into respectively to each integrated circuit modules, or a plurality of modules in them or step are made into single integrated circuit module to be realized.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a video fluency computation processing method, is characterized in that, comprising:
The client records video card information of pausing;
Described client is calculated unit video fluency according to the described video card information of pausing; And
Described client sends described unit video fluency to server, and wherein, described server calculates the average video fluency of a plurality of described clients according to described unit video fluency.
2. video fluency computation processing method according to claim 1, is characterized in that,
The client records video card information of pausing comprises: record described video card in the first predetermined amount of time information of pausing;
Client is calculated unit video fluency according to the described video card information of pausing and is comprised: according to the pause time span of information and described the first predetermined amount of time of the described video card of record, obtain described unit video fluency.
3. video fluency computation processing method according to claim 2, is characterized in that, the described video card information of pausing recording in the first predetermined amount of time comprises:
Store in chronological order the described video card information of pausing;
The described video card of searching storage before described the first predetermined amount of time information of pausing, obtains a historical card information;
Delete a described historical card information, obtain described video card in described the first predetermined amount of time information of pausing; And
Record described video card in described the first predetermined amount of time information of pausing.
4. video fluency computation processing method according to claim 1, is characterized in that,
Described client sends described unit video fluency to server and comprises: described client sends described unit video fluency to described server at interval of the second predetermined amount of time;
The average video fluency that described server calculates a plurality of described clients according to described unit video fluency comprises: described server calculates the average video fluency of a plurality of described clients according to described unit video fluency at interval of the second Preset Time section.
5. a video fluency computation processing method, is characterized in that, comprising:
Server receives the unit video fluency from a plurality of clients, and wherein, described unit video fluency is the described client records video card information of pausing, and calculates according to the described video card information of pausing;
The number of the described a plurality of clients of described server statistics; And
Described server calculates the average video fluency of a plurality of described clients according to the number of the unit video fluency of described a plurality of clients receiving and the described client of statistics.
6. a video fluency calculation processing apparatus, is characterized in that, comprising:
Record cell, for the recording of video card information of pausing;
The first computing unit, calculates unit video fluency for the information of pausing according to described video card; And
Transmitting element, for sending described unit video fluency to server, wherein, described server calculates the average video fluency of a plurality of described clients according to described unit video fluency.
7. video fluency calculation processing apparatus according to claim 6, is characterized in that,
Described record cell is also for recording described video card in the first predetermined amount of time information of pausing;
Described the first computing unit also obtains described unit video fluency for the time span of pause according to the described video card of record information and described the first predetermined amount of time.
8. video fluency calculation processing apparatus according to claim 7, is characterized in that, described record cell comprises:
Memory module, for storing in chronological order the described video card information of pausing;
Search module, for searching the described video card of storage before described the first predetermined amount of time information of pausing, obtain a historical card information;
Removing module, for deleting a described historical card information, obtains described video card in described the first predetermined amount of time information of pausing; And
Logging modle, for recording described video card in described the first predetermined amount of time information of pausing.
9. video fluency calculation processing apparatus according to claim 6, is characterized in that, described video fluency calculation processing apparatus also comprises:
Transmitting element, for sending described unit video fluency to described server at interval of the second predetermined amount of time;
The second computing unit, for calculating the average video fluency of a plurality of described clients according to described unit video fluency at interval of the second Preset Time section.
10. a video fluency calculation processing apparatus, is characterized in that, comprising:
Receiving element, for receiving the unit video fluency from a plurality of clients, wherein, described unit video fluency is the described client records video card information of pausing, and calculates according to the described video card information of pausing;
Statistic unit, for adding up the number of described a plurality of clients; And
The 3rd computing unit, for calculating the average video fluency of a plurality of described clients according to the number of the unit video fluency of described a plurality of clients receiving and the described client of statistics.
CN201310522860.7A 2013-10-29 2013-10-29 Method and device for calculating and processing video smoothness Active CN103561354B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310522860.7A CN103561354B (en) 2013-10-29 2013-10-29 Method and device for calculating and processing video smoothness

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310522860.7A CN103561354B (en) 2013-10-29 2013-10-29 Method and device for calculating and processing video smoothness

Publications (2)

Publication Number Publication Date
CN103561354A true CN103561354A (en) 2014-02-05
CN103561354B CN103561354B (en) 2017-02-08

Family

ID=50015485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310522860.7A Active CN103561354B (en) 2013-10-29 2013-10-29 Method and device for calculating and processing video smoothness

Country Status (1)

Country Link
CN (1) CN103561354B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079926A (en) * 2014-07-04 2014-10-01 南京富士通南大软件技术有限公司 Video performance testing method for remote desktop software
CN104410878A (en) * 2014-12-05 2015-03-11 北京国双科技有限公司 Method and device for detecting video Caton time distribution
CN104486092A (en) * 2014-12-15 2015-04-01 北京国双科技有限公司 Data monitoring method and device
CN104811751A (en) * 2015-04-28 2015-07-29 深圳市优网科技有限公司 Streaming media playing blockage pause recognition method and streaming media playing blockage pause recognition device
CN105100785A (en) * 2014-04-21 2015-11-25 展讯通信(上海)有限公司 Smoothness test method and device
CN106559707A (en) * 2015-09-29 2017-04-05 华为技术有限公司 Video quality detection method, device and Quality management center
CN106851341A (en) * 2015-12-04 2017-06-13 中国电信股份有限公司 Method and mobile terminal for measuring Internet video delivery quality
CN108270738A (en) * 2016-12-30 2018-07-10 北京华为数字技术有限公司 A kind of method for processing video frequency and the network equipment
CN108270750A (en) * 2016-12-30 2018-07-10 北京国双科技有限公司 CDN switching methods, client and server
CN109769131A (en) * 2017-11-09 2019-05-17 中国移动通信有限公司研究院 A kind of video quality monitoring method and set-top box
WO2023024986A1 (en) * 2021-08-23 2023-03-02 北京字跳网络技术有限公司 Method, apparatus, device, and medium for determining video smoothness

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977116A (en) * 2010-10-28 2011-02-16 杭州华三通信技术有限公司 Flow charging method and client side
CN103024598A (en) * 2013-01-10 2013-04-03 深信服网络科技(深圳)有限公司 Device and method for acquiring network video playing fluency

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977116A (en) * 2010-10-28 2011-02-16 杭州华三通信技术有限公司 Flow charging method and client side
CN103024598A (en) * 2013-01-10 2013-04-03 深信服网络科技(深圳)有限公司 Device and method for acquiring network video playing fluency

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100785A (en) * 2014-04-21 2015-11-25 展讯通信(上海)有限公司 Smoothness test method and device
CN104079926A (en) * 2014-07-04 2014-10-01 南京富士通南大软件技术有限公司 Video performance testing method for remote desktop software
CN104410878A (en) * 2014-12-05 2015-03-11 北京国双科技有限公司 Method and device for detecting video Caton time distribution
CN104486092B (en) * 2014-12-15 2018-04-06 北京国双科技有限公司 Data monitoring method and device
CN104486092A (en) * 2014-12-15 2015-04-01 北京国双科技有限公司 Data monitoring method and device
CN104811751A (en) * 2015-04-28 2015-07-29 深圳市优网科技有限公司 Streaming media playing blockage pause recognition method and streaming media playing blockage pause recognition device
CN104811751B (en) * 2015-04-28 2018-08-28 深圳市优网科技有限公司 A kind of interim card recognition methods when streaming media playing and device
WO2017054553A1 (en) * 2015-09-29 2017-04-06 华为技术有限公司 Video quality detection method and apparatus, and service quality management centre
CN106559707A (en) * 2015-09-29 2017-04-05 华为技术有限公司 Video quality detection method, device and Quality management center
CN106851341A (en) * 2015-12-04 2017-06-13 中国电信股份有限公司 Method and mobile terminal for measuring Internet video delivery quality
CN106851341B (en) * 2015-12-04 2019-05-31 中国电信股份有限公司 For measuring the method and mobile terminal of network video delivery quality
CN108270738A (en) * 2016-12-30 2018-07-10 北京华为数字技术有限公司 A kind of method for processing video frequency and the network equipment
CN108270750A (en) * 2016-12-30 2018-07-10 北京国双科技有限公司 CDN switching methods, client and server
CN109769131A (en) * 2017-11-09 2019-05-17 中国移动通信有限公司研究院 A kind of video quality monitoring method and set-top box
WO2023024986A1 (en) * 2021-08-23 2023-03-02 北京字跳网络技术有限公司 Method, apparatus, device, and medium for determining video smoothness

Also Published As

Publication number Publication date
CN103561354B (en) 2017-02-08

Similar Documents

Publication Publication Date Title
CN103561354A (en) Method and device for calculating and processing video smoothness
CN106155780B (en) node election method and device based on time
CN105872837B (en) User's recommended method and device
US20210385510A1 (en) Live stream playback video generation method, device and apparatus
US10482084B2 (en) Optimized merge-sorting of data retrieved from parallel storage units
CN102668456A (en) Method and system for adapting a session timeout period
CN105916030A (en) Method, device and system for recording breakpoint information of video on demand
CN112492370A (en) Progress bar display method and device, computer equipment and readable storage medium
US20160328265A1 (en) User-centered task scheduling for multi-screen viewing in cloud computing environment
CN110300188A (en) Data transmission system, method and apparatus
CN105005585A (en) Log data processing method and device
CN110008187B (en) File transmission scheduling method, device, equipment and computer readable storage medium
CN107306283B (en) Data synchronization method and device
CN111523920A (en) Information pushing method and device and terminal equipment
CN104168174A (en) Method and apparatus for information transmission
US20160253591A1 (en) Method and apparatus for managing performance of database
CN104853231B (en) Information processing method, equipment and system
CN114520773B (en) Service request response method, device, server and storage medium
US20150236987A1 (en) Device, method and non-transitory computer readable storage medium for performing instant message communication
CN112019445B (en) Method and device for controlling flow of intelligent equipment and intelligent equipment
CN111343152B (en) Data processing method and device, electronic equipment and storage medium
CN109510774B (en) Method for realizing flow control in data synchronization process
CN112491939B (en) Multimedia resource scheduling method and system
CN104506892A (en) Data adjustment method and device
CN110865877A (en) Task request response method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Method and device for calculating and processing video smoothness

Effective date of registration: 20190531

Granted publication date: 20170208

Pledgee: Shenzhen Black Horse World Investment Consulting Co.,Ltd.

Pledgor: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

Registration number: 2019990000503

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Patentee after: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

Address before: 100086 Beijing city Haidian District Shuangyushu Area No. 76 Zhichun Road cuigongfandian 8 layer A

Patentee before: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

PP01 Preservation of patent right

Effective date of registration: 20240604

Granted publication date: 20170208