Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind
State the treating method and apparatus of the games page of problem.
According to one aspect of the present invention, a kind of processing method of games page is provided, comprising:
Insertion includes the live streaming window of video player in games page;
The operation that specified game is logged in response to user, shows the games page comprising live streaming window;
Game related content is shown in games page, and obtains live video stream, and passes through the video player
The live video stream is played in the live streaming window in games page.
Optionally, this method further comprises: the corresponding relationship being pre-configured between Game Zone clothes and live video stream, and
It is saved in specified list;
Show that the corresponding live video stream of output includes: according to user in the live streaming window in games page
The selected Game Zone clothes of game are logged in, the specified list is inquired and determines corresponding live video stream.
Optionally, the corresponding relationship being pre-configured between Game Zone clothes and live video stream includes:
The first corresponding relationship between configuration Game Zone clothes and network main broadcaster, then by the live video stream of network main broadcaster and phase
Game Zone clothes are answered to correspond to.
Optionally, this method further comprises:
The corresponding relationship between Game Zone clothes and network main broadcaster is shown to user, so that user carries out the choosing of Game Zone clothes
It selects.
Optionally, the live streaming window of the insertion comprising video player in games page includes:
The live streaming window comprising video player is embedded in games page by iframe mode.
Optionally, the acquisition live video stream includes:
The network address of corresponding live video stream is configured for the live streaming window;
Network address by accessing configured live video stream obtains live video stream.
Optionally, described to be embedded in the live streaming window packet comprising video player in games page by iframe mode
It includes:
In the preset specified iframe label of games page, it is written as live streaming window and configures corresponding live video stream
Network address.
Optionally, the network address for configuring corresponding live video stream for the live streaming window includes:
Obtain the network address of the succinct version webpage of corresponding live video stream;
The network address of the succinct version webpage of corresponding live video stream is configured for the live streaming window.
Optionally, this method further comprises:
The priority of each figure layer in the games page is controlled, so that the live video stream is shown in each figure layer most
Front end.
Optionally, this method further comprises:
The corresponding relationship between the account in account and live broadcast system in the game system of the user is established, to make
The user is obtained to interact in the games page with the live content in the live streaming window.
Optionally, this method further comprises:
By adjusting showing the code rate or clarity of content in the games page and the live streaming window, to adjust pair
The occupancy of resource.
Another aspect according to the present invention provides a kind of processing unit of games page, comprising:
Page processing unit, suitable for live streaming window of the insertion comprising video player in games page;In response to user
The operation for logging in specified game, shows the games page comprising live streaming window;Game related content is shown in games page, with
And the corresponding live video stream of output is shown in the live streaming window in games page.
Optionally, which further comprises: configuration unit, suitable for being pre-configured between Game Zone clothes and live video stream
Corresponding relationship, and be saved in specified list;
The page processing unit is suitable for logging in the selected Game Zone clothes of game according to user, inquires the specified column
Table determines corresponding live video stream.
Optionally, then the configuration unit will suitable for first configuring the corresponding relationship between Game Zone clothes and network main broadcaster
The live video stream of network main broadcaster is corresponding with corresponding Game Zone clothes.
Optionally, which further comprises:
Display unit, suitable for showing the corresponding relationship between Game Zone clothes and network main broadcaster to user, for user's progress
The selection of Game Zone clothes.
Optionally, the page processing unit, broadcasts suitable for being embedded in games page by iframe mode comprising video
Put the live streaming window of device.
Optionally, the page processing unit is suitable for the network address that the live streaming window configures corresponding live video stream;
Network address by accessing configured live video stream obtains live video stream.
Optionally, the page processing unit is straight suitable for being written as in the preset specified iframe label of games page
Broadcast the network address that window configures corresponding live video stream.
Optionally, the page processing unit, the network address of the succinct version webpage suitable for obtaining corresponding live video stream;For
The live streaming window configures the network address of the succinct version webpage of corresponding live video stream.
Optionally, which further comprises:
Page figure layer control unit, suitable for controlling the priority of each figure layer in the games page, so that the live streaming
Video flowing is shown in the front end of each figure layer.
Optionally, which further comprises:
Account relating unit is adapted to set up between the account in the account and live broadcast system in the game system of the user
Corresponding relationship so that the user carried out in the games page with the live content in the live streaming window it is mutual
It is dynamic.
Optionally, which further comprises:
Page output adjustment unit, suitable for by adjusting showing content in the games page and the live streaming window
Code rate or clarity, to adjust the occupancy to resource.
It can be seen from the above, technical solution of the present invention, insertion includes the live streaming window of video player in games page,
After receiving user and logging in the operational order for specifying game, shows the games page comprising live streaming window, utilize video playing
Device plays the live video stream of acquisition in live streaming window, and shows game related content simultaneously in games page, the skill
Art scheme realizes in the same page while showing live content and game related content, and user may be used also while playing game
To be interacted by live streaming window and game main broadcaster, the participation of user is greatly improved, the society of user is greatly met
Friendship demand.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
Fig. 1 shows a kind of flow chart of the processing method of games page according to an embodiment of the invention, such as Fig. 1 institute
Show, this method comprises:
Step S110, insertion includes the live streaming window of video player in games page.
Step S120 logs in the operation of specified game in response to user, shows the games page comprising live streaming window.
Step S130 shows game related content in games page, and obtains live video stream, and broadcast by video
It puts device and plays live video stream in the live streaming window in games page.
As it can be seen that method shown in FIG. 1, insertion includes the live streaming window of video player in games page, is being received
After user logs in the operational order of specified game, shows the games page comprising live streaming window, be broadcast live using video player
The live video stream of acquisition is played in window, and shows game related content simultaneously in games page, and the technical solution is real
Live content and game related content are showed in the same page while having shown, user can also be by straight while playing game
It broadcasts window and game main broadcaster interacts, greatly improve the participation of user, greatly meet the social demand of user.
In one embodiment of the invention, method shown in FIG. 1 further comprises: being pre-configured with Game Zone clothes and live streaming
Corresponding relationship between video flowing, and be saved in specified list;Show that output corresponds in live streaming window in games page
Live video stream include: that game selected Game Zone clothes are logged according to user, inquiry specified list determines corresponding live streaming
Video flowing.
For example, the network main broadcaster that game A is played in live streaming has ten people, and area's clothes of game A are also ten.Each network main broadcaster
In live streaming, corresponding live video stream can be played in the live streaming room of network main broadcaster, user can lead under normal circumstances
Cross access webcast website, into the live streaming room after watched.In the present embodiment, pre-configured Game Zone clothes and live streaming
The corresponding relationship of video flowing, such as the area of game A take a live video stream for corresponding to No.1 main broadcaster, and area takes two corresponding No. two main broadcasters
Live video stream, etc..
But in fact, user, which is from the URL of live video stream, can not to be intuitively understood to corresponding main broadcaster
Details, and if the live content that user can just view network main broadcaster only after actually entering game is very inconvenient
, user prefers to first recognize the introduction, such as the photo of network main broadcaster etc. of live content in game login page.
As can be seen that Game Zone clothes are really corresponding with network main broadcaster, therefore in one embodiment of the invention, the above method
In, be pre-configured with Game Zone clothes live video stream between corresponding relationship include: first configuration Game Zone clothes with network main broadcaster it
Between corresponding relationship, it is then that the live video stream of network main broadcaster is corresponding with corresponding Game Zone clothes.
And this corresponding relationship needs are known by user, i.e., in one embodiment of the invention, show and swim to user
The corresponding relationship played between area's clothes and network main broadcaster, so that user carries out the selection of Game Zone clothes.For example, in game log in page
Face after user's click area takes one, shows photo, direct broadcasting room head portrait or live streaming screenshot of No.1 main broadcaster etc..User clicks each in this way
Area's clothes, can view and take corresponding network main broadcaster with each area, if it is new user, can choose corresponding to the main broadcaster liked
Area clothes, the area take creation role;If it is old user, it both can choose former area's clothes, and also can choose other areas and take and create
Build role.
In this way, game player carry out area's clothes selection when, not only it is contemplated that the Network status of server, server name
The factors such as title choose area's clothes, and area's clothes can also be chosen according to favorite network main broadcaster.In one embodiment of the invention, with it is each
Area takes the content that corresponding network main broadcaster is broadcast live to be network main broadcaster plays in the area takes the fact of game, and user can be with
The location of in gaming according to network main broadcaster, the role for manipulating oneself reaches same position, carries out in gaming with main broadcaster
Interaction, such as brush copy of forming a team.
In one embodiment of the invention, in method shown in FIG. 1, insertion includes video player in games page
Live streaming window include: to be embedded in the live streaming window comprising video player in games page by iframe mode.
By taking web game as an example, user can open browser and enter game website, obtain games page;It can also pass through
Micro- end of web game is downloaded to locally, carrys out running game locally opening executable file.But no matter which kind of mode, Yong Hushi
Border when playing game is operated to games page.It therefore is so that the experience of user is more preferable, the embodiment of the present invention will
It is broadcast live in window insertion games page, since the page of web game is the html page, in the present embodiment, by the side iframe
Formula is embedded in the live streaming window comprising video player in games page.Specifically, the specified iframe preset in games page
In label, it is written as the network address that live streaming window configures corresponding live video stream;In this way after opening games page, so that it may logical
Cross the network address acquisition live video stream for accessing configured live video stream.
It addresses above, live video stream is by obtaining from the live broadcast system where network main broadcaster.And live broadcast system is
The interacting of enhancing user and main broadcaster, the commercial interest for realizing live broadcast system etc., live broadcast system is often in the straight of each network main broadcaster
It is provided with diversified function between broadcasting, such as is inserted into advertisement etc. in live content, these functions make live video stream
Content is excessive, is not appropriate for playing in games page, and excessive content not only can not meet user demand, can also waste significantly
Hardware resource.Therefore in one embodiment of the invention, in the above method, corresponding live video stream is configured for live streaming window
Network address include: to obtain the network address of the succinct version webpage of corresponding live video stream;Corresponding live streaming view is configured for live streaming window
The network address of the succinct version webpage of frequency stream.Wherein, the network address of succinct version webpage is to be embedded in the live streaming window of games page and specially mentioning
It supplies.Making the content played in games page so just can satisfy the demand that user watches live streaming, interacts with main broadcaster,
Also not providing extra content simultaneously is sick of user.
In one embodiment of the invention, method shown in FIG. 1 further comprises: each figure layer in control games page
Priority so that live video stream is shown in the front end of each figure layer.
Since live streaming window is embedded in games page, it is thus possible to which gaming portion related content and live streaming window occur needs
It will be the case where same position be shown.However in view of user prefers to see live content at this time, it is therefore desirable to game page
The priority of each flash figure layer in face is adjusted, so that the figure layer of the figure layer covering script game content of live video stream, is realized
Nested one layer of live content on the game content that script plays.
User uses game account rather than the account of live broadcast system when logging in game, but user also wants to viewing directly
It broadcasts content and is interacted with main broadcaster, therefore also need the account in live broadcast system.To solve this problem, the above method is further
It include: the corresponding relationship between the account in the account and live broadcast system in the game system for establish user, so that user
It is interacted in games page with the live content in live streaming window.In this way, user is in games page, if the coke of user
Point is in game content, then user can minimize live streaming window, then voice is with anchor exchange;If the focus of user
It is in live content, i.e., user can open live streaming window and network main broadcaster is gently interacted, such as chat barrage, SCN Space Cable Network master
Broadcast present etc..
In one embodiment of the invention, above-mentioned this method further comprises: by adjusting games page and live streaming
The code rate or clarity of content are shown in window, to adjust the occupancy to resource.
With the promotion of technology, game manufacturer is to meet user demand, and the game textures quality provided is often higher, such as
It needs to handle a large amount of 3D resources, and also needs to play live content in an embodiment of the present invention, in games page, this undoubtedly increases
More contents to be treated, need to occupy more resources.To be optimized to this, in the present embodiment, to games page
It shows that the code rate of content or clarity are adjusted in live streaming window, such as with the variation of user focus, reduces another portion
Divide the code rate or clarity of content.
Fig. 2 shows a kind of structural schematic diagrams of the processing unit of games page according to an embodiment of the invention, such as
Shown in Fig. 2, the processing unit 200 of games page includes:
Page processing unit 210, suitable for live streaming window of the insertion comprising video player in games page;In response to
Family logs in the operation of specified game, shows the games page comprising live streaming window;Game related content is shown in games page,
And the corresponding live video stream of output is shown in the live streaming window in games page.
As it can be seen that device shown in Fig. 2, insertion includes the live streaming window of video player in games page, is being received
After user logs in the operational order of specified game, shows the games page comprising live streaming window, be broadcast live using video player
The live video stream of acquisition is played in window, and shows game related content simultaneously in games page, and the technical solution is real
Live content and game related content are showed in the same page while having shown, user can also be by straight while playing game
It broadcasts window and game main broadcaster interacts, greatly improve the participation of user, greatly meet the social demand of user.
In one embodiment of the invention, in device shown in Fig. 2, page processing unit 210, suitable for passing through iframe
Mode is embedded in the live streaming window comprising video player in games page.
In one embodiment of the invention, in above-mentioned apparatus, page processing unit 210 is suitable for live streaming window configuration
The network address of corresponding live video stream;Network address by accessing configured live video stream obtains live video stream.
In one embodiment of the invention, in above-mentioned apparatus, page processing unit 210 is suitable for preset in games page
Specified iframe label in, be written as live streaming window and configure the network address of corresponding live video stream.
In one embodiment of the invention, in above-mentioned apparatus, page processing unit 210 is suitable for obtaining corresponding live streaming
The network address of the succinct version webpage of video flowing;The network address of the succinct version webpage of corresponding live video stream is configured for live streaming window.
In one embodiment of the invention, device shown in Fig. 2 further comprises: page output adjustment unit 220, fits
Show the code rate or clarity of content, in by adjusting games page and live streaming window to adjust the occupancy to resource.
Fig. 3 shows a kind of structural schematic diagram of the processing unit of games page in accordance with another embodiment of the present invention,
As shown in figure 3, the processing unit 300 of games page includes: configuration unit 320, regarded suitable for being pre-configured with Game Zone clothes with live streaming
Corresponding relationship between frequency stream, and be saved in specified list;Page processing unit 310 is suitable for being embedded in packet in games page
Live streaming window containing video player;The operation that specified game is logged in response to user, shows the game page comprising live streaming window
Face;Game related content is shown in games page, and the selected Game Zone of game is logged according to user and is taken, specified list is inquired
It determines corresponding live video stream, the corresponding live video stream of output is shown in the live streaming window in games page.
In one embodiment of the invention, in device shown in Fig. 3, configuration unit 320 is suitable for first configuration Game Zone clothes
It is then that the live video stream of network main broadcaster is corresponding with corresponding Game Zone clothes with the corresponding relationship between network main broadcaster.
In one embodiment of the invention, device shown in Fig. 3 further comprises: display unit 330, is suitable for user
The corresponding relationship between Game Zone clothes and network main broadcaster is shown, so that user carries out the selection of Game Zone clothes.
In one embodiment of the invention, above-mentioned apparatus further comprises: page figure layer control unit, is suitable for control institute
The priority of each figure layer in games page is stated, so that the live video stream is shown in the front end of each figure layer.
In one embodiment of the invention, above-mentioned apparatus further comprises: account relating unit is adapted to set up user's
The corresponding relationship between the account in account and live broadcast system in game system, so that user is in games page and directly
The live content broadcast in window is interacted.
It should be noted that the specific embodiment of above-mentioned each Installation practice and aforementioned corresponding method embodiment is specific
Embodiment is identical, and details are not described herein.
In conclusion technical solution of the present invention, insertion includes the live streaming window of video player in games page,
After receiving the operational order that user logs in specified game, shows the games page comprising live streaming window, utilize video player
The live video stream of acquisition is played in live streaming window, and shows game related content simultaneously in games page, the technology
Scheme realizes in the same page while showing live content and game related content, and user can be with while playing game
It is interacted by live streaming window and game main broadcaster, greatly improves the participation of user, greatly meet the social activity of user
Demand.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
It should be understood that
Algorithm and display be not inherently related to any certain computer, virtual bench or other equipment provided herein.
Various fexible units can also be used together with teachings based herein.As described above, it constructs required by this kind of device
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
In the processing unit of microprocessor or digital signal processor (DSP) to realize games page according to an embodiment of the present invention
The some or all functions of some or all components.The present invention is also implemented as executing method as described herein
Some or all device or device programs (for example, computer program and computer program product).Such reality
Existing program of the invention can store on a computer-readable medium, or may be in the form of one or more signals.
Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or in any other forms
It provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.