A kind of processing method, device and computer readable storage medium shared based on information
Technical field
The present invention relates to technical field of information processing more particularly to it is a kind of based on information share processing method, device and
Computer readable storage medium.
Background technique
Currently, shoot short-sighted frequency using short video capture tool, and by share contact for example wechat, circle of friends, microblogging,
QQ, QQ space etc., by short video sharing to other users.
It, can only be from the communication of wechat after sharing contact such as wechat when the user clicks but for sharing contact and be wechat
The good friend of short-sighted frequency is shared in selection in record, due to the good friend of user's selection not necessarily user is shared it is short video interested, because
And it is lower to share efficiency.
Summary of the invention
In view of this, an embodiment of the present invention is intended to provide a kind of processing method, device and computers shared based on information
Readable storage medium storing program for executing can be improved the efficiency of sharing video frequency.
The technical solution of the embodiment of the present invention is achieved in that
The embodiment of the present invention provides a kind of processing method shared based on information, which comprises
Determine the type of client video to be shared;
Determine that at least one for meeting preset condition shares user from the user of first list;User in first list
For the user with the client associate;The preset condition characterization shares user and the type of the video matches or divides
The cohesion for enjoying family and client user meets the first preset condition;
The identity-related information that at least one determining shares user is sent to the client;The identity of transmission is related
Information is used to generate corresponding sharing contact for the client.
Determine that at least one for meeting preset condition shares user in above scheme, in the user from first list,
Include:
Number is interacted between the client user and the user of first list based on statistics, from the use of first list
Determine that at least one for meeting preset condition shares user in family;
Alternatively, the user based on first list watches the number of the video of the type, from the user of first list really
Surely meet at least one sharing user of preset condition.
In above scheme, interacting between the client user based on statistics and the user of first list is secondary
Number determines that at least one for meeting preset condition shares user from the user of first list, comprising:
For each user in first list, the mutual of relative users and the client user in preset time period is counted
Dynamic number;
Using the interaction number of statistics, the cohesion between relative users and the client user is calculated;
Each user is ranked up according to the cohesion of calculating, obtains the first ranking results;
Determine that first ranking results meet at least one sharing of the first preset condition from the user of first list
User.
In above scheme, the user based on first list watches the number of the video of the type, from first list
User in determine meet preset condition at least one share user, comprising:
From the video that itself is stored, at least one second video identical with the type in preset time period is searched;
For each user in default first list, it is described at least to count relative users viewing in the preset time period
The number of all videos in one the second video;
Using the number of statistics, each user is ranked up, obtains the second ranking results;
Determine that second ranking results meet at least one sharing user of preset condition from the user of first list.
In above scheme, the method also includes:
Determining at least one user with the client with binding relationship;
For each user at least one user with binding relationship, the institute that relative users upload or share is determined
There is video identical with the type in video;
Using the video identical with the type determined as video to be recommended;
The video to be recommended is sent to the client;The video to be recommended is used for for the client in generation point
It enjoys and is shown in the sharing interface of contact so that the client user checks.
The embodiment of the present invention provides a kind of processing method shared based on information, which comprises
It receives at least one that server is sent and shares the identity-related information of user;The sharing user is the service
The user for meeting preset condition that device is determined from first list;The preset condition characterization shares the class of user and the video
Type match or the share cohesion of user and client user meets the first preset condition;
It is corresponding to generate corresponding sharing user using the corresponding identity-related information for sharing user for each sharing user
Sharing contact;
When detecting for the first operation for sharing contact, by video sharing to be shared to corresponding sharing user.
It is described by video sharing to be shared to corresponding sharing user in above scheme, comprising:
It generates and accordingly shares the corresponding prompting frame of user;The prompting frame is used to input for the client user for giving
That shares user's message sends word information;
Receive client user input user is corresponding sends word information with corresponding sharing;
By video to be shared and information is sent word, is shared to corresponding sharing user.
The embodiment of the present invention provides a kind of processing unit shared based on information, and described device includes:
Determining module, for determining the type of client video to be shared;It is also used to from the user of first list really
Surely meet at least one sharing user of preset condition;User in first list is the user with the client associate;Institute
It states preset condition characterization and shares user and match with the type of the video or share the cohesion of user and client user
Meet the first preset condition;
Sending module, at least one identity-related information for sharing user determined to be sent to the client;
The identity-related information of transmission is used to generate corresponding sharing contact for the client.
The embodiment of the present invention provides a kind of processing unit shared based on information, and described device includes:
Receiving module, the identity-related information of at least one sharing user for receiving server transmission;The sharing
User is the user for meeting preset condition that the server is determined from first list;The preset condition characterization shares user
The cohesion for matching with the type of the video or sharing user and client user meets the first preset condition;
Generation module, using the corresponding identity-related information for sharing user, generates corresponding for being directed to each sharing user
Share the corresponding sharing contact of user;
Sharing module, for when detecting for the first operation for sharing contact, by video sharing to be shared to right
The sharing user answered.
The embodiment of the present invention provides a kind of computer readable storage medium, is stored thereon with computer program, the calculating
Machine program realizes the step of any of the above item processing method when being executed by processor.
The embodiment of the present invention provides a kind of equipment management device, comprising: memory, processor and storage are on a memory
And the computer program that can be run on a processor;
Wherein, the processor is for executing any of the above item processing method when running the computer program
Step.
Processing method, device and the computer readable storage medium provided in an embodiment of the present invention shared based on information, really
Determine the type of client video to be shared;Determine that at least one for meeting preset condition shares use from the user of first list
Family;User in first list is the user with the client associate;The preset condition characterization shares user and the view
The type of frequency match or the share cohesion of user and client user meets the first preset condition;By determining at least one
A identity-related information for sharing user is sent to the client;The identity-related information of transmission is used for raw for the client
At corresponding sharing contact.In the embodiment of the present invention, the server can determine at least one from the user of first list
Meet at least one sharing user of preset condition, the preset condition characterization shares user and the type of the video matches
Or share cohesion the first preset condition of satisfaction of user and client user;That is, at least one described sharing is used
Family is interested in the video, so, it is possible to improve and shares efficiency.
Detailed description of the invention
Fig. 1 a to Fig. 1 f is the schematic diagram of short video capture tool in the related technology;
Fig. 2 a is the implementation process schematic diagram one for the processing method that the embodiment of the present invention is shared based on information;
Fig. 2 b is the schematic diagram that the embodiment of the present invention shares contact in live streaming interface display;
Fig. 3 is the implementation process schematic diagram two for the processing method that the embodiment of the present invention is shared based on information;
Fig. 4 is the specific implementation flow schematic diagram for the processing method that the embodiment of the present invention is shared based on information;
Fig. 5 a is the schematic diagram one that the embodiment of the present invention shares contact;
Fig. 5 b be the embodiment of the present invention share contact with share the schematic diagram sent word;
Fig. 6 is the schematic diagram two that the embodiment of the present invention shares contact;
Fig. 7 is the schematic diagram for the recommendation contact that video to be recommended of the embodiment of the present invention generates;
Fig. 8 is the schematic diagram for the floating window that contact is shared in display of the embodiment of the present invention;
Fig. 9 is the composed structure schematic diagram one for the processing unit that the embodiment of the present invention is shared based on information;
Figure 10 is the composed structure schematic diagram two for the processing unit that the embodiment of the present invention is shared based on information.
Figure 11 is the composed structure schematic diagram three for the processing unit that the embodiment of the present invention is shared based on information.
Figure 12 is the composed structure schematic diagram four for the processing unit that the embodiment of the present invention is shared based on information.
Specific embodiment
In the related technology, it is for example micro- to be based primarily upon external contact for the sharing method of publication link for short video capture tool
Letter, circle of friends, microblogging, QQ, QQ space etc., and can only select from the address list in fixed list such as wechat to sharing video frequency
Good friend.Short video capture tool can be trill as shown in Figure 1a, beauty as shown in Figure 1 b is clapped, as illustrated in figure 1 c micro-
Depending on, FACEU as shown in Figure 1 d, volcano small video as shown in fig. le, quick worker as shown in Figure 1 f etc..
Based on this, in the embodiment of the present invention, the type of client video to be shared is determined;From the user of first list
Determine that at least one for meeting preset condition shares user;User in first list is the user with the client associate;
Preset condition characterization shares user and matches with the type of the video or share the intimate of user and client user
Degree meets the first preset condition;The identity-related information that at least one determining shares user is sent to the client;Hair
The identity-related information sent is used to generate corresponding sharing contact for the client.
The characteristics of in order to more fully hereinafter understand the embodiment of the present invention and technology contents, with reference to the accompanying drawing to this hair
The realization of bright embodiment is described in detail, appended attached drawing purposes of discussion only for reference, is not used to limit the present invention.
As shown in Figure 2 a, the processing method that embodiment that the present invention will be described in detail is shared based on information, the present embodiment based on
The processing method that information is shared is applied to server side, comprising the following steps:
Step 201: determining the type of client video to be shared.
Here, the server can first obtain the video of client upload, and the video that will acquire is as view to be shared
Frequently;Then voice in video content analysis, such as video, text, personage etc. are carried out, to the video to be shared to know
The type of the not described video to be shared.Alternatively, client carries out video content analysis to video to be uploaded, will identify that
Type and video are uploaded to the server together;Alternatively, the client obtains the label that user is directed to the video selection;
The type of video described in the tag characterization;And the label and the video are sent jointly into the server.
Step 202: determining that at least one for meeting preset condition shares user from the user of first list;First list
In user be user with the client associate;The preset condition characterization shares the type phase of user and the video
The cohesion for matching or sharing user and client user meets the first preset condition.
Here, the server can first determine at least one application program such as wechat of the client associate,
QQ, microblogging;From at least one described application program, determine that client user's uploaded videos use first applies journey
Sequence;When the client user is added with good friend in the first application program, the client user is answered described first
Use the good friend added in program as the user in first list.When the client user is not added in the first application program
When any good friend, from remaining application program, determining at least one second application program at least one described application program;
The good friend that the client user is added at least one described second application program is as the user in first list.
In order to improve the efficiency that video is shared, can be filtered out from the user of first list meet preset condition to
A few sharing user, at least one described sharing user is larger to the interest of the video, thus shares described to be shared
The probability of video is larger, thus can improve and share efficiency.
For example, the server can be preferentially from the first application program such as microblogging that client uploads the video
Buddy list is obtained, the user in buddy list that will acquire is as the user in first list, that is to say, that good friend in standing
As the user in first list;When the client user be not added in the first application program for uploading the video it is any
When good friend, it is good that the server obtains letter from the one of third party application such as wechat account with the client associate
Friendly list, the user in buddy list that will acquire is as the user in first list;Alternatively, from the client associate
Buddy list is obtained in any two third party application such as wechat account, QQ account, the buddy list that will acquire is as
User in one list.
In one embodiment, determine that at least one for meeting preset condition shares use in the user from first list
Family, comprising: number is interacted between the client user and the user of first list based on statistics, from the use of first list
Determine that at least one for meeting preset condition shares user in family;Alternatively, the user based on first list watches the type
The number of video determines that at least one for meeting preset condition shares user from the user of first list.
It, can be based on number be interacted between the client user and the user of first list, from when practical application
At least one is screened in the user of one list shares user;Alternatively, the client user can be from the user of first list
At least one user is specified, using specified user as sharing user;Alternatively, the user based on first list watches the type
The number of video screens at least one from the user of first list and shares user;Alternatively, the user based on first list shares
The number of the type video screens at least one from the user of first list and shares user;Alternatively, obtaining first list
Whether user judges the user of first list to the type evaluation information of the video of the type based on evaluation information
It is video interested, using the video interested user to the type as sharing user.
In one embodiment, interacting time between the client user based on statistics and the user of first list
Number determines that at least one for meeting preset condition shares user, comprising: in first list from the user of first list
Each user, count relative users and the client user in preset time period interacts number;Utilize the interaction time of statistics
Number calculates the cohesion between relative users and the client user;Each user is arranged according to the cohesion of calculating
Sequence obtains the first ranking results;Determine that first ranking results meet the first preset condition from the user of first list
At least one shares user.
In order to improve sharing efficiency, avoid the problem that selecting sharing low efficiency caused by sharing user as user oneself,
The cohesion that the server can be calculated according to the interaction number of statistics, determines at least one automatically for the client user
Share user.Here, by the cohesion of calculating, can predict the determining relationship shared between user and client user compared with
The relationship of other users is more intimate in first list, thus shares user to the interest of video compared with other users in first list
Interest is larger, it is larger compared with the probability of other users in first list to the probability of video sharing to share user, and then can be improved
Share efficiency.
Here, the interaction number of statistics may include personal letter number, share number, comment number etc., can be to statistics
Interaction number, calculate score value, for example personal letter is primary, remember 3 points, share primary, remember 1 point, comment is primary, remembers 1 point;By calculating
Each score value summation, as the cohesion between relative users and the client user.And according to cohesion to first list
In each user be ranked up, and determine it is described meet the first preset condition at least one share user, such as will sequence
Three forward users are as sharing user.
In one embodiment, the user based on first list watches the number of the video of the type, from first row
Determine that at least one for meeting preset condition shares user in the user of table, comprising: from the video that itself is stored, search default
At least one second video identical with the type in period;For each user in default first list, institute is counted
State the number that relative users in preset time period watch all videos at least one described second video;Utilize time of statistics
Number, is ranked up each user, obtains the second ranking results;Second ranking results are determined from the user of first list
Meet at least one sharing user of preset condition.
In order to improve sharing efficiency, avoid the problem that selecting sharing low efficiency caused by sharing user as user oneself,
The server can watch the number of the video of the type based on the user of first list, be automatically the client user
Determine that at least one shares user.Here, by the number of the video of the viewing type of statistics, determining point can be predicted
It is larger compared with the interest of other users in first list to the interest of video to enjoy family, thus shares user to the probability of video sharing
Probability compared with other users in first list is larger, and then can be improved sharing efficiency.
Step 203: the identity-related information that at least one determining shares user is sent to the client;It sends
Identity-related information is used to generate corresponding sharing contact for the client.
Here, the identity-related information for sharing user can be head portrait, the pet name etc..
When practical application, the server cohesion based on calculating can be determined at least one share user with
And at least one identity-related information for sharing user that the number based on the video for watching the type is determined is sent to institute
State client.Alternatively, at least one sharing user that the server determines the cohesion based on calculating is as the first kind
Share user, such as intimate user;At least one that number based on the video for watching the type is determined shares user
Share user, such as user interested as the second class;It obtains the first kind and shares the identity phase that user shares user with the second class
Information is closed, and is sent to the client, shares the corresponding sharing contact of user and the so that the client generates the first kind
Two classes share the corresponding sharing contact of user.
Here, it is including but not limited to screened based on cohesion and shares user and based on the video number for watching the type
User is shared in screening, and the sharing user filtered out can be updated, such as when detecting that the user of first list changes
When change, redefines and share user.
In one embodiment, the method also includes determining at least one use with the client with binding relationship
Family;For each user at least one user with binding relationship, all views that relative users upload or share are determined
Frequently;The video of the second preset condition will be met in all videos of each user as video to be recommended;It is sent out to the client
Send the video to be recommended;The video to be recommended is used to carry out in generating the sharing interface for sharing contact for the client
It shows so that the client user checks.Here, there is at least one user of binding relationship with the client, can be
The user of client user's concern.
Specifically, the server can for the client concern each user, determine relative users upload or
Share all videos in each video by sharing number;Based on determining by sharing number, all users are uploaded or are divided
All videos enjoyed obtain third ranking results according to sorting from high to low;The second default item will be met in third ranking results
The video of part, such as will be by the highest video of sharing number as video to be recommended as video to be recommended.
In one embodiment, the method also includes determining at least one use with the client with binding relationship
Family;For each user at least one user with binding relationship, all views that relative users upload or share are determined
Video identical with the type in frequency;Using the video identical with the type determined as video to be recommended;To described
Client sends the video to be recommended;The video to be recommended is used to generate sharing circle for sharing contact for the client
It is shown in face so that the client user checks.Here, there is at least one use of binding relationship with the client
Family can be the user of client user's concern.
Specifically, the server can also determine that relative users upload for each user of client concern
Or video identical with the type in all videos shared;Count video identical with the type is shared number;
Based on determining by sharing number, to all videos identical with the type according to sorting from high to low, third sequence is obtained
As a result;The video of the second preset condition will be met in third ranking results as video to be recommended, for example will be arranged by sharing number
First three video of name is as video to be recommended.
In order to improve the interest for the video that the client user shares other users, the server can will be described
Video to be recommended is sent to the client.The client receives the video to be recommended;It is raw based on the video to be recommended
Recommend contact at least one;Current display interface show it is described at least one recommend contact when, can only show it is described extremely
Few one a part recommended in contact recommends contact;When the client user click on display recommend contact at drop-down by
When button, show that remaining other recommend contacts at least one described recommendation contact in drop-down menu.When the client is used
Family recommendation contact when clicking, the available link for recommending the corresponding video in contact of client;Based on link
Obtain the details page of corresponding video;And show the details page.
In the embodiment of the present invention, in order to increase the efficiency mutually shared between user, in addition to dividing for client user's screening
Enjoy open air, can also according to the client share video type, determine other users share video in the class
The identical video of type, as video to be recommended, in this way, the client user can be predicted to the interest of the video to be recommended
Larger, the probability for sharing the video to be recommended is larger, and then can increase the efficiency mutually shared between user, also helps and mentions
The social desire of the high client user.
The embodiment of the present invention can be applied to live streaming field, and Fig. 2 b is the signal in the sharing contact of live streaming interface display
Figure, as shown in Figure 2 b, the process of generation sharing contact include: the gesture letter that the client detects main broadcaster during live streaming
Breath;When detecting gesture information, the client, which sends to obtain to the server, shares good friend's request;The server connects
After receiving the request, the sharing user for meeting preset condition is determined from the user of first list;And it obtains and shares good friend's ratio
Such as hail fellow, the identity-related information of good friend interested;From the video being locally stored, video to be recommended is determined;It will determine
Sharing good friend identity-related information and video to be recommended be sent to the client;Client is based on received identity phase
It closes information and video to be recommended generates and shares contact and recommendation contact.
It applies at the field of live streaming, the generation for the case where network interruption leads to not publication/sharing in order to prevent, the visitor
Family end can also detect network, and when detecting network interruption, by toast prompting frame, display reminding is believed in floating window
Breath such as " shares failure, please check network ", and shows the network interruption overall situation specification page.
Here, if the client user is newly infused in the first application program such as miaow for uploading the video cluck circle circle
The user of volume, i.e., the described client user are not added with any good friend, then the server determines and divides from the user of second list
Enjoy the user of the video of the type;The good friend of the not described client user's addition of user in the second list,
All users registered in first application program, that is, stand interior user;It counts the user determined and shares the type
Video number;According to the video number of statistics, ranking is carried out to the user determined;Using ranking, first three user uses as active
Family;The identity-related information of any active ues is obtained, and is sent to the client;Identity of the client based on any active ues
Relevant information generates corresponding sharing contact, and is shown in floating window.
Using the technical solution of the embodiment of the present invention, the server can determine at least one from the user of first list
At least one a for meeting preset condition shares user, at least one described sharing user is larger to the interest of the video, right
The sharing probability of the video is also larger, so, it is possible to improve the efficiency shared.
The processing method that embodiment shared based on information as shown in figure 3, the present invention will be described in detail, the present embodiment based on letter
The processing method that breath is shared is applied to client-side, comprising the following steps:
Step 301: receiving at least one that server is sent and share the identity-related information of user.
Wherein, the sharing user is the user for meeting preset condition that the server is determined from first list;Institute
It states preset condition characterization and shares user and match with the type of the video or share the cohesion of user and client user
Meet the first preset condition.The identity-related information for sharing user can be head portrait, the pet name etc..
Here, at least one sharing user that the server can determine the cohesion based on calculating is as first
Class shares user, such as intimate user;At least one that number based on the video for watching the type is determined, which is shared, to be used
Share user, such as user interested as the second class in family;And it is related to the identity of the second class user to will acquire first kind user
Information, and it is sent to the client.
The client can also receive the video to be recommended that the server is sent;Based on video to be recommended, generation is pushed away
Recommend contact;When detecting the client user for the clicking operation for recommending contact, the details of the video to be recommended are shown
The page.
Step 302: being directed to each sharing user, using the corresponding identity-related information for sharing user, generate corresponding share
The corresponding sharing contact of user.
Here, identity-related information of the client based at least one received sharing user, generates corresponding first
Class shares the corresponding sharing contact of user, that is, intimate user and shares the corresponding sharing contact of user user i.e. interested with the second class.
Here, the client can also generate the corresponding removal button for sharing contact;It is used when getting the client
When family is for the operation for removing button, it will accordingly share contact and be removed from display interface, i.e., not show the corresponding sharing touching
Point.
Here, it including but not limited to generates first kind sharing user and shares the corresponding sharing contact of user with the second class.And
The client can be updated the sharing contact of generation, such as when client user uses the corresponding sharing in contact is shared
When family is lost interest in, replacement instruction can be inputted to the client, after the client receives replacement instruction, screening is full again
The sharing user of sufficient preset condition.
Step 303: when detecting for the first operation for sharing contact, by video sharing to be shared to corresponding point
Enjoy family.
Wherein, first operation can be user for the clicking operation etc. for sharing contact.
In one embodiment, described by video sharing to be shared to corresponding sharing user, comprising: to generate corresponding share
The corresponding prompting frame of user;The prompting frame is for sending word letter for what is left a message to sharing user for client user input
Breath;Receive client user input user is corresponding sends word information with corresponding sharing;By video to be shared and post
Language information is shared to corresponding sharing user.
Here, it is contemplated that the client user may be different to the message of different sharing users, therefore, for each
Share user, generate the corresponding prompting frame for sharing user, so that the client user is to the corresponding sharing user message.Such as
This, difference shares users, and corresponding to send word INFORMATION OF INCOMPLETE identical, it is thus possible to targetedly improve and share treating for user
The interest of sharing video frequency, and then improve and share efficiency, while helping to improve user experience.
Share the occurrence of interrupting caused by network interruption in order to prevent, the client can also examine network
It surveys, when detecting network interruption, such as " shares and fail, please check network " by toast prompting frame display reminding information.
Here, interest analysis is carried out according to the video number that the user of the first list of record watches the type, obtained
There may be the sharing users of interest, in this way, shared based on the sharing contact generated there may be the sharing user of interest,
It can utmostly pull " people having the same habits' effect ", promote temperature and strengthen social attribute.
Here, the client user can also customize the display order for sharing contact in floating window.Specifically, when detecting
When the client user is for the moving operation for sharing contact shown, the corresponding moving direction of moving operation is determined;It is based on
The display position of contact is shared in determining moving direction, adjustment, to change the display order for sharing contact, and will be aobvious after movement
Show that sequence is saved.Sequence after movement can be with are as follows: wechat is moved at first sharing contact and is shown, by QQ sky
Between be moved to third share contact at shown.
The client user, which can also customize, shares the corresponding sharing good friend in contact in floating window.Specifically, in floating window
Display addition button;When detecting clicking operation of the client user for addition button, second list is shown;It is described
The user of second list is all users registered in station, rather than good friend in the station of client user addition;As the visitor
For family end subscriber after selection addition user in the second list, the client is generated based on the user of addition shares contact,
And it is shown in floating window.When the client user issues every time or when sharing video frequency, can show in the floating window of pop-up
Show the sharing contact generated based on second list.
Using the technical solution of the embodiment of the present invention, the client shares the identity correlation letter of user based at least one
Breath, generates corresponding sharing contact;When detecting for the first operation for sharing contact, by video sharing to be shared to right
The sharing user answered.Wherein, share user to match with the type of the video or share the parent of user and client user
Density meets the first preset condition, and in other words, at least one described sharing user is larger to the interest of the video, shares institute
The probability for stating video is larger, so, it is possible to improve the efficiency shared.
Below by taking specific embodiment as an example, the realization process and principle that the present invention will be described in detail in practical applications.
Fig. 4 is the specific implementation flow schematic diagram for the processing method that the embodiment of the present invention is shared based on information, specific implementation
Process includes the following steps:
Step 401: server obtains the video to be shared that client uploads.
Here, video to be shared can be client user using the video capture function in miaow cluck circle circle application program
The one section of video completed can be shot.The client user can be pressed after having shot this section of video record by clicking publication
The video of shooting is uploaded to the server by the mode of button.Alternatively, directly being uploaded after the client has shot video
To the server, that is to say, that the server directly acquires the video of client user's shooting.
Step 402: the server determines that at least one for meeting preset condition shares use from the user of first list
Family;The identity-related information that at least one determining shares user is sent to the client;The client is based on described
Identity-related information generates corresponding sharing contact.
Wherein, preset condition characterization shares user and matches with the type of the video or share user and client
The cohesion of end subscriber meets the first preset condition.
The first, based on cohesion determine share good friend specific implementation process, include the following steps:
Step a1: the user end to server, which sends to obtain, shares good friend's request, and the server receives described ask
After asking, the relative users in first list and the cohesion between the client user are calculated.
Here, first list is the list that the good friend based on client user addition generates.It for example, can be with needle
First list is generated to the good friend added in miaow cluck circle circle, it can also be in the third-party application with the client associate
The good friend added in program such as wechat or QQ generates first list.
Shown in the calculation formula of cohesion p such as formula (1):
P=∑ m1+ ∑ m2+ ∑ m3- ∑ m4 (1)
Wherein, 0≤ρ≤100), ∑ m1 indicates the corresponding cohesion of personal letter total degree in preset number of days;∑ m2 indicates pre-
If the corresponding cohesion of sharing total degree in number of days;∑ m3 indicates the corresponding cohesion of comment total degree in preset number of days;
∑ m4 indicates total number of days of no interaction.Computation rule can be with are as follows: carries out a personal letter, cohesion+3 daily, the upper limit 3 is divided;Daily
Once shared, cohesion+1, the upper limit 3 is divided;The comment of good friend is replied daily, cohesion+1, the upper limit 3 is divided;One day
Any interaction, cohesion -1 are not carried out;The cohesion upper limit is 100 points, and lower limit is 0 point.
Step b1: the server is ranked up each user in first list according to cohesion from high to low, will
The good friend of sequence the first four place obtains the identity-related information for sharing good friend, and be sent to the client as user is shared.
Here, the identity-related information can be head portrait, the pet name etc..
Step c1: the client receives at least one that server is sent and shares the identity-related information of user, utilizes
The corresponding identity-related information for sharing user generates and accordingly shares the corresponding sharing contact of user, and is shown in floating window.
Fig. 5 a is the schematic diagram of the sharing contact generated, and the corresponding corresponding sharing contact of user, that is, hail fellow of sharing can be with
It is clicked by user.
Step d1: after detecting that the client user clicks any sharing good friend corresponding sharing contact, the visitor
Family end the video sharing of shooting is shared into user to corresponding.
Here, by accordingly sharing the corresponding sharing contact of user, it can quickly share video to be shared, enhance in station
The social number of good friend.
Here, in order to further increase sharing efficiency, the client user can trigger multiple sharing contacts simultaneously, such as
This, the video sharing of shooting can be once shared with multiple sharing users by the client, can without repeating to share repeatedly
To simplify user's operation process.
In addition, can also obtain to share before being shared with sharing user and send word in order to further enhance effect is shared, it will
Video corresponding shares user with sharing to send word while being shared with.Fig. 5 b be share contact with share the schematic diagram sent word, such as Fig. 5 b
It is shown, input frame is shown on each corresponding position for sharing contact, in this way, the client user can be according to different points
Enjoy family, edit respectively it is different send word information, for example, for good friend 1 is shared, input send word " my elder brother, fastly from the point of view of my dancing
Video " or " jumping one section to close ".The information of sending word of input can be stored in local, and sending word input by the client
Information is shown as default information when being shared the client next time.Synchronizing information can also will be sent word to institute
State server.
In actual application, the client can also detect network, when detecting network interruption, lead to
It crosses toast prompting frame display reminding information in floating window and such as " shares failure, please check network ".
When the user in first list is the newly added good friend of the client user, the server is not preserved newly
When the user of addition watches the historical record and social interaction record of video in station, from the user of second list, determining point
Enjoy the user of the video of the type;The good friend of the not described client user's addition of user in the second list,
All users for registering stand interior user in miaow cluck circle circle application program;Count the view that the user determined shares the type
Frequency number;According to the video number of statistics, ranking is carried out to the user determined;Using ranking, first three user uses as active
Family;The identity-related information of any active ues is obtained, and is sent to the client;Identity of the client based on any active ues
Relevant information generates corresponding sharing contact, and is shown in floating window.
Second, the specific implementation process for sharing good friend is determined based on the video number for watching the type, including as follows
Step:
Step a2: from the video that itself is stored, search in preset time period it is identical with the type at least one the
Two videos.
Step b2: for each user in default first list, relative users in the preset time period is counted and are watched
The number of all videos at least one described second video.
Step c2: using the number of statistics, being ranked up each user from high to low, and the user of the first four place that sorts is made
To share good friend, the identity-related information for sharing good friend is obtained, and be sent to the client.
Here, the identity-related information can be head portrait, the pet name etc..
Step d2: the client receives at least one that server is sent and shares the identity-related information of user, utilizes
The corresponding identity-related information for sharing user generates and accordingly shares the corresponding sharing contact of user, and is shown in floating window,
As shown in Figure 6.
Fig. 6 is the schematic diagram of the sharing contact generated, corresponding to share corresponding point of the interested good friend of user, that is, most probable
Enjoying contact can be clicked by user.
Step e2: after detecting that the client user clicks any sharing good friend corresponding sharing contact, the visitor
Family end the video sharing of shooting is shared into user to corresponding.
Here, interest analysis is carried out according to the video number that the user of the first list of record watches the type, obtained
There may be the sharing users of interest, in this way, shared based on the sharing contact generated there may be the sharing user of interest,
It can utmostly pull " people having the same habits' effect ", promote temperature and strengthen social attribute.
In actual application, the server can provide standard to the client user and select interface, obtain
The corresponding label of the video type of client user's selection;When any one label has not been obtained, the service
Device determines the user for sharing the video of popular type from the user of second list;User in the second list for institute
Stating client does not have the user of incidence relation, for example, the user in second list is not the good friend of client user's addition,
But all users registered in miaow cluck circle circle application program;Count the video that the user determined shares the type
Number;According to the video number of statistics, ranking is carried out to the user determined;Using ranking first three user as any active ues;It obtains
The identity-related information of any active ues is taken, and is sent to the client;Identity of the client based on any active ues is related
Information generates corresponding sharing contact, and is shown in floating window.
Step 403: the server determines video to be recommended according to the video that other users are shared, and to the client
It sends;The client is based on video to be recommended, generates and recommends contact.
The video content Auto-matching user that the server is shared according to other users may want the video content shared,
The sharing of user can be excited to be intended to, the recommendation contact that video to be recommended generates is as shown in Figure 7.The other users are the clients
Hold the user of concern.
After detecting that the client user clicks any video to be recommended corresponding recommendations contact, displaying is accordingly wait push away
The details page of video is recommended, and the interface of sharing, thumb up, commenting on etc. operations for the client user is provided.
In actual application, it if lead to not open details page due to network interruption, shows without network
The global specification page, and display reminding message such as " because network problem Current Content can not be watched, check network after retry " etc.
Deng.
In addition, if the client user is not concerned with any one user, the server is from default recommendation library
In determine three videos at random, and be sent to the client as video to be recommended.
Fig. 8 is the schematic diagram for showing the floating window for sharing contact, as shown in figure 8, in addition to including that contact is shared on basis in floating window
Except such as wechat, QQ, further include step 402 determine the corresponding sharing contact of hail fellow, most probable it is interested good
The corresponding sharing contact of friend, the corresponding recommendation contact of video to be recommended.
Floating window in Fig. 8 includes following element: the 1. small figure of video preview;When the small figure of click preview, view has been issued in display
The details page of frequency;2. contact, such as wechat, circle of friends, microblogging, QQ, QQ space are shared in basis;3. corresponding point of hail fellow
Enjoy contact;Hail fellow is that the cohesion of the viewing or Social behaviors record calculating according to the user of first list on APP is true
Fixed sharing user;4. the corresponding sharing contact of the interested good friend of most probable;The interested good friend of most probable is according to first
The watching behavior of the user of list, label, which are birdsed of the same feather flock together, records that determining there may be the sharing users of interest;5. according to concern user
The above-mentioned client user of the video content Auto-matching of sharing may want the video content shared.
Here, multiple sharing contacts shown in fig. 8, can be convenient the one-touch sharing of user, help to promote user point
The depth and broadness enjoyed, and the stronger sharing of user is excited to be intended to, achieve the effect that reduce interaction cost, promote Product Experience.
Based on the processing method shared based on information that each embodiment of the application provides, the application also provides a kind of based on letter
The processing unit shared is ceased, described device is arranged on the server, as shown in figure 9, described device includes:
Determining module 91, for determining the type of client video to be shared;It is also used to from the user of first list
Determine that at least one for meeting preset condition shares user;User in first list is the user with the client associate;
Preset condition characterization shares user and matches with the type of the video or share the intimate of user and client user
Degree meets the first preset condition.
Sending module 92, at least one identity-related information for sharing user determined to be sent to the client
End;The identity-related information of transmission is used to generate corresponding sharing contact for the client.
The determining module 91, specifically between the client user based on statistics and the user of first list
Number is interacted, determines that at least one for meeting preset condition shares user from the user of first list;Alternatively, being based on first row
The user of table watches the number of the video of the type, at least one for meeting preset condition is determined from the user of first list
Share user.
The determining module 91, specifically for for each user in first list, counting corresponding in preset time period
User interacts number with the client user's;Using the interaction number of statistics, calculates relative users and the client is used
Cohesion between family;Each user is ranked up according to the cohesion of calculating, obtains the first ranking results;From first list
User in determine that first ranking results meet at least one of the first preset condition and share user.
The determining module 91, specifically for from the video that itself is stored, search in preset time period with the type
At least one identical second video;For each user in default first list, count corresponding in the preset time period
User watches the number of all videos at least one described second video;Using the number of statistics, each user is arranged
Sequence obtains the second ranking results;Determine that second ranking results meet preset condition at least from the user of first list
One sharing user.
In one embodiment, described device further include:
Recommending module, for determining at least one user with the client with binding relationship;It is bound for having
Each user at least one user of relationship determines view identical with the type in all videos of relative users sharing
Frequently;Using the video identical with the type determined as video to be recommended;The view to be recommended is sent to the client
Frequently;The video to be recommended is used to be shown for the client in generating the sharing interface for sharing contact for the visitor
Family end subscriber is checked.
It should be understood that it is provided by the above embodiment based on information share processing unit when carrying out information sharing,
Only it can according to need for example, in practical application with the division progress of above-mentioned each program module and distribute above-mentioned processing
It is completed by different program modules, i.e., the internal structure of device is divided into different program modules, it is described above to complete
All or part of processing.In addition, what the processing unit provided by the above embodiment shared based on information was shared with based on information
Processing method embodiment belongs to same design, and specific implementation process is detailed in embodiment of the method, and which is not described herein again.
In practical applications, the network interface in processing unit of the sending module 92 by being based on information sharing is realized;
Determining module 91, recommending module can by be based on information sharing processing unit on processor such as central processing unit
(CPU, Central Processing Unit), microprocessor (MPU, Micro Processor Unit), Digital Signal Processing
Device (DSP, Digital Signal Processor) or field programmable gate array (FPGA, Field Programmable
Gate Array) etc. realize.
Based on the processing method shared based on information that each embodiment of the application provides, the application also provides a kind of based on letter
The processing unit shared is ceased, described device is arranged on the client, and as shown in Figure 10, described device includes:
Receiving module 101, the identity-related information of at least one sharing user for receiving server transmission;Described point
Enjoying family is the user for meeting preset condition that the server is determined from first list;The preset condition characterization, which is shared, to be used
Family match with the type of the video or the share cohesion of user and client user meets the first preset condition.
Generation module 102, using the corresponding identity-related information for sharing user, is generated for being directed to each sharing user
It is corresponding to share the corresponding sharing contact of user.
Sharing module 103, for when detect for share contact first operation when, extremely by video sharing to be shared
Corresponding sharing user.
The sharing module 103 is specifically used for generating and accordingly shares the corresponding prompting frame of user;The prompting frame is for supplying
Client user's input sends word information for what is left a message to sharing user;Receive client user input with it is corresponding
Share that user is corresponding sends word information;By video to be shared and information is sent word, is shared to corresponding sharing user.
The generation module 102 is also used to generate the corresponding removal button for sharing contact;It is used when getting the client
When family is for the operation for removing button, it will accordingly share contact and be removed from display interface, i.e., not show the corresponding sharing touching
Point.
It should be understood that it is provided by the above embodiment based on information share processing unit when carrying out information sharing,
Only it can according to need for example, in practical application with the division progress of above-mentioned each program module and distribute above-mentioned processing
It is completed by different program modules, i.e., the internal structure of device is divided into different program modules, it is described above to complete
All or part of processing.In addition, what the processing unit provided by the above embodiment shared based on information was shared with based on information
Processing method embodiment belongs to same design, and specific implementation process is detailed in embodiment of the method, and which is not described herein again.
In practical applications, the network interface in processing unit of the receiving module 101 by being based on information sharing is realized;
Generation module 102, sharing module 103 can by be based on information sharing processing unit on processor such as CPU, MPU,
DSP or FPGA etc. is realized.
Figure 11 is the structural schematic diagram for the processing unit shared the present invention is based on information, is shared shown in Figure 11 based on information
Processing unit 1100 be arranged on the server, comprising: at least one processor 1101, memory 1102, user interface
1103, at least one network interface 1104.The various components in processing unit 1100 shared based on information pass through bus system
1105 are coupled.It is understood that bus system 1105 is for realizing the connection communication between these components.Bus system 1105
It further include power bus, control bus and status signal bus in addition in addition to including data/address bus.But illustrate in order to clear
See, various buses are all designated as bus system 1105 in Figure 11.
Wherein, user interface 1103 may include display, keyboard, mouse, trace ball, click wheel, key, button, touching
Feel plate or touch screen etc..
Memory 1102 in the embodiment of the present invention is used to store various types of data to support based on information sharing
The operation of processing unit 1100.The example of these data includes: for operating in the processing unit 1100 shared based on information
Any computer program, such as operating system 11021 and application program 11022;Wherein, operating system 11021 includes each germline
System program, such as ccf layer, core library layer, driving layer etc., for realizing various basic businesses and hardware based of processing
Business.Application program 11022 may include various application programs, for realizing various applied business.Realize embodiment of the present invention side
The program of method may be embodied in application program 11022.
The method that the embodiments of the present invention disclose can be applied in processor 1101, or real by processor 1101
It is existing.Processor 1101 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1101 or software form.Above-mentioned
Processor 1101 can be general processor, digital signal processor or other programmable logic device, discrete gate or crystalline substance
Body pipe logical device, discrete hardware components etc..Processor 1101 may be implemented or execute disclosed in the embodiment of the present invention
Each method, step and logic diagram.General processor can be microprocessor or any conventional processor etc..In conjunction with this hair
The step of method disclosed in bright embodiment, can be embodied directly in hardware decoding processor and execute completion, or at decoding
Hardware and software module combination in reason device execute completion.Software module can be located in storage medium, which is located at
The step of memory 1102, processor 1101 reads the information in memory 1102, completes preceding method in conjunction with its hardware.
Figure 12 is the structural schematic diagram for the processing unit shared the present invention is based on information, is shared shown in Figure 12 based on information
Processing unit 1200 be arranged in the client, comprising: at least one processor 1201, memory 1202, user interface
1203, at least one network interface 1204.The various components in processing unit 1200 shared based on information pass through bus system
1205 are coupled.It is understood that bus system 1205 is for realizing the connection communication between these components.Bus system 1205
It further include power bus, control bus and status signal bus in addition in addition to including data/address bus.But illustrate in order to clear
See, various buses are all designated as bus system 1205 in Figure 12.
Wherein, user interface 1203 may include display, keyboard, mouse, trace ball, click wheel, key, button, touching
Feel plate or touch screen etc..
Memory 1202 in the embodiment of the present invention is used to store various types of data to support based on information sharing
The operation of processing unit 1200.The example of these data includes: for operating in the processing unit 1200 shared based on information
Any computer program, such as operating system 12021 and application program 12022;Wherein, operating system 12021 includes each germline
System program, such as ccf layer, core library layer, driving layer etc., for realizing various basic businesses and hardware based of processing
Business.Application program 12022 may include various application programs, for realizing various applied business.Realize embodiment of the present invention side
The program of method may be embodied in application program 12022.
The method that the embodiments of the present invention disclose can be applied in processor 1201, or real by processor 1201
It is existing.Processor 1201 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1201 or software form.Above-mentioned
Processor 1201 can be general processor, digital signal processor or other programmable logic device, discrete gate or crystalline substance
Body pipe logical device, discrete hardware components etc..Processor 1201 may be implemented or execute disclosed in the embodiment of the present invention
Each method, step and logic diagram.General processor can be microprocessor or any conventional processor etc..In conjunction with this hair
The step of method disclosed in bright embodiment, can be embodied directly in hardware decoding processor and execute completion, or at decoding
Hardware and software module combination in reason device execute completion.Software module can be located in storage medium, which is located at
The step of memory 1202, processor 1201 reads the information in memory 1202, completes preceding method in conjunction with its hardware.
It is appreciated that memory 1102,1202 can be volatile memory or nonvolatile memory, may also comprise easily
Both the property lost and nonvolatile memory.Wherein, nonvolatile memory can be read-only memory (ROM, Read Only
Memory), programmable read only memory (PROM, Programmable Read-Only Memory), erasable programmable are read-only
Memory (EPROM, Erasable Programmable Read-Only Memory), electrically erasable programmable read-only memory
The storage of (EEPROM, Electrically Erasable Programmable Read-Only Memory), magnetic random access
Device (FRAM, ferromagnetic random access memory), flash memory (Flash Memory), magnetic surface are deposited
Reservoir, CD or CD-ROM (CD-ROM, Compact Disc Read-Only Memory);Magnetic surface storage can be
Magnetic disk storage or magnetic tape storage.Volatile memory can be random access memory (RAM, Random Access
Memory), it is used as External Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as
Static random access memory (SRAM, Static Random Access Memory), synchronous static random access memory
(SSRAM, Synchronous Static Random Access Memory), dynamic random access memory (DRAM,
Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous
Dynamic Random Access Memory), double data speed synchronous dynamic RAM (DDRSDRAM,
Double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random
Access memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), synchronized links
Dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), direct rambus
Random access memory (DRRAM, Direct Rambus Random Access Memory).Description of the embodiment of the present invention is deposited
Reservoir 1102 is intended to include but is not limited to the memory of these and any other suitable type.
Based on the processing method that the server side that each embodiment of the application provides is shared based on information, the application also provides one
Kind computer readable storage medium, referring to Fig.1 shown in 1, the computer readable storage medium may include: to calculate for storing
The memory 1102 of machine program, above-mentioned computer program can be held by the processor 1101 for the processing unit 1100 shared based on information
Row, to complete step described in preceding method.Computer readable storage medium can be FRAM, ROM, PROM, EPROM, EEPROM,
The memories such as Flash Memory, magnetic surface storage, CD or CD-ROM.
Based on the processing method that the client-side that each embodiment of the application provides is shared based on information, the application also provides one
Kind computer readable storage medium, referring to Fig.1 shown in 2, the computer readable storage medium may include: to calculate for storing
The memory 1202 of machine program, above-mentioned computer program can be held by the processor 1201 for the processing unit 1200 shared based on information
Row, to complete step described in preceding method.Computer readable storage medium can be FRAM, ROM, PROM, EPROM, EEPROM,
The memories such as Flash Memory, magnetic surface storage, CD or CD-ROM.
It should be understood that between technical solution documented by the embodiment of the present invention, in the absence of conflict, Ke Yiren
Meaning combination.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.