Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of content live method and relevant device, can guarantee by what operate it is all the sub-channel identication that the subchannel information that there is the sub-channel of target of content live under main channel comprises, and then guarantee that user can enter the direct broadcast band that there is content live quickly.Below be described in detail respectively.
In order to better understand a kind of content live method and relevant device disclosed in the embodiment of the present invention, first the network architecture that the embodiment of the present invention is suitable for is described below.Refer to Fig. 1, Fig. 1 is a kind of network architecture schematic diagram disclosed in the embodiment of the present invention.As shown in Figure 1, this network architecture can comprise applications client, service end and multiple comprehensive applications client, wherein, applications client can comprise the various applications client (such as 100 education APP) with coded image (as Quick Response Code, three-dimension code) scanning and content output function, service end is also by title background server, component server etc., and service end can be communicated to connect by the Internet and applications client, comprehensive client.In the network architecture shown in Fig. 1, each comprehensive client can export service end and provide multiple main channel (as big room), multiple sub-channel (as between ovary) can be comprised under each main channel, main broadcaster user (i.e. content provider) can enter a certain sub-channel under a certain main channel that service end provides by comprehensive client, and carry out content live by the live masterplate (as education masterplate) of described a certain sub-channel, correspondingly, the content of main broadcaster's user live broadcast can be broadcasted by service end in the sub-channel residing for main broadcaster user, make all the other users (i.e. spectators user) in this sub-channel can watch the live content of main broadcaster user.In the embodiment of the present invention, live content can be Online Video live content, game on line live content, online education live content etc., and the embodiment of the present invention is not construed as limiting.In the embodiment of the present invention, the comprehensive client that the functions such as comprehensive client can be the online net cast of set, game on line is live, online education is live are integrated.In the network architecture shown in Fig. 1, comprehensive client, applications client may operate in and include but not limited on the subscriber equipment such as mobile phone, removable computer, panel computer, personal digital assistant (Personal Digital Assistant, PDA), media player, intelligent television, intelligent watch, intelligent glasses, Intelligent bracelet.
Based on the network architecture shown in Fig. 1, a kind of content live method that the embodiment of the invention discloses.Refer to Fig. 2, Fig. 2 is the schematic flow sheet of a kind of content live method disclosed in the embodiment of the present invention.As shown in Figure 2, this content live method can comprise the following steps.
S201, applications client scanning encoding image, obtain main channel mark.
In the embodiment of the present invention, applications client can respond the scan instruction of input, scans the coded image on the live masterplate interface of a certain sub-channel, obtains the main channel mark of described a certain sub-channel place main channel; Described a certain sub-channel place main channel is the main channel that service end provides.
In the embodiment of the present invention, applications client can detect the scan instruction of input, and then the scan instruction of input can be responded, the coded image on the live masterplate interface of a certain sub-channel that scan service end provides, thus obtain the main channel mark of a certain sub-channel place main channel.
For example, applications client can detect the scan instruction of user by the scan button input of operation (as clicked) applications client, and then applications client can respond the scan instruction of input, coded image on the live masterplate interface of a certain sub-channel that scan service end provides to comprehensive client, thus the main channel mark obtaining a certain sub-channel place main channel.Wherein, coded image can comprise bar code, Quick Response Code or three-dimension code, and the embodiment of the present invention is not construed as limiting; Wherein, main channel mark can comprise main channel title and/or main channel icon.
In the embodiment of the present invention, the scan instruction of above-mentioned applications client response input, scans the coded image on the live masterplate interface of a certain sub-channel, obtains the main channel mark of a certain sub-channel place main channel, can comprise the following steps:
1), the scan instruction of applications client response input, scan the coded image on the live masterplate interface of a certain sub-channel, obtain URL(uniform resource locator) (URL) corresponding to coded image.
2), applications client resolves field contents included by URL, obtains the main channel mark of a certain sub-channel place main channel.
S202, applications client send main channel and identify to service end, there is the sub-channel of target of content live under the main channel that Trigger services end inquiry main channel mark is corresponding.
In the embodiment of the present invention, after service end receives the main channel mark of applications client transmission, under main channel corresponding to this main channel mark can be inquired about, there is the sub-channel of target of content live.For example, service end can for each the sub-channel under the main channel of this main channel mark correspondence, judge whether the live button on the live masterplate of this sub-channel produces clicking trigger event, if produce clicking trigger event, can determine that this sub-channel is the sub-channel of target that there is content live.
In the embodiment of the present invention, live masterplate can comprise online net cast masterplate, the live masterplate of game on line, the live masterplate of online education etc., and the embodiment of the present invention is not construed as limiting.
S203, applications client receive the subchannel information of the sub-channel of target that service end sends; The subchannel information of the sub-channel of target comprises the sub-channel identication of the sub-channel of target.
In the embodiment of the present invention, the subchannel information of the sub-channel of target can also comprise the interface sectional drawing etc. of live content of the current persons count of the sub-channel of target, the sub-channel of target, and the embodiment of the present invention is not construed as limiting.Wherein, sub-channel identication can comprise sub-channel designation, sub-channel number etc., and the embodiment of the present invention is not construed as limiting.
The response of S204, applications client carries out corresponding action for the operational order of the sub-channel identication of the sub-channel of any one target.
For example, applications client can respond the operational order of the sub-channel identication for the sub-channel of any one target, the sub-channel identication of the described sub-channel of any one target is sent to service end, and applications client can receive the live content of the sub-channel of any one target described that service end sends, further, applications client can export the live content of the described sub-channel of any one target.
In the embodiment of the present invention, can guarantee by what operate it is all the sub-channel identication that the subchannel information that there is the sub-channel of target of content live under main channel comprises by the method implemented described by Fig. 2, and then guarantee that user can enter the direct broadcast band that there is content live quickly.
Based on the network architecture shown in Fig. 1, the another kind of content live method that the embodiment of the invention discloses.Refer to Fig. 3, Fig. 3 is the schematic flow sheet of another kind of content live method disclosed in the embodiment of the present invention.Wherein, the content live method described by Fig. 3 not only can enter the direct broadcast band that there is content live quickly, can also realize the live subscription of main channel.As shown in Figure 3, this content live method can comprise the following steps.
S301, applications client detect the scan instruction of input.
For example, see also Fig. 4, Fig. 4 is a kind of applications client scanning interface schematic diagram disclosed in the embodiment of the present invention.As shown in Figure 4, the scan button of applications client that user can operate (as clicked) (as 100 education APP), makes applications client can detect the scan instruction of user by the scan button input of operation (as clicked) applications client.
The scan instruction of S302, applications client response input, scans the coded image on the live masterplate interface of a certain sub-channel, obtains the main channel mark of described a certain sub-channel place main channel; Described a certain sub-channel place main channel is the main channel that service end provides.
For example, see also Fig. 5, Fig. 5 is the live masterplate interface schematic diagram of a seed channel disclosed in the embodiment of the present invention.Wherein, the live masterplate of the sub-channel shown in Fig. 5 is the live masterplate of a certain sub-channel that service end provides to comprehensive client.On the basis of the live masterplate of a certain sub-channel shown in Fig. 5, applications client can respond the scan instruction of input, scans the coded image on the live masterplate interface of a certain sub-channel, thus obtains the main channel mark of a certain sub-channel place main channel.
Wherein, coded image can comprise bar code, Quick Response Code or three-dimension code, and main channel mark can comprise main channel title and/or main channel icon, and the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, in above-mentioned steps S302, the scan instruction of applications client response input, scans the coded image on the live masterplate interface of a certain sub-channel, obtains the main channel mark of a certain sub-channel place main channel, can comprise the following steps:
1), the scan instruction of applications client response input, scan the coded image on the live masterplate interface of a certain sub-channel, obtain URL(uniform resource locator) (URL) corresponding to coded image.
2), applications client resolves field contents included by URL, obtains the main channel mark of a certain sub-channel place main channel.
S303, applications client send main channel mark to service end, there is the sub-channel of target of content live under the main channel that Trigger services end inquiry main channel mark is corresponding.
In the embodiment of the present invention, after service end receives the main channel mark of applications client transmission, under main channel corresponding to this main channel mark can be inquired about, there is the sub-channel of target of content live.For example, service end can for each the sub-channel under the main channel of this main channel mark correspondence, judge whether the live button on the live masterplate of this sub-channel produces clicking trigger event, if produce clicking trigger event, can determine that this sub-channel is the sub-channel of target that there is content live.
In the embodiment of the present invention, live masterplate can comprise online net cast masterplate, the live masterplate of game on line, the live masterplate of online education etc., and the embodiment of the present invention is not construed as limiting.
S304, applications client receive the subchannel information of the sub-channel of target that service end sends; The subchannel information of the sub-channel of target comprises the sub-channel identication of the sub-channel of target.
For example, see also Fig. 6, Fig. 6 is a kind of applications client disclosed in the embodiment of the present invention exists the subchannel information of the sub-channel of target of content live interface schematic diagram under exporting main channel.As shown in Figure 6, applications client can export the subchannel information of the sub-channel of multiple targets that service end sends, wherein, the subchannel information of the sub-channel of each target is except comprising the sub-channel identication of the sub-channel of this target, can also comprise the interface sectional drawing etc. of live content of the current persons count of the sub-channel of this target, the sub-channel of this target, the embodiment of the present invention is not construed as limiting.Wherein, sub-channel identication can comprise sub-channel designation, sub-channel number etc., and the embodiment of the present invention is not construed as limiting.
S305, applications client detect the operational order for the sub-channel identication of the sub-channel of any one target.
In the embodiment of the present invention, user can carry out clicking operation, with the operational order making applications client can detect the sub-channel identication for the sub-channel of any one target to the sub-channel identication of the sub-channel of any one target that applications client exports.
The response of S306, applications client, for the operational order of the sub-channel identication of the sub-channel of any one target, sends the sub-channel identication of the described sub-channel of any one target to service end.
S307, applications client receive the live content of the sub-channel of any one target described that service end sends.
S308, applications client export the live content of the described sub-channel of any one target.
In the embodiment of the present invention, can guarantee by what operate it is all the sub-channel identication that the subchannel information that there is the sub-channel of target of content live under main channel comprises by implementing above-mentioned step S301 ~ step S308, thus can guarantee that user watches live content rapidly.
S309, applications client set up the binding relationship that applications client mark identifies with main channel.
In the embodiment of the present invention, applications client is after the live content exporting the described sub-channel of any one target, main channel mark can be added to user's subscription list corresponding to applications client mark, thus the binding relationship that applications client identifies and main channel identifies can be set up; Wherein, applications client mark can comprise the account of applications client, and such as user logs in the account of applications client.
S310, applications client send content live subscribe request to service end, and this content live subscribe request comprises the binding relationship that applications client mark identifies with main channel.
In the embodiment of the present invention, the live subscription of main channel can be carried out from trend service end by above-mentioned steps S309 ~ step 310 applications client, when there is the sub-channel of the target of content live under this main channel follow-up like this, service end can notify applications client in time.
S311, applications client receive the notification message that service end sends, and this notification message is for notifying the sub-channel of target that there is content live under main channel identifies corresponding main channel.
S312, applications client detect the live request for notification message input.
S313, applications client send live request to service end, and return step S304.
In the embodiment of the present invention, can guarantee by what operate it is all the sub-channel identication that the subchannel information that there is the sub-channel of target of content live under main channel comprises by the method implemented described by Fig. 3, thus can guarantee that user enters the direct broadcast band that there is content live quickly.And, in the embodiment of the present invention, the live subscription carrying out a certain main channel from trend service end can be realized by the method implemented described by Fig. 3, when there is the sub-channel of the target of content live under this main channel follow-up like this, service end can notify applications client in time, thus user can be made to enter the direct broadcast band that there is content live quickly.
Based on the network architecture shown in Fig. 1, a kind of applications client that the embodiment of the invention discloses, for performing content live method disclosed in the embodiment of the present invention.Refer to Fig. 7, Fig. 7 is the structural representation of a kind of applications client disclosed in the embodiment of the present invention.As shown in Figure 7, this applications client 700 can comprise:
Scanning element 701, for scanning encoding image, obtains main channel mark.For example, scanning element 701 can respond the scan instruction of input, scans the coded image on the live masterplate interface of a certain sub-channel, obtains the main channel mark of a certain sub-channel place main channel; Wherein, a certain sub-channel place main channel is the main channel that service end provides.In the embodiment of the present invention, scanning element 701 can user by the scan instruction of the scan button input of operation (as click) applications client, coded image on the live masterplate interface of a certain sub-channel that scan service end provides to comprehensive client, thus the main channel mark obtaining a certain sub-channel place main channel.Wherein, coded image can comprise bar code, Quick Response Code or three-dimension code, and the embodiment of the present invention is not construed as limiting; Wherein, main channel mark can comprise main channel title and/or main channel icon.
Transmitting element 702, for sending the described main channel mark that scanning element 701 scanning obtains to service end, to trigger the sub-channel of target that there is content live under described service end inquires about described main channel corresponding to described main channel mark.In the embodiment of the present invention, after service end receives the main channel mark of applications client transmission, under main channel corresponding to this main channel mark can be inquired about, there is the sub-channel of target of content live.For example, service end can for each the sub-channel under the main channel of this main channel mark correspondence, judge whether the live button on the live masterplate of this sub-channel produces clicking trigger event, if produce clicking trigger event, can determine that this sub-channel is the sub-channel of target that there is content live.In the embodiment of the present invention, live masterplate can comprise online net cast masterplate, the live masterplate of game on line, the live masterplate of online education etc., and the embodiment of the present invention is not construed as limiting.
Receiving element 703, for receiving the subchannel information of the sub-channel of described target that described service end sends; The subchannel information of the sub-channel of described target comprises the sub-channel identication of the sub-channel of described target.In the embodiment of the present invention, the subchannel information of the sub-channel of target can also comprise the interface sectional drawing etc. of live content of the current persons count of the sub-channel of target, the sub-channel of target, and the embodiment of the present invention is not construed as limiting.Wherein, sub-channel identication can comprise sub-channel designation, sub-channel number etc., and the embodiment of the present invention is not construed as limiting.
Response unit 704, carries out corresponding action for the operational order responded for the sub-channel identication of the sub-channel of any one target.For example, response unit 703 can respond the operational order of the sub-channel identication for the sub-channel of any one target, the sub-channel identication of the described sub-channel of any one target is sent to described service end, and receive the live content of the sub-channel of any one target described that described service end sends, further, the live content of the described sub-channel of any one target can also be exported.
In one embodiment, response unit 704 can comprise:
Transmitting-receiving subelement 7041, for responding the operational order of the sub-channel identication for the sub-channel of any one target, sends the sub-channel identication of the described sub-channel of any one target to described service end;
Described transmitting-receiving subelement 7041, also for receiving the live content of the sub-channel of any one target described in the transmission of described service end;
Export subelement 7042, for exporting the live content of the described sub-channel of any one target.
In one embodiment, the applications client shown in Fig. 7 can also comprise:
Set up unit 705, for export the described sub-channel of any one target at described output subelement 7042 live content after, set up the binding relationship that applications client mark identifies with described main channel;
Described transmitting element 702, also for sending content live subscribe request to described service end, described content live subscribe request comprises the binding relationship that described applications client mark identifies with described main channel;
Described receiving element 703, also for receiving the notification message that described service end sends, described notification message is for notifying the sub-channel of target that there is content live under described main channel identifies corresponding described main channel;
Detecting unit 706, for detecting the live request inputted for described notification message;
Described transmitting element 702, for sending described live request to described service end, and triggers the operation of the subchannel information of the sub-channel of described target that the described service end of reception described in the execution of described receiving element sends.
In the embodiment of the present invention, described set up unit 705 specifically for export the described sub-channel of any one target at described output subelement 7042 live content after, add described main channel mark user's subscription list corresponding to applications client mark to, to set up the binding relationship that described applications client mark identifies with described main channel; Wherein, described applications client mark comprises the account of described applications client, and such as user logs in the account of applications client.
See also Fig. 8, Fig. 8 is the structural representation of another kind of applications client disclosed in the embodiment of the present invention.Wherein, the applications client shown in Fig. 8 is that applications client is as shown in Figure 7 optimized and obtains.In the applications client shown in Fig. 8, described scanning element 701 can comprise:
Scanning subelement 7011, for responding the scan instruction of input, scanning the coded image on the live masterplate interface of a certain sub-channel, obtaining the uniform resource position mark URL corresponding to described coded image;
Resolving subelement 7012, for resolving the field contents included by described URL, obtaining the main channel mark of described a certain sub-channel place main channel; Wherein, described main channel mark comprises main channel title and/or main channel icon.
In the embodiment of the present invention, the subchannel information of the sub-channel of described target also comprises the current persons count of the sub-channel of described target, the sectional view of live content.
In the embodiment of the present invention, can guarantee by what operate it is all the sub-channel identication that the subchannel information that there is the sub-channel of target of content live under main channel comprises by the applications client implemented described by Fig. 7 or Fig. 8, thus can guarantee that user enters the direct broadcast band that there is content live quickly.And, in the embodiment of the present invention, the live subscription carrying out a certain main channel from trend service end can be realized by the applications client implemented described by Fig. 7 or Fig. 8, when there is the sub-channel of the target of content live under this main channel follow-up like this, service end can notify applications client in time, thus user can be made to enter the direct broadcast band that there is content live quickly.
Based on the network architecture shown in Fig. 1, a kind of terminal equipment that the embodiment of the invention discloses, for performing content live method disclosed in the embodiment of the present invention.Refer to Fig. 9, Fig. 9 is the structural representation of a kind of terminal equipment disclosed in the embodiment of the present invention.As shown in Figure 9, this terminal equipment can comprise any one applications client described by Fig. 7 or Fig. 8, can guarantee by what operate it is all the sub-channel identication that the subchannel information that there is the sub-channel of target of content live under main channel comprises by the terminal equipment implemented described by Fig. 9, thus can guarantee that user enters the direct broadcast band that there is content live quickly.And, in the embodiment of the present invention, the live subscription carrying out a certain main channel from trend service end can be realized by the terminal equipment implemented described by Fig. 9, when there is the sub-channel of the target of content live under this main channel follow-up like this, service end can notify applications client in time, thus user can be made to enter the direct broadcast band that there is content live quickly.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium comprises read-only memory (Read-Only Memory, ROM), random asccess memory (Random Access Memory, RAM), programmable read only memory (ProgrammableRead-only Memory, PROM), Erasable Programmable Read Only Memory EPROM (Erasable ProgrammableRead Only Memory, EPROM), disposable programmable read-only memory (One-time ProgrammableRead-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, or other disk storages CD-ROM), magnetic disc store, magnetic tape storage, or can be used in any other medium computer-readable carrying or store data.
Above a kind of content live method disclosed in the embodiment of the present invention and relevant device are described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.