CN106488256A - A kind of data processing method and device - Google Patents

A kind of data processing method and device Download PDF

Info

Publication number
CN106488256A
CN106488256A CN201510524181.2A CN201510524181A CN106488256A CN 106488256 A CN106488256 A CN 106488256A CN 201510524181 A CN201510524181 A CN 201510524181A CN 106488256 A CN106488256 A CN 106488256A
Authority
CN
China
Prior art keywords
video
video playback
duration
broadcast information
described video
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
CN201510524181.2A
Other languages
Chinese (zh)
Other versions
CN106488256B (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 CN201510524181.2A priority Critical patent/CN106488256B/en
Publication of CN106488256A publication Critical patent/CN106488256A/en
Application granted granted Critical
Publication of CN106488256B publication Critical patent/CN106488256B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • H04N21/2353Processing of additional data, e.g. scrambling of additional data or processing content descriptors specifically adapted to content descriptors, e.g. coding, compressing or processing of metadata
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Library & Information Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of data processing method and device, it is related to internet arena, be required for from initial time, the played data of video being counted during the average playing duration solving each statistics video, cause the problem that treatment effeciency is low.The method of the present invention includes:Obtain the broadcast information of video, the broadcast information of described video includes:Video playback ID, broadcasting program ID, video playback sequence number SN, video playback duration, video playback channel;Broadcast information in broadcast information according to described video and data dictionary, determines playing duration increment and the accumulation broadcasting time of described video;Playing duration increment according to described video and accumulation broadcasting time, calculate the average playing duration of described video.Present invention is mainly used for the statistics of video playback information.

Description

A kind of data processing method and device
Technical field
The present invention relates to internet arena, more particularly to a kind of data processing method and device.
Background technology
With the development of the Internet, people are increasingly accustomed in mobile terminal or computer end (personal Computer, abbreviation PC) viewing Internet video.Can be by embedding website during viewing video Or SDK (the Software in application program (Application, abbreviation APP) Development Kit, abbreviation SDK) or JavaScript code to server send user viewing row For data, user watch generally comprise in behavioral data the program ID of user's viewing, broadcasting channel, The information such as play sequence number, playing duration, so that server can watch behavior number according to user Obtain video playback situation according to carrying out statistics and analysis.
In the prior art, server carries out the analysis mode of user's viewing behavioral data mainly by pre- First the user's viewing behavioral data receiving is preserved, then to the user's viewing behavior being preserved The reproduction time of data is parsed, to determine query time, and then according to determined by query time To analyze user's viewing behavioral data.
For example, generally in the live average playing duration of statistics primary video, server can be reception To each user viewing behavioral data preserve, with the live time started as starting point, to look into The time asking data is terminal, the playing duration summation of each user receiving, calculates and averagely broadcasts Put duration.For example, 13 points start to count, 13:30、14:00、14:30 carry out inquiry meter respectively Calculate, then 13:30 moment is 13:00-13:30 whole played data collect calculating, obtain Accumulative playing duration;14:00 moment is 13:00-14:00 whole played data collect meter Calculate, obtain accumulative playing duration, 14:30 moment is 13:00-14:30 whole broadcasting numbers According to collecting calculating, obtain accumulative playing duration.
Prior art existing defects:During due to inquiring about to the played data of video every time, server It is required for again starting statistical computation played data from initial time, thus waste the substantial amounts of time leading Cause treatment effeciency low.
Content of the invention
In view of this, the present invention proposes a kind of data processing method and device, and main purpose is to solve It is required for from initial time, the played data of video being entered during the average playing duration certainly counting video every time Row statistics, causes the problem that treatment effeciency is low.
According to the first aspect of the invention, the invention provides a kind of data processing method, the method It is mainly used in statistical server side, including:
Obtain the broadcast information of video, the broadcast information of video includes:Video playback ID, broadcasting program ID, video playback sequence number SN, video playback duration, video playback channel;
Broadcast information in broadcast information according to video and data dictionary, determines the playing duration of video Increment and accumulation broadcasting time;
Playing duration increment according to video and accumulation broadcasting time, calculate the average playing duration of video.
According to the second aspect of the invention, the invention provides a kind of data processing equipment, this device It is mainly used in statistical server side, including:
Obtaining unit, for obtaining the broadcast information of video, the broadcast information of video includes:Video is broadcast Put ID, play program ID, video playback sequence number SN, video playback duration, video playback channel;
Determining unit, in the broadcast information of video that obtained according to obtaining unit and data dictionary Broadcast information, determines playing duration increment and the accumulation broadcasting time of video;
Computing unit, the playing duration increment of the video for being determined according to determining unit is play with accumulation Number of times, calculates the average playing duration of video.
By technique scheme, data processing method provided in an embodiment of the present invention and device, can And combined in the data dictionary of its own according to the broadcast information of each video obtaining by statistical server The broadcast information of record determines playing duration increment and the accumulation broadcasting time of video in real time, will be true every time The playing duration increment of fixed video and accumulation broadcasting time record in data dictionary, thus to data The broadcast information of the video in dictionary is updated, when needing to calculate the average playing duration of a certain video When, this can be calculated according to the playing duration increment of this video in data dictionary and accumulation broadcasting time and regard The average playing duration of frequency.With in prior art calculate video average playing duration when treatment effeciency low Under defect compare, the present invention, by way of the real-time playing duration increment calculating video, can keep away Exempt from the data having calculated before double counting during the average playing duration calculating video every time, reduce The waiting time calculating, improve the efficiency of the average playing duration calculating video.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the present invention's Technological means, and being practiced according to the content of description, and in order to allow the above-mentioned of the present invention and Other objects, features and advantages can become apparent, below especially exemplified by the specific embodiment of the present invention.
Brief description
By reading the detailed description of hereafter preferred implementation, various other advantages and benefit for Those of ordinary skill in the art will be clear from understanding.Accompanying drawing is only used for illustrating the mesh of preferred implementation , and it is not considered as limitation of the present invention.And in whole accompanying drawing, with identical with reference to symbol Number represent identical part.In the accompanying drawings:
The flow chart that Fig. 1 shows a kind of data processing method provided in an embodiment of the present invention;
Fig. 2 shows a kind of composition frame chart of data processing equipment provided in an embodiment of the present invention;
Fig. 3 shows a kind of composition frame chart of data processing equipment provided in an embodiment of the present invention.
Specific embodiment
It is described more fully the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although in accompanying drawing Show the exemplary embodiment of the disclosure it being understood, however, that may be realized in various forms this public affairs Open and should not be limited by embodiments set forth here.On the contrary, these embodiments are provided to be able to It is best understood from the disclosure, and can be by the skill conveying to this area complete for the scope of the present disclosure Art personnel.
, when counting the average playing duration of primary video, server can be receiving for existing mode Each user's viewing behavioral data preserves, with the time started of broadcasting as starting point, to inquire about number According to time be terminal, the summation of the playing duration of each user receiving, when calculating average broadcasting Long.But when every time the played data of video being inquired about, server is required for again when initial Between start statistical computation played data, lead to treatment effeciency low thus wasting the substantial amounts of time.
In order to solve to be required for from initial time to video during the average playing duration counting video every time Played data is counted, and causes the problem that treatment effeciency is low, embodiments provides one kind Data processing method, the method is mainly used in statistical server side, as shown in figure 1, the method Including:
101st, obtain the broadcast information of video.
Generally during user's viewing video, substantial amounts of viewing behavioral data, this viewing can be produced Behavioral data includes the broadcast information of this video a large amount of, as video playback ID, broadcasting program ID, regards Frequency plays sequence number SN, video playback duration, video playback channel etc., by watching behavior number to user It is analyzed according to the information being comprised, average playing duration, this video of such as this video can be obtained Broadcasting time, broadcasting peak period of this video etc..Therefore, the embodiment of the present invention is calculating video Average playing duration when, need execution step 101 obtain video broadcast information.
102nd, the broadcast information in the broadcast information according to video and data dictionary, determines the broadcasting of video Duration increment and accumulation broadcasting time.
In embodiments of the present invention, data dictionary can have the data of log history video playback information Table, wherein, data dictionary generally can comprise various video playback information, such as video playback ID, broadcast Put the information such as program ID, video playback duration, video playback sequence number SN, video playback channel.Therefore Remember it is necessary to combine in this data dictionary after the broadcast information obtaining video in a step 101 every time The video playback information of record, by video playback ID, video playback sequence number SN, video playback duration Etc. comparison and the calculating of information, determine playing duration increment and the accumulation broadcasting time of video in real time.
103rd, the playing duration increment according to video and accumulation broadcasting time, calculates the average broadcasting of video Duration.
After the playing duration increment determining video in a step 102 and accumulation broadcasting time, permissible Playing duration increment according to this video and accumulation broadcasting time, public by the calculating of average playing duration Formula calculates the average playing duration of video.
Data processing method provided in an embodiment of the present invention, can be according to the broadcasting of each video obtaining The information broadcast information with reference to record in the data dictionary of its own determines the playing duration of video in real time Increment and accumulation broadcasting time, by the playing duration increment of each video determining and accumulation broadcasting time Record in data dictionary, thus being updated to the broadcast information of the video in data dictionary, when need Calculate a certain video average playing duration when, can be according in data dictionary during the broadcasting of this video Long increment and accumulation broadcasting time calculate the average playing duration of this video.Regard with calculating in prior art During the average playing duration of frequency, the low defect for the treatment of effeciency is compared, and the present invention passes through real-time calculating video Playing duration increment mode, it can be avoided that repeating when calculating every time the average playing duration of video to count The data having calculated before calculation, decreases the waiting time of calculating, improves and calculates the flat of video The efficiency of equal playing duration.
In order to preferably understand to the method shown in above-mentioned Fig. 1, the embodiment of the present invention will be for Fig. 1 In each step be described in detail.
User's viewing behavioral data due to comprising video playback information is to produce in client, therefore The source of the video playback information that statistical server obtains is client.In embodiments of the present invention, may be used By the broadcast information by obtaining video in the way of different.
As a kind of optional embodiment, executive agent (i.e. below referred to as unite by statistical server Meter server) user's viewing behavioral data that client produces and sends, this data can be directly obtained Form can be form that client software developing instrument is adopted or executive agent processing routine shifts to an earlier date The format specification providing.For example, if the data form that statistical server specifies in advance is json form, So statistical server can utilize JavaScript eval () function according to json form, that is, calculate word Symbol string function watches behavioral data to the user of json form {"playid":"024c06ea24a","channel":"cctv1","playtime":14 } carry out inverted sequence Rowization operate, and obtain the broadcast information of the video of user's viewing, including playid:024c06ea24a、 channel:cctv1、playtime:14.Certainly, user's viewing behavioral data that client sends removes Outside the json form of the example above, also there is the extended formattings such as key-value, statistical server meeting Grasped by calling each function pair user to watch behavioral data according to pre-set format specification Make, obtain the broadcast information that user watches video.
As another kind of optional embodiment, embodiments provide the reception server, by connecing Receive server and receive user's viewing behavioral data that client produces and sends, and by as above Mode watches, from user, the broadcast information obtaining video behavioral data.Therefore in this embodiment, Statistical server can obtain the broadcast information of video from the reception server it is not necessary to as above-mentioned embodiment party Formula watches, from user, the broadcast information obtaining video behavioral data like that.
Further, include substantial amounts of video in the user's viewing behavioral data producing due to client Broadcast information, therefore statistical server need according to demand the video playback information obtaining to be screened, The broadcasting configuration information of video first to be obtained from video playback information before screening, this broadcasting configures Information includes:Play program ID, broadcasting channel, play start time, play end time etc., when When the broadcasting configuration information of this video is matched with the broadcasting configuration information of statistical server pre-stored, obtain Obtain the broadcast information of this video.
Aforesaid way is by statistical server, the video playback information obtaining to be screened, certainly, The embodiment of the present invention can also be screened to video playback information by the reception server, likewise, After the reception server obtains video playback information from user's viewing behavioral data that client produces, First obtain the broadcasting configuration information of this video, only when broadcasting configuration information and the statistical fractals of this video The broadcasting of this video when the broadcasting configuration information of device pre-stored matches, just can be sent to statistical server Information.Therefore, the embodiment party with above-mentioned statistical server, the video playback information obtaining being screened Formula is different, and by present embodiment, statistical server can directly obtain through sieving from the reception server The broadcast information of the video of choosing.
In the above-mentioned embodiment with the reception server, the reception server can obtain video Directly the broadcast information of this video is sent to statistical server after broadcast information, certain present invention is implemented Example can also send start mark from statistical server to the reception server, points out the reception server receiving Start to send the broadcast information of video to statistical server to after start mark.When statistical server is regarding The forward direction the reception server of the play start time of frequency sends start mark, it is hereby achieved that receiving clothes Whole broadcast information of this video that business device sends, when statistical server certain a period of time after video starts Between to the reception server send start mark, it is hereby achieved that the reception server send this video Broadcast information in one time period.
In embodiments of the present invention, when client replays video every time, system can be divided for client Join the video in a Customs Assigned Number (User Identification, abbreviation UID) i.e. the present embodiment Play ID, therefore when video playback ID in a large amount of broadcast information that statistical server receives certain video When identical, illustrate that these video playback information belong to the video display process of one-time continuous, broadcasting time Do not increase;When client terminal playing video is cut off and is play this video again after a period of time, system meeting Reallocate video playback ID for client, now this newly assigned video playback ID is with before Video playback ID is different, illustrates that these video playback information belong to different video display process, plays Number of times increases by 1.
Based on above-mentioned principle, embodiments provide a kind of embodiment, statistical server according to Broadcast information in the broadcast information of video obtaining and data dictionary determines the playing duration increment of video With accumulation broadcasting time.Wherein, data dictionary is that one of the present embodiment statistical server can be visited The record data table asked, its content can be automatically updated by statistical server.Determine video broadcasting when The implementation procedure of long increment and accumulation broadcasting time is as follows:
A, statistical server obtain video playback ID and its corresponding video in the broadcast information of video Playing duration T1With video playback sequence number SN1.
After statistical server obtains the broadcast information of video, first have to therefrom obtain video playback ID And its corresponding video playback duration T1With video playback sequence number SN1, wherein video playback ID is used for sentencing Break this video broadcast information belong to before a video display process, still fall within new one and regard Frequency playing process;Video playback duration T1For calculating the playing duration in same video display process Increment or for representing playing duration increment in a new video display process;Video playback sequence Number SN1For representing the sequencing of the video playback information in same video display process, previous bar The video playback sequence number of the video playback information of data is less than regarding of the video playback information of a rear data Frequency plays sequence number.
B, the broadcast information in data dictionary is searched this video playback ID whether there is.
After statistical server gets video playback ID, needs are searched this video in data dictionary and are broadcast Put ID whether there is, if this video playback ID is not present in data dictionary, execution step C;If This video playback ID is present in data dictionary, then execution step D.
C, by this video playback ID and its corresponding video playback duration T1With video playback sequence number SN1 In insertion data dictionary, the accumulation broadcasting time of this video in data dictionary is added 1.
Because this video playback ID is not present in data dictionary, show that this video playback information belongs to New primary video playing process, total broadcasting time of this video increases by 1 time, i.e. the accumulation of this video Broadcasting time adds 1, simultaneously by this video playback ID and its corresponding video playback duration T1Broadcast with video Put sequence number SN1In insertion data dictionary.
D, obtain this video playback ID corresponding video playback duration T in data dictionary2Broadcast with video Put sequence number SN2;Work as SN1More than SN2When, by this video playback ID corresponding video playback duration T1Subtract Remove this video playback ID corresponding video playback duration T in data dictionary2, obtain the broadcasting of this video Duration increment, and according to this video playback ID corresponding video playback duration T1, video playback sequence number SN1 And the playing duration increment of calculated this video, the broadcast information of this video in data dictionary is entered Row updates, wherein it is possible to by the playing duration increment accumulation of this video calculated to data dictionary In this video accumulation playing duration increment in;Work as SN1Less than or equal to SN2When, it is somebody's turn to do in data dictionary The broadcast information of video is not updated, and the playing duration increment of this video is 0.
Because this video playback ID is present in data dictionary, show broadcast information and the data of this video The broadcast information of this video in dictionary belongs to same video display process, the broadcasting time of this video Do not increase it is only necessary to the playing duration increment that calculates between this two video playback information it is therefore desirable to Obtain this video playback ID corresponding video playback duration T in data dictionary2With video playback sequence number SN2.Because in same video display process, video playback sequence number has magnitude relationship, latter one regards The video playback sequence number of frequency broadcast information is more than the video playback sequence number of previous bar video playback information, because This needs video playback sequence number SN in data dictionary2The video playback sequence obtaining with statistical server Number SN1It is compared, work as SN1More than SN2When, the broadcasting letter of this video that statistical server obtains is described Cease for the rear information in same video display process, the playing duration increment of this video can lead to Cross SN1Corresponding video playback duration T1Deduct SN2Corresponding video playback duration T2Obtain.Work as SN1 Less than or equal to SN2When, illustrate that the order of this two video playback information is wrong, the playing duration of this video Increment is 0.
When after the playing duration increment obtaining video by above-mentioned embodiment and accumulation broadcasting time, root According to formula accumulation playing duration increment/accumulation broadcasting time, the average playing duration of video can be calculated. Wherein, accumulation playing duration increment is each playing duration increment sum, is calculated by statistical server Arrive, it can record in data dictionary, certainly when obtaining the playing duration increment of video every time, In real time the accumulation of playing duration increment accumulation this video in data dictionary of video can also be play In the field of duration increment, final statistical server can also be according to the accumulation of this video in data dictionary Playing duration increment and accumulation broadcasting time calculate the average playing duration of this video.
Need exist for illustrating, the video described in each embodiment above includes multiple types Video, including but not limited to:Live video, order video, playback video.
The embodiment of the present invention can be to the video playback letter obtaining by default video playback configuration information Breath is filtered, and only obtains and plays the video playback information that configuration information matches, thus ensure that Statistical server can optionally obtain the broadcast information of some videos according to business demand and calculate it Average playing duration.Additionally, by will be real-time for the playing duration increment of this video calculated every time It is added in the accumulation playing duration delta field of this video in data dictionary so that statistical server energy Enough directly this video is calculated according to the accumulation playing duration increment in data dictionary and accumulation broadcasting time Average playing duration, it is to avoid when calculating the average playing duration of video broadcast each to this video of Put duration increment to be sued for peace, improve computational efficiency.
Further, as the application to method shown in above-mentioned Fig. 1, embodiments provide one Plant data processing equipment, this device is usually located in statistical server but it is also possible to take independent of statistics Business device but with statistical server, there is data interaction relation.As shown in Fig. 2 this device includes:Obtain Unit 21, determining unit 22 and computing unit 23, wherein,
Obtaining unit 21, for obtaining the broadcast information of video, the broadcast information of video includes:Video Play ID, play program ID, video playback sequence number SN, video playback duration, video playback channel;
Determining unit 22, for the broadcast information of video that obtained according to obtaining unit 21 and data dictionary In broadcast information, determine playing duration increment and the accumulation broadcasting time of video;
Computing unit 23, for the playing duration increment of video that determined according to determining unit 22 and accumulation Broadcasting time, calculates the average playing duration of video.
Further, obtaining unit 21 is used for obtaining the broadcasting configuration information of video;Broadcasting when video When the broadcasting configuration information of configuration information and pre-stored matches, obtain the broadcast information of video;Wherein, Play configuration information to include:Play program ID, broadcasting channel, play start time, at the end of broadcasting Between.
Further, as shown in figure 3, determining unit 22 includes:
Acquisition module 221, for obtaining video playback ID in the broadcast information of video and its corresponding Video playback duration T1With video playback sequence number SN1
Whether searching modul 222, for searching video playback ID in the broadcast information in data dictionary Exist;
Update module 223, for when video playback ID is not present in data dictionary, video being broadcast Put ID and its corresponding video playback duration T1With video playback sequence number SN1In insertion data dictionary, will The accumulation broadcasting time of the video in data dictionary adds 1;
Acquisition module 221 is additionally operable to, when video playback ID is present in data dictionary, obtain video and broadcast Put ID corresponding video playback duration T in data dictionary2With video playback sequence number SN2
Computing module 224, for working as SN1More than SN2When, by the corresponding video playback of video playback ID Duration T1Deduct video playback ID corresponding video playback duration T in data dictionary2, calculate video Playing duration increment;
Update module 223 is additionally operable to according to video playback ID corresponding video playback duration T1, video broadcasts Put sequence number SN1And the playing duration increment calculating, the broadcast information of the video in data dictionary is carried out Update.
Further, computing unit 23 is used for the playing duration increment of video is carried out being accumulated Playing duration increment;By video accumulation playing duration increment divided by video accumulation broadcasting time, meter Calculate the average playing duration of video.
Data processing equipment provided in an embodiment of the present invention, can be obtained according to each by statistical server The broadcast information of video determining in real time with reference to the broadcast information of record in the data dictionary of its own regard The playing duration increment of frequency and accumulation broadcasting time, by the playing duration increment of each video determining and Accumulation broadcasting time record is in data dictionary, thus entering to the broadcast information of the video in data dictionary Row updates, and when the average playing duration needing to calculate a certain video, can be somebody's turn to do according in data dictionary The playing duration increment of video and accumulation broadcasting time calculate the average playing duration of this video.With existing In technology, during the average playing duration of calculating video, the low defect for the treatment of effeciency is compared, and the present invention passes through Calculate the mode of the playing duration increment of video in real time, it can be avoided that calculating the average broadcasting of video every time The data having calculated before double counting during duration, decreases the waiting time of calculating, improves Calculate the efficiency of the average playing duration of video.
Additionally, the embodiment of the present invention can be to the video obtaining by default video playback configuration information Broadcast information is filtered, and only obtains and plays the video playback information that configuration information matches, thus Ensure that statistical server can according to the selective broadcast information obtaining some videos of business demand simultaneously Calculate its average playing duration.Additionally, by increasing the playing duration of this video calculated every time Amount is added in real time in the accumulation playing duration delta field of this video in data dictionary so that statistics takes Business device can directly calculate according to the accumulation playing duration increment in data dictionary and accumulation broadcasting time should The average playing duration of video, it is to avoid ability is every to this video when calculating the average playing duration of video Secondary playing duration increment is sued for peace, and improves computational efficiency.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have in certain embodiment The part being described in detail, may refer to the associated description of other embodiment.
It is understood that the correlated characteristic in said method and device can mutually reference.In addition, " first ", " second " in above-described embodiment etc. is for distinguishing each embodiment, and does not represent The quality of each embodiment.
Those skilled in the art can be understood that, for convenience and simplicity of description, above-mentioned The specific work process of the system, apparatus, and unit of description, may be referred in preceding method embodiment Corresponding process, will not be described here.
Provided herein algorithm and display not with any certain computer, virtual system or miscellaneous equipment Inherently related.Various general-purpose systems can also be used together with based on teaching in this.According to above Description, the structure constructing required by this kind of system is obvious.Additionally, the present invention is also not for Any certain programmed language.It is understood that, it is possible to use various programming languages realize described here The content of invention, and the description above language-specific done is the optimal reality in order to disclose the present invention Apply mode.
In description mentioned herein, illustrate a large amount of details.It is to be appreciated, however, that Embodiments of the invention can be put into practice in the case of not having these details.In some instances, Known method, structure and technology are not been shown in detail, so as not to obscure the understanding of this description.
Similarly it will be appreciated that in order to simplify the disclosure and help understand in each inventive aspect Individual or multiple, in the description to the exemplary embodiment of the present invention above, each feature of the present invention Sometimes it is grouped together in single embodiment, figure or descriptions thereof.However, should be by The method of the disclosure is construed to reflect following intention:I.e. the present invention for required protection requires ratio at each The more feature of feature being expressly recited in claim.More precisely, as following right will As asking book to be reflected, inventive aspect is all features less than single embodiment disclosed above. Therefore, it then follows claims of specific embodiment are thus expressly incorporated in this specific embodiment, Wherein each claim itself is as the separate embodiments of the present invention.
Those skilled in the art are appreciated that and the module in the equipment in embodiment can be carried out Adaptively change and they are arranged in one or more equipment different from this embodiment. Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and In addition multiple submodule or subelement or sub-component can be divided into.Except such feature and/or Outside at least some of process or unit exclude each other, can be using any combinations to this explanation All features disclosed in book (including adjoint claim, summary and accompanying drawing) and such as the displosure Any method or all processes of equipment or unit be combined.Unless expressly stated otherwise, originally Each feature disclosed in description (including adjoint claim, summary and accompanying drawing) can be by carrying Alternative features for identical, equivalent or similar purpose to replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include Included some features rather than further feature in other embodiments, but the feature of different embodiment Combination mean to be within the scope of the present invention and formed different embodiments.For example, under In the claims in face, embodiment required for protection one of arbitrarily can be in any combination Mode is using.
The all parts embodiment of the present invention can be realized with hardware, or with one or more The software module run on reason device is realized, or is realized with combinations thereof.Those skilled in the art It should be appreciated that can be realized using microprocessor or digital signal processor (DSP) in practice Some in denomination of invention (as determined the device of website internal chaining grade) according to embodiments of the present invention Or some or all functions of whole parts.The present invention is also implemented as execution institute here Description some or all equipment of method or program of device (for example, computer program and Computer program).Such program realizing the present invention can be stored in computer-readable medium On, or can have the form of one or more signal.Such signal can be from the Internet net Download on standing and obtain, or provide on carrier signal, or provided with any other form.
It should be noted that above-described embodiment the present invention will be described rather than the present invention is limited Make, and those skilled in the art can design without departing from the scope of the appended claims Alternative embodiment.In the claims, any reference markss between bracket should not be configured to Limitations on claims.Word "comprising" do not exclude the presence of element not listed in the claims or Step.Word "a" or "an" before element does not exclude the presence of multiple such elements. The present invention can be by means of the hardware including some different elements and by means of properly programmed calculating Machine is realizing.If in the unit claim listing equipment for drying, several in these devices can To be to be embodied by same hardware branch.The use of word first, second, and third Do not indicate that any order.These words can be construed to title.

Claims (7)

1. a kind of data processing method is it is characterised in that methods described includes:
Obtain the broadcast information of video, the broadcast information of described video includes:Video playback ID, broadcasting Program ID, video playback sequence number SN, video playback duration, video playback channel;
Broadcast information in broadcast information according to described video and data dictionary, determines described video Playing duration increment and accumulation broadcasting time;
Playing duration increment according to described video and accumulation broadcasting time, calculate the average of described video Playing duration.
2. method according to claim 1 is it is characterised in that the broadcasting of described acquisition video is believed Breath, including:
Obtain the broadcasting configuration information of described video;
When the broadcasting configuration information of described video is matched with the broadcasting configuration information of pre-stored, obtain The broadcast information of described video;
Wherein, described broadcasting configuration information includes:When playing program ID, broadcasting channel, playing beginning Between, play the end time.
3. method according to claim 1 is it is characterised in that believe according to the broadcasting of described video Broadcast information in breath and data dictionary, determines playing duration increment and the accumulation broadcasting time of described video Number, including:
Obtain video playback ID in the broadcast information of described video and its corresponding video playback duration T1 With video playback sequence number SN1
Search described video playback ID whether there is in the broadcast information in described data dictionary;
If not existing, by described video playback ID and its corresponding video playback duration T1Broadcast with video Put sequence number SN1Insert in described data dictionary, the accumulation of the described video in described data dictionary is play Number of times adds 1;
If existing, obtain described video playback ID in described data dictionary during corresponding video playback Long T2With video playback sequence number SN2
Work as SN1More than SN2When, by described video playback ID corresponding video playback duration T1Deduct described Video playback ID corresponding video playback duration T in described data dictionary2, calculate broadcasting of described video Put duration increment;According to described video playback ID corresponding video playback duration T1, video playback sequence number SN1And the playing duration increment calculating, the broadcast information of the described video in described data dictionary is entered Row updates;
Wherein, the described video in described data dictionary by the playing duration calculating increment accumulation In accumulation playing duration increment;
Work as SN1Less than or equal to SN2When, the broadcast information of the described video in described data dictionary is not entered Row updates, and the playing duration increment of described video is 0.
4. method according to claim 1 is it is characterised in that according to during the broadcasting of described video Long increment and accumulation broadcasting time, calculate the average playing duration of described video, including:
The playing duration increment of described video is carried out cumulative obtain accumulation playing duration increment;
By described video accumulation playing duration increment divided by described video accumulation broadcasting time, calculate The average playing duration of described video.
5. the method according to any one of claim 1-4 it is characterised in that described video at least Including following a kind of:
Live video;
Order video;
Playback video.
6. a kind of data processing equipment is it is characterised in that described device includes:
Obtaining unit, for obtaining the broadcast information of video, the broadcast information of described video includes:Depending on Frequency is play ID, is play program ID, video playback sequence number SN, video playback duration, video playback channel;
Determining unit, for the broadcast information of described video that obtained according to described obtaining unit and data Broadcast information in dictionary, determines playing duration increment and the accumulation broadcasting time of described video;
Computing unit, for the playing duration increment of described video that determined according to described determining unit and Accumulation broadcasting time, calculates the average playing duration of described video.
7. device according to claim 6 is it is characterised in that described determining unit includes:
Acquisition module, for obtaining video playback ID in the broadcast information of described video and its corresponding Video playback duration T1With video playback sequence number SN1
Searching modul, for searching described video playback ID in the broadcast information in described data dictionary Whether there is;
Update module, for when described video playback ID is not present in described data dictionary, by institute State video playback ID and its corresponding video playback duration T1With video playback sequence number SN1Insert described number According in dictionary, the accumulation broadcasting time of the described video in described data dictionary is added 1;
Described acquisition module is additionally operable to, when described video playback ID is present in described data dictionary, obtain Take described video playback ID corresponding video playback duration T in described data dictionary2With video playback sequence Number SN2
Computing module, for working as SN1More than SN2When, by the corresponding video playback of described video playback ID Duration T1Deduct described video playback ID corresponding video playback duration T in described data dictionary2, meter Calculate the playing duration increment of described video;
Described update module is additionally operable to according to described video playback ID corresponding video playback duration T1, regard Frequency plays sequence number SN1And the playing duration increment calculating, to the described video in described data dictionary Broadcast information is updated.
CN201510524181.2A 2015-08-24 2015-08-24 data processing method and device Active CN106488256B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510524181.2A CN106488256B (en) 2015-08-24 2015-08-24 data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510524181.2A CN106488256B (en) 2015-08-24 2015-08-24 data processing method and device

Publications (2)

Publication Number Publication Date
CN106488256A true CN106488256A (en) 2017-03-08
CN106488256B CN106488256B (en) 2019-12-10

Family

ID=58233831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510524181.2A Active CN106488256B (en) 2015-08-24 2015-08-24 data processing method and device

Country Status (1)

Country Link
CN (1) CN106488256B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106941623A (en) * 2017-04-27 2017-07-11 广东小天才科技有限公司 A kind of method and device that video classes quality is evaluated based on big data
CN106954079A (en) * 2017-03-14 2017-07-14 北京潘达互娱科技有限公司 Live record statistical method and device
CN107426614A (en) * 2017-04-21 2017-12-01 深圳市茁壮网络股份有限公司 A kind of video resource Valuation Method and device based on program request scene
CN110213671A (en) * 2019-06-04 2019-09-06 北京奇艺世纪科技有限公司 A kind of short-sighted frequency of hot spot determines method and apparatus
CN110769290A (en) * 2019-11-13 2020-02-07 北京齐尔布莱特科技有限公司 Play event updating method and system and computing device
CN111565335A (en) * 2020-06-01 2020-08-21 中国联合网络通信集团有限公司 Video quality evaluation method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008076538A (en) * 2006-09-19 2008-04-03 Avix Inc Video signboard device and video signboard advertisement system broadcasting advertisement of other company
CN102521247A (en) * 2011-11-14 2012-06-27 上海聚胜万合广告有限公司 Playing time duration statistic method of FLASH advertisement
CN103533454A (en) * 2013-10-29 2014-01-22 北京国双科技有限公司 Detection method and device for video playing fluency
CN103745737A (en) * 2013-12-23 2014-04-23 乐视致新电子科技(天津)有限公司 Method and apparatus for obtaining the total time of media file
CN104270654A (en) * 2014-10-23 2015-01-07 北京国双科技有限公司 Internet video playing and monitoring method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008076538A (en) * 2006-09-19 2008-04-03 Avix Inc Video signboard device and video signboard advertisement system broadcasting advertisement of other company
CN102521247A (en) * 2011-11-14 2012-06-27 上海聚胜万合广告有限公司 Playing time duration statistic method of FLASH advertisement
CN103533454A (en) * 2013-10-29 2014-01-22 北京国双科技有限公司 Detection method and device for video playing fluency
CN103745737A (en) * 2013-12-23 2014-04-23 乐视致新电子科技(天津)有限公司 Method and apparatus for obtaining the total time of media file
CN104270654A (en) * 2014-10-23 2015-01-07 北京国双科技有限公司 Internet video playing and monitoring method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106954079A (en) * 2017-03-14 2017-07-14 北京潘达互娱科技有限公司 Live record statistical method and device
CN107426614A (en) * 2017-04-21 2017-12-01 深圳市茁壮网络股份有限公司 A kind of video resource Valuation Method and device based on program request scene
CN106941623A (en) * 2017-04-27 2017-07-11 广东小天才科技有限公司 A kind of method and device that video classes quality is evaluated based on big data
CN106941623B (en) * 2017-04-27 2019-06-14 广东小天才科技有限公司 A kind of method and device based on big data evaluation video classes quality
CN110213671A (en) * 2019-06-04 2019-09-06 北京奇艺世纪科技有限公司 A kind of short-sighted frequency of hot spot determines method and apparatus
CN110769290A (en) * 2019-11-13 2020-02-07 北京齐尔布莱特科技有限公司 Play event updating method and system and computing device
CN111565335A (en) * 2020-06-01 2020-08-21 中国联合网络通信集团有限公司 Video quality evaluation method and device, computer equipment and storage medium
CN111565335B (en) * 2020-06-01 2021-09-03 中国联合网络通信集团有限公司 Video quality evaluation method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN106488256B (en) 2019-12-10

Similar Documents

Publication Publication Date Title
CN106488256A (en) A kind of data processing method and device
CN108108821B (en) Model training method and device
CN104065565B (en) The method of PUSH message, server, client terminal device and system
CN106484858B (en) hot content pushing method and device
CN107343047A (en) Application system and method
CN108228784A (en) Video recommendation method and device, electronic equipment, storage medium, program
CN109862379A (en) A kind of log processing method, device, mobile terminal and storage medium
CN114840486A (en) User behavior data acquisition method and system and cloud platform
CN110457566A (en) Method, device, electronic equipment and storage medium
CN109905738A (en) Video ads show monitoring method and device, storage medium and electronic equipment extremely
CN108521588A (en) A kind of main broadcaster's arrangement method and system based on time slicing, server and storage medium
CN110929141B (en) Group mining method, device, equipment and storage medium
CN108460633B (en) Method for establishing advertisement audio acquisition and identification system and application thereof
CN106612469A (en) Video sharing method and device
CN108492132B (en) Advertisement monitoring and releasing system and method utilizing audio characteristic identification
CN110096637A (en) Method, apparatus, storage medium and the terminal device that more lists generate
CN109672735A (en) A kind of method, device and equipment of Message Processing
CN108830636B (en) Method and device for inquiring active users
CN111523921B (en) Funnel analysis method, analysis device, electronic device, and readable storage medium
CN108966041A (en) A kind of audio and video playing buries point methods and device
CN106910082A (en) It is a kind of to transfer the method and apparatus that advertisement is pushed
CN111064996B (en) Method, system and storage medium for identifying user watching video content preference
CN107871021B (en) Method and device for obtaining identification features of webpage search keywords
CN110825609B (en) Service testing method, device and system
CN109769027A (en) A kind of information push method, device and equipment

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
CB02 Change of applicant information
CB02 Change of applicant information

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

Applicant after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing

Applicant before: Beijing Guoshuang Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant