Invention content
In order to solve the problems, such as that cumbersome and inconvenient, the embodiment of the present invention of live video is watched existing for above-mentioned technology
Provide the method and apparatus that recommending data is shown in a kind of social networking application.The technical solution is as follows:
In a first aspect, a kind of method that recommending data is shown in social networking application is provided, the method includes:
It obtains and recommends live video data;
According to the recommendation live video data generation preview control, the abstract of direct broadcast band is included in the preview control
Information, and the preview control enters the direct broadcast band to watch the operation entry of live video for offer;
By the preview control Overlapping display in the interarea board interface of client.
Optionally, the method further includes:
Expansion control is packed up in display in the interarea board interface;
When getting the trigger signal that expansion control is packed up corresponding to described in, detect the preview control and be in display shape
State or hidden state;
If the preview control is in the dispaly state, the preview control is hidden;
If the preview control is in the hidden state, the preview control is shown.
Optionally, it is described by the preview control Overlapping display in the interarea board interface of client before, further include:
The preview control display record for the user account for logging in the client is obtained, the preview control display record is used
In record the user account the last time log off the client when preview control display situation;
Show that record detects the user account and logs off in the last time the client according to the preview control
Shi Suoshu preview controls are in dispaly state or hidden state;
If in the dispaly state, perform it is described by the preview control Overlapping display in main panel circle of client
Step in face.
Optionally, it is described by the preview control Overlapping display in the interarea board interface of client, including:
By the n of the generation preview control whole Overlapping displays in the interarea board interface, each preview control pair
Answer the respective recommendation live video data, n >=1;
Alternatively,
By m preview control Overlapping display in the n of the generation preview controls in the interarea board interface, each
Preview control corresponds to the respective recommendation live video data, n > m >=1.
Optionally, m preview control Overlapping display in the n by the generation preview controls is in the main panel
After in interface, further include:
Receive the switching instruction for corresponding to the just shown m preview control;
At least one preview control is chosen in the preview control not being shown in the n preview controls of generation;
It is replaced in the just shown m preview control at least using selected at least one preview control
One is shown.
Optionally, m preview control Overlapping display in the n by the generation preview controls is in the main panel
After in interface, further include:
When the width of the interarea board interface is widened, increase shown institute according to the width of the interarea board interface
State the quantity of preview control;Alternatively,
When the length of the interarea board interface is elongated, increase shown institute according to the length of the interarea board interface
State the quantity of preview control;Alternatively,
When the width of the interarea board interface is by drawing down, shown institute is reduced according to the width of the interarea board interface
State the quantity of preview control;Alternatively,
It is drawn in short-term in the width of the interarea board interface, shown institute is reduced according to the length of the interarea board interface
State the quantity of preview control.
Optionally, the method further includes:
Page trigger control is shown in the interarea board interface;
When getting the trigger signal corresponding to the page trigger control, live video aggregation page is shown, it is described
At least one preview control is included in live video aggregation page.
Optionally, described obtain recommends live video data, including:
It obtains at least one the first and recommends live video data, the first recommendation live video data refers to be broadcast live
The most channel of all channel mid band numbers corresponding to live video data;
And/or
It obtains at least one the second and recommends live video data, the second recommendation live video data refers to be broadcast live
All channel mid band top rankeds channel corresponding to live video data;
And/or
It obtains at least one third and recommends live video data, the third recommends live video data to refer to be broadcast live
All channels in logging in the user account of the client there is live video data corresponding to the channel of incidence relation,
The incidence relation includes at least one of collection relationship, concern relation, history access relation.
Second aspect, provides the device that recommending data is shown in a kind of social networking application, and described device includes:
Data acquisition module recommends live video data for obtaining;
Control generation module, for according to the recommendation live video data generation preview control, in the preview control
Summary info comprising direct broadcast band, and the preview control enters the direct broadcast band to watch live video for offer
Operation entry;
First display module, for by the preview control Overlapping display in the interarea board interface of client.
Optionally, described device further includes:
Second display module packs up expansion control for being shown in the interarea board interface;
First detection module, for when getting the trigger signal for packing up expansion control corresponding to described, described in detection
Preview control is in dispaly state or hidden state;
Control hidden module, for when the preview control is in the dispaly state, the preview control to be carried out
It hides;
First display module is additionally operable to when the preview control is in the hidden state, by the preview control
Part is shown.
Optionally, described device further includes:
Acquisition module is recorded, record is shown for obtaining the preview control for the user account for logging in the client, it is described
Preview control display record log off for recording the user account in the last time the client when preview control
The display situation of part;
Second detection module, for showing that record detects the user account and moved back in the last time according to the preview control
Go out to log in the preview control during client and be in dispaly state or hidden state;
First display module is additionally operable to when in the dispaly state, by the preview control Overlapping display in
In the interarea board interface of client.
Optionally, first display module, including:
Whole display units, for by the n generated preview control whole Overlapping displays in the interarea board interface
In, each preview control corresponds to the respective recommendation live video data, n >=1;
Alternatively,
Part display unit, for by m preview control Overlapping display in the n generated preview controls in described
In interarea board interface, each preview control corresponds to the respective recommendation live video data, n > m >=1.
Optionally, first display module, further includes:It indicates receiving unit, control selection unit and replaces display list
Member;
The instruction receiving unit, for receiving the switching instruction for corresponding to the just shown m preview control;
The control selection unit, for not selected in shown preview control in the n of generation preview controls
Take at least one preview control;
The replacement display unit, for selected at least one preview control to be used to replace just shown institute
At least one of m preview control is stated to be shown.
Optionally, first display module, further includes:
First increases display unit, for when the width of the interarea board interface is widened, according to main panel circle
The width in face increases the quantity of the shown preview control;Alternatively,
Second increases display unit, for when the length of the interarea board interface is elongated, according to main panel circle
The length in face increases the quantity of the shown preview control;Alternatively,
First reduces display unit, for when the width of the interarea board interface is by drawing down, according to main panel circle
The width in face reduces the quantity of the shown preview control;Alternatively,
Second reduces display unit, for being drawn in short-term in the width of the interarea board interface, according to main panel circle
The length in face reduces the quantity of the shown preview control.
Optionally, described device further includes:
Third display module, for showing page trigger control in the interarea board interface;
4th display module, for when getting the trigger signal corresponding to the page trigger control, display to be broadcast live
The video aggregation page includes at least one preview control in the live video aggregation page.
Optionally, the data acquisition module, including:
First acquisition unit recommends live video data for obtaining at least one the first, and described first recommends live streaming to regard
Frequency is according to the live video data referred to corresponding to the most channel of all channel mid band numbers being broadcast live;
And/or
Second acquisition unit recommends live video data for obtaining at least one the second, and described second recommends live streaming to regard
Frequency is according to the live video data referred to corresponding to the channel of all channel mid band top rankeds being broadcast live;
And/or
Third acquiring unit recommends live video data for obtaining at least one third, and the third recommends live streaming to regard
Frequency is according to channel institute of the user account with incidence relation referred in all channels being broadcast live with logging in the client
Corresponding live video data, the incidence relation include at least one in collection relationship, concern relation, history access relation
Kind.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:
Live video data is recommended, and according to live video data generation preview control is recommended by acquisition, it then will be pre-
Control Overlapping display is look in the interarea board interface of client;The operation for solving the existing viewing live video of the relevant technologies is numerous
The problem of trivial and inconvenient;User can directly choose the required live streaming watched in interarea board interface from the live video of recommendation
Video has achieved the effect that simplified operation, has improved the efficiency for choosing live video.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
It please refers to Fig.1, it illustrates a kind of structure diagrams of implementation environment involved by each embodiment of the present invention, should
Implementation environment includes terminal 120 and server 140.Wherein:
Terminal 120 can be smart mobile phone, tablet computer, E-book reader, MP3 (Moving Picture
Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3) player, MP4 (Moving
Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, knee
Mo(u)ld top half pocket computer and desktop computer etc..Operation is provided with the social networking application client of net cast function in terminal 120
End, such as instant communication client, team's voice tool client, live streaming class client.Wherein, common instant messaging visitor
Family end such as QQ clients, wechat client etc.;For example askew voice client of common team's voice tool client, QT voices visitor
Family end etc.;Common live streaming class client such as KuGoo an array of stars client etc..
Terminal 120 can be connected by cable network or wireless network with server 140.
Server 140 can be a server or the server cluster or one being made of several servers
A cloud computing service center.
It please refers to Fig.2, it illustrates the methods that recommending data is shown in social networking application provided by one embodiment of the present invention
Flow chart, lifted in the client that runs in the terminal that the present embodiment is applied in implementation environment shown in Fig. 1 in this way
Example explanation.This method can include the following steps:
Step 202, it obtains and recommends live video data.
Step 204, according to live video data generation preview control is recommended, plucking for direct broadcast band is included in the preview control
Information is wanted, and the preview control enters direct broadcast band to watch the operation entry of live video for offer.
Step 206, by preview control Overlapping display in the interarea board interface of client.
In conclusion showing the method for recommending data in social networking application provided in this embodiment, recommend live streaming by obtaining
Video data, and according to live video data generation preview control is recommended, then by preview control Overlapping display in client
In interarea board interface;Solve the problems, such as the cumbersome and inconvenient of the existing viewing live video of the relevant technologies;User is in master
The live video watched needed for can directly being chosen from the live video of recommendation in board interface, has reached simplified operation, has carried
Height chooses the effect of the efficiency of live video.
A is please referred to Fig.3, the method that recommending data is provided in the social networking application provided it illustrates another embodiment of the present invention
Flow chart, lifted in the client that runs in the terminal that the present embodiment is applied in implementation environment shown in Fig. 1 in this way
Example explanation.This method can include the following steps:
Step 301, it obtains and recommends live video data.
After user logs in client using user account, client, which obtains, recommends live video data.Wherein, the client
End refers to be provided with the client of net cast function, such as team's voice tool client or other social networking application clients.
Under normal conditions, client is obtained from server recommends live video data.This step can include:
First, user end to server transmission data obtains request.
Accordingly, server receives the data acquisition request that client is sent.
Second, server based on data, which obtains request and chosen from all live video datas being broadcast live, recommends live streaming
Video data.
All live video datas being broadcast live are stored in server, every live video data includes but not limited to
Channel identication, subchannel mark, preview picture, channel designation, channel number, channel ranking, live video source, live video
At least one of in type.
This step can include following several possible embodiments:
In the first possible embodiment, each item is straight in all live video datas that server acquisition is being broadcast live
The corresponding channel number of video data is broadcast, at least one most live video data of channel number is chosen and is regarded as recommendation live streaming
Frequency evidence.
Channel number refers to the quantity into the client of channel, and channel number reflects the popularity of the channel.Channel people
The more channel of number, shows that the popularity for the live video that the popularity of the channel is higher, in the channel is higher;Conversely, channel
The fewer channel of number shows that the popularity for the live video that the popularity of the channel is lower, in the channel is lower.Therefore, it takes
Business device chooses one or more most live video data of channel number from all live video datas being broadcast live, can
To ensure the quality of selected live video, and then it is the live video of user's recommendation high quality.
For example, in a specific example, it is assumed that the quantity of all live video datas being broadcast live is 1000,
Server obtains the corresponding channel number of every live video data, and this 1000 are broadcast live from more to less according to channel number
Video data is ranked up, and 4 live video datas are as recommendation live video data before then choosing.
In second of possible embodiment, each live video in all live video datas being broadcast live is obtained
The corresponding channel ranking of data chooses highest at least one live video data of channel ranking as recommendation live video number
According to.
Channel ranking refers to ranking of the channel in all channels or all channels in same type, channel ranking
Reflect the popularity of the channel.The higher channel of channel ranking shows that the popularity of the channel is higher, the live video in the channel
Popularity it is higher;Conversely, the channel that channel ranking is lower, shows that the popularity of the channel is lower, the live streaming in the channel regards
The popularity of frequency is lower.Therefore, it is highest to choose channel ranking from all live video datas being broadcast live for server
One or more live video data, it is ensured that the quality of selected live video, and then recommend high quality for user
Live video.
In the third possible embodiment, when carrying at least one channel identication in data acquisition request, from
At least one live video number corresponding at least one channel identication is chosen in all live video datas being broadcast live
According to;Using selected at least one live video data as recommendation live video data.
Wherein, at least one channel identication has incidence relation, the incidence relation packet with the user account for logging in client
It includes but is not limited to collection relationship, at least one of concern relation, history access relation.Above-mentioned incidence relation reflects user's
Personal habits and preference.Above-mentioned at least one channel identication is channel identication or the user that user is accustomed to the channel accessed
Favorite channel channel identication.Server is chosen being broadcast live and is that user is accustomed to accessing or user is liked
The corresponding live video data of channel, it is ensured that the user satisfaction of selected live video, improve user experience.
In addition, corresponding to the third above-mentioned possible embodiment, client is obtaining request to server transmission data
Before, following two steps be can also carry out:1st, obtain has at least one of incidence relation with the user account for logging in client
Channel identication, the incidence relation include at least one of collection relationship, concern relation, history access relation;2nd, generation carries
There is the data acquisition request of at least one channel identication.
Third, server is sent to client recommends live video data.
Accordingly, client receives the recommendation live video data that server is sent.
It should be noted is that:The quantity of server to the recommendation live video data of client feedback can be according to reality
Demand is preset, such as 4 or 8 etc..But in order to ensure recommend live video data quality and in order to
Efficiency of the user during follow-up choose is improved, recommends the quantity of live video data should not be excessive.In general, it pushes away
The quantity for recommending live video data is much smaller than the quantity of all live video datas being broadcast live.
Step 302, according to recommendation live video data generation preview control.
Wherein, the summary info of direct broadcast band is included in preview control, and preview control enters direct broadcast band for providing
To watch the operation entry of live video.May include in preview control channel identication, channel designation, main broadcaster's title, preview picture,
The summary info of the direct broadcast bands such as brief introduction is broadcast live.In a kind of possible embodiment, for any one recommendation live video
Data, when including preview picture in the recommendation live video data, client generates the preview control for including preview picture.
The preview picture can be the sectional drawing of live video or the photo of main broadcaster user.Preview control can cause user to exist
During the live video watched needed for choosing, the content of live video is more visually known, facilitates whether user's decision selects
Viewing.
In addition, when client recommends live video data from received server-side to n items, n preview of generation can be corresponded to
Control, each preview control correspond to respective recommendation live video data.
Step 303, by preview control Overlapping display in the interarea board interface of client.
Wherein, interarea board interface refers to user account in the client in the first interface that client when logging in state is shown.
After user logs in client using user account, client shows interarea board interface.In interarea board interface, generally include to use
Account picture, the pet name, signature and some other functionality controls, such as maximize control, minimize control, close control.Such as figure
Shown in 3B, it illustrates a kind of schematic diagram of interarea board interface 30, the interarea board interface 30 include user's head portrait 31, the pet name 32,
It minimizes control 33, close control 34, tab bar 35 etc., wherein tab bar 35 can be by channel tag, good friend's label, group's label
It is formed with application label.
By directly displaying the preview control of generation in interarea board interface, required viewing can be selected in order to user
Live video improves efficiency of selection.
As shown in Figure 3B, after client generation preview control 36, the preview control 36 of generation is directly displayed in main panel
It checks and selects for user in interface 30.
In addition, this step can include the possible embodiment of the following two kinds:
In the first possible embodiment, by n preview control whole Overlapping display of generation in interarea board interface
In, each preview control corresponds to respective recommendation live video data, n >=1.
Such as, it is assumed that client generates 4 preview controls in above-mentioned steps 302, then at this time can be by 4 previews
Control whole Overlapping display is in interarea board interface.
In second of possible embodiment, by m preview control Overlapping display in n preview control of generation in
In interarea board interface, each preview control corresponds to respective recommendation live video data, n > m >=1.
Such as, it is assumed that client generates 4 preview controls in above-mentioned steps 302, then at this time can be by 4 previews
2 Overlapping displays in control are in interarea board interface.Later, it when getting the switching instruction corresponding to preview control, shows
Show other 2 preview controls.Alternatively, after at preset time intervals, other 2 preview controls are shown.
Optionally, client can also carry out following steps 304 to step 306:
Step 304, when live video data being recommended to include channel identication for every, reception acts on any one preview control
The selection signal of part.
User can select a preview control from the preview control shown by client, and pass through and touch, click on
Operation triggering generation selection signal on selected preview control.Accordingly, client receives the selection signal of user's triggering.
Step 305, the corresponding channel identication that live video data is recommended to include of selected preview control is obtained.
Client obtains the corresponding recommendation live video data of the selected preview control of user, and from the recommendation got
Channel identication is read in live video data.
Step 306, corresponding direct broadcast band is entered according to channel identication.
Different channels corresponds to different channel identications, and client can realize different channel according to different channel identications
Between redirect, provide a user different live videos.After client enters channel, template can be loaded, and passes through and services
The interaction of device obtains the live video stream in the channel, then shows live video stream in a template.Wherein, live streaming regards
The video type of frequency includes but not limited to any one in the videos such as entertainment live streaming, game live streaming, education class live-broadcast.
Optionally, when recommending to further include subchannel mark in live video data, client reads channel identication and son
Channel identication.Correspondingly, client enters the subchannel of corresponding channel according to channel identication and subchannel mark.
In conclusion showing the method for recommending data in social networking application provided in this embodiment, recommend live streaming by obtaining
Video data, and according to live video data generation preview control is recommended, then by preview control Overlapping display in client
In interarea board interface;Solve the problems, such as the cumbersome and inconvenient of the existing viewing live video of the relevant technologies;User is in master
The live video watched needed for can directly being chosen from the live video of recommendation in board interface, has reached simplified operation, has carried
Height chooses the effect of the efficiency of live video.
In addition, also it is used as recommendation live video number by choosing at least one most live video data of channel number
According to;Alternatively, highest at least one live video data of channel ranking is chosen as recommendation live video data;Alternatively, it obtains
With user account there is at least one channel identication of incidence relation, and choose and correspond at least one channel identication at least
One live video data is as recommendation live video data;Realize the live video for recommending high quality to user, Huo Zhexiang
User recommend its favorite live video effect, improve user experience.
In addition, when any one preview control is chosen, by obtaining the corresponding channel identication of the preview control, and root
Enter corresponding channel according to the channel identication, realize the effect for providing a user live video.
A is please referred to Fig.4, the method that recommending data is provided in the social networking application provided it illustrates yet another embodiment of the invention
Flow chart, lifted in the client that runs in the terminal that the present embodiment is applied in implementation environment shown in Fig. 1 in this way
Example explanation.This method can include the following steps:
Step 401, it obtains and recommends live video data.
After user logs in client using user account, client, which obtains, recommends live video data.In normal conditions
Under, client is obtained from server recommends live video data.
Optionally, the recommendation live video data that client obtains may include that following three kinds are recommended in live video data
It is at least one:
1st, at least one the first are obtained and recommends live video data, which refers to be broadcast live
The most channel of all channel mid band numbers corresponding to live video data;
2nd, at least one the second are obtained and recommends live video data, which refers to be broadcast live
All channel mid band top rankeds channel corresponding to live video data;
3rd, it obtains at least one third and recommends live video data, which recommends live video data to refer to be broadcast live
All channels in log in client user account have incidence relation channel corresponding to live video data, the pass
Connection relationship includes at least one of collection relationship, concern relation, history access relation.
Step 402, according to recommendation live video data generation preview control.
Wherein, the summary info of direct broadcast band is included in preview control, and preview control enters direct broadcast band for providing
To watch the operation entry of live video.May include in preview control channel identication, channel designation, main broadcaster's title, preview picture,
The summary info of the direct broadcast bands such as brief introduction is broadcast live.In addition, when client recommends live video data from received server-side to n items
When, n preview control of generation can be corresponded to, each preview control corresponds to respective recommendation live video data.
In addition, client before the preview control of generation is shown, can also carry out following steps 403 and step
404:
Step 403, expansion control is packed up in display in the interarea board interface of client.
Wherein, interarea board interface refers to user account in the client in the first interface that client when logging in state is shown.
After user logs in client using user account, client shows interarea board interface.In interarea board interface, generally include to use
Account picture, the pet name, signature and some other functionality controls, such as maximize control, minimize control, close control.Such as figure
Shown in 4B, it illustrates a kind of schematic diagram of interarea board interface 40, which is included with account 41, the pet name 42, most
Smallization control 43 closes control 44, tab bar 45 etc., wherein tab bar 45 can by channel tag, good friend's label, group's label and
It is formed using label.
In addition, in the present embodiment, being further included in interarea board interface and packing up expansion control, this packs up expansion control for touching
It sends out the display of preview control and hides.As shown in Figure 4 B, client can also be shown in interarea board interface 40 packs up expansion control
47。
Step 404, when getting corresponding to the trigger signal for packing up expansion control, detection preview control is in display shape
State or hidden state.
When user, which clicks, packs up expansion control, client detection current time preview control is in dispaly state or hidden
Tibetan state.
Step 405, if preview control is in hidden state, preview control is shown.
When detecting that preview control is in hidden state, client is by the preview control Overlapping display of generation in main panel
In interface.By directly displaying the preview control of generation in interarea board interface, required viewing can be selected in order to user
Live video improves efficiency of selection.
With reference to reference to figure 4B, when user, which clicks, packs up expansion control 47, client shows the preview control 46 of generation
It checks and selects for user in interarea board interface 40.
In addition, this step can include the possible embodiment of the following two kinds:
In the first possible embodiment, by n preview control whole Overlapping display of generation in interarea board interface
In, each preview control corresponds to respective recommendation live video data, n >=1.
Such as, it is assumed that client generates 4 preview controls in above-mentioned steps 402, then at this time can be by 4 previews
Control whole Overlapping display is in interarea board interface.
In second of possible embodiment, by m preview control Overlapping display in n preview control of generation in
In interarea board interface, each preview control corresponds to respective recommendation live video data, n > m >=1.
Such as, it is assumed that client generates 4 preview controls in above-mentioned steps 402, then at this time can be by 4 previews
2 Overlapping displays in control are in interarea board interface.
In addition, when client is got corresponding to the trigger signal for packing up expansion control, if it is detected that at preview control
In dispaly state, then preview control is hidden.With reference to reference to figure 4B, when preview control 46 is in dispaly state, user
It clicks this and packs up expansion control 47, preview control 46 is hidden namely does not show by client.
In addition, after client is shown the part in the preview control of generation, can also carry out following steps 406 to
Step 408:
Step 406, the switching instruction for corresponding to m just shown preview control is received.
Client can also show at least one toggle control in interarea board interface.
Such as, it is assumed that client generates 4 preview controls in above-mentioned steps 402, and should in above-mentioned steps 405
The 1st in 4 preview controls and the 2nd preview control are shown in interarea board interface.With reference to reference to figure 4B, client can be with
In the both sides of the preview control 46 shown by interarea board interface 40, two toggle controls 48 are set respectively.It is shown when user needs to switch
When showing preview control 46, it can be indicated by the operation trigger action such as touching, clicking in the switching of toggle control 48.
Step 407, at least one preview control is chosen in the preview control not being shown in n preview control of generation
Part.
After client receives switching instruction, never at least one preview control is chosen in n-m shown preview control
Part.In a kind of possible embodiment, m preview control is chosen in n-m never shown preview control of client.Than
Such as, it is assumed that the 1st in 4 preview controls of generation and the 2nd preview control are shown in by client in above-mentioned steps 405
In interarea board interface, then the 3rd and the 4th preview control are chosen at this time.
Step 408, it is replaced in m just shown preview control at least using selected at least one preview control
One is shown.
It is pre- when having chosen m in n-m never shown preview control of client in a kind of possible embodiment
Look at control when, replace m just shown preview control using selected m preview control and shown.For example, client
End is using the 3rd of selection and the 4th preview control replaces the 1st be just shown and the 2nd preview control is shown.Visitor
Family end is indicated according to the switching of user, provides a user the corresponding preview control of different live videos, user is facilitated to be compared
Pair and choose.
Optionally, after above-mentioned steps 405, client can also be directed to the stretched operation of interarea board interface according to user,
The quantity of the shown preview control of increase and decrease.Specifically, following several possible situations can be included:
1st, when the width of interarea board interface is widened, increase shown preview control according to the width of interarea board interface
Quantity;Alternatively,
2nd, when the length of interarea board interface is elongated, increase shown preview control according to the length of interarea board interface
Quantity;Alternatively,
3rd, when the width of interarea board interface is by drawing down, shown preview control is reduced according to the width of interarea board interface
Quantity;Alternatively,
4th, it is drawn in short-term in the width of interarea board interface, shown preview control is reduced according to the length of interarea board interface
Quantity.
With reference to reference to figure 4B and Fig. 4 C, in a kind of possible embodiment, interarea board interface 40 is shown by default
Show 2 preview controls 46, when interarea board interface 40 is widened, client gradually shows the 3rd preview control 46.Further
Ground with the increase of the width of interarea board interface 40, may also display the 4th, the 5th, even more.
Alternatively, client obtains the width of interarea board interface 40 and the width of each preview control 46, when interarea board interface
40 width is increased to when can show 3 preview controls 46, and client shows the 3rd preview control 46.Further, with
The increase of the width of interarea board interface 40, may also display the 4th, the 5th, even more.
It should be noted is that:The quantity of shown preview control can be increase and decrease or multiple increasings one by one
Subtract.For example, when the length of interarea board interface is elongated, client can increase a line according to the length of interarea board interface and be shown
Preview control.Wherein, a line preview control can be 2 or other quantity.Certainly, preview control in interarea board interface
For quantity situation of change also there are other a variety of possible forms, the present embodiment is not especially limited this.
In addition, combining with reference to figure 4B, client can also show page trigger control 49 in interarea board interface 40;Work as acquisition
During to trigger signal corresponding to the page trigger control 49, live video aggregation page is shown.Wherein, live video polymerization page
At least one preview control is included in face.Preview control included in live video aggregation page can be all is being broadcast live
The corresponding preview control of live video data, realized with this and provide a user complete, comprehensive live video.When user clicks
After any one preview control in live video aggregation page, it is straight that client obtains the corresponding recommendation of selected preview control
The channel identication that video data includes is broadcast, and corresponding direct broadcast band is entered according to channel identication.Optionally, for the ease of user
Selection, client can classify the preview control in live video aggregation page according to the video type of live video, should
Video type includes but not limited to any one in the videos such as entertainment live streaming, game live streaming, education class live-broadcast.
With reference to reference to figure 4B, in a kind of possible embodiment, when showing preview control simultaneously in interarea board interface 40
Part 46 packs up expansion control 47 and during page trigger control 49, and packing up expansion control 47, to may be disposed at page trigger control 49 right
Side, preview control 46, which can be shown in, packs up 49 lower section of expansion control 47 and page trigger control, user can be convenient for understand so each
The effect of control, and it is user-friendly, improve user experience.
In conclusion showing the method for recommending data in social networking application provided in this embodiment, recommend live streaming by obtaining
Video data, and according to live video data generation preview control is recommended, then by preview control Overlapping display in client
In interarea board interface;Solve the problems, such as the cumbersome and inconvenient of the existing viewing live video of the relevant technologies;User is in master
The live video watched needed for can directly being chosen from the live video of recommendation in board interface, has reached simplified operation, has carried
Height chooses the effect of the efficiency of live video.
In addition, expansion control also is packed up by being shown in interarea board interface, the display of the preview control realized and hidden
Function is hidden, convenient for the preview control in user management interarea board interface.
In addition, when showing preview control, display can be switched over;It alternatively, can also be with the length of interarea board interface
Or the stretching of width, the quantity of shown preview control is increased or decreased, provides multiple display modes, increases preview
The flexibility that control is shown, checks and is operated convenient for user.
It should be noted is that:After user logs in client using user account, client can also be by walking as follows
Whether rapid 1 to 3 decision shows preview control:
1st, the preview control display record for the user account for logging in client is obtained.
Wherein, preview control display record log off for recording user account in the last time client when preview control
The display situation of part, including two kinds of situations of dispaly state and hidden state.
Preview control during client of the 2nd, being logged off according to preview control display record detection user account in the last time
In dispaly state or hidden state.
If the 3rd, in dispaly state, by preview control Overlapping display in interarea board interface.
When preview control is in dispaly state when user account logs off client in the last time, client will be raw
Into preview control shown.Otherwise, client, will when getting corresponding to the expansion trigger signal for packing up expansion control
The preview control of generation is shown.
Certainly, in other possible embodiments, client can also be determined according to user for the configuration of preview control
Whether show that preview control either determines when to show that preview control or determining preview control are aobvious in interarea board interface
Show position or display number etc., this embodiment of the present invention is not especially limited.
Also need to explanation be a bit:Client, can also be every after preview control is shown in interarea board interface
Predetermined time interval, which reacquires, recommends live video data, realizes the real-time refreshing for recommending live video data, is carried to user
Recommend live video for newest, most accurate.
Following is apparatus of the present invention embodiment, can be used for performing the method for the present invention embodiment.For apparatus of the present invention reality
The details not disclosed in example is applied, please refers to the method for the present invention embodiment.
Fig. 5 is please referred to, it illustrates the devices that recommending data is shown in social networking application provided by one embodiment of the present invention
Block diagram, which can be implemented in combination with by software, hardware or both as the part of client or complete
Portion.The device can include:Data acquisition module 510,520 and first display module 530 of control generation module.
Data acquisition module 510 recommends live video data for obtaining.
Control generation module 520, for according to the recommendation live video data generation preview control, the preview control
In include the summary info of direct broadcast band, and the preview control enters the direct broadcast band to watch live video for providing
Operation entry.
First display module 530, for by the preview control Overlapping display in the interarea board interface of client.
In conclusion showing the device of recommending data in social networking application provided in this embodiment, recommend live streaming by obtaining
Video data, and according to live video data generation preview control is recommended, then by preview control Overlapping display in client
In interarea board interface;Solve the problems, such as the cumbersome and inconvenient of the existing viewing live video of the relevant technologies;User is in master
The live video watched needed for can directly being chosen from the live video of recommendation in board interface, has reached simplified operation, has carried
Height chooses the effect of the efficiency of live video.
Fig. 6 is please referred to, the device of recommending data is provided in the social networking application provided it illustrates another embodiment of the present invention
Block diagram, which can be implemented in combination with by software, hardware or both as the part of client or complete
Portion.The device can include:Data acquisition module 510,520 and first display module 530 of control generation module.
Data acquisition module 510 recommends live video data for obtaining.
Optionally, the data acquisition module 510, including:First acquisition unit 510a;And/or second acquisition unit
510b;And/or third acquiring unit 510c.
First acquisition unit 510a recommends live video data for obtaining at least one the first, described first recommend it is straight
It broadcasts video data and refers to live video data corresponding to the most channel of all channel mid band numbers being broadcast live.
Second acquisition unit 510b recommends live video data for obtaining at least one the second, described second recommend it is straight
It broadcasts video data and refers to live video data corresponding to the channel of all channel mid band top rankeds being broadcast live.
Third acquiring unit 510c recommends live video data for obtaining at least one third, and the third is recommended straight
It broadcasts video data and refers to that there is the frequency of incidence relation with logging in the user account of the client in all channels being broadcast live
Live video data corresponding to road, the incidence relation are included in collection relationship, concern relation, history access relation at least
It is a kind of.
Control generation module 520, for according to the recommendation live video data generation preview control, the preview control
In include the summary info of direct broadcast band, and the preview control enters the direct broadcast band to watch live video for providing
Operation entry.
First display module 530, for by the preview control Overlapping display in the interarea board interface of client.
Optionally, described device further includes:Second display module 521, first detection module 522 and control hidden module
523。
Second display module 521 packs up expansion control for being shown in the interarea board interface.
First detection module 522, for when getting the trigger signal that expansion control is packed up corresponding to described in, detecting institute
It states preview control and is in dispaly state or hidden state.
Control hidden module 523, for when the preview control is in the dispaly state, by the preview control into
Row is hidden.
First display module 530 is additionally operable to when the preview control is in the hidden state, by the preview
Control is shown.
Optionally, first display module 530, including:Whole display unit 530a;Alternatively, part display unit
530b。
Whole display unit 530a, for by the n generated preview control whole Overlapping displays in the main panel
In interface, each preview control corresponds to the respective recommendation live video data, n >=1.
Part display unit 530b, for by m preview control Overlapping display in the n generated preview controls in
In the interarea board interface, each preview control corresponds to the respective recommendation live video data, n > m >=1.
Optionally, first display module 530, further includes:Indicate receiving unit 530c, control selection unit 530d and
Replace display unit 530e.
The instruction receiving unit 530c, the switching for receiving corresponding to the just shown m preview control refer to
Show.
The control selection unit 530d, for the preview control not being shown in the n of the generation preview controls
It is middle to choose at least one preview control.
The replacement display unit 530e, it is just shown for selected at least one preview control to be used to replace
At least one of the m preview control shown.
Optionally, first display module 530, further includes:
First increases display unit, for when the width of the interarea board interface is widened, according to main panel circle
The width in face increases the quantity of the shown preview control;Alternatively,
Second increases display unit, for when the length of the interarea board interface is elongated, according to main panel circle
The length in face increases the quantity of the shown preview control;Alternatively,
First reduces display unit, for when the width of the interarea board interface is by drawing down, according to main panel circle
The width in face reduces the quantity of the shown preview control;Alternatively,
Second reduces display unit, for being drawn in short-term in the width of the interarea board interface, according to main panel circle
The length in face reduces the quantity of the shown preview control.
Optionally, described device further includes:Signal receiving module 540, identifier acquisition module 550 and channel enter module
560。
Signal receiving module 540 is appointed for when live video data being recommended to include channel identication for every, reception to act on
The selection signal of one preview control of meaning.
Identifier acquisition module 550, for obtaining, the selected preview control is corresponding to be recommended in live video data
Including channel identication.
Channel enters module 560, for entering corresponding channel according to the channel identication.
Optionally, described device further includes:Record 524 and second detection module 525 of acquisition module.
Acquisition module 524 is recorded, record, institute are shown for obtaining the preview control for the user account for logging in the client
State preview control display record log off for recording the user account in the last time the client when preview
The display situation of control;
Second detection module 525, for showing that record detects the user account nearest one according to the preview control
It is secondary log off the client when preview control be in dispaly state or hidden state;
First display module 530 is additionally operable to when in the dispaly state, by the preview control Overlapping display
In the interarea board interface of the client.
Optionally, described device further includes:570 and the 4th display module 580 of third display module.
Third display module 570, for showing page trigger control in the interarea board interface.
4th display module 580, for when getting the trigger signal corresponding to the page trigger control, display to be straight
The video aggregation page is broadcast, at least one preview control is included in the live video aggregation page.
In conclusion showing the device of recommending data in social networking application provided in this embodiment, recommend live streaming by obtaining
Video data, and according to live video data generation preview control is recommended, then by preview control Overlapping display in client
In interarea board interface;Solve the problems, such as the cumbersome and inconvenient of the existing viewing live video of the relevant technologies;User is in master
The live video watched needed for can directly being chosen from the live video of recommendation in board interface, has reached simplified operation, has carried
Height chooses the effect of the efficiency of live video.
It should be noted that:Show that the device of recommending data recommends number in display in the social networking application that above-described embodiment provides
According to when, can be as needed and by above-mentioned function only with the division progress of above-mentioned each function module for example, in practical application
Distribution is completed by different function modules, i.e., the internal structure of equipment is divided into different function modules, to complete above retouch
The all or part of function of stating.In addition, shown in the social networking application that above-described embodiment provides the device of recommending data with it is corresponding
The embodiment of the method for method belongs to same design, and specific implementation process refers to embodiment of the method, and which is not described herein again.
Fig. 7 is please referred to, it illustrates the block diagrams of terminal provided by one embodiment of the present invention.The terminal 700 is wrapped
It includes:Processor 720 and memory 740, processor 720 can be connected with memory 740 by communication bus, and memory 740 can
To be command memory, memory and register etc..
Memory 740 for store one or more than one instruction, the instruction be used to implement above-mentioned Fig. 2, Fig. 3 A or
The method that recommendation information is shown in the social networking application that Fig. 4 A illustrated embodiments provide.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.