CN106658181A - User behavior data sending method, apparatus and system - Google Patents

User behavior data sending method, apparatus and system Download PDF

Info

Publication number
CN106658181A
CN106658181A CN201510718336.6A CN201510718336A CN106658181A CN 106658181 A CN106658181 A CN 106658181A CN 201510718336 A CN201510718336 A CN 201510718336A CN 106658181 A CN106658181 A CN 106658181A
Authority
CN
China
Prior art keywords
configuration information
user behavior
frequency
behavior data
user
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
CN201510718336.6A
Other languages
Chinese (zh)
Other versions
CN106658181B (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 CN201510718336.6A priority Critical patent/CN106658181B/en
Publication of CN106658181A publication Critical patent/CN106658181A/en
Application granted granted Critical
Publication of CN106658181B publication Critical patent/CN106658181B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • 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/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6582Data stored in the client, e.g. viewing habits, hardware capabilities, credit card number

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Computer Graphics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a user behavior data sending method, apparatus and system and relates to the technical field of videos. According to the method, apparatus and system, a sending type and frequency of sending of user behavior data according with a client demand can be dynamically determined according to type information of a client, a historical user behavior data log and user information and thus resources are saved to a certain extent. The major technical scheme of the method comprises the following steps: when a client creates a new video play, obtaining configuration information of user behavior data of a user watching and creating a new video, sent by the client, wherein the configuration information is dynamically determined by a configuration information server according to the type information of the client, a historical user behavior data log and user information and comprises a sending method type and frequency; and according to the sending method type and the frequency which are included in the configuration information, sending the user behavior data of the user watching and creating the new video to a receiving server. The method, apparatus and system provided by the embodiments of the invention are mainly applied to a sending process of the user behavior data.

Description

The sending method of user behavior data, apparatus and system
Technical field
The present invention relates to video technique field, more particularly to a kind of sending method of user behavior data, Apparatus and system.
Background technology
When watching video in mobile platform or webpage, for the viewing behavior of counting user, need User behavior data is sent during video playback.At present terminal platform carries out user behavior data During transmission, can typically adopt following sending method to carry out the transmission of user behavior data, such as it is solid Surely the user behavior data is sent using the form of snapshot, i.e., is sent out to server with the frequency of fixed intervals Data, the data that latter bar sends are sent to substitute the data sent out;Or it is fixed using end to end The form of transmission sends the user behavior data.No matter but which kind of mode to carry out user behavior number using According to transmission, once employing a kind of mode, which is usually fixed, no matter therefore the effect that sends How all can not change, and the transmission frequency in transmission process can not be corrected in time, be caused Client is unreasonable because user behavior data transmission types are arranged, and causes the waste of resource.
The content of the invention
In view of this, sending method, the apparatus and system of the user behavior data that the present invention is provided, energy Type information, the daily record of historic user behavioral data and user profile enough according to client is dynamically determined Meet client demand transmission user behavior data transmission types and frequency, to a certain extent Save resource.
On the one hand, the present invention provides a kind of sending method of user behavior data, including:
Client obtains client transmission user's viewing and creates new when new video playback is created The configuration information of the user behavior data of video, the configuration information is configuration information server according to visitor What the type information at family end, the daily record of historic user behavioral data and user profile were dynamically determined, wherein Comprising sending method type and frequency;
According to the sending method type and frequency that include in the configuration information, send to the reception server User's viewing creates the user behavior data of new video.
On the one hand, the present invention provides also a kind of sending method of user behavior data, including:
The user behavior data that client sends according to configuration information is received, the configuration information is configuration Information server is according to the type information of client, the daily record of historic user behavioral data and user profile It is dynamically determined, wherein comprising sending method type and frequency;
Determine that the client sends the transmission frequency of user behavior data according to the user behavior data With the non-loss situation of data;
If the non-loss situation of the data conforms to a predetermined condition, it is determined that corresponding of the transmission frequency Send whether type is dynamic frequency transmission types;
If so, then the transmission frequency is sent into the configuration information server, it is described to update Transmission frequency in configuration information server in corresponding configuration information.
On the other hand, the present invention provides a kind of dispensing device of user behavior data, including:
Acquiring unit, for when new video playback is created, obtaining the client user's sight is sent The configuration information of the user behavior data for creating new video is seen, the configuration information is configuration information service Device is dynamically determined according to the type information of client, the daily record of historic user behavioral data and user profile , wherein comprising sending method type and frequency;
Transmitting element, for according to the sending method type and frequency included in the configuration information, to The reception server sends the user behavior data that user's viewing creates new video.
On the other hand, the present invention also provides a kind of dispensing device of user behavior data, including:
Receiving unit, it is described for receiving the user behavior data that client sends according to configuration information Configuration information is type information, historic user behavioral data day of the configuration information server according to client What will and user profile were dynamically determined, wherein comprising sending method type and frequency;
First determining unit, for determining that the client sends user according to the user behavior data The non-loss situation of transmission frequency and data of behavioral data;
Second determining unit, for when it is determined that the non-loss situation of the data conforms to a predetermined condition, really Determine whether the corresponding transmission types of the transmission frequency are dynamic frequency transmission types;
Transmitting element, for when it is determined that being dynamic frequency transmission types, the transmission frequency being sent To the configuration information server, to update the configuration information server in corresponding configuration information In transmission frequency.
Another further aspect, the present invention provides a kind of transmission system of user behavior data, including:
Configuration information server, for according to the type information of client, historic user behavioral data day Will and user profile are dynamically determined client and send the user behavior data that user's viewing creates new video Configuration information, the configuration information includes sending method type and frequency;
Client, for when new video playback is created, obtaining the configuration information, and according to institute The sending method type and frequency included in configuration information is stated, to the reception server user's viewing wound is sent Build the user behavior data of new video;
The reception server, for receiving the user behavior data that the client sends, according to the use Family behavioral data determines that the client sends the transmission frequency and data of user behavior data and do not lose feelings Condition;If the non-loss situation of the data conforms to a predetermined condition, it is determined that corresponding of the transmission frequency Send whether type is dynamic frequency transmission types;If so, then the transmission frequency is sent into described matching somebody with somebody Put information server, to update the configuration information server in transmission in corresponding configuration information Frequency.
Sending method, the apparatus and system of the user behavior data that the present invention is provided, client is being created During new video playback, type information, historic user of the configuration information server according to client is obtained The client that behavioral data daily record and user profile are dynamically determined sends user's viewing and creates new video The configuration information of user behavior data, and according to the sending method type that includes in the configuration information and Frequency, to the reception server the user behavior data that user's viewing creates new video is sent.Due to client It is class of the configuration server according to client that end sends the sending method type and frequency of user behavior data Type information, the daily record of historic user behavioral data and user profile are dynamically determined, and nonsystematic is fixed and set Put, so the transmission types and frequency that send user behavior data that client is used, according to client The actual conditions and Requirement Acquisition at end, user behavior is carried out with prior art using a kind of fixed mode The transmission of data is compared, be more suitable for the transmission demand of client, it is to avoid blindly using being not suitable for client The sending method of end demand, saves to a certain extent resource.
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 specification, 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.
Description of the drawings
By the detailed description for reading hereafter preferred embodiment, various other advantage 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 embodiment , 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:
Fig. 1 shows the sending method stream of the user behavior data of the client-side in the embodiment of the present invention Cheng Tu;
Fig. 2 shows the sender of the user behavior data of the reception server side in the embodiment of the present invention Method flow chart;
Fig. 3 shows a kind of transmission dress of user behavior data of the client-side in the embodiment of the present invention The composition frame chart put;
Fig. 4 shows the transmission of another kind of user behavior data of the client-side in the embodiment of the present invention The composition frame chart of device;
Fig. 5 shows a kind of sending out for user behavior data of the reception server side in the embodiment of the present invention Send the composition frame chart of device;
Fig. 6 shows a kind of composition frame of the transmission system of the user behavior data in the embodiment of the present invention Figure.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing in accompanying drawing The exemplary embodiment of the disclosure is shown, it being understood, however, that may be realized in various forms the disclosure And should not be limited by embodiments set forth here.On the contrary, there is provided these embodiments are able to more Thoroughly understand the disclosure, and can be by the complete technology for conveying to this area of the scope of the present disclosure Personnel.
The embodiment of the present invention provides a kind of sending method of user behavior data, and the method is client-side Method, as shown in figure 1, the method includes:
101st, client obtains the client and sends user's viewing wound when new video playback is created The configuration information of the user behavior data of new video is built, the configuration information is configuration information server root It is dynamically determined according to the type information of client, the daily record of historic user behavioral data and user profile, Wherein comprising sending method type and frequency.
Wherein, described sender method type and frequency can be but be not limited to following form and include:
Transmission types end to end, the transmission frequency of the transmission types end to end is 0;Wherein, this sends end to end Type is specially:One video playback only sends two user behavior datas, sends out when video is commenced play out Article 2 user's row is sent at the end of sending first user behavior data, video or when client is closed For data.
Or fixed frequency transmission types, the frequency of the fixed frequency transmission types is 0;Wherein, should Fixed frequency transmission types are specially:The predetermined amount of time content that client is commenced play out in video according to Preset frequency sends user behavior data, and user's row is sent according to fixed frequency after the predetermined amount of time For data.For example, in first minute that video is commenced play out, enter according to 5s, 10s, 30s, 60s The transmission of row user behavior data, after one minute, the fixed frequency with 60s sends user behavior data.
Or dynamic frequency transmission types, the frequency of the dynamic frequency transmission types is according to historic user Behavioral data log information determines.For example, start to send user behavior data with the frequency of 300s, after It is continuous that new frequency is determined according to historic user behavioral data log information, then sent with the new frequency for determining User behavior data.
Configuration information server can be user's initialization one according to the type information of client and user profile Individual transmission types and frequency, phase of the rear extended meeting in client historic user behavioral data daily record is inside the Pass Appearance is adjusted.Therefore the configuration information that the user behavior data of client sends is a dynamic data, It can be stored in text, it is also possible in being stored in database, the specific embodiment of the present invention This is not limited.
For example it is currently as shown in the table to the configuration information of client configuration:
User id Client type Transmission types Transmission frequency
100001 1 1 0
100001 2 1 0
100002 1 1 0
100002 3 3 300
Wherein, client type:1:ios APP;2:android App;3:Webpage.Send class Type:1:Transmission types end to end;2:Fixed frequency transmission types, using 5s, 10s, 30s, 60s, The sending strategy of 60s ...;3:Dynamic frequency transmission types, frequency adopts 300s.
102nd, according to the sending method type and frequency included in the configuration information, to the reception server Send the user behavior data that user's viewing creates new video.
In the embodiment of the present invention, client obtains configuration information service when new video playback is created Device is dynamically determined according to the type information of client, the daily record of historic user behavioral data and user profile Client send the configuration information that user's viewing creates the user behavior data of new video, and according to institute The sending method type and frequency included in configuration information is stated, to the reception server user's viewing wound is sent Build the user behavior data of new video.Because client sends the sending method type of user behavior data With frequency be configuration server according to the type information of client, the daily record of historic user behavioral data and User profile is dynamically determined, and what nonsystematic was fixedly installed, so transmission user's row that client is used For the transmission types and frequency of data, according to the actual conditions and Requirement Acquisition of client, with existing skill Art is compared using the transmission that a kind of fixed mode carries out user behavior data, is more suitable for sending out for client Send demand, it is to avoid blindly using the sending method for being not suitable for client demand, to a certain extent save Resource is saved.
Further, the embodiment of the present invention obtains the client and sends user's sight in execution step 101 When seeing the configuration information of the user behavior data for creating new video, can adopt but be not limited to following Method realizes that the method is specifically included:
1st, check the client locally with the presence or absence of the caching comprising the configuration information;If not existing The caching, then perform 2;If there is the caching, 3 are performed.
Wherein, if client obtained before corresponding transmission user behavior from configuration information server The configuration information of data, then the configuration information be typically stored in the local caching of client, therefore, The configuration information is obtained in order to improve, typically when configuration information is obtained, the local of client is first detected Whether also cache.
If there is caching, also need to further determine whether the caching is also effective.Need exist for explanation It is, in order to ensure that the configuration information that client is obtained is latest update, typically to implement the present invention in fact When applying, can arrange preserve the configuration information be cached with certain term of validity.
2nd, confidence is matched somebody with somebody described in the acquisition request that acquisition configuration information is sent to the configuration information server Breath, if successfully obtaining the configuration information, terminates to obtain flow process.If not obtaining described with confidence Breath, then perform 5.
Wherein, when the request for obtaining configuration information is sent to the configuration information server, the request Include the type and ID of client, so that the configuration information server is according to the type of client It is the sender that the client distribution sends user behavior data with ID and other relevant informations Method type and frequency.
3rd, determine whether the caching is effective;If the caching is effective, 4 are performed;If invalid, Perform 5.
4th, the configuration information is obtained from the caching.If the configuration can be obtained from the caching Information, then terminate the acquisition flow process;If the configuration information can not be obtained from the caching, Then perform 5.
5th, the default configuration information configured when the acquisition client is initial.
Further, the transmission of client subsequent user behavioral data for convenience, the embodiment of the present invention Following method is also provided, the method includes:From configuration information server obtain the configuration information it Afterwards, the configuration information is stored in into the caching.
Further, in order to calculate whether the last item user behavior data sends out, and then calculate The loss situation that family behavioral data sends, the embodiment of the present invention terminates in video playback or client is closed When closing, jumping figure evidence of uniting as one can be sent in the colleague for sending the last item user behavior data.One is broadcast If putting heartbeat data and the last item user behavior data occurring in pairs, the last item user is illustrated Behavioral data sends out, and otherwise illustrates that the last item user behavior data is not issued.For example when Sending method type in the configuration information for transmission types end to end when;According in the configuration information Comprising sending method type and frequency, to the reception server send user viewing create new video use Family behavioral data includes:
When establishment new video is commenced play out, send to the reception server and create new video corresponding first Bar user behavior data;When new video broadcasting end is created or the client is closed, to reception Server sends and creates the corresponding Article 2 user behavior data of new video and jumping figure evidence of uniting as one.
In the embodiment of the present invention, it is also provided with storing the caching term of validity of the configuration information, to ensure visitor The configuration information that family end gets is the configuration information of configuration information server latest update, further protects The utilization rate of resource is demonstrate,proved, and ensure that the accuracy for obtaining data.
Also, the embodiment of the present invention is while the last item user behavior data is sent, one can be sent Bar heartbeat data, to detect whether user behavior data sends, and then determines user behavior data Loss situation, so as to ensure the correct renewal of configuration information, increases the accuracy of statistics.
The embodiment of the present invention also provides a kind of sending method of user behavior data, and the method is behavior number According to the method for receiving side, as shown in Fig. 2 the method includes:
201st, the user behavior data that client sends according to configuration information is received, the configuration information is Configuration information server is according to the type information of client, the daily record of historic user behavioral data and user What information was dynamically determined, wherein comprising sending method type and frequency.
The description of the related content in the embodiment of the present invention, in may be referred to real Fig. 1 correspondences embodiment Associated description, the embodiment of the present invention will not be described in great detail herein.
202nd, determine that the client sends the transmission of user behavior data according to the user behavior data Frequency and the non-loss situation of data.
If the 203, the non-loss situation of the data conforms to a predetermined condition, it is determined that the transmission frequency correspondence Transmission types whether be dynamic frequency transmission types.
Wherein, the non-loss situation of the data can be the ratio of loss of data, or loss of data Quantity.The specific embodiment of the present invention is not limited to this.When the ratio for loss of data, It can be certain threshold value that this is pre-conditioned, can be 90% for example, the specific embodiment of the present invention The threshold value value of comparative example is not defined.Wherein meet pre-conditioned, can be the ratio that data are not lost Example >=90%.
204th, if so, then the transmission frequency is sent into the configuration information server, to update Transmission frequency in the configuration information server in corresponding configuration information.
Further, the embodiment of the present invention perform 202 according to the user behavior data determine described in When client sends the transmission frequency of user behavior data and data non-loss situation, can adopt but not It is confined to following method to realize, the method includes:
1st, the user behavior data in the scheduled time is obtained.
Wherein, the user behavior data in the scheduled time is obtained, can is unit to obtain hour The user behavior data, for example read the User action log of last hour line by line by client id, For example:Read entitled 2015080112,2015080113 User action log.
2nd, video playback number, video are obtained in the user behavior data within the scheduled time to broadcast Put the broadcasting number that duration and heartbeat data and the last item data occur in pairs.
3rd, the video playback number, video playback duration and the default user behavior data are sent Interval carries out computing and obtains the transmission frequency.
Wherein, by the video playback number, video playback duration and the default user behavior data Transmission interval carries out computing and obtains the transmission frequency, can specifically adopt but be not limited to following side Method realizes that the method is:
Average playing duration=∑ plays number/∑ playing duration, between transmission frequency=average playing duration/transmission Every.Wherein, interval=4 is sent defined in the embodiment of the present invention, this value can set according to the actual requirements Put.
4th, the broadcasting number that the heartbeat data and the last item data occur in pairs is carried out into computing and obtains use The non-loss situation of family behavioral data.
Wherein, when the non-loss situation is not to lose ratio, by the heartbeat data and the last item The broadcasting number that data occur in pairs carries out computing acquisition user behavior data does not lose ratio specifically can adopt With but be not limited to following method and realize, the method is:Ratio=heartbeat data that data are not lost and The broadcasting number duplicate removal that the last item data occur in pairs/∑ plays number duplicate removal.
In the embodiment of the present invention, client obtains configuration information service when new video playback is created Device is dynamically determined according to the type information of client, the daily record of historic user behavioral data and user profile Client send the configuration information that user's viewing creates the user behavior data of new video, and according to institute The sending method type and frequency included in configuration information is stated, to the reception server user's viewing wound is sent Build the user behavior data of new video.Because client sends the sending method type of user behavior data With frequency be configuration server according to the type information of client, the daily record of historic user behavioral data and User profile is dynamically determined, and what nonsystematic was fixedly installed, so transmission user's row that client is used For the transmission types and frequency of data, according to the actual conditions and Requirement Acquisition of client, with existing skill Art is compared using the transmission that a kind of fixed mode carries out user behavior data, is more suitable for sending out for client Send demand, it is to avoid blindly using the sending method for being not suitable for client demand, to a certain extent save Resource is saved.
Also, client is calculated according to user behavior data in the embodiment of the present invention and sends user behavior number According to transmission frequency, it is determined that need update transmission frequency in the case of, in time by update transmission frequency Rate is sent to configuration information server, so that configuration information server upgrades in time, and then ensures client End gets the configuration information of latest update, increases the accuracy of statistics.
The embodiment of the present invention also provides a kind of dispensing device of user behavior data, and the device is client The device of side, as shown in figure 3, the device includes:
Acquiring unit 31, for when new video playback is created, obtaining the client user is sent Viewing creates the configuration information of the user behavior data of new video, and the configuration information is configuration information clothes Business device according to the type information of client, the daily record of historic user behavioral data and user profile dynamic really Fixed, wherein comprising sending method type and frequency;Wherein, described sender method type and frequency can Thinking but be not limited to following form includes:
Transmission types end to end, the transmission frequency of the transmission types end to end is 0;
Or fixed frequency transmission types, the frequency of the fixed frequency transmission types is 0;
Or dynamic frequency transmission types, the frequency of the dynamic frequency transmission types is according to historic user Behavioral data log information determines.
Transmitting element 32, for according to the sending method type and frequency included in the configuration information, The user behavior data that user's viewing creates new video is sent to the reception server.
Further, the acquiring unit 31 includes:
Module is checked, for checking the client locally with the presence or absence of slow comprising the configuration information Deposit;
Acquisition module, for when checking the client and locally there is no the caching, to described Configuration information server sends configuration information described in the acquisition request for obtaining configuration information;
Determining module, it is described slow for when it is determined that the client locally has the caching, determining Whether effective deposit;
The acquisition module is additionally operable to, when it is determined that the local caching of the client is effective, from The caching obtains the configuration information;
The acquisition module is additionally operable to, it is determined that the client can not obtain described from the caching Configuration information either the caching exist but it is invalid or can not from the configuration server obtain described in match somebody with somebody Confidence ceases, then obtain the client it is initial when the default configuration information that configures.
Further, as shown in figure 4, the device also includes:Storage unit 33, for from configuration Information server is obtained after the configuration information, and the configuration information is stored in into the caching.
Further, when the sending method type in the configuration information is transmission types end to end;For Confirm whether the last item user behavior data for sending can normally send, the embodiment of the present invention The transmitting element to the reception server specifically for when establishment new video is commenced play out, sending and creating Corresponding first user behavior data of new video;And terminate or described creating new video and playing When client is closed, send to the reception server and create the corresponding Article 2 user behavior data of new video With jumping figure evidence of uniting as one.
The embodiment of the present invention also provides a kind of dispensing device of user behavior data, and the device takes to receive The device of business device side, as shown in figure 5, the device includes:
Receiving unit 41, for receiving the user behavior data that client sends according to configuration information, institute Configuration information is stated for type information, historic user behavioral data of the configuration information server according to client What daily record and user profile were dynamically determined, wherein comprising sending method type and frequency;
First determining unit 42, uses for determining that the client sends according to the user behavior data The non-loss situation of transmission frequency and data of family behavioral data;
Second determining unit 43, for when it is determined that the non-loss situation of the data conforms to a predetermined condition, Determine whether the corresponding transmission types of the transmission frequency are dynamic frequency transmission types;
Transmitting element 44, for when it is determined that being dynamic frequency transmission types, the transmission frequency being sent out Give the configuration information server, to update the configuration information server in it is corresponding with confidence Transmission frequency in breath.
Further, first determining unit 42 includes:
First acquisition module, for obtaining the user behavior data in the scheduled time;
Second acquisition module, regards for obtaining in the user behavior data within the scheduled time Frequency plays the broadcasting number that number, video playback duration and heartbeat data and the last item data occur in pairs;
First computing module, for by the video playback number, video playback duration and default described User behavior data transmission interval carries out computing and obtains the transmission frequency;
Second computing module, for the broadcasting for the heartbeat data and the last item data occur in pairs Number carries out computing acquisition user behavior data and does not lose ratio.
It should be noted that the associated description of each functional unit and module in the embodiment of the present invention, can With the correspondence description of reference method embodiment, the embodiment of the present invention will not be described in great detail herein.
The embodiment of the present invention also provides a kind of transmission system of user behavior data, as shown in fig. 6, should System includes:
Configuration information server 51, for according to the type information of client, historic user behavioral data Daily record and user profile are dynamically determined client and send the user behavior number that user's viewing creates new video According to configuration information, the configuration information includes sending method type and frequency;
Client 52, for when new video playback is created, obtaining the configuration information, and according to The sending method type included in the configuration information and frequency, to the reception server user's viewing is sent Create the user behavior data of new video;
The reception server 53, for receiving the user behavior data that the client sends, according to described User behavior data determines that the client sends the transmission frequency and data of user behavior data and do not lose Situation;If the non-loss situation of the data conforms to a predetermined condition, it is determined that the transmission frequency is corresponding Whether transmission types are dynamic frequency transmission types;If so, then the transmission frequency is sent to described Configuration information server, to update the configuration information server in sending out in corresponding configuration information Send frequency.
In the embodiment of the present invention, client obtains configuration information service when new video playback is created Device is dynamically determined according to the type information of client, the daily record of historic user behavioral data and user profile Client send the configuration information that user's viewing creates the user behavior data of new video, and according to institute The sending method type and frequency included in configuration information is stated, to the reception server user's viewing wound is sent Build the user behavior data of new video.Because client sends the sending method type of user behavior data With frequency be configuration server according to the type information of client, the daily record of historic user behavioral data and User profile is dynamically determined, and what nonsystematic was fixedly installed, so transmission user's row that client is used For the transmission types and frequency of data, according to the actual conditions and Requirement Acquisition of client, with existing skill Art is compared using the transmission that a kind of fixed mode carries out user behavior data, is more suitable for sending out for client Send demand, it is to avoid blindly using the sending method for being not suitable for client demand, to a certain extent save Resource is saved.
In the embodiment of the present invention, it is also provided with storing the caching term of validity of the configuration information, to ensure visitor The configuration information that family end gets is the configuration information of configuration information server latest update, further protects The utilization rate of resource is demonstrate,proved, and ensure that the accuracy for obtaining data.
Also, the embodiment of the present invention is while the last item user behavior data is sent, one can be sent Bar heartbeat data, to detect whether user behavior data sends, and then determines user behavior data Loss situation, so as to ensure the correct renewal of configuration information, increases the accuracy of statistics.
Also, client is calculated according to user behavior data in the embodiment of the present invention and sends user behavior number According to transmission frequency, it is determined that need update transmission frequency in the case of, in time by update transmission frequency Rate is sent to configuration information server, so that configuration information server upgrades in time, and then ensures client End gets the configuration information of latest update, increases the accuracy of statistics.
The dispensing device of the user behavior data includes processor and memory, above-mentioned acquiring unit, Transmitting element, storage unit, receiving unit, the first determining unit, the second determining unit and transmission are single Unit etc. stores in memory as program unit, by computing device storage in memory upper State program unit to realize corresponding function.
Kernel is included in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can To arrange one or more, used according to the type information of client, history by adjusting kernel parameter What family behavioral data daily record and user profile were dynamically determined meets the transmission user behavior of client demand The transmission types and frequency of data, save to a certain extent resource.
Memory potentially includes the volatile memory in computer-readable medium, random access memory The form such as device (RAM) and/or Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM), memory includes at least one storage chip.
Present invention also provides a kind of computer program, when performing on data processing equipment, It is adapted for carrying out initializing the program code of there are as below methods step:Client is creating new video playback When, obtain the client and send the configuration information that user's viewing creates the user behavior data of new video, The configuration information is type information, historic user behavior number of the configuration information server according to client It is dynamically determined according to daily record and user profile, wherein comprising sending method type and frequency;According to institute The sending method type and frequency included in configuration information is stated, to the reception server user's viewing wound is sent Build the user behavior data of new video.The reception server receives the use that client sends according to configuration information Family behavioral data, the configuration information be configuration information server according to the type information of client, go through What the daily record of history user behavior data and user profile were dynamically determined, wherein comprising sending method type and Frequency;Determine that the client sends the transmission frequency of user behavior data according to the user behavior data Rate and the non-loss situation of data;If the non-loss situation of the data conforms to a predetermined condition, it is determined that described Whether the corresponding transmission types of transmission frequency are dynamic frequency transmission types;If so, then by the transmission Frequency is sent to the configuration information server, to update the configuration information server in it is corresponding Transmission frequency in configuration information.
Those skilled in the art it should be appreciated that embodiments herein can be provided as method, system, Or computer program.Therefore, the application can be implemented using complete hardware embodiment, complete software Example or with reference to the form of the embodiment in terms of software and hardware.And, the application can be adopted at one Or it is multiple wherein include computer usable program code computer-usable storage medium (including but not Be limited to magnetic disc store, CD-ROM, optical memory etc.) on the computer program implemented Form.
The application is with reference to the method according to the embodiment of the present application, equipment (system) and computer program The flow chart and/or block diagram of product is describing.It should be understood that can be realized flowing by computer program instructions In each flow process and/or square frame and flow chart and/or block diagram in journey figure and/or block diagram Flow process and/or square frame combination.Can provide these computer program instructions to all-purpose computer, specially With the processor of computer, Embedded Processor or other programmable data processing devices producing one Machine so that produced by the instruction of computer or the computing device of other programmable data processing devices It is raw to be used to realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple sides The device of the function of specifying in frame.
These computer program instructions may be alternatively stored in can guide computer or other programmable datas to process In the computer-readable memory that equipment works in a specific way so that be stored in the computer-readable and deposit Instruction in reservoir is produced and includes the manufacture of command device, and command device realization is in flow chart one The function of specifying in flow process or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions can also be loaded into computer or other programmable data processing devices On so that series of operation steps is performed on computer or other programmable devices to produce computer The process of realization, so as to the instruction performed on computer or other programmable devices is provided for realizing Specify in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames The step of function.
In a typical configuration, computing device include one or more processors (CPU), input/ Output interface, network interface and internal memory.
Memory potentially includes the volatile memory in computer-readable medium, random access memory The form such as device (RAM) and/or Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Memory is the example of computer-readable medium.
Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be with Information Store is realized by any method or technique.Information can be computer-readable instruction, data knot Structure, the module of program or other data.The example of the storage medium of computer includes, but are not limited to phase Become internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electricity can Erasable programmable read-only memory (EPROM) (EEPROM), fast flash memory bank or other memory techniques, read-only light Disk read-only storage (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic Cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus or any other non-transmission medium, Can be used to store the information that can be accessed by a computing device.Define according to herein, computer-readable Medium does not include temporary computer readable media (transitory media), the such as data-signal and load of modulation Ripple.
Embodiments herein is these are only, the application is not limited to.For this area skill For art personnel, the application can have various modifications and variations.It is all spirit herein and principle it Interior made any modification, equivalent substitution and improvements etc., should be included in claims hereof model Within enclosing.

Claims (10)

1. a kind of sending method of user behavior data, it is characterised in that include:
Client obtains client transmission user's viewing and creates new when new video playback is created The configuration information of the user behavior data of video, the configuration information is configuration information server according to visitor What the type information at family end, the daily record of historic user behavioral data and user profile were dynamically determined, wherein Comprising sending method type and frequency;
According to the sending method type and frequency that include in the configuration information, send to the reception server User's viewing creates the user behavior data of new video.
2. method according to claim 1, it is characterised in that obtain the client and send and use The configuration information of the user behavior data that family viewing creates new video includes:
Check the client locally with the presence or absence of the caching comprising the configuration information;
If there is no the caching, send to the configuration information server and obtain asking for configuration information Seek the acquisition configuration information;
If there is the caching, it is determined that whether the caching is effective;
If the caching is effective, from the caching configuration information is obtained;
If can not obtain from the caching configuration information either the caching exist but it is invalid or The configuration information can not be obtained from the configuration server, then obtain the client it is initial when configure Default configuration information.
3. method according to claim 2, it is characterised in that obtaining from configuration information server After taking the configuration information, also include:
The configuration information is stored in into the caching.
4. the method according to any one of claim 1-3, it is characterised in that described sender Method type and frequency include:
Transmission types end to end, the transmission frequency of the transmission types end to end is 0;
Or fixed frequency transmission types, the frequency of the fixed frequency transmission types is 0;
Or dynamic frequency transmission types, the frequency of the dynamic frequency transmission types is according to historic user Behavioral data log information determines.
5. method according to claim 4, it is characterised in that when sending out in the configuration information Delivery method type for transmission types end to end when;According to the sending method type included in the configuration information And frequency, to the reception server send user viewing create new video user behavior data include:
When establishment new video is commenced play out, send to the reception server and create new video corresponding first Bar user behavior data;
When new video broadcasting end is created or the client is closed, send to the reception server and create Build the corresponding Article 2 user behavior data of new video and jumping figure evidence of uniting as one.
6. a kind of sending method of user behavior data, it is characterised in that include:
The user behavior data that client sends according to configuration information is received, the configuration information is configuration Information server is according to the type information of client, the daily record of historic user behavioral data and user profile It is dynamically determined, wherein comprising sending method type and frequency;
Determine that the client sends the transmission frequency of user behavior data according to the user behavior data With the non-loss situation of data;
If the non-loss situation of the data conforms to a predetermined condition, it is determined that corresponding of the transmission frequency Send whether type is dynamic frequency transmission types;
If so, then the transmission frequency is sent into the configuration information server, it is described to update Transmission frequency in configuration information server in corresponding configuration information.
7. method according to claim 6, it is characterised in that according to the user behavior data Determine that the client sends the transmission frequency and the non-loss situation of data of user behavior data and includes:
Obtain the user behavior data in the scheduled time;
Video playback number, video playback are obtained in the user behavior data within the scheduled time The broadcasting number that duration and heartbeat data and the last item data occur in pairs;
Between the video playback number, video playback duration and the default user behavior data are sent The transmission frequency is obtained every computing is carried out;
The broadcasting number that the heartbeat data and the last item data occur in pairs is carried out into computing and obtains user The non-loss situation of behavioral data.
8. a kind of dispensing device of user behavior data, it is characterised in that include:
Acquiring unit, for when new video playback is created, obtaining the client user's sight is sent The configuration information of the user behavior data for creating new video is seen, the configuration information is configuration information service Device is dynamically determined according to the type information of client, the daily record of historic user behavioral data and user profile , wherein comprising sending method type and frequency;
Transmitting element, for according to the sending method type and frequency included in the configuration information, to The reception server sends the user behavior data that user's viewing creates new video.
9. a kind of dispensing device of user behavior data, it is characterised in that include:
Receiving unit, it is described for receiving the user behavior data that client sends according to configuration information Configuration information is type information, historic user behavioral data day of the configuration information server according to client What will and user profile were dynamically determined, wherein comprising sending method type and frequency;
First determining unit, for determining that the client sends user according to the user behavior data The non-loss situation of transmission frequency and data of behavioral data;
Second determining unit, for when it is determined that the non-loss situation of the data conforms to a predetermined condition, really Determine whether the corresponding transmission types of the transmission frequency are dynamic frequency transmission types;
Transmitting element, for when it is determined that being dynamic frequency transmission types, the transmission frequency being sent To the configuration information server, to update the configuration information server in corresponding configuration information In transmission frequency.
10. the transmission system of a kind of user behavior data, it is characterised in that include:
Configuration information server, for according to the type information of client, historic user behavioral data day Will and user profile are dynamically determined client and send the user behavior data that user's viewing creates new video Configuration information, the configuration information includes sending method type and frequency;
Client, for when new video playback is created, obtaining the configuration information, and according to institute The sending method type and frequency included in configuration information is stated, to the reception server user's viewing wound is sent Build the user behavior data of new video;
The reception server, for receiving the user behavior data that the client sends, according to the use Family behavioral data determines that the client sends the transmission frequency and data of user behavior data and do not lose feelings Condition;If the non-loss situation of the data conforms to a predetermined condition, it is determined that corresponding of the transmission frequency Send whether type is dynamic frequency transmission types;If so, then the transmission frequency is sent into described matching somebody with somebody Put information server, to update the configuration information server in transmission in corresponding configuration information Frequency.
CN201510718336.6A 2015-10-29 2015-10-29 The sending method of user behavior data, apparatus and system Active CN106658181B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510718336.6A CN106658181B (en) 2015-10-29 2015-10-29 The sending method of user behavior data, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510718336.6A CN106658181B (en) 2015-10-29 2015-10-29 The sending method of user behavior data, apparatus and system

Publications (2)

Publication Number Publication Date
CN106658181A true CN106658181A (en) 2017-05-10
CN106658181B CN106658181B (en) 2019-07-09

Family

ID=58829861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510718336.6A Active CN106658181B (en) 2015-10-29 2015-10-29 The sending method of user behavior data, apparatus and system

Country Status (1)

Country Link
CN (1) CN106658181B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116193210A (en) * 2023-03-03 2023-05-30 北京奇艺世纪科技有限公司 Video playing method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050186940A1 (en) * 2004-02-23 2005-08-25 Schatzberger Richard J. System and method for managing content of a remote device based on use probability
KR20070013389A (en) * 2005-07-26 2007-01-31 주식회사 제프정보기술 System and method to collect audience information using interactive digital broadcasting middleware
US20070300265A1 (en) * 2006-06-21 2007-12-27 Nokia Corporation User behavior adapted electronic service guide update
US20090070408A1 (en) * 2007-09-07 2009-03-12 At&T Knowledge Ventures, L.P. Apparatus and method for managing delivery of media content
CN102487324A (en) * 2010-12-02 2012-06-06 中国移动通信集团吉林有限公司 Customer information sending method and device and system thereof
CN102652424A (en) * 2009-12-23 2012-08-29 苹果公司 Efficient service advertisement and discovery in a peer-to-peer networking environment with dynamic advertisement and discovery periods based on operating conditions
CN102685843A (en) * 2011-03-17 2012-09-19 中国移动通信集团公司 Method, device and system for route updating period adjusting
US8826312B2 (en) * 2010-04-26 2014-09-02 Cox Communications, Inc. Broadcast remote control
CN104427359A (en) * 2013-08-27 2015-03-18 陕西天思信息科技有限公司 Audience rating system based on multiple family members and method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050186940A1 (en) * 2004-02-23 2005-08-25 Schatzberger Richard J. System and method for managing content of a remote device based on use probability
KR20070013389A (en) * 2005-07-26 2007-01-31 주식회사 제프정보기술 System and method to collect audience information using interactive digital broadcasting middleware
US20070300265A1 (en) * 2006-06-21 2007-12-27 Nokia Corporation User behavior adapted electronic service guide update
US20090070408A1 (en) * 2007-09-07 2009-03-12 At&T Knowledge Ventures, L.P. Apparatus and method for managing delivery of media content
CN102652424A (en) * 2009-12-23 2012-08-29 苹果公司 Efficient service advertisement and discovery in a peer-to-peer networking environment with dynamic advertisement and discovery periods based on operating conditions
US8826312B2 (en) * 2010-04-26 2014-09-02 Cox Communications, Inc. Broadcast remote control
CN102487324A (en) * 2010-12-02 2012-06-06 中国移动通信集团吉林有限公司 Customer information sending method and device and system thereof
CN102685843A (en) * 2011-03-17 2012-09-19 中国移动通信集团公司 Method, device and system for route updating period adjusting
CN104427359A (en) * 2013-08-27 2015-03-18 陕西天思信息科技有限公司 Audience rating system based on multiple family members and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116193210A (en) * 2023-03-03 2023-05-30 北京奇艺世纪科技有限公司 Video playing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN106658181B (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN111159436B (en) Method, device and computing equipment for recommending multimedia content
CN106559677A (en) The method and device of terminal, caching server and acquisition video slicing
WO2020253111A1 (en) Automatic expansion method and apparatus for blockchain node, and operation and maintenance terminal and storage medium
CN102681999A (en) Method and device for collecting and sending user action information
CN106961364A (en) Heartbeat detecting method and application server
CN106470163B (en) Information processing method, device and system
CN104104717A (en) Inputting channel data statistical method and device
CN105049290B (en) Page access monitoring method and device
CN107147724A (en) A kind of information push method, server and computer-readable recording medium
US10963920B2 (en) Web page viewership prediction
CN102737065A (en) Method and device for acquiring data
CN107147921A (en) Based on section and the intelligence CDN video playback accelerated methods dispatched and equipment
CN110968279A (en) Message degradation method and related device
CN103260062A (en) Method and device for carrying out content play and control over client sides
CN106686095A (en) Data storage method and device based on erasure code technology
CN107040576A (en) Information-pushing method and device, communication system
CN111726641A (en) Live video playing processing method and device and server
CN111309485A (en) Service calling method and device, electronic equipment and computer readable storage medium
CN107491549A (en) A kind of data processing method and system
CN105005585A (en) Log data processing method and device
CN103327036B (en) The identification method of internet browsing equipment and Cookie server
CN104571957B (en) A kind of method for reading data and assembling device
CN107087232A (en) The real-time status detection method and system of user
CN110971920B (en) Message degradation method and related device
CN106658181A (en) User behavior data sending method, apparatus and system

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 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