[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN108810599A - Net cast method, apparatus and computer equipment - Google Patents

Net cast method, apparatus and computer equipment Download PDF

Info

Publication number
CN108810599A
CN108810599A CN201710289033.6A CN201710289033A CN108810599A CN 108810599 A CN108810599 A CN 108810599A CN 201710289033 A CN201710289033 A CN 201710289033A CN 108810599 A CN108810599 A CN 108810599A
Authority
CN
China
Prior art keywords
live
web
view component
webpage view
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710289033.6A
Other languages
Chinese (zh)
Inventor
谢梓洪
崔进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shanghai Co Ltd
Original Assignee
Tencent Technology Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shanghai Co Ltd filed Critical Tencent Technology Shanghai Co Ltd
Priority to CN201710289033.6A priority Critical patent/CN108810599A/en
Publication of CN108810599A publication Critical patent/CN108810599A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4314Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a kind of net cast method, apparatus and computer equipment, this method to include:Live video stream is obtained by the way that client is broadcast live;Live video stream described in the media renderer plays of the live streaming client is called, video pictures are formed;Superposition includes the webpage view component of transparent region on the video pictures;It obtains and the matched web data of the live video stream;According to the web data, the live streaming interactive interface that the video pictures can be shown by the transparent region is rendered in the webpage view component.Net cast method in the application, live streaming interactive interface is loaded by the webpage view component being superimposed upon on video pictures, and encode live streaming interactive interface without client, it can be when issuing newer live streaming interaction page, the live streaming interaction page is timely updated to load by webpage view component, improves the update efficiency of live streaming client realization of functions.

Description

Net cast method, apparatus and computer equipment
Technical field
The present invention relates to field of computer technology, more particularly to a kind of net cast method, apparatus and computer equipment.
Background technology
With the rapid development of science and technology, net cast has become life & amusement and the side of exchange of a kind of day-to-day Formula, due to the convenience of mobile terminal and gradually becoming strong for performance, net cast gradually develops towards mobile terminal, various live streaming visitors It reaches the standard grade one after another at family end.
Currently, when being broadcast live using live streaming client, interactive alternation of bed is encoded by live streaming client.So, When newer function in need, the live streaming client for issuing new version is needed, it is also necessary to user reinstalls live streaming client, Cause live streaming client functionality update less efficient.
Invention content
Based on this, it is necessary to update less efficient technical problem for current live streaming client functionality, provide one kind and regard Frequency live broadcasting method, device and computer equipment.
A kind of net cast method, including:
Live video stream is obtained by the way that client is broadcast live;
Live video stream described in the media renderer plays of the live streaming client is called, video pictures are formed;
Superposition includes the webpage view component of transparent region on the video pictures;
It obtains and the matched web data of the live video stream;
According to the web data, rendered in the webpage view component described in capable of being shown by the transparent region The live streaming interactive interface of video pictures.
A kind of net cast device, described device include:
Client is broadcast live, for obtaining live video stream;And call the media renderer plays of the live streaming client The live video stream forms video pictures;
The live streaming client is additionally operable to the first webpage view group that the superposition on the video pictures includes transparent region Part;
First webpage view component, for obtaining and the matched web data of the live video stream;According to described Web data, being rendered in the webpage view component can show that the live streaming of the video pictures is handed over by the transparent region Mutual interface.
A kind of computer equipment, including memory and processor are stored with computer-readable instruction in the memory, institute When stating computer-readable instruction and being executed by the processor so that the processor executes following steps:
Live video stream is obtained by the way that client is broadcast live;
Live video stream described in the media renderer plays of the live streaming client is called, video pictures are formed;
Superposition includes the webpage view component of transparent region on the video pictures;
It obtains and the matched web data of the live video stream;
According to the web data, rendered in the webpage view component described in capable of being shown by the transparent region The live streaming interactive interface of video pictures.
Above-mentioned net cast method, apparatus and computer equipment obtain live video stream by the way that client is broadcast live, call straight The media renderer plays live video stream of client is broadcast, video pictures is formed, ensure that the stability of video render.Regarding On frequency picture superposition include transparent region webpage view component, and according to the matched web data of live video stream, in net The live streaming interactive interface of video pictures can be shown by transparent region by being rendered in page view component, and ensure that video pictures can See.Live streaming interactive interface is loaded by the webpage view component being superimposed upon on video pictures, and is encoded without client straight Broadcast interactive interface, so that it may when issuing newer live streaming interaction page, timely to load update by webpage view component The live streaming interaction page improves the update efficiency of live streaming client realization of functions.
Description of the drawings
Fig. 1 is the applied environment figure of net cast method in one embodiment;
Fig. 2 is the internal structure schematic diagram of terminal in one embodiment;
Fig. 3 is the flow diagram of net cast method in one embodiment;
Fig. 4 is that the relative position of video pictures and webpage view component is shown when net cast method is realized in one embodiment It is intended to;
Fig. 5 is the flow diagram of video playing rate-determining steps in one embodiment;
Fig. 6 is interactive relation schematic diagram when net cast method is realized in one embodiment;
Fig. 7 is that webpage view component is initiated to play the flow diagram of control data step in one embodiment;
Fig. 8 is the flow diagram of net cast method in another embodiment;
Fig. 9 is the structure diagram of net cast device in one embodiment;
Figure 10 is the structure diagram of net cast device in an another embodiment.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 is the applied environment figure of net cast method in one embodiment.Referring to Fig.1, which includes first Terminal 110, server 120 and second terminal 130, first terminal 110 and second terminal 130 respectively with 120 network of server Connection.Wherein, live streaming client can be installed in first terminal 110 and second terminal 130, live streaming client is for realizing video The application program of direct broadcast function.Live video stream is sent to server by first terminal 110 for acquiring live video stream 120, second terminal 130 from server 120 for obtaining live video stream.First terminal 110 and second terminal 130 all have Live video stream playing function and live streaming interactive interface display function.First terminal 110 and second terminal 130 can be personal Computer or mobile terminal.In mobile terminal such as mobile phone, tablet computer, personal digital assistant or Wearable etc. It is at least one.Server 120 can be with the server cluster of the either multiple physical server compositions of independent server come real It is existing.
Fig. 2 is the internal structure schematic diagram of terminal in one embodiment.The terminal can be first terminal 110 or second Terminal 130.With reference to Fig. 2, the terminal include the processor connected by system bus, non-volatile memory medium, built-in storage, Network interface, display screen and input unit.Wherein, the non-volatile memory medium of terminal can storage program area and computer can Reading instruction, the computer-readable instruction are performed, and processor may make to execute a kind of net cast method.The processor is used for Calculating and control ability are provided, the operation of entire terminal is supported.Computer-readable instruction can be stored in the built-in storage, the meter When calculation machine readable instruction is executed by the processor, the processor may make to execute a kind of net cast method.Network interface Communicated for connecting network, for example obtain web data etc..The display screen of terminal can be liquid crystal display or electronics The input unit of ink display screen etc., terminal can be the touch layer covered on display screen, can also be to be arranged in terminal enclosure Button, trace ball or Trackpad, can also be external keyboard, Trackpad or mouse etc..The terminal can be individual calculus Machine, mobile terminal or mobile unit, mobile terminal include in mobile phone, tablet computer, personal digital assistant or wearable device etc. At least one.
It will be understood by those skilled in the art that structure shown in Figure 2, is only tied with the relevant part of application scheme The block diagram of structure, does not constitute the restriction for the terminal being applied thereon to application scheme, and specific terminal may include than figure Shown in more or fewer components, either combine certain components or arranged with different components.
As shown in figure 3, in one embodiment, providing a kind of net cast method.The present embodiment is mainly in this way Come applied to the terminal in above-mentioned Fig. 2 for example, the terminal can be first terminal 110 shown in FIG. 1, can also be Fig. 1 Shown in second terminal 130.With reference to Fig. 3, which specifically comprises the following steps:
S302 obtains live video stream by the way that client is broadcast live.
Wherein, live streaming client is installed on terminal.Client is broadcast live, is the application journey for realizing net cast function Sequence, user can be according to user identifiers by the way that accessing server by customer end is broadcast live.Live streaming client can be exclusively used in live streaming Client;It can also be to be integrated with the client of direct broadcast function that client, which is broadcast live, such as be integrated with the instant messaging visitor of direct broadcast function Family end or SNS client side (Social Network Service, social networking service) client.Net cast is to utilize The audio, video data of acquisition is synchronized the information network published method of publication by internet and stream media technology.Live video Stream is that the audio, video data transmitted in the process is broadcast live, including the continuous vedio data of multiframe.
In one embodiment, live video stream corresponds to a live streaming session identification.Live session mark is for uniquely marking Know live session.Live session, also referred to as direct broadcast band or live event are live streaming clients corresponding to user identifier with The session associated with live streaming established between server.Live session defines the relevant parameter realized needed for live streaming.Wherein, It realizes that the relevant parameter needed for live streaming includes live video stream relevant parameter, can also include for rendering live streaming interactive interface The relevant parameter of web data.The user for participating in same live session can be considered same live streaming room (or being direct broadcasting room).
S304 calls the media renderer plays live video stream of live streaming client, forms video pictures.
The media player of client is broadcast live, is that media player embedded in client is broadcast live.Specifically, client is broadcast live End can call the media player of terminal native operating system, and the media player is positioned in live streaming client, with Realize the embedding media player in client is broadcast live.Wherein, media player be can encoding and decoding live video stream, and will solution Live video stream after code carries out the broadcasting tool of output display with video pictures.
Video pictures are output displays after the media player of live streaming client is decoded identification to live video stream Picture.
S306, superposition includes the webpage view component of transparent region on video pictures.
Wherein, webpage view component is for loading web data to generate the view component of corresponding webpage.In a reality It applies in example, webpage view component can be webview components, and webview components are one, and based on webkit engines, (one is increased income Browser engine) for showing the component of web page.
Transparent region in webpage view component is can to make to be blocked by webpage view component in webpage view component The region that interface information is shown.For example, there is one piece of transparent region T in webpage view component, webpage view component is blocked Video pictures can be shown the video pictures being blocked by transparent region T.Wherein, the transparency of transparent region It can be configured according to actual demand, as long as meeting can show the interface information blocked by webpage view component i.e. It can.The transparency of transparent region is higher, is shown by transparent region by interface information that webpage view component is blocked more clear It is clear.
Transparent region in webpage view component can be the subregion of webpage view component, can also be webpage view The whole region of component.The size of webpage view component can be consistent with video pictures, the size of webpage view component The size of view picture can be more than or less than.
In one embodiment, terminal can be superimposed the webpage view group consistent with video pictures size on video pictures Part, and webpage view component includes the transparent region consistent with video pictures size.I.e. the size of webpage view component with Video pictures size is consistent, and the whole region of webpage view component is all transparent region.It is appreciated that working as video pictures size When consistent with the entire display screen size of terminal, i.e., when video pictures are played in full screen, the size of webpage view component is also eventually The full frame size at end, and webpage view component whole region is all transparent region.In the present embodiment, by webpage view component entirety It is set as transparent, reduces the limitation to video playing so that the media player that client is broadcast live does not have to consider that webpage regards The position of transparent region in figure component and size, to improve the media player of live streaming client in output video pictures Efficiency.
In one embodiment, the webpage view component including transparent region can be pre-set in terminal, terminal can be with The preset webpage view component for including transparent region is directly superimposed on video pictures.In another embodiment, terminal is also It can be superimposed webpage view component on video pictures, size and initial position of the detection with video pictures, and from webpage The transparent region consistent with the size of video pictures and initial position is determined in view component.Pass through the size of video pictures The transparent region in webpage view component is determined with initial position, reduces the limitation to video playing so that live streaming visitor The media player at family end does not have to the position and the size that consider the transparent region in webpage view component, to improve live streaming visitor Efficiency of the media player at family end in output video pictures.
S308 is obtained and the matched web data of live video stream.
Wherein, it is to have to be associated with or the net of correspondence with live video stream with the matched web data of live video stream Page data.In one embodiment, with the matched web data of live video stream, can be with live video stream correspond to it is same The web data of live session mark.The web data is the web data that can generate live streaming interactive interface.Implement at one In example, which is HTML5 (the 5th edition hypertext markup language) web data.
Web data may include static Web page data, can also include dynamic web page data.Static Web page data, be by The web data for the non real-time nature variation that terminal has just generated when obtaining, such as the web data for rendering functional unit. Functional unit is the component for realizing the various interactive functions in live streaming interactive interface.Functional unit includes main broadcaster's information assembly, closes Note information assembly, comment reply component, short message component, component of giving a present, share component or requesting song component etc..Dynamic Networks number of pages According to being the web data of real-time variation, such as specific comment content.
Specifically, terminal can be obtained and the matched webpage number of live video stream by webpage view component from server According to.Terminal can also intercept the web-page requests that webpage view component is initiated by the way that client is broadcast live, according to the web-page requests, from this It is obtained and the matched web data of live video stream in ground caching.In one embodiment, when by the way that client is broadcast live from local When obtaining less than web data matched with live video stream in caching, terminal can be again by being broadcast live client or passing through webpage View component obtains and the matched web data of live video stream from server.
S310, according to web data, video pictures can be shown by transparent region by being rendered in webpage view component Interactive interface is broadcast live.
Wherein, interactive interface is broadcast live, is the interface that terminal and user are broadcast live information exchange.It is appreciated that the live streaming The region for corresponding to the transparent region of webpage view component in interactive interface is also transparent region.It is straight that video pictures can penetrate this The transparent region broadcast in interactive interface is shown.
The live streaming interactive interface includes the functional unit information rendered, such as comment reply, main broadcaster's information, concern letter It ceases, the information such as information of giving a present.
Fig. 4 is that the relative position of video pictures and webpage view component is shown when net cast method is realized in one embodiment It is intended to.With reference to Fig. 4, video pictures are located at L1 layers, and webpage view component is superimposed on L1 layers positioned at L2 layers, and video pictures can be with It is shown through the transparent region of webpage view component, for example the broadcast button a in Fig. 4 in video pictures is then regarded through webpage The transparent region of figure component is shown.It includes functional unit letter to load on the live streaming interactive interface in webpage view component Breath, such as the information such as information of giving a present, main broadcaster's information and comment.
In one embodiment, webpage view component can be corresponding with functional unit by these in live streaming interactive interface Region be shown in the form of floating layer.Floating layer is that the content shown will be needed to be shown to float on basic webpage A kind of content of pages exhibition method.
Above-mentioned net cast method obtains live video stream by the way that client is broadcast live, the media of live streaming client is called to broadcast It puts device and plays live video stream, form video pictures, ensure that the stability of live video stream broadcasting.It is superimposed on video pictures Webpage view component including transparent region, and according to the matched web data of live video stream, in webpage view component The live streaming interactive interface of video pictures can be shown by transparent region by rendering, and ensure that the visible of video pictures.Pass through superposition Webpage view component on video pictures loads live streaming interactive interface, and encodes live streaming interactive interface without client, Live streaming interaction page timely can be updated to load by webpage view component when issuing newer live streaming interaction page Face improves publication iteration efficiency.
In one embodiment, step S308 includes:It is obtained by webpage view component corresponding with live video stream straight Session identification is broadcast, and triggers the web-page requests for carrying live session mark;Web-page requests are obtained by the way that client is broadcast live;According to net Page request corresponds to the web data of live session mark caching from local search.
Wherein, terminal can be reflected by webpage view component according to being associated between live video stream and live session mark Relationship is penetrated, live session mark corresponding with live video stream is obtained, and the webpage for triggering generation carrying live session mark is asked It asks.Terminal can obtain the web-page requests by the way that client is broadcast live in a manner of intercepting, can also be by the way that client is broadcast live with only It obtains the mode not intercepted and obtains the web-page requests, for example obtain the web-page requests by way of monitoring.
Terminal in advance can be identified live session in local and by the way that client is broadcast live for generating live streaming interactive interface Web data carried out corresponding caching.Terminal by be broadcast live client obtain web-page requests after, can according to web-page requests, Correspond to the web data of live session mark caching from local search.In turn, terminal can be by webpage view component from straight Broadcast client request from local search to web data.
In the above-described embodiments, the web-page requests sent by obtaining webpage view component, according to the web-page requests of acquisition The web data that caching is corresponded to from local search accelerates the loading efficiency of live streaming interactive interface, so as to avoid needing to pass through The waste of Internet resources caused by network from server acquisition web data.
In one embodiment, this method further includes:Web-page requests are sent to server so that server is according to webpage Ask comparison query to web data and server on correspond to live session mark storage web data it is whether consistent.? After step S310, this method further includes:Receive the corresponding web page data that server is fed back when the result judged is inconsistent; According to the web data update live streaming interactive interface received from server.
Wherein, web-page requests can be sent to server by terminal by webpage view component.Terminal can also be by straight It broadcasts client and web-page requests is sent to server.
In one embodiment, web-page requests other than live session identifies, it can also carry and be inquired from terminal local Web data or the web data inquired hashed value.The hashed value of web data is to web data by hashing letter The fixed-length value that number operation obtains.It is appreciated that web data does not change, then the hashed value of the web data is unique. In another embodiment, server can obtain inquiring from terminal local and correspond to the live streaming meeting in web-page requests It talks about the web data of mark or obtains web data that this is inquired and corresponding to the live session mark in web-page requests Hashed value.Here the webpage for comparing web data with corresponding to live session mark storage on server how is realized to server The whether consistent specific implementation of data does not make the decisions.Server can be according to the web data inquired or the net inquired The hashed value of page data compares the web data for corresponding to live session mark storage on the web data and server inquired It is whether consistent.
Wherein, the corresponding web page data that server is fed back when the result judged is inconsistent are corresponded on server The web data of live session mark storage.Specifically, when server judges that the web data inquired is corresponding on server When the web data of live session mark storage is inconsistent, the webpage number of live session mark storage will be corresponded on server According to feeding back to terminal.Terminal, which receives, corresponds to live session on the server that server is fed back when the result judged is inconsistent Identify the web data of storage, and the web data update live streaming interactive interface received from server according to this.It is appreciated that working as Terminal is terminal when receiving the corresponding web page data that server is fed back when the result judged is inconsistent according to live streaming client It can be by webpage view component from the web data of the live streaming client request feedback, and by webpage view component according to this The web data update live streaming interactive interface of feedback.
In above-described embodiment, the corresponding web page data fed back according to server when the result judged is inconsistent, update Interactive interface is broadcast live so that the information that interactive interface is broadcast live is more accurate, and need not be updated by issue client terminal version Live streaming interactive interface, but the corresponding web page data timely fed back come load server by webpage view component, with update The live streaming interaction page improves publication iteration efficiency.
In one embodiment, web-page requests are obtained by the way that client is broadcast live, including:Webpage is intercepted by the way that client is broadcast live Request.Web-page requests are sent to server so that the web data and service that server is arrived according to web-page requests comparison query Whether the web data for corresponding to live session mark storage on device is consistent, including:By the way that client is broadcast live, web-page requests are led to Point-to-point channel transfer between server is crossed to server so that the webpage that server is arrived according to web-page requests comparison query Whether the web data corresponding with live session mark stored in data and server is consistent.
Wherein, the point-to-point channel between server is that the direct progress established between client and server is broadcast live The privately owned channel of data transmission is different from this publicly-owned channel of hypertext transfer protocol channel.In one embodiment, with service Point-to-point channel between device can be encrypted tunnel, to improve safety.
In above-described embodiment, terminal obtains web-page requests by the way that client is broadcast live in a manner of intercepting, and by the way that visitor is broadcast live Family end switchs to web-page requests by the point-to-point channel transfer between server to server, compared to passing through webpage view Component is transmitted with publicly-owned hypertext transfer protocol channel, accelerates the transmission speed of web-page requests, right on the server When the web data of Ying Yuyu live sessions mark storage and the inconsistent web data inquired from terminal local, pass through the point The web data corresponded on server with live session mark storage can be obtained faster to channel, it is straight to accelerate Broadcast the update efficiency of interactive interface.
In one embodiment, web-page requests carry the local live session that corresponds to and identify caching and be used in net The first hashed value corresponding to the web data of each functional unit is rendered in page view component.Web-page requests are sent to service Device so that server according to web-page requests comparison query to web data and server on correspond to live session mark storage Web data it is whether consistent, including:Web-page requests are sent to server so that server compares webpage according to web-page requests Ask the first hashed value carried and corresponding second hashed value whether consistent;Second hashed value is straight with corresponding on server The web data for rendering corresponding function component for broadcasting session identification storage is corresponding.
Wherein, locally refer to terminal local.Functional unit is the group for realizing the various interactive functions in live streaming interactive interface Part.Functional unit includes that main broadcaster's information assembly, comment reply component, pay close attention to information assembly or component of giving a present etc..It is appreciated that straight It broadcasts the functional unit in interactive interface and can be rendered in webpage view component according to corresponding web data and obtained.
First hashed value is that terminal-pair is locally corresponding to live session mark caching and is being used in webpage view group The hashed value that the web data of each functional unit is obtained by hash function operation is rendered in part.In addition to meeting is broadcast live in web-page requests Words mark is outer, further includes first hashed value.Second hashed value is to correspond to being used for for live session mark storage on server Render the hashed value that the web data of functional unit corresponding with the first hashed value is obtained by same Hash functional operation.Than Such as, functional unit is main broadcaster's information assembly, and live session is identified as ID_001, then terminal can obtain local and be identified with live session ID_001 corresponds to web data caching and for rendering main broadcaster's information assembly, and calculates the first hash of the web data Value is denoted as n1, and terminal is triggered by webpage view component generates the first hashed value n1 and live session that carry main broadcaster's information assembly The web-page requests of ID_001 are identified, and the web-page requests are sent to server.Server, which can obtain, corresponds to ID_ on server Second hashed value n2 of the web data for rendering main broadcaster's information assembly of 001 storage, and compare the first hashed value n1 and the Whether two hashed value n2 are consistent.
In above-described embodiment, locally corresponds to that live session mark caches by web-page requests carrying and be used in net The first hashed value corresponding to the web data of each functional unit is rendered in page view component so that server compares the first hash Value and corresponding second hashed value judge to be broadcast live whether interactive interface has update, without send local search to it is complete Web data be compared to server, reduce the data volume of network transmission, to reduce the consumption of Internet resources, and Improve network transmission efficiency.In addition, by the way that each functional unit is individually updated, than the complete of interactive interface is broadcast live by entire For whole web data is uniformly updated, reduce data processing amount when update, alleviates the newer burden in interface, carry High update efficiency.
As shown in figure 5, in one embodiment, this method further includes video playing rate-determining steps, following step is specifically included Suddenly:
S502 initiates to play control data by webpage view component.
Wherein, control data is played, is the broadcasting for controlling the media player of live streaming client to live video stream Request.
Terminal can receive the broadcasting control instruction acted on live streaming interactive interface by webpage view component, and respond It is generated in the broadcasting control instruction and plays control data.Terminal can also obtain the broadcasting of server hair by webpage view component Configuration information is controlled, and configuration information is controlled according to the broadcasting and generates broadcasting control data.Wherein, control configuration information is played, It is configuration, acts the information for playing control action to the media player for playing live video stream.
In one embodiment, terminal can use jsbridge by webpage view component:// agreement is initiated to play control System request.Wherein, jsbridge is the request of a particular protocol, for realizing the communication of webpage and terminal local.
S504, intercepts and plays control data, and parsing plays the command word in control data.
Wherein, command word is broadcasting control of the media player to live video stream that can be directed to live streaming client The character of effect, for example, corresponding to the broadcasting of video, pause, diminution, amplification, the broadcasting of audio or page animation update etc. Command word.Terminal can parse the command word played in control data after intercepting broadcasting control data according to treaty rule. In one embodiment, terminal can intercept broadcasting control data by the way that client is broadcast live, and be broadcast by the way that client parsing is broadcast live Put the command word in control data.
S506, according to command word, broadcasting of the media player of client to live video stream is broadcast live in control.
Specifically, terminal can execute the life parsed by the way that the media player of client control live streaming client is broadcast live Word is enabled, to be played out to live video stream.
Fig. 6 is interactive relation schematic diagram when net cast method is realized in one embodiment.With reference to Fig. 6, webpage view Component controls the broadcasting of the media player of live streaming client by jsbridge modes, and live streaming client passes through point-to-point logical Road obtains the web data of server feedback, and the web data for loading by webpage view component the feedback is broadcast live interaction The update at interface.
In above-described embodiment, the broadcasting by the media player of webpage view component and live streaming client to live video stream Combine, initiates to control video playing by webpage view component, realize effective control to broadcasting, avoid because of nothing The rationally waste of playing resource caused by control.
As shown in fig. 7, in one embodiment, step S502 specifically includes following steps:
S702, the broadcasting that server publication is obtained by webpage view component control configuration information.
Wherein, control configuration information is played, is configuration, control is played to the media player for playing live video stream The information of effect.It includes control method for playing back and corresponding broadcasting control parameter to play control configuration information.Control method for playing back Including playing dispaly state control method, playing progress rate control method or method for controlling volume etc..Play dispaly state controlling party Method, when for controlling the media renderer plays live video stream that client is broadcast live, the dispaly state of the video pictures generated. It includes playing clarity control method or method for controlling display brightness etc. to play dispaly state control method.Play control parameter packet Reproduction time, network signal are included, geographical location is played or logs in the user gradation corresponding to the user identifier of live streaming client.It broadcasts It can be absolute time or relative time to put the time, and absolute time includes time point or period.
S704 plays the broadcasting control specified in control configuration information to live streaming client request by webpage view component Parameter value processed.
Specifically, live streaming client has the ability for obtaining parameter value corresponding with control parameter is played.Terminal passes through net Page view component plays the parameter value corresponding to the broadcasting control parameter specified in control configuration information to live streaming client request. Live streaming client obtains and provides the parameter value corresponding to requested broadcasting control parameter to webpage view component.
S706, when broadcasting control parameter value, which meets, plays the broadcasting control parameter condition specified by control configuration information, Corresponding broadcasting control data is initiated by webpage view component and according to control configuration information is played.
Wherein, it further includes playing control parameter condition to play control configuration information.Terminal can pass through webpage view component It compares the broadcasting control parameter value asked and plays the corresponding broadcasting control parameter condition specified by control configuration information It is whether consistent, if unanimously, can initiate to play control accordingly by webpage view component and according to control configuration information is played System request.In one embodiment, ginseng is controlled when broadcasting control parameter value meets the broadcasting played specified by control configuration information When said conditions, terminal can initiate phase by webpage view component and according to the control method for playing back controlled in configuration information is played The broadcasting control data answered.
For example, playing, the broadcasting control parameter specified in control configuration information is the time, control method for playing back is to reduce sound For amount to 15 grades, specified broadcasting control parameter condition is 23:00 to 8:Between 00.Then webpage view component can be to live streaming client End request current time, it is 23 that live streaming client, which obtains current time,:30 return to webpage view component, and webpage view component is then Initiating corresponding volume according to control method for playing back " reducing volume to 15 grades " reduces control data, with control live streaming client Broadcast sound volume is reduced to 15 grades by media player.
In above-described embodiment, the broadcasting that server publication is obtained by webpage view component controls configuration information, to live streaming The broadcasting of the live video stream of the media player of client is controlled, i.e., is directly matched by the new broadcasting control of Homepage Publishing Confidence ceases, so that it may the new broadcasting control function to live video stream is realized, without issuing new client edition originally more It is new to play control function, improve publication iteration efficiency.
In one embodiment, this method further includes:Obtain the two level webpage view triggering for acting on live streaming interactive interface Instruction;In response to two level webpage view triggering command, another webpage view component is superimposed in webpage view component;Obtain with The associated web data of another webpage view component;According to the associated web data of another webpage view component, another The step of corresponding interactive interface being rendered in one webpage view component.
Wherein, two level webpage view is not generated when interactive interface is broadcast live in initialization and is interacted by acting on live streaming The webpage view component that the two level webpage view triggering command triggering at interface generates.
In one embodiment, the two level webpage view triggering command on live streaming interactive interface is acted on, can be by making What corresponding position or the triggering of corresponding function component for being broadcast live on interactive interface generated.Wherein, functional unit includes that concern is believed Cease component, main broadcaster's information assembly or component of giving a present etc.
Specifically, terminal can be obtained and another net by another webpage view component of superposition to server The page associated web data of view component.Terminal can also obtain and the associated webpage of another webpage view component from local Data.In one embodiment, with the associated web data of another webpage view component, can be with act on live streaming interact The web data associated by corresponding function component on interface can also be and act on the corresponding position on live streaming interactive interface Associated web data.
For example, user clicks the concern information assembly on live streaming interactive interface, triggering generates the triggering of two level webpage view Instruction, terminal are superimposed in response to two level webpage view triggering command in the webpage view component that live streaming interactive interface is located at Another webpage view component, and obtain with concern the associated concern information list of information assembly, according to concern information list, Corresponding concern information list interaction page is rendered in another webpage view component being superimposed.
In above-described embodiment, reduce live streaming by being superimposed two level webpage view component to render corresponding interactive interface The interface content of interactive interface, reduces the page burden of live streaming interactive interface, and reduces load live streaming interactive interface when institute The resource to be consumed.In addition, increasing new interactive interface by being superimposed two level webpage view component, enrich in interactive interface Hold.
As shown in figure 8, in one embodiment, providing another net cast method, this method specifically includes following Step:
S802 obtains live video stream by the way that client is broadcast live.
S804 calls the media renderer plays live video stream of live streaming client, forms video pictures.
S806 is superimposed the webpage view component consistent with video pictures size, and webpage view component on video pictures Include the transparent region consistent with video pictures size.
S808 obtains live session corresponding with live video stream by webpage view component and identifies, and it is straight to trigger carrying Broadcast the web-page requests of session identification.
S810 intercepts web-page requests by the way that client is broadcast live, and according to web-page requests, corresponds to live session from local search Identify the web data of caching.
S812, according to the web data for corresponding to live session mark caching of local search, in webpage view component The live streaming interactive interface of video pictures can be shown by transparent region by rendering.
Web-page requests are passed through the point-to-point channel transfer between server to service by S814 by the way that client is broadcast live Device, wherein web-page requests carry the local live session that corresponds to and identify caching and be used to render in webpage view component The first hashed value corresponding to the web data of each functional unit so that server compares web-page requests according to web-page requests and carries The first hashed value and corresponding second hashed value it is whether consistent;Second hashed value, on server correspond to live session mark The web data for rendering corresponding function component for knowing storage is corresponding.
S816 receives the corresponding web page data that server is fed back when the result judged is inconsistent.
S818, according to the web data update live streaming interactive interface received from server.
S820, the broadcasting that server publication is obtained by webpage view component control configuration information.
S822 plays the broadcasting control specified in control configuration information to live streaming client request by webpage view component Parameter value processed.
S824, when broadcasting control parameter value, which meets, plays the broadcasting control parameter condition specified by control configuration information, Corresponding broadcasting control data is initiated by webpage view component and according to control configuration information is played.
S826 is intercepted and is played control data, and parsing plays the command word in control data, according to command word, control live streaming Broadcasting of the media player of client to live video stream.
S828 obtains the two level webpage view triggering command for acting on live streaming interactive interface.
S830 is superimposed another webpage view group in response to two level webpage view triggering command in webpage view component Part.
S832, obtain with the associated web data of another webpage view component, according to another webpage view component Associated web data renders corresponding interactive interface in another webpage view component.
Above-mentioned net cast method obtains live video stream by the way that client is broadcast live, the media of live streaming client is called to broadcast It puts device and plays live video stream, form video pictures, ensure that the stability of video render.By being superimposed upon on video pictures The webpage view component including transparent region load live streaming interactive interface, and without client encode live streaming interaction circle Face, so that it may when issuing newer live streaming interaction page, timely to update live streaming friendship by webpage view component to load The mutual page improves the update efficiency of live streaming client realization of functions.
Secondly, it is transparent by webpage view component whole installation, reduces the limitation to video playing so that live streaming visitor The media player at family end does not have to the position and the size that consider the transparent region in webpage view component, to improve live streaming visitor Efficiency of the media player at family end in output video pictures.
Then, terminal obtains web-page requests by the way that client is broadcast live in a manner of intercepting, and by the way that client is broadcast live by net Page request switchs to through the point-to-point channel transfer between server to server, compared to by webpage view component with public affairs Some hypertext transfer protocol channels are transmitted, and accelerate the transmission speed of web-page requests, on the server correspond to it is straight When broadcasting the web data that session identification stores and the inconsistent web data that terminal local inquires, pass through the point-to-point channel energy It is enough to obtain the web data corresponded on server with live session mark storage faster, to accelerate live streaming interactive interface Update efficiency.
In addition, locally corresponding to that live session mark caches by web-page requests carrying and being used in webpage view group The first hashed value corresponding to the web data of each functional unit is rendered in part so that server compares the first hashed value and corresponding The second hashed value come judge be broadcast live interactive interface whether have update, reduce the data volume of network transmission, to reduce net The consumption of network resource, and improve network transmission efficiency.By the way that each functional unit to be individually updated, than entire live streaming is handed over For the complete web data at mutual interface is uniformly updated, reduces data processing amount when update, alleviate interface more New burden improves update efficiency.
In addition, controlling configuration information by the new broadcasting of Homepage Publishing, so that it may realize the new broadcasting to live video stream Control function updated broadcasting control function without issuing new client edition, and improved publication iteration efficiency originally.
As shown in figure 9, in one embodiment, providing a kind of net cast device 900, which includes live streaming Client 902 and the first webpage view component 904, wherein:
Client 902 is broadcast live, for obtaining live video stream;And the media player of live streaming client 902 is called to broadcast Live video stream is put, video pictures are formed.
Live streaming client 902 is additionally operable to the first webpage view component 904 that the superposition on video pictures includes transparent region.
First webpage view component 904, for obtaining and the matched web data of live video stream;According to web data, The live streaming interactive interface of video pictures can be shown by transparent region by being rendered in webpage view component.
In one embodiment, live streaming client 902 is additionally operable to be superimposed on video pictures consistent with video pictures size The first webpage view component 904, and the first webpage view component 904 includes the transparent region consistent with video pictures size.
In one embodiment, the first webpage view component 904 be additionally operable to by the first webpage view component 904 obtain with The corresponding live session mark of live video stream, and trigger the web-page requests for carrying live session mark.
Live streaming client 902 is additionally operable to obtain web-page requests;According to web-page requests, correspond to live session from local search Identify the web data of caching.
In one embodiment, live streaming client 902 is additionally operable to web-page requests being sent to server so that server root According to web-page requests comparison query to web data and server on correspond to live session mark storage web data whether Unanimously.
First webpage view component 904 is additionally operable to receive the respective wire that server is fed back when the result judged is inconsistent Page data;According to the web data update live streaming interactive interface received from server.
In one embodiment, live streaming client 902 is additionally operable to intercept web-page requests;By web-page requests by with server Between point-to-point channel transfer to server so that the web data and service that server is arrived according to web-page requests comparison query Whether the web data corresponding with live session mark stored on device is consistent.
In one embodiment, web-page requests carry it is local correspond to live session mark caching and for the The first hashed value corresponding to the web data of each functional unit is rendered in one webpage view component 904.
Live streaming client 902 is additionally operable to web-page requests being sent to server so that server compares according to web-page requests Whether the first hashed value and corresponding second hashed value that web-page requests carry are consistent;Second hashed value, it is corresponding on server It is corresponding in the web data for rendering corresponding function component of live session mark storage.
In one embodiment, the first webpage view component 904 is additionally operable to initiate to play control data.
Live streaming client 902, which is additionally operable to intercept, plays control data, and parsing plays the command word in control data;According to life Enable word, control that broadcasting of the media player of client 902 to live video stream is broadcast live.
In one embodiment, the first webpage view component 904 is additionally operable to obtain the broadcasting control configuration of server publication Information;The broadcasting control parameter value specified in control configuration information is played to the live streaming request of client 902;When broadcasting control parameter When value meets the broadcasting control parameter condition specified by broadcasting control configuration information, initiated accordingly according to control configuration information is played Broadcasting control data.
As shown in Figure 10, in one embodiment, which further includes the second webpage view component 906.
First webpage view component 904 is additionally operable to obtain the two level webpage view triggering command for acting on live streaming interactive interface And notify live streaming client.
Live streaming client 902 is additionally operable in response to two level webpage view triggering command, is folded in the first webpage view component Add the second webpage view component 906.
Second webpage view component 906, for obtaining and the associated web data of the second webpage view component;According to The associated web data of two webpage view components, renders corresponding interactive interface in the second webpage view component.
In one embodiment, a kind of computer equipment is provided, which can be end shown in Fig. 2 End.The computer equipment includes memory and processor, and computer-readable instruction, computer-readable instruction are stored in memory When being executed by processor so that processor executes following steps:Live video stream is obtained by the way that client is broadcast live;Call live streaming visitor The media renderer plays live video stream at family end forms video pictures;Superposition includes the net of transparent region on video pictures Page view component;It obtains and the matched web data of live video stream;According to web data, energy is rendered in webpage view component The live streaming interactive interface of video pictures is enough shown by transparent region.
In one embodiment, the superposition on video pictures performed by processor includes the webpage view group of transparent region Part includes:Be superimposed the webpage view component consistent with video pictures size on video pictures, and webpage view component include with The consistent transparent region of video pictures size.
In one embodiment, the acquisition performed by processor includes with the matched web data of live video stream:Pass through Webpage view component obtains live session mark corresponding with live video stream, and the webpage for triggering carrying live session mark is asked It asks;Web-page requests are obtained by the way that client is broadcast live;According to web-page requests, correspond to live session mark caching from local search Web data.
In one embodiment, computer-readable instruction also makes processor also execute following steps:Web-page requests are sent out Send to server so that server according to web-page requests comparison query to web data and server on correspond to live session Whether the web data for identifying storage is consistent.Described according to the web data, energy is rendered in the webpage view component After enough showing the live streaming interactive interface of the video pictures by the transparent region, processor also executes following steps:It connects Receive the corresponding web page data that server is fed back when the result judged is inconsistent;More according to the web data received from server New live streaming interactive interface.
In one embodiment, include by the way that client acquisition web-page requests are broadcast live performed by processor:Pass through live streaming Client intercepts web-page requests.
Web-page requests are sent to server performed by processor so that server is arrived according to web-page requests comparison query Web data and server on correspond to live session mark storage web data it is whether consistent, including:By the way that visitor is broadcast live Web-page requests are passed through the point-to-point channel transfer between server to server so that server is asked according to webpage by family end Ask comparison query to web data and server on the web data corresponding with live session mark that stores it is whether consistent.
In one embodiment, web-page requests carry the local live session that corresponds to and identify caching and be used in net The first hashed value corresponding to the web data of each functional unit is rendered in page view component.Webpage being asked performed by processor Ask and be sent to server so that server according to web-page requests comparison query to web data and server on correspond to live streaming Session identification storage web data whether include unanimously:Web-page requests are sent to server so that server is according to webpage The first hashed value that web-page requests carry is compared in request and whether corresponding second hashed value is consistent;Second hashed value, with service The web data for rendering corresponding function component for corresponding to live session mark storage on device is corresponding.
In one embodiment, computer-readable instruction also makes processor also execute following steps:Pass through webpage view Component initiates to play control data;It intercepts and plays control data, parsing plays the command word in control data;According to command word, Broadcasting of the media player of control live streaming client to live video stream.
In one embodiment, include by webpage view component initiation broadcasting control data performed by processor:It is logical Cross the broadcasting control configuration information that webpage view component obtains server publication;By webpage view component, to live streaming client Request plays the broadcasting control parameter value specified in control configuration information;Meet broadcasting control with confidence when playing control parameter value When ceasing specified broadcasting control parameter condition, initiated accordingly by webpage view component and according to control configuration information is played Play control data.
In one embodiment, computer-readable instruction also makes processor also execute following steps:Acquisition acts on directly Broadcast the two level webpage view triggering command of interactive interface;In response to two level webpage view triggering command, in webpage view component It is superimposed another webpage view component;It obtains and the associated web data of another webpage view component;According to another net The page associated web data of view component, renders corresponding interactive interface in another webpage view component.
Above computer equipment obtains live video stream by the way that client is broadcast live, calls the media play of live streaming client Device plays live video stream, forms video pictures, ensure that the stability of video render.Superposition includes saturating on video pictures The webpage view component in area pellucida domain, and according to the matched web data of live video stream, energy is rendered in webpage view component The live streaming interactive interface that video pictures are enough shown by transparent region, ensure that the visible of video pictures.By being superimposed upon video Webpage view component on picture loads live streaming interactive interface, and encodes live streaming interactive interface without client, so that it may with When issuing newer live streaming interaction page, the live streaming interaction page is timely updated to load by webpage view component, is carried The high update efficiency of live streaming client realization of functions.
In one embodiment, one or more non-volatile readable storages for being stored with computer-readable instruction are provided Medium, when which is executed by one or more processors so that one or more processors execute following step Suddenly:Live video stream is obtained by the way that client is broadcast live;The media renderer plays live video stream of live streaming client is called, is formed Video pictures;Superposition includes the webpage view component of transparent region on video pictures;It obtains and the matched net of live video stream Page data;According to web data, being rendered in webpage view component can show that the live streaming of video pictures is handed over by transparent region Mutual interface.
In one embodiment, the superposition on video pictures performed by processor includes the webpage view group of transparent region Part includes:Be superimposed the webpage view component consistent with video pictures size on video pictures, and webpage view component include with The consistent transparent region of video pictures size.
In one embodiment, the acquisition performed by processor includes with the matched web data of live video stream:Pass through Webpage view component obtains live session mark corresponding with live video stream, and the webpage for triggering carrying live session mark is asked It asks;Web-page requests are obtained by the way that client is broadcast live;According to web-page requests, correspond to live session mark caching from local search Web data.
In one embodiment, computer-readable instruction also makes processor also execute following steps:Web-page requests are sent out Send to server so that server according to web-page requests comparison query to web data and server on correspond to live session Whether the web data for identifying storage is consistent.Described according to the web data, energy is rendered in the webpage view component After enough showing the live streaming interactive interface of the video pictures by the transparent region, processor also executes following steps:It connects Receive the corresponding web page data that server is fed back when the result judged is inconsistent;More according to the web data received from server New live streaming interactive interface.
In one embodiment, include by the way that client acquisition web-page requests are broadcast live performed by processor:Pass through live streaming Client intercepts web-page requests.
Web-page requests are sent to server performed by processor so that server is arrived according to web-page requests comparison query Web data and server on correspond to live session mark storage web data it is whether consistent, including:By the way that visitor is broadcast live Web-page requests are passed through the point-to-point channel transfer between server to server so that server is asked according to webpage by family end Ask comparison query to web data and server on the web data corresponding with live session mark that stores it is whether consistent.
In one embodiment, web-page requests carry the local live session that corresponds to and identify caching and be used in net The first hashed value corresponding to the web data of each functional unit is rendered in page view component.Webpage being asked performed by processor Ask and be sent to server so that server according to web-page requests comparison query to web data and server on correspond to live streaming Session identification storage web data whether include unanimously:Web-page requests are sent to server so that server is according to webpage The first hashed value that web-page requests carry is compared in request and whether corresponding second hashed value is consistent;Second hashed value, with service The web data for rendering corresponding function component for corresponding to live session mark storage on device is corresponding.
In one embodiment, computer-readable instruction also makes processor also execute following steps:Pass through webpage view Component initiates to play control data;It intercepts and plays control data, parsing plays the command word in control data;According to command word, Broadcasting of the media player of control live streaming client to live video stream.
In one embodiment, include by webpage view component initiation broadcasting control data performed by processor:It is logical Cross the broadcasting control configuration information that webpage view component obtains server publication;By webpage view component, to live streaming client Request plays the broadcasting control parameter value specified in control configuration information;Meet broadcasting control with confidence when playing control parameter value When ceasing specified broadcasting control parameter condition, initiated accordingly by webpage view component and according to control configuration information is played Play control data.
In one embodiment, computer-readable instruction also makes processor also execute following steps:Acquisition acts on directly Broadcast the two level webpage view triggering command of interactive interface;In response to two level webpage view triggering command, in webpage view component It is superimposed another webpage view component;It obtains and the associated web data of another webpage view component;According to another net The page associated web data of view component, renders corresponding interactive interface in another webpage view component.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, which can be stored in a computer-readable storage and be situated between In matter, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, storage medium above-mentioned can be The non-volatile memory mediums such as magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random storage note Recall body (Random Access Memory, RAM) etc..
Each technical characteristic of above example can be combined arbitrarily, to keep description succinct, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield is all considered to be the range of this specification record.
Only several embodiments of the present invention are expressed for above example, the description thereof is more specific and detailed, but can not Therefore it is construed as limiting the scope of the patent.It should be pointed out that for those of ordinary skill in the art, Under the premise of not departing from present inventive concept, various modifications and improvements can be made, these are all within the scope of protection of the present invention. Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (15)

1. a kind of net cast method, including:
Live video stream is obtained by the way that client is broadcast live;
Live video stream described in the media renderer plays of the live streaming client is called, video pictures are formed;
Superposition includes the webpage view component of transparent region on the video pictures;
It obtains and the matched web data of the live video stream;
According to the web data, the video can be shown by the transparent region by being rendered in the webpage view component The live streaming interactive interface of picture.
2. according to the method described in claim 1, it is characterized in that, the superposition on the video pictures includes transparent region Webpage view component, including:
The webpage view component consistent with the video pictures size, and the webpage view group are superimposed on the video pictures Part includes the transparent region consistent with the video pictures size.
3. according to the method described in claim 1, it is characterized in that, the acquisition and the matched webpage number of the live video stream According to, including:
Live session mark corresponding with the live video stream is obtained by the webpage view component, and is triggered described in carrying The web-page requests of live session mark;
The web-page requests are obtained by the live streaming client;
According to the web-page requests, the web data of live session mark caching is corresponded to from local search.
4. according to the method described in claim 3, it is characterized in that, the method further includes:
The web-page requests are sent to server so that the webpage that the server is arrived according to the web-page requests comparison query Whether data and the web data for corresponding to live session mark storage on server are consistent;
Described according to the web data, institute can be shown by the transparent region by being rendered in the webpage view component After the live streaming interactive interface for stating video pictures, the method further includes:
Receive the corresponding web page data that the server is fed back when the result judged is inconsistent;
The live streaming interactive interface is updated according to the web data received from server.
5. according to the method described in claim 4, it is characterized in that, described asked by the live streaming client acquisition webpage It asks, including:
The web-page requests are intercepted by the live streaming client;
It is described that the web-page requests are sent to server so that the server is arrived according to the web-page requests comparison query Whether web data and the web data for corresponding to live session mark storage on server are consistent, including:
By the live streaming client, the web-page requests are passed through into the point-to-point channel transfer between server to service Device so that the server according to the web-page requests comparison query to web data and server on store with it is described straight Whether consistent broadcast the corresponding web data of session identification.
6. according to the method described in claim 4, it is characterized in that, the web-page requests, which carry, locally corresponds to the live streaming Session identification caching and for rendered in the webpage view component corresponding to the web data of each functional unit first Hashed value;
It is described that the web-page requests are sent to server so that the server is arrived according to the web-page requests comparison query Whether web data and the web data for corresponding to live session mark storage on server are consistent, including:
The web-page requests are sent to server so that the server is according to the web-page requests web-page requests Whether the first hashed value and corresponding second hashed value carried be consistent;Second hashed value, it is corresponding on the server It is corresponding in the web data for rendering corresponding function component of live session mark storage.
7. according to the method described in claim 1, it is characterized in that, the method further includes:
It initiates to play control data by the webpage view component;
The broadcasting control data is intercepted, the command word played in control data is parsed;
According to the command word, broadcasting of the media player of the live streaming client to the live video stream is controlled.
8. the method according to the description of claim 7 is characterized in that described initiate to play control by the webpage view component Request, including:
The broadcasting that server publication is obtained by the webpage view component controls configuration information;
By the webpage view component, the broadcasting specified in control configuration information is played to described in the live streaming client request Control parameter value;
When the broadcasting control parameter value meets the broadcasting control parameter condition played specified by control configuration information, lead to It crosses the webpage view component and initiates corresponding broadcasting control data according to broadcasting control configuration information.
9. method according to any one of claim 1 to 8, which is characterized in that the method further includes:
Obtain the two level webpage view triggering command for acting on the live streaming interactive interface;
In response to the two level webpage view triggering command, another webpage view group is superimposed in the webpage view component Part;
It obtains and the associated web data of another webpage view component;
According to the associated web data of another webpage view component, rendered in another described webpage view component Corresponding interactive interface.
10. a kind of net cast device, which is characterized in that described device includes:
Client is broadcast live, for obtaining live video stream;And it calls described in the media renderer plays of the live streaming client Live video stream forms video pictures;
The live streaming client is additionally operable to the first webpage view component that the superposition on the video pictures includes transparent region;
First webpage view component, for obtaining and the matched web data of the live video stream;According to the webpage Data render the live streaming interaction circle that the video pictures can be shown by the transparent region in the webpage view component Face.
11. device according to claim 10, which is characterized in that the live streaming client is additionally operable in the video pictures Upper superposition first webpage view component consistent with the video pictures size, and first webpage view component includes and institute State the consistent transparent region of video pictures size.
12. device according to claim 10, which is characterized in that first webpage view component is additionally operable to by described First webpage view component obtains live session mark corresponding with the live video stream, and triggers and carry the live session The web-page requests of mark;
The live streaming client is additionally operable to obtain the web-page requests;According to the web-page requests, correspond to institute from local search State the web data of live session mark caching;
The live streaming client is additionally operable to the web-page requests being sent to server so that the server is according to the webpage Ask comparison query to web data and server on correspond to the live session mark storage web data whether one It causes;
First webpage view component is additionally operable to receive the server to be fed back when the result judged is inconsistent Corresponding web page data;The live streaming interactive interface is updated according to the web data received from server.
13. device according to claim 12, which is characterized in that the live streaming client, which is additionally operable to intercept the webpage, asks It asks;The web-page requests are passed through into the point-to-point channel transfer between server to server so that the server according to The web-page requests comparison query to web data and server on the webpage corresponding with live session mark that stores Whether data are consistent.
14. the device according to any one of claim 10 to 13, which is characterized in that described device further includes the second webpage View component;
First webpage view component is additionally operable to obtain the two level webpage view for acting on the live streaming interactive interface and trigger to refer to It enables and notifies the live streaming client;
The live streaming client is additionally operable in response to the two level webpage view triggering command, in first webpage view component The second webpage view component of upper superposition;
Second webpage view component, for obtaining and the associated web data of the second webpage view component;According to The associated web data of second webpage view component renders corresponding interaction circle in second webpage view component Face.
15. a kind of computer equipment, which is characterized in that including memory and processor, computer is stored in the memory Readable instruction, when the computer-readable instruction is executed by the processor so that the processor executes following steps:
Live video stream is obtained by the way that client is broadcast live;
Live video stream described in the media renderer plays of the live streaming client is called, video pictures are formed;
Superposition includes the webpage view component of transparent region on the video pictures;
It obtains and the matched web data of the live video stream;
According to the web data, the video can be shown by the transparent region by being rendered in the webpage view component The live streaming interactive interface of picture.
CN201710289033.6A 2017-04-27 2017-04-27 Net cast method, apparatus and computer equipment Pending CN108810599A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710289033.6A CN108810599A (en) 2017-04-27 2017-04-27 Net cast method, apparatus and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710289033.6A CN108810599A (en) 2017-04-27 2017-04-27 Net cast method, apparatus and computer equipment

Publications (1)

Publication Number Publication Date
CN108810599A true CN108810599A (en) 2018-11-13

Family

ID=64070247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710289033.6A Pending CN108810599A (en) 2017-04-27 2017-04-27 Net cast method, apparatus and computer equipment

Country Status (1)

Country Link
CN (1) CN108810599A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109302618A (en) * 2018-11-27 2019-02-01 网易(杭州)网络有限公司 Live streaming picture rendering method, device and storage medium in mobile terminal
CN110248253A (en) * 2019-06-18 2019-09-17 北京字节跳动网络技术有限公司 Switching method, device, equipment and the storage medium of direct broadcasting room interactive interface
CN110650352A (en) * 2019-09-06 2020-01-03 四川天邑康和通信股份有限公司 Video processing method of IPTV browser
CN111193952A (en) * 2018-11-15 2020-05-22 西安诺瓦星云科技股份有限公司 Media playing method, device, terminal and system and storage medium
CN111913708A (en) * 2020-08-07 2020-11-10 广州虎牙科技有限公司 Interface display method and device, storage medium and electronic equipment
CN112543350A (en) * 2020-12-03 2021-03-23 湖南快乐阳光互动娱乐传媒有限公司 Live broadcast interaction method and device
CN112929681A (en) * 2021-01-19 2021-06-08 广州虎牙科技有限公司 Video stream image rendering method and device, computer equipment and storage medium
CN113127128A (en) * 2021-05-07 2021-07-16 广州酷狗计算机科技有限公司 Interface control method and device, computer equipment and storage medium
CN113312577A (en) * 2021-06-01 2021-08-27 平安证券股份有限公司 Webpage resource processing method and device, electronic equipment and storage medium
WO2024222464A1 (en) * 2023-04-28 2024-10-31 北京字跳网络技术有限公司 Live streaming interface processing method and apparatus, device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130205402A1 (en) * 2013-03-15 2013-08-08 Condel International Technologies Inc. Apparatuses and methods for content protection using Digital Rights Management (DRM) in WebView or WebKit
CN104954879A (en) * 2015-06-17 2015-09-30 北京奇艺世纪科技有限公司 Video interaction content display method and device
US20160080830A1 (en) * 2014-09-12 2016-03-17 Kiswe Mobile Inc. Methods and apparatus for content interaction
CN105630981A (en) * 2015-12-25 2016-06-01 小米科技有限责任公司 Network resource loading and configuration method and device
US20160283978A1 (en) * 2015-03-24 2016-09-29 Tangome, Inc. Swipe-able advertisements
CN106412710A (en) * 2016-09-13 2017-02-15 北京小米移动软件有限公司 Method and device for exchanging information through graphical label in live video streaming
CN106534941A (en) * 2016-10-31 2017-03-22 腾讯科技(深圳)有限公司 Method and device for realizing video interaction
CN106569824A (en) * 2016-11-07 2017-04-19 腾讯科技(深圳)有限公司 Page data compiling method and apparatus, and page rendering method and apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130205402A1 (en) * 2013-03-15 2013-08-08 Condel International Technologies Inc. Apparatuses and methods for content protection using Digital Rights Management (DRM) in WebView or WebKit
US20160080830A1 (en) * 2014-09-12 2016-03-17 Kiswe Mobile Inc. Methods and apparatus for content interaction
US20160283978A1 (en) * 2015-03-24 2016-09-29 Tangome, Inc. Swipe-able advertisements
CN104954879A (en) * 2015-06-17 2015-09-30 北京奇艺世纪科技有限公司 Video interaction content display method and device
CN105630981A (en) * 2015-12-25 2016-06-01 小米科技有限责任公司 Network resource loading and configuration method and device
CN106412710A (en) * 2016-09-13 2017-02-15 北京小米移动软件有限公司 Method and device for exchanging information through graphical label in live video streaming
CN106534941A (en) * 2016-10-31 2017-03-22 腾讯科技(深圳)有限公司 Method and device for realizing video interaction
CN106569824A (en) * 2016-11-07 2017-04-19 腾讯科技(深圳)有限公司 Page data compiling method and apparatus, and page rendering method and apparatus

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111193952A (en) * 2018-11-15 2020-05-22 西安诺瓦星云科技股份有限公司 Media playing method, device, terminal and system and storage medium
CN109302618A (en) * 2018-11-27 2019-02-01 网易(杭州)网络有限公司 Live streaming picture rendering method, device and storage medium in mobile terminal
CN110248253A (en) * 2019-06-18 2019-09-17 北京字节跳动网络技术有限公司 Switching method, device, equipment and the storage medium of direct broadcasting room interactive interface
CN110650352A (en) * 2019-09-06 2020-01-03 四川天邑康和通信股份有限公司 Video processing method of IPTV browser
CN111913708B (en) * 2020-08-07 2024-02-27 广州虎牙科技有限公司 Interface display method and device, storage medium and electronic equipment
CN111913708A (en) * 2020-08-07 2020-11-10 广州虎牙科技有限公司 Interface display method and device, storage medium and electronic equipment
CN112543350A (en) * 2020-12-03 2021-03-23 湖南快乐阳光互动娱乐传媒有限公司 Live broadcast interaction method and device
CN112929681A (en) * 2021-01-19 2021-06-08 广州虎牙科技有限公司 Video stream image rendering method and device, computer equipment and storage medium
CN112929681B (en) * 2021-01-19 2023-09-05 广州虎牙科技有限公司 Video stream image rendering method, device, computer equipment and storage medium
CN113127128A (en) * 2021-05-07 2021-07-16 广州酷狗计算机科技有限公司 Interface control method and device, computer equipment and storage medium
CN113127128B (en) * 2021-05-07 2024-06-18 广州酷狗计算机科技有限公司 Interface control method, device, computer equipment and storage medium
CN113312577A (en) * 2021-06-01 2021-08-27 平安证券股份有限公司 Webpage resource processing method and device, electronic equipment and storage medium
WO2024222464A1 (en) * 2023-04-28 2024-10-31 北京字跳网络技术有限公司 Live streaming interface processing method and apparatus, device and storage medium

Similar Documents

Publication Publication Date Title
CN108810599A (en) Net cast method, apparatus and computer equipment
US10592417B2 (en) Video redirection in virtual desktop environments
US10032191B2 (en) Advertisement targeting through embedded scripts in supply-side and demand-side platforms
US10719837B2 (en) Integrated tracking systems, engagement scoring, and third party interfaces for interactive presentations
US8928810B2 (en) System for combining video data streams into a composite video data stream
US9563929B1 (en) Caching of content page layers
US7590704B2 (en) Systems and methods for processing dynamic content
EP2710463B1 (en) Integrated rendering of streaming media in virtualized desktop environment
CN109068153B (en) Video playing method and device and computer readable storage medium
US9961388B2 (en) Exposure of public internet protocol addresses in an advertising exchange server to improve relevancy of advertisements
CN110536146A (en) A kind of live streaming based on cloud game is started broadcasting method, apparatus and storage medium
US9563928B1 (en) Bandwidth reduction through delivery of hardware-independent graphics commands for portions of content pages
US9075877B2 (en) System and method for transparent in-network adaptation of rich internet applications
US20070180523A1 (en) Method and system for tracking usage of on-line content
US20170221109A1 (en) Ads management in a browser application
ATE275310T1 (en) INTERACTIVE MEDIA SYSTEM
JP7405969B2 (en) Incorporating a secure watermark into your content
CN111475761A (en) Client, server and content sharing control method
CN117370696A (en) Method and device for loading applet page, electronic equipment and storage medium
KR101480140B1 (en) Multi injection server and method thereof
US20190385192A1 (en) Digital media generation
Joveski et al. Semantic multimedia remote display for mobile thin clients
WO2015045108A1 (en) Client/server program generation device and client/server program generation program
US20140082132A1 (en) Targeted http redirects
CN113422799B (en) Communication method and device in cloud game scene, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181113