CN109587526A - The processing method and processing device of data - Google Patents

The processing method and processing device of data Download PDF

Info

Publication number
CN109587526A
CN109587526A CN201710911235.XA CN201710911235A CN109587526A CN 109587526 A CN109587526 A CN 109587526A CN 201710911235 A CN201710911235 A CN 201710911235A CN 109587526 A CN109587526 A CN 109587526A
Authority
CN
China
Prior art keywords
data
video playing
watching behavior
behavior data
acquisition
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.)
Pending
Application number
CN201710911235.XA
Other languages
Chinese (zh)
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 CN201710911235.XA priority Critical patent/CN109587526A/en
Publication of CN109587526A publication Critical patent/CN109587526A/en
Pending legal-status Critical Current

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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/251Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25891Management of end-user data being end-user preferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Graphics (AREA)
  • Computing Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a kind of processing method and processing devices of data, it is related to technical field of data processing, in order to solve in the prior art, when there is the collected watching behavior data of different terminal equipment identical broadcasting to identify, watching behavior data are grouped according to watching behavior data corresponding broadcasting mark, the watching behavior data of different user can be merged into a video playing data, so as to cause the lower problem of the accuracy rate for merging the video playing data obtained.The method comprise the steps that obtaining multiple watching behavior data;Operation is grouped to the multiple watching behavior data according to the corresponding broadcasting mark of each watching behavior data and User Identity;The multiple watching behavior data all the same to broadcasting mark and User Identity merge operation, obtain corresponding video playing data.During the present invention is suitable for multiple watching behavior data merging into video playing data.

Description

The processing method and processing device of data
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of processing method and processing device of data.
Background technique
It is increasingly developed with Internet technology, it is online watch video have become it is indispensable in people's daily life A part.When user's using terminal equipment watches video, it is previously deployed in terminal device during video playing Sampling instrument can acquire user and watch the watching behavior data of video, and the watching behavior data collected are sent to data It receives in server.Data collection server, can be by same use after the watching behavior data for receiving different terminal equipment transmission Family watches multiple watching behavior data that same video generates and merges into corresponding video playing data.By to different user Video playing data are counted and are analyzed, and can determine the hobby and viewing habit of user, to provide more for user Good service.
Currently, playing mark has the function of unique identification watching behavior data, terminal device is each under normal conditions Broadcasting behavior can all generate unique plays and identify, but when the sampling instrument itself being previously deployed in terminal device goes out When existing problem, the not homogeneous that will lead to different terminal equipment plays behavior and generates the case where identical broadcasting identifies.
Inventor has found during realizing invention in the prior art, when the acquisition work being previously deployed in terminal device Have itself to go wrong, when the not homogeneous of different terminal equipment being caused to play behavior generation identical broadcasting mark, different terminals The collected watching behavior data of equipment can have identical broadcasting to identify, when data collection server is according to watching behavior data pair When the broadcasting mark answered is grouped watching behavior data, different user can be watched to the watching behavior data that video generates and closed And be a video playing data, it is lower so as to cause the accuracy rate for merging the video playing data obtained.
Summary of the invention
In view of this, the processing method and processing device of data provided by the invention, main purpose, which is to improve, merges acquisition The accuracy rate of video playing data.
To solve the above-mentioned problems, present invention generally provides following technical solutions:
In a first aspect, the present invention provides a kind of processing methods of data, this method comprises:
Obtain multiple watching behavior data, wherein include: to play mark and user identity mark in the watching behavior data Know, the broadcasting mark is for watching behavior data described in unique identification, and the User Identity is for described in unique identification The corresponding user of watching behavior data;
According to the corresponding broadcasting mark of each watching behavior data and User Identity to the multiple watching behavior number It is operated according to being grouped;
The multiple watching behavior data all the same to broadcasting mark and User Identity merge operation, are corresponded to Video playing data.
Optionally, in the watching behavior data further include: acquisition time, acquisition order and other field informations;Right Multiple watching behavior data that broadcasting identifies and User Identity is all the same merge operation, obtain corresponding video playing After data, the method also includes:
Extract the corresponding acquisition time of each watching behavior data and acquisition order;
The corresponding broadcasting of the video playing data is set by the smallest acquisition time in multiple acquisition times to open Begin the time and to set the corresponding broadcasting of the video playing data for maximum acquisition time in multiple acquisition times End time;
Other corresponding field informations of maximum acquisition order in multiple acquisition orders are determined as the video to broadcast Put other corresponding field informations of data.
Optionally, before obtaining multiple watching behavior data, the method also includes:
Receive the watching behavior data that different terminal equipment is sent;
The watching behavior data that the different terminal equipment is sent are cached;
It is described to obtain multiple watching behavior data specifically:
The watching behavior data that the different terminal equipment is sent are obtained from caching.
Optionally, the method also includes:
Obtain video playing tables of data, wherein record has the view after union operation in the video playing tables of data Frequency played data;
Judge in the video playing tables of data with the presence or absence of the broadcasting mark and user's body with the video playing data Part identifies video playing data all the same;
If it exists, then in the video playing tables of data, the video playing is updated using the video playing data The corresponding video playing data of data;
If it does not exist, then the video playing data are added in the video playing tables of data and are stored.
Optionally, in the video playing tables of data, the video playing number is updated using the video playing data Include: according to corresponding video playing data
Extract the video playing data corresponding broadcasting end time and other field informations;
In the video playing tables of data, the video playing data corresponding broadcasting end time and other words are used Segment information updates broadcasting end time and other field informations of corresponding video playing data.
Second aspect, the present invention also provides a kind of processing unit of data, which includes:
First acquisition unit, for obtaining multiple watching behavior data, wherein include: to broadcast in the watching behavior data Mark and User Identity are put, the broadcasting mark is for watching behavior data described in unique identification, the user identity mark Know for the corresponding user of watching behavior data described in unique identification;
Grouped element, the corresponding broadcasting mark of each watching behavior data for being obtained according to the first acquisition unit And User Identity is grouped operation to the multiple watching behavior data;
Combining unit, for after grouped element grouping broadcasting mark and all the same multiple of User Identity Watching behavior data merge operation, obtain corresponding video playing data.
Optionally, in the watching behavior data further include: acquisition time, acquisition order and other field informations;It is described Device further include:
Extraction unit, for the multiple viewing rows all the same to broadcasting mark and User Identity in the combining unit Operation is merged for data, after obtaining corresponding video playing data, extracts the corresponding acquisition of each watching behavior data Time and acquisition order;
Setting unit, the smallest acquisition time setting in multiple acquisition times for extracting the extraction unit It is set for the corresponding play start time of the video playing data and by maximum acquisition time in multiple acquisition times It is set to the video playing data corresponding broadcasting end time;
Determination unit, maximum acquisition order is corresponding in multiple acquisition orders for extracting the extraction unit Other field informations be determined as other corresponding field informations of the video playing data.
Optionally, described device further include:
Receiving unit, for receiving different terminals before the first acquisition unit obtains multiple watching behavior data The watching behavior data that equipment is sent;
Cache unit, watching behavior data for sending the received different terminal equipment of the receiving unit into Row caching;
The first acquisition unit is also used to obtain the watching behavior number that the different terminal equipment is sent from caching According to.
Optionally, described device further include:
Second acquisition unit, for obtaining video playing tables of data, wherein in the video playing tables of data record have through Video playing data after crossing union operation;
Judging unit, for judge in the video playing tables of data that the second acquisition unit obtains with the presence or absence of with The broadcasting mark and User Identity of the video playing data video playing data all the same;
Updating unit, for judging exist and the video playing in the video playing tables of data when the judging unit When the video playing data that the broadcasting of data identifies and User Identity is all the same, in the video playing tables of data, make The corresponding video playing data of the video playing data are updated with the video playing data;
Adding unit, for judging exist and the video playing in the video playing tables of data when the judging unit When the video playing data that the broadcasting of data identifies and User Identity is all the same, the video playing data are added to institute It states and is stored in video playing tables of data.
Optionally, the updating unit includes:
Extraction module, for extracting the video playing data corresponding broadcasting end time and other field informations;
Update module, for being broadcast using the video that the extraction module extracts in the video playing tables of data Put data it is corresponding play end time and other field informations update corresponding video playing data the broadcasting end time and Other field informations.
To achieve the goals above, according to the third aspect of the invention we, a kind of storage medium, the storage medium are provided Program including storage, wherein equipment where controlling the storage medium in described program operation executes number described above According to processing method.
To achieve the goals above, according to the fourth aspect of the invention, a kind of processor is provided, the processor is used for Run program, wherein described program executes the processing method of data described above when running.
By above-mentioned technical proposal, technical solution provided by the invention is at least had the advantage that
A kind of processing method and processing device of data provided by the invention, the present invention can acquire different terminal equipment After the multiple watching behavior data sent, according to the corresponding broadcasting mark of each watching behavior data and User Identity to more A watching behavior data are grouped operation, so that the multiple watching behavior data for including in each grouping are to play mark And the watching behavior data that User Identity is all the same, respectively to the broadcasting mark and user identity mark for including in each grouping Know multiple watching behavior data all the same and merge operation, obtains corresponding video playing data.With in the prior art, count Watching behavior data are grouped according to watching behavior data corresponding broadcasting mark according to server is received, identify phase for playing With multiple watching behavior data merge into corresponding video playing data compared with, the present invention can will play mark and user's body Part identifies multiple watching behavior data all the same and merges into corresponding video playing data, so as to avoid working as different terminals When there is the collected watching behavior data of equipment identical broadcasting to identify, data collection server produces different user viewing video The case where raw watching behavior data merge into video playing data generation, and then improve the video playing for merging and obtaining The accuracy rate of data.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of processing method flow chart of data provided in an embodiment of the present invention;
Fig. 2 shows the processing method flow charts of another data provided in an embodiment of the present invention;
Fig. 3 shows a kind of composition block diagram of the processing unit of data provided in an embodiment of the present invention;
Fig. 4 shows the composition block diagram of the processing unit of another data provided in an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
The embodiment of the invention provides a kind of processing methods of data, as shown in Figure 1, this method is according to each watching behavior The corresponding broadcasting mark of data and User Identity are grouped operation to multiple watching behavior data, will play and identify and use Identity multiple watching behavior data all the same in family merge into corresponding video playing data, improve the view for merging and obtaining The accuracy rate of frequency played data, this method comprises:
101, multiple watching behavior data are obtained.
Wherein, the multiple watching behavior data acquired be it is that different terminal equipment is sent, seeing for recording user The data for seeing the watching behavior generated during video, when user's using terminal equipment watches video, in the mistake of video playing The sampling instrument being previously deployed in terminal device in journey can acquire user and watch the watching behavior data of video, and will acquire To watching behavior data be sent to data collection server.It wherein, include: to play mark and use in each watching behavior data Family identity can correspond to generation one unique plays and identify when each user watches video every time, and some user During the entire process of watching some video, the broadcasting mark for including in the watching behavior data that terminal device collects is solid Fixed constant, therefore, playing mark can be used in unique identification watching behavior data;User Identity is seen for unique identification See the corresponding user of behavioral data, i.e., it includes being used in the watching behavior data of video that the user that terminal device collects, which watches, The User Identity of the unique identification user.
In embodiments of the present invention, when need by different terminal equipment send watching behavior data merge into corresponding view When frequency played data, the multiple watching behavior data for needing to merge operation are obtained.
102, according to the corresponding broadcasting mark of each watching behavior data and User Identity to multiple watching behavior numbers It is operated according to being grouped.
In embodiments of the present invention, the multiple watching behavior numbers for needing to merge operation are acquired by step 101 According to rear, multiple watching behavior data are divided according to the corresponding broadcasting mark of each watching behavior data and User Identity Broadcasting mark and User Identity multiple watching behavior data all the same are divided into one group, so that often by group operation The multiple watching behavior data for including in a grouping are the watching behavior data that broadcasting identifies and User Identity is all the same.
103, the multiple watching behavior data all the same to broadcasting mark and User Identity merge operation, obtain Corresponding video playing data.
In embodiments of the present invention, according to the corresponding broadcasting mark of each watching behavior data and User Identity pair After the multiple watching behavior data acquired are grouped operation, respectively to the broadcasting mark and user for including in each grouping Identity multiple watching behavior data all the same merge operation, corresponding video playing data are obtained, so as to subsequent It is counted and is analyzed by the video playing data to different user, determine the hobby and viewing habit of user, thus Better service is provided for user.
It needs to be illustrated, due to being simultaneously according to every when being grouped operation to multiple watching behavior data A watching behavior data are corresponding to play mark and User Identity is grouped, therefore even if when be previously deployed at terminal Sampling instrument itself in equipment goes wrong, and the collected watching behavior data of different terminal equipment is caused to have identical broadcasting When the case where mark occurs, different terminal equipment can also be acquired according to the User Identity for including in watching behavior data To, with it is identical play mark watching behavior data distinguish, so as to avoid by different user watch video produce The case where raw watching behavior data merge into video playing data generation.
A kind of processing method of data provided in an embodiment of the present invention, the embodiment of the present invention can acquire different ends After multiple watching behavior data that end equipment is sent, according to the corresponding broadcasting mark of each watching behavior data and user identity mark Knowledge is grouped operation to multiple watching behavior data, so that the multiple watching behavior data for including in each grouping are to broadcast Mark and User Identity watching behavior data all the same are put, respectively to the broadcasting mark and user for including in each grouping Identity multiple watching behavior data all the same merge operation, obtain corresponding video playing data.With existing skill In art, data collection server is grouped watching behavior data according to the corresponding broadcasting mark of watching behavior data, will broadcast It puts the identical multiple watching behavior data of mark and merges into corresponding video playing data and compare, the embodiment of the present invention can will be broadcast It puts mark and User Identity multiple watching behavior data all the same merges into corresponding video playing data, so as to It avoids when the collected watching behavior data of different terminal equipment have identical broadcasting mark, data collection server will be different User watches the case where watching behavior data that video generates merge into video playing data generation, and then improves merging The accuracy rate of the video playing data of acquisition.
Below in order to be explained in more detail, the embodiment of the invention provides the processing methods of another data, especially The specific method of information in the video playing data for merging and obtaining is set and is deposited to the video playing data obtained are merged The specific method of storage, it is specific as shown in Fig. 2, this method comprises:
201, the watching behavior data that different terminal equipment is sent are received.
In embodiments of the present invention, when different terminal equipment sends the viewing itself collected to data collection server When behavioral data, data collection server receives the watching behavior that the different user viewing video that different terminal equipment is sent generates Data.
202, the watching behavior data that different terminal equipment is sent are cached.
In embodiments of the present invention, when data collection server receives the watching behavior data of different terminal equipment transmission Afterwards, the watching behavior data that the different terminal equipment received is sent are cached, ought be needed different terminals so as to subsequent When the watching behavior data that equipment is sent merge into corresponding video playing data, needs are directly acquired from caching and are merged Multiple watching behavior data of operation.
203, multiple watching behavior data are obtained.
In embodiments of the present invention, the watching behavior data sent the different terminal equipment received by step 202 After being cached, when needing the watching behavior data for sending different terminal equipment to merge into corresponding video playing data, The multiple watching behavior data for needing to merge operation are directly acquired from caching.
Need to be illustrated, in actual application, data collection server can when reaching preset time, Obtained from caching and need to merge multiple watching behavior data of operation, for example, preset to watching behavior data into The time of row union operation is daily morning 9:00, then data collection server obtains needs in daily morning 9:00 from caching Merge multiple watching behavior data of operation;Can also data collection server receive union operation instruction after, from The multiple watching behavior data for needing to merge operation are obtained in caching.In embodiments of the present invention, specifically when from caching It is middle to obtain the multiple watching behavior data for needing to merge operation, without limiting.
204, according to the corresponding broadcasting mark of each watching behavior data and User Identity to multiple watching behavior numbers It is operated according to being grouped.
Wherein, about 204, according to the corresponding broadcasting mark of each watching behavior data and User Identity to multiple sights It sees that behavioral data is grouped operation, the description of Fig. 1 corresponding part can be referred to, the embodiment of the present invention will not be described in great detail herein.
205, the multiple watching behavior data all the same to broadcasting mark and User Identity merge operation, obtain Corresponding video playing data.
Wherein, it is merged about 205, the multiple watching behavior data all the same to broadcasting mark and User Identity Operation, obtains corresponding video playing data, can refer to the description of Fig. 1 corresponding part, the embodiment of the present invention herein will no longer It repeats.
206, setting merges the information for including in the video playing data obtained.
Wherein, in each watching behavior data further include: acquisition time, acquisition order and other field informations, in order to keep away The time for exempting from terminal device setting themselves, there are errors with the real time, therefore, the acquisition time for including in watching behavior data The time of the watching behavior data is received for data collection server;Since terminal device is in the viewing for collecting user After behavioral data, which will be sent to data collection server, therefore, acquisition order be terminal device to Data collection server send watching behavior data sequence, for example, terminal device sent to data collection server first The acquisition order for including in second watching behavior data that the acquisition order for including in a watching behavior data is 1, is sent is 2 ... and so on;Other field informations are the relevant information of the video of user's viewing, other field informations include but is not limited to: Video length, the programm name of video, video supplier etc..
In embodiments of the present invention, the broadcasting mark and User Identity for including in grouping multiple sights all the same See that behavioral data merges operation, after obtaining corresponding video playing data, according to broadcasting mark and User Identity The information for including in multiple watching behavior data all the same, setting merge the information for including in the video playing data obtained. The information for including in the video playing data that merging acquisition how is arranged will be described in detail below.
(1) the corresponding acquisition time of each watching behavior data for including in grouping and acquisition order are extracted respectively.
(2) the smallest acquisition time in obtained multiple acquisition times will be extracted to be determined as merging the video playing number obtained According to corresponding play start time, i.e., by server receive some terminal device transmission first watching behavior data when Between, it is set as this terminal device and starts to play the time of this video;And it will be in multiple acquisition times when maximum acquisition Between be determined as merge obtain the video playing data corresponding broadcasting end time, i.e., server is received into this terminal device The time of the last one the watching behavior data sent, being determined as this terminal device terminates to watch the time of this video.
(3) since in video display process, terminal device wraps in the watching behavior data that different time collects Other field informations included, can have certain difference, therefore, include to guarantee to merge in the video playing data obtained Other field informations for including in the last one watching behavior data that other field informations send for terminal device, will extract To multiple acquisition orders in other corresponding field informations of maximum acquisition order be determined as merge obtain video playing number According to other corresponding field informations.
207, the video playing data obtained will be merged to store.
In embodiments of the present invention, behaviour is being merged to the multiple watching behavior data for including in each grouping respectively Make, after obtaining the corresponding video playing data of each grouping, the video playing data obtained will be merged and stored.It below will be right How the video playing data for merging acquisition storage is carried out to be described in detail.
(1) video playing tables of data is obtained, wherein record has the video after union operation in video playing tables of data Played data, i.e., before this, the watching behavior data all the same to broadcasting mark and User Identity merge operation, Merge the video playing data obtained to be stored in the video playing tables of data.
(2) with the presence or absence of the video playing for merging acquisition with above-mentioned steps in the video playing tables of data that judgement acquires The broadcasting mark and User Identity of data video playing data all the same.
(3) if existing in video playing tables of data and the broadcasting mark and user's body of the video playing data for newly merging acquisition Part identifies video playing data all the same, then means when carrying out upper primary union operation, and viewing view is simultaneously not finished in user Frequently, thus when carrying out this union operation, this still is watched comprising the user in multiple watching behavior data for acquiring The watching behavior data that video generates.At this point, using the new video playing data for merging acquisition in video playing tables of data Update corresponding video playing data, that is, extract this it is new merge obtain video playing data corresponding broadcasting end time and its His field information, then in video playing tables of data, using extracting obtained broadcasting end time and other field informations more The new new broadcasting end time for merging the corresponding video playing data of video playing data obtained and other field informations.
(4) if being not present in video playing tables of data and the broadcasting mark of the new video playing data for merging and obtaining and user Identity video playing data all the same then mean that user is just to start to watch video after upper primary union operation 's.It is stored at this point, the new video playing data for merging acquisition are added in video playing tables of data.
Further, in actual application, in order to improve the new efficiency for merging the video playing data obtained of storage, The video that upper primary union operation obtains can be searched in video playing tables of data after acquiring video playing tables of data Then played data judges to whether there is and newly merge the video obtained in the video playing data of last union operation acquisition The broadcasting mark and User Identity of played data video playing data all the same, so that it is determined that being to merge acquisition using new Video playing data update corresponding video playing data in video playing tables of data, or the new video obtained that merges is broadcast It puts data and is added directly in video playing tables of data and stored.
To achieve the goals above, according to another aspect of the present invention, the embodiment of the invention also provides a kind of storage Jie Matter, the storage medium include the program of storage, wherein equipment where controlling the storage medium in described program operation is held The processing method of row data described above.
To achieve the goals above, according to another aspect of the present invention, the embodiment of the invention also provides a kind of processor, The processor is for running program, wherein described program executes the processing method of data described above when running.
Further, as the realization to method shown in above-mentioned Fig. 1 and Fig. 2, another embodiment of the present invention additionally provides one The processing unit of kind data.The Installation practice is corresponding with preceding method embodiment, and to be easy to read, present apparatus embodiment is no longer Detail content in preceding method embodiment is repeated one by one, it should be understood that the device in the present embodiment can correspond to Realize the full content in preceding method embodiment.The device, which is applied to improve, merges the accurate of the video playing data obtained Rate, specifically as shown in figure 3, the device includes:
First acquisition unit 31, for obtaining multiple watching behavior data, wherein include: in the watching behavior data Mark and User Identity are played, the broadcasting mark is for watching behavior data described in unique identification, the user identity Mark is for the corresponding user of watching behavior data described in unique identification;
Grouped element 32, the corresponding broadcasting mark of each watching behavior data for being obtained according to first acquisition unit 31 And User Identity is grouped operation to the multiple watching behavior data;
Combining unit 33, for after being grouped to grouped element 32 broadcasting mark and all the same multiple of User Identity Watching behavior data merge operation, obtain corresponding video playing data.
Further, as shown in figure 4, in the watching behavior data further include: acquisition time, acquisition order and other words Segment information;The device further include:
Extraction unit 34, for the multiple viewing rows all the same in 33 pairs of combining unit broadcasting marks and User Identity Operation is merged for data, after obtaining corresponding video playing data, extracts the corresponding acquisition of each watching behavior data Time and acquisition order;
Setting unit 35, the smallest acquisition time setting in multiple acquisition times for extracting extraction unit 34 It is set for the corresponding play start time of the video playing data and by maximum acquisition time in multiple acquisition times It is set to the video playing data corresponding broadcasting end time;
Determination unit 36, maximum acquisition order is corresponding in multiple acquisition orders for extracting extraction unit 34 Other field informations be determined as other corresponding field informations of the video playing data.
Further, as shown in figure 4, described device further include:
Receiving unit 37, for receiving different terminals before first acquisition unit 31 obtains multiple watching behavior data The watching behavior data that equipment is sent;
Cache unit 38, watching behavior data for sending the received different terminal equipment of receiving unit 37 into Row caching;
First acquisition unit 31 is also used to obtain the watching behavior data that the different terminal equipment is sent from caching.
Further, as shown in figure 4, the device further include:
Second acquisition unit 39, for obtaining video playing tables of data, wherein recording in the video playing tables of data has Video playing data after union operation;
Judging unit 310, for judge second acquisition unit 39 obtain the video playing tables of data in whether there is The video playing data all the same with the broadcasting mark and User Identity of the video playing data;
Updating unit 311, for being broadcast when judging unit 310 judges to exist in the video playing tables of data with the video When the video playing data that the broadcasting for putting data identifies and User Identity is all the same, in the video playing tables of data, The corresponding video playing data of the video playing data are updated using the video playing data;
Adding unit 312, for being broadcast when judging unit 310 judges to exist in the video playing tables of data with the video When the video playing data that the broadcasting for putting data identifies and User Identity is all the same, the video playing data are added to It is stored in the video playing tables of data.
Further, as shown in figure 4, updating unit 311 includes:
Extraction module 3111, for extracting the video playing data corresponding broadcasting end time and other fields letter Breath;
Update module 3112, the view for being extracted using extraction module 3111 in the video playing tables of data At the end of frequency played data corresponding broadcasting end time and other field informations update the broadcasting of corresponding video playing data Between and other field informations.
A kind of processing unit of data provided in an embodiment of the present invention, the embodiment of the present invention can acquire different ends After multiple watching behavior data that end equipment is sent, according to the corresponding broadcasting mark of each watching behavior data and user identity mark Knowledge is grouped operation to multiple watching behavior data, so that the multiple watching behavior data for including in each grouping are to broadcast Mark and User Identity watching behavior data all the same are put, respectively to the broadcasting mark and user for including in each grouping Identity multiple watching behavior data all the same merge operation, obtain corresponding video playing data.With existing skill In art, data collection server is grouped watching behavior data according to the corresponding broadcasting mark of watching behavior data, will broadcast It puts the identical multiple watching behavior data of mark and merges into corresponding video playing data and compare, the embodiment of the present invention can will be broadcast It puts mark and User Identity multiple watching behavior data all the same merges into corresponding video playing data, so as to It avoids when the collected watching behavior data of different terminal equipment have identical broadcasting mark, data collection server will be different User watches the case where watching behavior data that video generates merge into video playing data generation, and then improves merging The accuracy rate of the video playing data of acquisition.Meanwhile the time that data collection server receives watching behavior data being determined For the corresponding acquisition time of watching behavior data, by other corresponding fields of acquisition order maximum in multiple watching behavior data Information is determined as merging other field informations of the video playing data obtained, so as to avoid setting due to terminal device itself The fixed time and real time, other field informations for including in the video-see data for causing merging to obtain were not there are error The generation of the case where other field informations for including in the last one watching behavior data that terminal device is sent, and then improve conjunction And the accuracy rate of the video playing data obtained.
The processing unit of the data includes processor and memory, above-mentioned first acquisition unit, grouped element and merging Unit etc. as program unit storage in memory, by processor execute above procedure unit stored in memory Lai Realize corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one Or more, the accuracy rate for the video playing data for merging acquisition is improved by adjusting kernel parameter.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited Store up chip.
The embodiment of the invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor The processing method of data described in any one of existing above embodiments.
The embodiment of the invention provides a kind of processor, the processor is for running program, wherein described program operation The processing method of data described in any one of Shi Zhihang above embodiments.
The embodiment of the invention provides a kind of equipment, equipment include processor, memory and storage on a memory and can The program run on a processor, processor perform the steps of when executing program
Obtain multiple watching behavior data, wherein include: to play mark and user identity mark in the watching behavior data Know, the broadcasting mark is for watching behavior data described in unique identification, and the User Identity is for described in unique identification The corresponding user of watching behavior data;
According to the corresponding broadcasting mark of each watching behavior data and User Identity to the multiple watching behavior number It is operated according to being grouped;
The multiple watching behavior data all the same to broadcasting mark and User Identity merge operation, are corresponded to Video playing data.
Further, in the watching behavior data further include: acquisition time, acquisition order and other field informations;? The multiple watching behavior data all the same to broadcasting mark and User Identity merge operation, obtain corresponding video and broadcast After putting data, the method also includes:
Extract the corresponding acquisition time of each watching behavior data and acquisition order;
The corresponding broadcasting of the video playing data is set by the smallest acquisition time in multiple acquisition times to open Begin the time and to set the corresponding broadcasting of the video playing data for maximum acquisition time in multiple acquisition times End time;
Other corresponding field informations of maximum acquisition order in multiple acquisition orders are determined as the video to broadcast Put other corresponding field informations of data.
Further, before obtaining multiple watching behavior data, the method also includes:
Receive the watching behavior data that different terminal equipment is sent;
The watching behavior data that the different terminal equipment is sent are cached;
It is described to obtain multiple watching behavior data specifically:
The watching behavior data that the different terminal equipment is sent are obtained from caching.
Further, the method also includes:
Obtain video playing tables of data, wherein record has the view after union operation in the video playing tables of data Frequency played data;
Judge in the video playing tables of data with the presence or absence of the broadcasting mark and user's body with the video playing data Part identifies video playing data all the same;
If it exists, then in the video playing tables of data, the video playing is updated using the video playing data The corresponding video playing data of data;
If it does not exist, then the video playing data are added in the video playing tables of data and are stored.
Further, in the video playing tables of data, the video playing is updated using the video playing data The corresponding video playing data of data include:
Extract the video playing data corresponding broadcasting end time and other field informations;
In the video playing tables of data, the video playing data corresponding broadcasting end time and other words are used Segment information updates broadcasting end time and other field informations of corresponding video playing data.
Equipment herein can be server, PC, PAD, mobile phone etc..
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just The program code of beginningization there are as below methods step: multiple watching behavior data are obtained, wherein wrap in the watching behavior data It includes: playing mark and User Identity, the broadcasting mark is for watching behavior data described in unique identification, user's body Part mark is for the corresponding user of watching behavior data described in unique identification;According to the corresponding broadcasting mark of each watching behavior data Know and User Identity is grouped operation to the multiple watching behavior data;It is equal to broadcasting mark and User Identity Identical multiple watching behavior data merge operation, obtain corresponding video playing data.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art, Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement, Improve etc., it should be included within the scope of the claims of this application.

Claims (10)

1. a kind of processing method of data characterized by comprising
Obtain multiple watching behavior data, wherein it include: to play mark and User Identity in the watching behavior data, The broadcasting mark is for watching behavior data described in unique identification, and the User Identity described in unique identification for watching The corresponding user of behavioral data;
According to each watching behavior data corresponding broadcasting mark and User Identity to the multiple watching behavior data into Row division operation;
The multiple watching behavior data all the same to broadcasting mark and User Identity merge operation, obtain corresponding view Frequency played data.
2. the method according to claim 1, wherein in the watching behavior data further include: acquisition time is adopted Collection sequence and other field informations;It is closed in the multiple watching behavior data all the same to broadcasting mark and User Identity And operate, after obtaining corresponding video playing data, the method also includes:
Extract the corresponding acquisition time of each watching behavior data and acquisition order;
When setting the corresponding broadcasting of the video playing data for the smallest acquisition time in multiple acquisition times and starting Between and by maximum acquisition time in multiple acquisition times be set as the video playing data it is corresponding broadcasting terminate Time;
Other corresponding field informations of maximum acquisition order in multiple acquisition orders are determined as the video playing number According to other corresponding field informations.
3. the method according to claim 1, wherein before obtaining multiple watching behavior data, the method Further include:
Receive the watching behavior data that different terminal equipment is sent;
The watching behavior data that the different terminal equipment is sent are cached;
It is described to obtain multiple watching behavior data specifically:
The watching behavior data that the different terminal equipment is sent are obtained from caching.
4. method according to any one of claim 1-3, which is characterized in that the method also includes:
Obtain video playing tables of data, wherein record has the video after union operation to broadcast in the video playing tables of data Put data;
Judge in the video playing tables of data with the presence or absence of the broadcasting mark and user identity mark with the video playing data Know video playing data all the same;
If it exists, then in the video playing tables of data, the video playing data are updated using the video playing data Corresponding video playing data;
If it does not exist, then the video playing data are added in the video playing tables of data and are stored.
5. according to the method described in claim 4, it is characterized in that, using the video in the video playing tables of data Played data updates the corresponding video playing data of the video playing data
Extract the video playing data corresponding broadcasting end time and other field informations;
In the video playing tables of data, believed using the video playing data corresponding broadcasting end time and other fields Breath updates broadcasting end time and other field informations of corresponding video playing data.
6. a kind of processing unit of data characterized by comprising
First acquisition unit, for obtaining multiple watching behavior data, wherein include: to play mark in the watching behavior data Know and User Identity, the broadcasting mark are used for watching behavior data described in unique identification, the User Identity is used The corresponding user of watching behavior data described in unique identification;
Grouped element, the corresponding broadcasting mark of each watching behavior data and use for being obtained according to the first acquisition unit Family identity is grouped operation to the multiple watching behavior data;
Combining unit, multiple viewings for being identified to the broadcasting after grouped element grouping and User Identity is all the same Behavioral data merges operation, obtains corresponding video playing data.
7. device according to claim 6, which is characterized in that in the watching behavior data further include: acquisition time is adopted Collection sequence and other field informations;Described device further include:
Extraction unit, for the multiple watching behavior numbers all the same to broadcasting mark and User Identity in the combining unit According to operation is merged, after obtaining corresponding video playing data, the corresponding acquisition time of each watching behavior data is extracted And acquisition order;
Setting unit, the smallest acquisition time is set as institute in multiple acquisition times for extracting the extraction unit It states the corresponding play start time of video playing data and sets maximum acquisition time in multiple acquisition times to The video playing data corresponding broadcasting end time;
Determination unit, in multiple acquisition orders for extracting the extraction unit maximum acquisition order it is corresponding its His field information is determined as other corresponding field informations of the video playing data.
8. device according to claim 6, which is characterized in that described device further include:
Receiving unit, for receiving different terminal equipment before the first acquisition unit obtains multiple watching behavior data The watching behavior data of transmission;
Cache unit, the watching behavior data for sending the received different terminal equipment of the receiving unit are delayed It deposits;
The first acquisition unit is also used to obtain the watching behavior data that the different terminal equipment is sent from caching.
9. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program When control the storage medium where equipment perform claim require 1 to the processing side of the data described in any one of claim 5 Method.
10. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run Benefit require 1 to the data described in any one of claim 5 processing method.
CN201710911235.XA 2017-09-29 2017-09-29 The processing method and processing device of data Pending CN109587526A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710911235.XA CN109587526A (en) 2017-09-29 2017-09-29 The processing method and processing device of data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710911235.XA CN109587526A (en) 2017-09-29 2017-09-29 The processing method and processing device of data

Publications (1)

Publication Number Publication Date
CN109587526A true CN109587526A (en) 2019-04-05

Family

ID=65919092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710911235.XA Pending CN109587526A (en) 2017-09-29 2017-09-29 The processing method and processing device of data

Country Status (1)

Country Link
CN (1) CN109587526A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1962511A2 (en) * 2000-04-05 2008-08-27 Sony United Kingdom Limited Audio and/or video generation apparatus and method using a list of content items
CN106658183A (en) * 2015-10-30 2017-05-10 北京国双科技有限公司 Method and device for popping out video login dialog box
CN106792209A (en) * 2016-11-24 2017-05-31 武汉斗鱼网络科技有限公司 Video preference information processing method, apparatus and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1962511A2 (en) * 2000-04-05 2008-08-27 Sony United Kingdom Limited Audio and/or video generation apparatus and method using a list of content items
CN106658183A (en) * 2015-10-30 2017-05-10 北京国双科技有限公司 Method and device for popping out video login dialog box
CN106792209A (en) * 2016-11-24 2017-05-31 武汉斗鱼网络科技有限公司 Video preference information processing method, apparatus and system

Similar Documents

Publication Publication Date Title
CN104994425B (en) A kind of video identifier method and apparatus
CN106649316A (en) Video pushing method and device
CN109582403A (en) Interlocked display method and device between chart inner assembly
CN108040294A (en) Automatic recommendation
CN106326242A (en) Application pushing method and apparatus
CN110018920A (en) A kind of detection method, device and the equipment of page presentation exception
CN109587578A (en) The processing method and processing device of video clip
CN109213758A (en) Data access method, device, equipment and computer readable storage medium
CN109598171A (en) A kind of data processing method based on two dimensional code, apparatus and system
CN106937173B (en) Video playing method and device
CN110458615A (en) Pass through the method and device of internet information assessment customer satisfaction
CN110174120A (en) Method for synchronizing time and device for AR navigation simulation
CN110019178A (en) The correlating method and device of data
CN106658183B (en) Pop up the method and device of video logon dialog frame
CN109614417A (en) Display methods, device and the terminal of report form index based on data flow
CN109213933A (en) Content item recommendation method, apparatus, equipment and storage medium
CN110020074A (en) Determine the method and device of webpage turnover rate
CN106294700A (en) The storage of a kind of daily record and read method and device
CN109587526A (en) The processing method and processing device of data
CN109756762A (en) A kind of determination method and device of terminal class
CN108984572A (en) Site information method for pushing and device
CN106528724B (en) A kind of method and device of pushed information
CN109598208A (en) Portrait verification method and device
CN108574859A (en) A kind of viewing behavior statistical method and device
CN109558402A (en) The storage method and device of data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
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 GRIDSUM TECHNOLOGY Co.,Ltd.

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

Applicant before: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190405