Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention more comprehensible, with reference to the accompanying drawings and embodiments, to this
Invention is described in further detail.It should be appreciated that the specific embodiments described herein are only used to explain the present invention,
Do not limit protection scope of the present invention.
Show that the schematic diagram of the application environment based on the embodiment of the present invention, the embodiment of the present invention are applied in Fig. 1
Online direct seeding technique, when being broadcast live online, between terminal 101 and server 100 can by any possible mode into
Row communication, terminal 101 can be used as main broadcaster's client, will by 100 by live content by network transmission to server 100
The live content is pushed to other spectator clients, and terminal 101 can also be used as spectator client, is obtained from server 100
The related data being broadcast live online, for example, be broadcast live online live streaming list, into corresponding main broadcaster's direct broadcasting room to obtain relevant master
Broadcast the relevant information (such as receiving the live content etc. of main broadcaster's client push) of direct broadcasting room.Browser is installed in terminal 101,
The live streaming client of corresponding online live broadcast service can also be installed, the user of terminal 101 both can be by browser, can also
By the way that client and server 100 is broadcast live carry out that exchanging for related service is broadcast live online.The present embodiments relate to be terminal
The online live streaming list system of browser on 101 and the interaction schemes being broadcast live between client.
The flow signal of the online live broadcasting method of the invention based on multimedia list in one embodiment is shown in Fig. 2
Figure, which illustrated by taking the processing procedure of the list system of browsing device net page as an example.
As shown in Fig. 2, the method in the present embodiment includes step:
Step S201:Receive the master for accessing live streaming client that user sends by clicking the live streaming list of browsing device net page
The access instruction of direct broadcasting room is broadcast, the access instruction includes the mark of main broadcaster's direct broadcasting room to be visited, enters step S202;
Step S202:The inquiry request of inquiry live streaming client-side information, the inquiry request packet are sent to live streaming client
The Apply Names for including live streaming client, enter step S203;
Step S203:Judge whether that receive the inquiry response that live streaming client returns enters step if receiving
S204, wherein the deterministic process can be carried out in conjunction with the setting in time limit, waiting to avoid long-time to inquiry response, i.e.,
Judge whether to receive the inquiry response that live streaming client returns within a predetermined period of time, if receiving within a predetermined period of time,
Then enter step S204;
Step S204:The access request for the main broadcaster's direct broadcasting room for accessing live streaming client, the visit are sent to live streaming client
Ask that request includes the mark of main broadcaster's direct broadcasting room to be visited.
According to the method in the present embodiment, the live streaming list by clicking browsing device net page can be to live streaming client hair
The access request for the main broadcaster's direct broadcasting room for accessing live streaming client is sent, opens and enter main broadcaster's direct broadcasting room of live streaming client accordingly,
To realize the multiterminal interaction based on live streaming list, webpage list can well in the live streaming application software of VAS application -to-terminal service,
The utilization rate that terminal live streaming application software can be greatlyd improve, improves the interactivity of online live broadcast service.
Wherein, as shown in Fig. 2, being not received by looking into for live streaming client within a predetermined period of time in above-mentioned steps S203
When asking response, illustrate that being currently located terminal is fitted without the application of live streaming client, thus step S205 can be directly entered:It provides
Present terminal does not install the prompt message of live streaming client, and triggers the stream of the built-in initialization installation live streaming client
Journey.
In addition, in the case where present terminal is mounted with live streaming client, for certain live broadcast services, may prop up
Live broadcast service and live streaming client that different users logs in browsing device net page respectively are held, therefore, as shown in Fig. 2, in the present invention
In one specific example of embodiment, after above-mentioned steps S203 judgements receive inquiry response between step 204, may be used also
To include step:
Step S2031:Judge the information of the logged-in user of current browser webpage and having stepped in the inquiry response
It whether consistent records user information, if unanimously, step S204 can be directly entered, if inconsistent, enters step S2032;
Step S2032:Using the information of the logged-in user of current browser webpage as the access main broadcaster to be visited
The login user information of direct broadcasting room, subsequently into step S204.
At this point, above-mentioned inquiry response includes the logged-in user information of the live streaming client, in above-mentioned access request also
The login user information including accessing main broadcaster's direct broadcasting room to be visited.
On the other hand, for certain live broadcast services for logging in browsing device net pages, can allow while multiple and different users
It is logged in.Accordingly, in the specific example of the present invention, in the logged-in user of above-mentioned judgement current browser webpage
When logged-in user information in information and the inquiry response is inconsistent, current browser webpage can also be further judged
Whether logged-in user is there are two more than, if so, login user selection interface is provided, so that user selects.
Terminal user can select the user for needing to log in based on the login user selection interface, and can pass through click
Mode sends out selection instruction, and the selection instruction includes user identifier.
The scheme of the embodiment of the present invention corresponding with the user identifier will log in use after receiving the selection instruction
The information at family is as the login user information.
In addition, the scheme based on the embodiment of the present invention, can also open the master of browser page by the way that client is broadcast live
Broadcast direct broadcasting room or relevant live streaming list.
Therefore, in a specific example, the opening browser page that the live streaming client is sent can also be received
The direct broadcasting room of main broadcaster's direct broadcasting room opens request, and it includes main broadcaster's direct broadcasting room mark which, which opens request, and according to the live streaming
Between open request and open corresponding with main broadcaster's direct broadcasting room mark main broadcaster's direct broadcasting room in current browser.
In another specific example, can also receive it is described live streaming client send opening browsing device net page with master
The list opening request that direct broadcasting room identifies corresponding live streaming list is broadcast, it includes main broadcaster's direct broadcasting room mark which, which opens request, and
Corresponding with the main broadcaster's direct broadcasting room mark live streaming list of acquisition request is opened according to the list, and by acquisition and main broadcaster's direct broadcasting room
The page for identifying corresponding live streaming list is shown in current browser.
Show the online live broadcasting method based on multimedia list in another embodiment in Fig. 3, the embodiment be with
It is illustrated for the processing procedure of live streaming client.
As shown in figure 3, the method in the present embodiment includes step:
Step S301:The inquiry for receiving the inquiry live streaming client-side information sent by the live streaming list of browsing device net page is asked
It asks, and inquiry response is returned to the live streaming list of the browsing device net page according to the inquiry request;
Step S302:The main broadcaster for receiving the access live streaming client sent by the live streaming list of the browsing device net page is straight
Access request between broadcasting, the access request include the mark of main broadcaster's direct broadcasting room to be visited;
Step S303:It is corresponding with main broadcaster's direct broadcasting room mark in current live client opening according to the access request
Main broadcaster's direct broadcasting room.
According to the method in the present embodiment, live streaming client is to receive to send by the live streaming list for clicking browsing device net page
The access request of main broadcaster's direct broadcasting room of the access live streaming client to come over, can pass through the list of browsing device net page accordingly
The main broadcaster's direct broadcasting room for opening and entering live streaming client, to realize the multiterminal interaction based on live streaming list, webpage list can be with
Well in the live streaming application software of VAS application -to-terminal service, the utilization rate of terminal live streaming application software can be greatlyd improve, is improved
The interactivity of online live broadcast service.
In a specific example, as shown in figure 3, between step S302 and step S303, the method in the present embodiment
It can also include step:
Step S3021:Judge that login user information and the login of current live client in the access request are used
Whether family information is consistent, if unanimously, being directly entered above-mentioned steps S303, if inconsistent, enters step S3022;
Step S3022:The login of the corresponding user of the logged-in user information is exited, and is logged in and the access request
In the corresponding user of login user information.
It should be noted that in the example of step S3021 and step S3022, stepped on so that client existing subscriber is broadcast live
It is illustrated for record, in the case where live streaming client not yet logs in any user, then is not necessarily to execute above-mentioned analyzed and determined
Journey is directly logged according to the corresponding user of login user information in access request.
In addition, the scheme based on the embodiment of the present invention, can also open the master of browser page by the way that client is broadcast live
Broadcast direct broadcasting room or relevant live streaming list.
Accordingly, as shown in figure 3, the method in the present embodiment can also include step:
Step S304:It receives user and is switched to browser net by what the live streaming list of click current live client was sent
The switching command of page, the switching command include main broadcaster's direct broadcasting room mark;
Step S305:Provide the main broadcaster's direct broadcasting room for opening browsing device net page or the live streaming list for being switched to browsing device net page
The prompt of the page selects the page, and based on the instruction received by the prompt selection page, enters step S306 or step
S307;
When receiving the instruction for the live streaming list page for being switched to browsing device net page, S306 is entered step, and in step
In S306, the list that corresponding live streaming list is identified with main broadcaster's direct broadcasting room that opening browsing device net page is sent to browser is beaten
Request is opened, it includes main broadcaster's direct broadcasting room mark which, which opens request,;
When receiving the instruction for the main broadcaster's direct broadcasting room for opening browsing device net page, S307 is entered step, and in step S307
In, the direct broadcasting room that the main broadcaster's direct broadcasting room for opening browser page is sent to browser opens request, which opens request bag
Include main broadcaster's direct broadcasting room mark.
It is to provide the prompt selection page come to being to open browsing in exemplary plot shown in Fig. 3 for the ease of process description
Main broadcaster's direct broadcasting room of the device page illustrates for still opening the live streaming list page of browsing device net page, in practical solutions
Application in, may be set to be the instruction that the switching command that receives is the main broadcaster's direct broadcasting room for opening browser page.This
When, it is cut receiving user by clicking the above-mentioned of browsing device net page that be switched to that the live streaming list of current live client is sent
When changing instruction, you can directly send the live streaming for the main broadcaster's direct broadcasting room for opening browser page to browser according to above-mentioned switching command
Between open request, the direct broadcasting room open request include include in above-mentioned switching command main broadcaster's direct broadcasting room identify.
It on the other hand, can be directly with server into row data communication, to carry out data after client terminal start-up is broadcast live
Update.Therefore, in a specific example, the method for the present embodiment can also include step:
List inquiry request is sent to server;
Receive the list inquiry response that server is returned according to the list inquiry request;
The live streaming list of current live client is updated according to the list inquiry response.
Based on the online live broadcasting method present invention as described above based on multimedia list, specifically answered below in conjunction with one
The process interacted with the multiterminal of the online live broadcast service based on multimedia list in example carries out one for example, showing at this
In example, be to open the main broadcaster direct broadcasting room of live streaming client by the list of browser page after, then based on live streaming client
It is illustrated for the process of main broadcaster's direct broadcasting room of list opening browser page.It will be understood by those skilled in the art that this
Exemplary illustration is intended merely to facilitate the exemplary illustration of understanding, in the actual business procedure being broadcast live online, Mou Xieshi
Carve the part that can may be only related in this instantiation procedure.
Scheme based on the embodiment of the present invention, it is assumed that live streaming client is the related App of mobile terminal, then for this
For App, it is desirable to provide specific query interface, in order to which the list system applied to browser page can be inquired directly
The status information of App, while access interface is it is also required to provide, it can be carried out with App in order to the list system of browser page
Information exchange, these interfaces are actually the information exchange specified between the list system of browser page and live streaming client
Agreement, it is interactive to achieve the purpose that accordingly, the utilization rate and number of users of application are improved, interactivity and the user for enhancing user are loyal
Really degree,
One letter is carried out to the relevant interface involved in the embodiment of the present invention below in conjunction with one of specific example
It illustrates.
The example that the relevant information for the query interface that client is broadcast live in the specific example is shown in table one, for live streaming
For client, the interface that inquiry essential information and status information is provided is needed, the information inquired may include terminating machine
Information, operation system information, App version informations, App state machine informations, active user log in state information.The list of browser page
List can be with by whether receive the return information for inquiry request, to judge whether terminal is installed or enabled accordingly
App, and can according to operation system information, the App version informations etc. of terminal, come prompt the user whether installation, update or
App is directly directly accessed according to some login user information, to use specific function.
Table one:Using the query interface of App information
Show that the example of the relevant information for the access interface that client is broadcast live in the specific example, the access connect in table two
Mouth can be the interface for the specific live broadcast service for accessing live streaming client, and the access request based on the access interface can provide agreement
The parameter that check information, interaction type information, the method for realization, implementation method need.
Table two:Using the access interface of App functions
The queried access interface that list in the specific example is shown in table three can be so as to by the queried access interface
The essential information of list itself is inquired in App, which includes the attribute-name collection of the type code of each list, list
Conjunction, the corresponding data type set of list attribute, the method for data query, the parameter of data query, the parameter class of data query
The address etc. that type, list directly access.
Table three:List data query access interface
Further, it is also possible to which the interface that list receives App propelling datas is arranged, the data pushed include list type, number
According to list details etc..
Based on the explanation of specific example as described above, needed in the live streaming client (such as App of mobile terminal) of terminal
Following processes are executed successfully to be initialized to the displaying of list data.
First, operation personnel need to initialize addition list type, configuration list data attribute title, attribute data type,
It accesses the method for data, access the address of list.Then, list system initialization loads configuration information, completes data preparation,
App requests are waited for, list data and displaying information are generated.Then, list receives what App was transmitted by propelling data interface
List updates the data, and according to the list type in updating the data, this is updated the data in filing to list data, is being filed
Afterwards, newer list data and displaying information can be obtained, the newer list data and displaying information can be transferred to live streaming visitor
Family end, to realize the initialization of live streaming client.
In a concrete application example, user clicks the triggerings such as the live streaming list of browser page and accesses App requests, i.e.,
By click browser page live streaming list send out one access be broadcast live client main broadcaster's direct broadcasting room access instruction, with into
Enter to correspond to the direct broadcasting room viewing live streaming of main broadcaster in App.
After the list of browser page receives the access instruction, the query interface of above application App information is called, is based on
The query interface sends inquiry request to App, that is, use data format as defined in query interface with above application App information to
The App for being currently located terminal sends inquiry request.
If being not received by the information of App returns within a predetermined period of time, it can determine that and not have in active user's terminal system
It is equipped with using App, triggers the built-in initialization installation procedure using App, prompt user installation App.It is specific at one
Page is broadcast live using general browser in example, can also be jumped at this time.
If the inquiry response of App returns is had received within a predetermined period of time, according to the App shapes in inquiry response
State, login user information, list call the access interface using App functions, Hoc protocols check information, interaction type information
Parameter information (such as User ID, object ID, the channel ID of needs are completed in (for example start, log in, directly accessing etc.) and interaction
Deng), access request is sent to App, to access App, into the detailed application modules of App.
App receive the access request and access verification AppKey verification pass through after, the access request is responded, in App
Corresponding main broadcaster's direct broadcasting room is opened, and returns to the returning response successfully opened to list.
And for App, it is successfully starting up and after user logs in, normal service can be carried out.Wherein, have at one
In body example, App can enable timing update list service, the queried access interface provided by list, and timing updates list number
Information is shown according to list.In addition, App can also monitor user behavior, to influencing the operation of list data variation, list can be passed through
The data-pushing interface singly provided, is pushed to list server-side.
In addition, when user accesses list data and list information by the list triggering clicked in App, can utilize
List display module built in App shows list data, can also be to provide the switching command for being switched to browsing device net page accordingly,
When App receives the switching command, the main broadcaster's direct broadcasting room for opening browser page is sent to browser according to the switching command
Direct broadcasting room opens request, and after list receives the request sent by browser, the request of the success response App is browsing
Corresponding main broadcaster's direct broadcasting room is opened in the device page.
Based on thought same as mentioned above, the present embodiment also provides a kind of online live streaming dress based on multimedia list
It sets, the structural schematic diagram of the online live broadcast device based on multimedia list in one embodiment, the embodiment is shown in Fig. 4
It is to be illustrated for the device of the list system of browsing device net page by being arranged.
As shown in figure 4, the device in the present embodiment includes:
Command reception module 401 is straight by clicking the access that the live streaming list of browsing device net page is sent for receiving user
The access instruction of main broadcaster's direct broadcasting room of client is broadcast, the access instruction includes the mark of main broadcaster's direct broadcasting room to be visited;
Enquiry module 402, the inquiry request for sending inquiry live streaming client-side information to live streaming client, the inquiry
Request includes the Apply Names of client being broadcast live, and receive the live streaming client and rung according to the inquiry that the inquiry request returns
It answers;
Access modules 403, for enquiry module 402 receive live streaming client return the inquiry response when, to
Be broadcast live client send access live streaming client main broadcaster's direct broadcasting room access request, the access request include described in wait visiting
The mark for the main broadcaster's direct broadcasting room asked.
According to the device in the present embodiment, the live streaming list by clicking browsing device net page can be to live streaming client hair
The access request for the main broadcaster's direct broadcasting room for accessing live streaming client is sent, opens and enter main broadcaster's direct broadcasting room of live streaming client accordingly,
To realize the multiterminal interaction based on live streaming list, webpage list can well in the live streaming application software of VAS application -to-terminal service,
The utilization rate that terminal live streaming application software can be greatlyd improve, improves the interactivity of online live broadcast service.
As shown in figure 4, the device in the present embodiment can also include:
Client triggering installation module 404, for not receiving live streaming client within a predetermined period of time in enquiry module 402
When holding the inquiry response returned, the prompt message that present terminal does not install live streaming client is provided, and trigger built-in initialization
The flow of the live streaming client is installed.
As shown in figure 4, the device in the present embodiment can also include:
Login user determining module 405, for judging that the information of the logged-in user of current browser webpage is looked into described
Whether the logged-in user information ask in response is consistent, if inconsistent, by the information of the logged-in user of current browser webpage
As the login user information for accessing main broadcaster's direct broadcasting room to be visited;
At this point, above-mentioned inquiry response includes the logged-in user information of the live streaming client, above-mentioned access request is also wrapped
Include the login user information for accessing main broadcaster's direct broadcasting room to be visited.
On the other hand, for certain live broadcast services for logging in browsing device net pages, can allow while multiple and different users
It is logged in.Accordingly, in the specific example of the present invention, above-mentioned login user determining module 405 is additionally operable to work as in judgement
When logged-in user information in the information of the logged-in user of preceding browsing device net page and the inquiry response is inconsistent, judge to work as
Whether the login user of preceding browsing device net page if so, providing login user selection interface, and receives selection and refers to there are two more than
It enables, the selection instruction includes user identifier, using the information of logged-in user corresponding with the user identifier as described in
Login user information.
In addition, the scheme based on the embodiment of the present invention, can also open the master of browser page by the way that client is broadcast live
Direct broadcasting room or relevant live streaming list are broadcast, therefore, as shown in figure 4, the device in the present embodiment can also include:
Browser page direct broadcasting room respond module 406, the opening browser page sent for receiving the live streaming client
The direct broadcasting room of main broadcaster's direct broadcasting room in face opens request, and it includes main broadcaster's direct broadcasting room mark which, which opens request, and according to described
Direct broadcasting room opens request and opens main broadcaster's direct broadcasting room corresponding with main broadcaster's direct broadcasting room mark in current browser;
And/or
Browser page list respond module 407, the opening browsing device net page sent for receiving the live streaming client
With main broadcaster's direct broadcasting room identify it is corresponding live streaming list list open ask, the list open request include main broadcaster's direct broadcasting room mark
Know, and acquisition request live streaming list corresponding with main broadcaster's direct broadcasting room mark is opened according to the list, acquisition is straight with main broadcaster
The page that corresponding live streaming list is identified between broadcasting is shown in current browser.
The structural schematic diagram of the online live broadcast device based on multimedia list in another embodiment is shown in Fig. 5,
The embodiment is illustrated for the device of live streaming client by being arranged.
As shown in figure 5, the device in the present embodiment includes:
Client is broadcast live in inquiry response module 501, the inquiry that the live streaming list for receiving through browsing device net page is sent
The inquiry request of information, and inquiry response is returned to the live streaming list of the browsing device net page according to the inquiry request;
Visitor is broadcast live in access response module 502, the access that the live streaming list for receiving through the browsing device net page is sent
The access request of main broadcaster's direct broadcasting room at family end, the access request include the mark of main broadcaster's direct broadcasting room to be visited, and according to institute
It states access request and opens main broadcaster's direct broadcasting room corresponding with main broadcaster's direct broadcasting room mark in current live client.
As shown in figure 5, in a specific example, the device in the present embodiment can also include:
User adjusts module 503, for the login user information and current live client in the access request
When logged-in user information is inconsistent, the login of the corresponding user of the logged-in user information is exited, and log in and the visit
Ask the corresponding user of login user information in request;
At this point, above-mentioned inquiry response includes the logged-in user information of current live client, above-mentioned access request is also wrapped
Include the login user information for accessing main broadcaster's direct broadcasting room to be visited.
In addition, the scheme based on the embodiment of the present invention, can also open the master of browser page by the way that client is broadcast live
Broadcast direct broadcasting room or relevant live streaming list.
Accordingly, as shown in figure 5, the device in the present embodiment can also include:
Handover module 504 is switched to for receiving user by what the live streaming list of click current live client was sent
The switching command of browsing device net page, the switching command include main broadcaster's direct broadcasting room mark, and according to the switching command to browsing
The direct broadcasting room that device sends the main broadcaster's direct broadcasting room for opening browser page opens request, and it includes the main broadcaster which, which opens request,
Direct broadcasting room identifies.
Wherein, in a specific example, above-mentioned handover module 504 is additionally operable to after receiving the switching command,
The prompt for the live streaming list page for providing the main broadcaster's direct broadcasting room for opening browsing device net page or being switched to browsing device net page selects page
Face, and when receiving the instruction for the main broadcaster's direct broadcasting room for opening browsing device net page, sent to browser and open browser page
The direct broadcasting room of main broadcaster's direct broadcasting room opens request, in the instruction for receiving the live streaming list page for being switched to browsing device net page
When, the list opening that corresponding live streaming list is identified with main broadcaster's direct broadcasting room that opening browsing device net page is sent to browser is asked
It asks, it includes main broadcaster's direct broadcasting room mark which, which opens request,.
After client terminal start-up is broadcast live, can directly with server into row data communication, to carry out data update, according to
This, as shown in figure 5, the device in the present embodiment can also include:
List update module 505 for sending list inquiry request to server, and receives server according to the list
The list inquiry response that inquiry request returns updates the live streaming list of current live client according to the list inquiry response.
The present invention the online live broadcast device based on multimedia list each specific implementation can in the above method
It is identical, no longer repeat in detail herein.
Each technical characteristic of embodiment described above can be combined arbitrarily, to keep description succinct, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, it is all considered to be the range of this specification record.
Several embodiments of the invention above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.