CN114257841A - Method, device, system, device and medium for isolated playback of web video - Google Patents

Method, device, system, device and medium for isolated playback of web video Download PDF

Info

Publication number
CN114257841A
CN114257841A CN202111563179.8A CN202111563179A CN114257841A CN 114257841 A CN114257841 A CN 114257841A CN 202111563179 A CN202111563179 A CN 202111563179A CN 114257841 A CN114257841 A CN 114257841A
Authority
CN
China
Prior art keywords
video
target
audio
webpage
web page
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
CN202111563179.8A
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.)
Eversec Beijing Technology Co Ltd
Original Assignee
Eversec Beijing Technology 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 Eversec Beijing Technology Co Ltd filed Critical Eversec Beijing Technology Co Ltd
Priority to CN202111563179.8A priority Critical patent/CN114257841A/en
Publication of CN114257841A publication Critical patent/CN114257841A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • H04N21/2355Processing of additional data, e.g. scrambling of additional data or processing content descriptors involving reformatting operations of additional data, e.g. HTML pages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/233Processing of audio elementary streams
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4782Web browsing, e.g. WebTV

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明实施例公开了一种网页视频的隔离重放方法、装置、系统、设备及介质。该方法由远程网页隔离子系统执行,包括在截获浏览器客户端的网页访问请求时,获取目标网页,获取至少一个音视频流存储;生成仿制网页,将包括视频播放控件的仿制网页反馈至浏览器客户端;响应于浏览器客户端针对目标视频播放控件的选择,获取目标音视频流,为目标音视频流分配视频播放地址;将目标音视频流和视频播放地址发送至视频服务系统,同时将视频播放地址发送至浏览器客户端,以指示浏览器客户端通过视频播放地址获取处理后的目标音视频流进行播放。本发明实施例的技术方案提供一种可以在用户浏览器客户端同步播放被隔离的视频的新技术,满足安全上网的需求。

Figure 202111563179

The embodiments of the present invention disclose a method, device, system, device and medium for isolating and replaying webpage video. The method is executed by a remote web page isolation subsystem, and includes acquiring a target web page and at least one audio and video stream storage when intercepting a web page access request from a browser client; Client; in response to the selection of the browser client for the target video playback control, obtain the target audio and video stream, and assign a video playback address for the target audio and video stream; send the target audio and video stream and the video playback address to the video service system, and simultaneously The video playback address is sent to the browser client to instruct the browser client to obtain the processed target audio and video stream through the video playback address to play. The technical solutions of the embodiments of the present invention provide a new technology that can synchronously play the isolated video on the client of the user's browser, so as to meet the requirements of safe Internet access.

Figure 202111563179

Description

Method, device, system, equipment and medium for isolated playback of webpage video
Technical Field
The embodiment of the invention relates to computer technology, in particular to a method, a device, a system, equipment and a medium for isolated playback of a webpage video.
Background
Web page isolation is a technique that involves web browsing activity in an isolated environment (such as a sandbox or virtual machine) to protect computer users from any malware that may be encountered. This isolation may occur on the local computer or on a remote server. Remote web page isolation, i.e., virtualization and isolation, occurs on a remote server. The user's browsing activity is transferred to a remote virtual environment, and the content browsed by the user's computer is a real-time visual stream occurring on a server. In short, the user does not use a local browser to directly surf the internet, but connects to a remote server and surfs the internet by using a remote browser on the server. The whole-course data only falls on the remote server and does not fall on the local.
The remote web page isolation of the prior art is usually based on DOM (Document Object Model) and pixel push implementations. The DOM-based web page isolation system will filter out certain types of web page content that it considers dangerous, but still allow certain types of web page content to be sent directly from the internet to the user's computer in its original form; while an isolation system that delivers visual streams on a pixel basis does not send any web content to the user's computer, it only sends visual streams in pixels. In any implementation, if there is video content in the web page, the web page isolation is not easy to transmit the video to the client through the remote isolation server for synchronous playing. Most isolation systems currently adopt a transparent transmission scheme, that is, if the video is, the URL (uniform resource locator) is released, and no isolation is performed.
In the process of implementing the invention, the inventor finds that the prior art has the following defects: in the prior art, a webpage isolation system based on DOM cannot restore the video of a webpage to a DOM tree, so that the video cannot be transmitted to a client side for synchronous playing; although the isolation system based on pixel transmission visual stream can transmit video images synchronously, the isolation system also has the problem that the synchronous playing of sound and pictures cannot be realized.
Disclosure of Invention
The embodiment of the invention provides a method, a device, a system, equipment and a medium for isolated playback of a webpage video, and provides a new technology for synchronously playing an isolated video at a client of a user browser, so as to meet the requirement of safe internet surfing.
In a first aspect, an embodiment of the present invention provides a method for isolated playback of a web page video, where the method is performed by a remote web page isolation subsystem, and the method includes:
when a webpage access request sent by a browser client is intercepted, a target webpage is acquired instead of the browser client according to the webpage access request, and at least one audio/video stream matched with the target webpage is acquired and stored;
generating a simulated webpage matched with the target webpage, and feeding back the simulated webpage to the browser client, wherein the simulated webpage comprises video playing controls respectively corresponding to each audio and video stream;
responding to the selection of a browser client aiming at a target video playing control in the simulated webpage, acquiring a target audio and video stream matched with the target video playing control, and allocating a video playing address for the target audio and video stream;
and sending the target audio and video stream and the video playing address to the video service system, and sending the video playing address to the browser client so as to instruct the browser client to acquire the target audio and video stream subjected to audio and video processing by the video service system through the video playing address and play the target audio and video stream at the client.
In a second aspect, an embodiment of the present invention further provides an isolated playback apparatus for web page video, executed by a remote web page isolation subsystem, the apparatus including:
the audio and video stream storage module is used for replacing the browser client to acquire a target webpage according to a webpage access request when the webpage access request sent by the browser client is intercepted, and acquiring and storing at least one audio and video stream matched with the target webpage;
the simulated webpage feedback module is used for generating a simulated webpage matched with the target webpage and feeding the simulated webpage back to the browser client, wherein the simulated webpage comprises video playing controls respectively corresponding to each audio and video stream;
the video playing address allocation module is used for responding to the selection of the browser client aiming at a target video playing control in the simulated webpage, acquiring a target audio and video stream matched with the target video playing control and allocating a video playing address for the target audio and video stream;
and the video playing address sending module is used for sending the target audio and video stream and the video playing address to the video service system and sending the video playing address to the browser client so as to instruct the browser client to obtain the target audio and video stream subjected to audio and video processing by the video service system through the video playing address and play the target audio and video stream at the client.
In a third aspect, an embodiment of the present invention further provides an isolated playback system for a web page video, where the system includes: the system comprises a remote webpage isolation subsystem, a video service system and a browser client;
the remote webpage isolation subsystem is used for realizing the isolated playback method of the webpage video according to any embodiment of the invention;
the video service system is used for receiving a target audio and video stream and a video playing address sent by the remote webpage isolation system, carrying out audio and video processing on the target audio and video stream, and acquiring and storing the processed target audio and video stream;
the browser client is used for receiving the imitated web page fed back by the remote isolation subsystem and selecting a target video playing control in the imitated web page; and
the system is used for receiving a video playing address sent by the remote webpage isolation system, and acquiring a target audio and video stream subjected to audio and video processing by the video service system through the video playing address to play at the client.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the isolated playback method for web page video according to any embodiment of the present invention.
In a fifth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the isolated playback method for web page video according to any embodiment of the present invention.
According to the method, when a webpage access request sent by a browser client is intercepted by a remote webpage isolation subsystem, the target webpage is acquired by replacing the browser client according to the webpage access request, and at least one audio/video stream matched with the target webpage is acquired and stored; generating a simulated webpage matched with the target webpage, and feeding back the simulated webpage comprising the video playing controls respectively corresponding to each audio and video stream to the browser client; responding to the selection of a browser client aiming at a target video playing control in the simulated webpage, acquiring a target audio and video stream matched with the target video playing control, and allocating a video playing address for the target audio and video stream; the method comprises the steps of sending a target audio and video stream and a video playing address to a video service system, and sending the video playing address to a browser client so as to instruct the browser client to obtain the target audio and video stream subjected to audio and video processing by the video service system through the video playing address to play on the client, so that the problem that the isolated video cannot be synchronously played on a user browser client in the prior art is solved, a new technology capable of synchronously playing the isolated video on the user browser client is provided, and the requirement of safe internet surfing is met.
Drawings
Fig. 1 is a flowchart of a method for isolated playback of a web video according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an isolated playback apparatus for web video according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an isolated playback system for web video according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device/terminal/server according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a method for isolated playback of a web video according to an embodiment of the present invention, where this embodiment is applicable to a case where a user browser client plays back a video after the video in a web page is isolated by an isolation system, and the method may be executed by a remote web isolation subsystem, and the method may be executed by an isolated playback apparatus for a web video, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an isolated playback system for a web video, and specifically includes the following steps:
s110, when a webpage access request sent by a browser client is intercepted, the browser client is replaced to obtain a target webpage according to the webpage access request, and at least one audio and video stream matched with the target webpage is obtained and stored.
The web page access request may be an access request initiated by a browser client for a certain web page. The target webpage may refer to a webpage that the browser client needs to access, and the target webpage corresponds to the webpage access request. The audio and video stream may refer to transmission information of audio and video data corresponding to a video element included in the page information of the target web page.
Optionally, the remote web page isolation subsystem may intercept a web page access request sent by the browser client, access and acquire a target web page instead of the browser client according to the web page access request, and acquire at least one piece of audio/video stream information from the page information of the target web page to store the information.
In an optional implementation manner of this embodiment, when a web page access request sent by a browser client is intercepted, according to the web page access request, acquiring a target web page instead of the browser client, and acquiring at least one audio/video stream matched with the target web page for storage, may include: according to the webpage access request, a browser engine replaces the browser client to obtain a target webpage, and page information of the target webpage is detected; and when the page information is detected to contain at least one video element, acquiring audio and video stream information respectively corresponding to each video element from a server corresponding to a target webpage for storage according to a captured video code added in advance in a browser engine.
Specifically, when a webpage access request sent by a browser client is intercepted, a browser engine in a remote webpage isolation subsystem can be used for accessing a target webpage instead of the browser client according to the webpage access request, so that the target webpage is obtained; further, page information of the target webpage can be detected; when it is detected that the current page information includes at least one video element, the video element included in the current page information can be captured according to a capture video code (for example, a JS code) added in advance in the browser engine, and the audio/video stream information corresponding to each video element is obtained and stored. The audio/video stream information corresponding to each video element can be obtained, for example, by an HTML5 technique and an API (Application Programming Interface) for extracting stream information.
And S120, generating a simulated webpage matched with the target webpage, and feeding back the simulated webpage to the browser client, wherein the simulated webpage comprises video playing controls respectively corresponding to each audio and video stream.
The imitated web page may refer to a similar page imitated by the remote web page isolation subsystem according to the page information of the target web page. The simulated web page may be a specially formatted page, such as in an HTML format. The video play control may refer to a control for video play, such as a play button.
Specifically, the remote web page isolation subsystem may generate a simulated web page corresponding to the target web page according to the page information of the accessed target web page, and feed the simulated web page back to the browser client, so that the browser client may see the target web page in a special manner after sending a web page access request. The simulated webpage can comprise video playing controls corresponding to the audio and video streams respectively, and the number of the audio and video streams is matched with that of the video playing controls. Correspondingly, if the target webpage contains video elements and corresponding audio and video streams can be captured from the video elements, a video playing control can be added into the generated simulated webpage; if the target webpage does not contain the video element, the generated simulated webpage may not contain the video playing control.
S130, responding to the selection of the browser client aiming at the target video playing control in the simulated webpage, acquiring a target audio and video stream matched with the target video playing control, and distributing a video playing address for the target audio and video stream.
The target video playing control can be a control selected from all video playing controls of the simulated webpage. The target audio/video stream may be a selected audio/video stream of the entire audio/video streams of the target web page. The video playing address can refer to an address of the target audio/video stream when the target audio/video stream is played towards the browser client.
Optionally, when the browser client selects a certain video playing control from the acquired simulated web pages to play the video, the remote web page isolation subsystem may acquire a target audio/video stream matched with the target video playing control in response to the selection of the browser client, and allocate a corresponding video playing address to each target audio/video stream.
In an optional implementation manner of this embodiment, the video playing control may include a playing video code added in advance; based on this, in response to selection of the browser client for a target video playing control in the simulated webpage, obtaining a target audio/video stream matched with the target video playing control, and allocating a video playing address for the target audio/video stream, may include: and responding to the selection of the browser client for a target video playing control in the simulated webpage, receiving a playing request of the browser client for running a playing video code, acquiring a target audio and video stream matched with the target video playing control, and allocating a video playing address for the target audio and video stream.
The video playing code can be a code which can be connected with a remote webpage isolation subsystem to achieve the purpose of playing through operation.
Specifically, when the browser client selects a certain video playing control to plan to play a video, the browser client may run a playing video code added in advance to establish a communication connection with the remote web page isolation subsystem, and the remote web page isolation subsystem may receive a playing request of the browser client in response to selection of the browser client for a target video playing control in a simulated web page, acquire a target audio/video stream matched with the target video playing control currently selected by the browser client, and allocate a video playing address to the target audio/video stream. It can be understood that, for each video playing control in the simulated webpage, the video playing addresses of the corresponding audio and video streams may be different.
And S140, sending the target audio and video stream and the video playing address to the video service system, and sending the video playing address to the browser client so as to instruct the browser client to obtain the target audio and video stream subjected to audio and video processing by the video service system through the video playing address and play the target audio and video stream at the client.
Optionally, after obtaining the target audio/video stream and allocating a video playing address to the target audio/video stream, the remote web page isolation subsystem may send the target audio/video stream and the video playing address to the video service system, where the video service system may perform audio/video processing (for example, operations such as special effects, exception filtering, and format conversion) on the target audio/video stream to obtain a processed target audio/video stream, and simultaneously send the video playing address to the browser client, and instruct the browser client to obtain the processed target audio/video stream through the video playing address for client playing.
In an optional implementation manner of this embodiment, the sending the target audio/video stream and the video playing address to the video service system may include: and sending the target audio and video stream and the video playing address to a video service system according to a sending code added in advance in the remote isolation subsystem.
Specifically, the remote web page isolation subsystem may send the acquired target audio/video stream and the video playing address allocated to the target audio/video stream to the video service system according to a sending code added in advance.
According to the technical scheme of the embodiment, when a webpage access request sent by a browser client is intercepted by a remote webpage isolation subsystem, the target webpage is acquired by the browser client instead of the browser client according to the webpage access request, and at least one audio/video stream matched with the target webpage is acquired and stored; generating a simulated webpage matched with the target webpage, and feeding back the simulated webpage comprising the video playing controls respectively corresponding to each audio and video stream to the browser client; responding to the selection of a browser client aiming at a target video playing control in the simulated webpage, acquiring a target audio and video stream matched with the target video playing control, and allocating a video playing address for the target audio and video stream; the method comprises the steps of sending a target audio and video stream and a video playing address to a video service system, and sending the video playing address to a browser client so as to instruct the browser client to obtain the target audio and video stream subjected to audio and video processing by the video service system through the video playing address to play on the client, so that the problem that the isolated video cannot be synchronously played on a user browser client in the prior art is solved, a new technology capable of synchronously playing the isolated video on the user browser client is provided, and the requirement of safe internet surfing is met.
Example two
Fig. 2 is a schematic structural diagram of an isolated playback apparatus for web page video according to a second embodiment of the present invention, where the apparatus may be executed by a remote web page isolation subsystem, and the apparatus may include: the system comprises an audio and video stream storage module 210, a simulated webpage feedback module 220, a video playing address allocation module 230 and a video playing address sending module 240. Wherein:
the audio/video stream storage module 210 is configured to, when a web page access request sent by a browser client is intercepted, obtain a target web page instead of the browser client according to the web page access request, and obtain and store at least one audio/video stream matched with the target web page;
the simulated webpage feedback module 220 is configured to generate a simulated webpage matched with the target webpage and feed the simulated webpage back to the browser client, where the simulated webpage includes video playing controls corresponding to each audio/video stream;
the video playing address allocation module 230 is configured to, in response to selection of a target video playing control in the simulated webpage by the browser client, acquire a target audio/video stream matched with the target video playing control, and allocate a video playing address to the target audio/video stream;
the video playing address sending module 240 is configured to send the video playing address to the browser client while sending the target audio and video stream and the video playing address to the video service system, so as to instruct the browser client to obtain the target audio and video stream subjected to audio and video processing by the video service system through the video playing address and play the target audio and video stream at the client.
According to the technical scheme of the embodiment, when a webpage access request sent by a browser client is intercepted by a remote webpage isolation subsystem, the target webpage is acquired by the browser client instead of the browser client according to the webpage access request, and at least one audio/video stream matched with the target webpage is acquired and stored; generating a simulated webpage matched with the target webpage, and feeding back the simulated webpage comprising the video playing controls respectively corresponding to each audio and video stream to the browser client; responding to the selection of a browser client aiming at a target video playing control in the simulated webpage, acquiring a target audio and video stream matched with the target video playing control, and allocating a video playing address for the target audio and video stream; the method comprises the steps of sending a target audio and video stream and a video playing address to a video service system, and sending the video playing address to a browser client so as to instruct the browser client to obtain the target audio and video stream subjected to audio and video processing by the video service system through the video playing address to play on the client, so that the problem that the isolated video cannot be synchronously played on a user browser client in the prior art is solved, a new technology capable of synchronously playing the isolated video on the user browser client is provided, and the requirement of safe internet surfing is met.
In the above apparatus, optionally, the audio/video stream storage module 210 may be specifically configured to:
according to the webpage access request, a browser engine replaces the browser client to obtain a target webpage, and page information of the target webpage is detected;
and when the page information is detected to contain at least one video element, acquiring audio and video stream information respectively corresponding to each video element from a server corresponding to a target webpage for storage according to a captured video code added in advance in a browser engine.
In the above apparatus, optionally, the video playing control includes a playing video code added in advance;
the video playing address assignment module 230 may be specifically configured to:
and responding to the selection of the browser client for a target video playing control in the simulated webpage, receiving a playing request of the browser client for running a playing video code, acquiring a target audio and video stream matched with the target video playing control, and allocating a video playing address for the target audio and video stream.
In the above apparatus, optionally, the video playing address sending module 240 may be specifically configured to:
and sending the target audio and video stream and the video playing address to a video service system according to a sending code added in advance in the remote isolation subsystem.
The isolated playback device for the webpage video provided by the embodiment of the invention can execute the isolated playback method for the webpage video provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an isolated playback system for web page video according to a third embodiment of the present invention, where the system may include: a remote web page isolation subsystem 310, a video service system 320, and a browser client 330. Wherein:
the remote web page isolation subsystem 310 is configured to implement the isolated playback method of the web page video according to any embodiment of the present invention;
the video service system 320 is configured to receive a target audio/video stream and a video playing address sent by the remote web page isolation system 310, perform audio/video processing on the target audio/video stream, and acquire and store the processed target audio/video stream;
the browser client 330 is configured to receive the simulated webpage fed back by the remote isolation subsystem 310, and select a target video playing control for the simulated webpage; and
the remote web page isolation system 310 is used for receiving a video playing address sent by the remote web page isolation system 310, and obtaining a target audio and video stream subjected to audio and video processing by the video service system 320 through the video playing address to be played by the client.
According to the technical scheme of the embodiment, the remote webpage isolation subsystem, the video service system and the browser client are arranged in the webpage video isolation playback system, and the remote webpage isolation subsystem is used for realizing the webpage video isolation playback method and feeding back the imitated webpage comprising the video playing control to the browser client; the browser client selects a target video playing control from the imitated web pages to initiate a playing request, and establishes connection with the remote web page isolation subsystem; the remote webpage isolation subsystem responds to the playing request to acquire a target audio and video stream and distributes a video playing address for the target audio and video stream, the target audio and video stream and the video playing address are sent to the video service system, and the video playing address is sent to the browser client; the video service system processes the received target audio and video stream, and acquires and stores the processed target audio and video stream; and the browser client acquires the processed target audio and video stream through the video playing address to play the target audio and video stream. The problem that the isolated video cannot be synchronously played on the client of the user browser in the prior art is solved, a new technology capable of synchronously playing the isolated video on the client of the user browser is provided, and the requirement of safe internet surfing is met.
Optionally, the video service system 320 includes a WebRTC server for web page real-time communication and a real-time messaging protocol RTMP streaming server;
the WebRTC server can be used for receiving a target audio and video stream and a video playing address sent by a remote webpage isolation system, and decoding and format conversion processing are carried out on the target audio and video stream to form a processing result; and
recoding the processing result to form a processed target audio/video stream which accords with an RTMP streaming media protocol, and sending the processed target audio/video stream and the video playing address to an RTMP streaming media server;
the RTMP streaming media server can be used for receiving and storing the processed audio and video stream, and generating the processed audio and video stream into a video which can be played by the browser client according to the video playing address.
The advantage of this arrangement is that the video on the remote webpage isolation subsystem can be changed into a provider of streaming media service, so that the browser client can acquire and play the video synchronously from the RTMP streaming media server.
Example four
Fig. 4 is a schematic structural diagram of an electronic apparatus according to a fourth embodiment of the present invention, as shown in fig. 4, the electronic apparatus includes a processor 410, a storage device 420, an input device 430, and an output device 440; the number of the processors 410 in the device may be one or more, and one processor 410 is taken as an example in fig. 4; the processor 410, the storage 420, the input 430 and the output 440 of the apparatus may be connected by a bus or other means, as exemplified by the bus connection in fig. 4.
The storage device 420 is a computer-readable storage medium, and can be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the isolated playback method of web page video in the embodiment of the present invention (for example, the audio/video stream storage module 210, the imitated web page feedback module 220, the video playing address assignment module 230, and the video playing address sending module 240 in the isolated playback device of web page video). The processor 410 executes various functional applications and data processing of the device by executing software programs, instructions and modules stored in the storage device 420, that is, implements the above-mentioned isolated playback method of web video, which is performed by a remote web isolation subsystem, and may include:
when a webpage access request sent by a browser client is intercepted, a target webpage is acquired instead of the browser client according to the webpage access request, and at least one audio/video stream matched with the target webpage is acquired and stored;
generating a simulated webpage matched with the target webpage, and feeding back the simulated webpage to the browser client, wherein the simulated webpage comprises video playing controls respectively corresponding to each audio and video stream;
responding to the selection of a browser client aiming at a target video playing control in the simulated webpage, acquiring a target audio and video stream matched with the target video playing control, and allocating a video playing address for the target audio and video stream;
and sending the target audio and video stream and the video playing address to the video service system, and sending the video playing address to the browser client so as to instruct the browser client to acquire the target audio and video stream subjected to audio and video processing by the video service system through the video playing address and play the target audio and video stream at the client.
The storage device 420 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the storage 420 may further include memory located remotely from the processor 410, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 430 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the apparatus. The output device 440 may include a display device such as a display screen.
EXAMPLE five
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform a method for isolated playback of a web video, where the method is performed by a remote web isolation subsystem, and the method may include:
when a webpage access request sent by a browser client is intercepted, a target webpage is acquired instead of the browser client according to the webpage access request, and at least one audio/video stream matched with the target webpage is acquired and stored;
generating a simulated webpage matched with the target webpage, and feeding back the simulated webpage to the browser client, wherein the simulated webpage comprises video playing controls respectively corresponding to each audio and video stream;
responding to the selection of a browser client aiming at a target video playing control in the simulated webpage, acquiring a target audio and video stream matched with the target video playing control, and allocating a video playing address for the target audio and video stream;
and sending the target audio and video stream and the video playing address to the video service system, and sending the video playing address to the browser client so as to instruct the browser client to acquire the target audio and video stream subjected to audio and video processing by the video service system through the video playing address and play the target audio and video stream at the client.
Of course, the computer-readable storage medium provided by the embodiment of the present invention stores thereon a computer program, where the computer program is not limited to the method operations described above, and may also perform related operations in the isolated playback method of the web page video provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the isolated playback apparatus for web video, the units and modules included in the apparatus are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1.一种网页视频的隔离重放方法,其特征在于,由远程网页隔离子系统执行,包括:1. the isolation replay method of a web page video, is characterized in that, is carried out by remote web page isolation subsystem, comprises: 在截获浏览器客户端发送的网页访问请求时,根据网页访问请求,代替浏览器客户端获取目标网页,并获取与目标网页匹配的至少一个音视频流进行存储;When intercepting the web page access request sent by the browser client, obtain the target web page instead of the browser client according to the web page access request, and acquire at least one audio and video stream matching the target web page for storage; 生成与目标网页匹配的仿制网页,并将仿制网页反馈至浏览器客户端,其中,仿制网页中包括与每个音视频流分别对应的视频播放控件;generating an imitation webpage matching the target webpage, and feeding the imitation webpage back to the browser client, wherein the imitation webpage includes a video playback control corresponding to each audio and video stream respectively; 响应于浏览器客户端针对仿制网页中目标视频播放控件的选择,获取与目标视频播放控件匹配的目标音视频流,并为目标音视频流分配视频播放地址;In response to the selection of the target video playback control in the imitation web page by the browser client, obtain the target audio and video stream matched with the target video playback control, and assign a video playback address for the target audio and video stream; 在将目标音视频流和视频播放地址发送至视频服务系统的同时,将视频播放地址发送至浏览器客户端,以指示浏览器客户端通过视频播放地址获取经由视频服务系统进行音视频处理后的目标音视频流进行客户端播放。While sending the target audio and video stream and video playback address to the video service system, the video playback address is sent to the browser client to instruct the browser client to obtain the audio and video processed through the video service system through the video playback address. The target audio and video stream is played on the client side. 2.根据权利要求1所述的方法,其特征在于,在截获浏览器客户端发送的网页访问请求时,根据网页访问请求,代替浏览器客户端获取目标网页,并获取与目标网页匹配的至少一个音视频流进行存储,包括:2. The method according to claim 1, characterized in that, when intercepting the web page access request sent by the browser client, according to the web page access request, the target web page is acquired instead of the browser client, and at least one matching target web page is acquired. An audio and video stream is stored, including: 根据网页访问请求,通过浏览器引擎代替所述浏览器客户端获取目标网页,并对所述目标网页的页面信息进行检测;According to the webpage access request, the target webpage is acquired by the browser engine instead of the browser client, and the page information of the target webpage is detected; 在检测到所述页面信息包含至少一个视频元素时,根据在浏览器引擎中预先添加的捕获视频代码,从目标网页对应的服务器中获取与各所述视频元素分别对应的音视频流信息进行存储。When it is detected that the page information contains at least one video element, the audio and video stream information corresponding to each of the video elements is obtained from the server corresponding to the target web page according to the captured video code pre-added in the browser engine and stored. . 3.根据权利要求1所述的方法,其特征在于,所述视频播放控件包括预先添加的播放视频代码;3. The method according to claim 1, wherein the video playback control comprises a pre-added playback video code; 响应于浏览器客户端针对仿制网页中目标视频播放控件的选择,获取与目标视频播放控件匹配的目标音视频流,并为目标音视频流分配视频播放地址,包括:In response to the selection of the target video playback control in the imitation web page by the browser client, obtain a target audio and video stream matching the target video playback control, and assign a video playback address to the target audio and video stream, including: 响应于浏览器客户端针对仿制网页中目标视频播放控件的选择,接收浏览器客户端运行播放视频代码的播放请求,获取与目标视频播放控件匹配的目标音视频流,并为目标音视频流分配视频播放地址。In response to the selection of the target video playback control in the imitation web page by the browser client, receiving a playback request from the browser client to run the playback video code, acquiring the target audio and video stream matching the target video playback control, and assigning the target audio and video stream Video playback address. 4.根据权利要求1所述的方法,其特征在于,将目标音视频流和视频播放地址发送至视频服务系统,包括:4. method according to claim 1 is characterized in that, target audio-video stream and video playback address are sent to video service system, comprising: 根据远程隔离子系统中预先添加的发送代码,将目标音视频流和视频播放地址发送至视频服务系统。Send the target audio and video stream and video playback address to the video service system according to the pre-added sending code in the remote isolation subsystem. 5.一种网页视频的隔离重放装置,其特征在于,由远程网页隔离子系统执行,包括:5. An isolation and playback device for web page video, characterized in that it is executed by a remote web page isolation subsystem, comprising: 音视频流存储模块,用于在截获浏览器客户端发送的网页访问请求时,根据网页访问请求,代替浏览器客户端获取目标网页,并获取与目标网页匹配的至少一个音视频流进行存储;The audio and video stream storage module is used to, when intercepting the web page access request sent by the browser client, obtain the target web page according to the web page access request instead of the browser client, and acquire at least one audio and video stream matching the target web page for storage; 仿制网页反馈模块,用于生成与目标网页匹配的仿制网页,并将仿制网页反馈至浏览器客户端,其中,仿制网页中包括与每个音视频流分别对应的视频播放控件;The imitation webpage feedback module is used for generating an imitation webpage matching the target webpage, and feeding back the imitation webpage to the browser client, wherein the imitation webpage includes a video playback control corresponding to each audio and video stream respectively; 视频播放地址分配模块,用于响应于浏览器客户端针对仿制网页中目标视频播放控件的选择,获取与目标视频播放控件匹配的目标音视频流,并为目标音视频流分配视频播放地址;A video playback address allocation module is used to obtain a target audio and video stream matching the target video playback control in response to the selection of the target video playback control in the imitation web page by the browser client, and allocate a video playback address for the target audio and video stream; 视频播放地址发送模块,用于在将目标音视频流和视频播放地址发送至视频服务系统的同时,将视频播放地址发送至浏览器客户端,以指示浏览器客户端通过视频播放地址获取经由视频服务系统进行音视频处理后的目标音视频流进行客户端播放。The video playback address sending module is used to send the video playback address to the browser client while sending the target audio and video stream and the video playback address to the video service system, so as to instruct the browser client to obtain the via video through the video playback address The target audio and video stream after audio and video processing by the service system is played by the client. 6.根据权利要求5所述的装置,其特征在于,音视频流存储模块,具体用于:6. device according to claim 5, is characterized in that, audio and video stream storage module is specially used for: 根据网页访问请求,通过浏览器引擎代替所述浏览器客户端获取目标网页,并对所述目标网页的页面信息进行检测;According to the webpage access request, the target webpage is acquired by the browser engine instead of the browser client, and the page information of the target webpage is detected; 在检测到所述页面信息包含至少一个视频元素时,根据在浏览器引擎中预先添加的捕获视频代码,从目标网页对应的服务器中获取与各所述视频元素分别对应的音视频流信息进行存储。When it is detected that the page information contains at least one video element, the audio and video stream information corresponding to each of the video elements is obtained from the server corresponding to the target webpage according to the captured video code pre-added in the browser engine and stored. . 7.一种网页视频的隔离重放系统,包括:远程网页隔离子系统、视频服务系统和浏览器客户端;7. A web page video isolation and playback system, comprising: a remote web page isolation subsystem, a video service system and a browser client; 所述远程网页隔离子系统,用于实现如权利要求1-4中任一所述的网页视频的隔离重放方法;The remote webpage isolation subsystem is used to realize the isolation replay method of webpage video as described in any one of claims 1-4; 所述视频服务系统,用于接收远程网页隔离子系统发送的目标音视频流和视频播放地址,对所述目标音视频流进行音视频处理,获取处理后的目标音视频流进行存储;The video service system is used to receive the target audio and video stream and the video playback address sent by the remote webpage isolation subsystem, perform audio and video processing on the target audio and video stream, and obtain the processed target audio and video stream for storage; 所述浏览器客户端,用于接收远程隔离子系统反馈的仿制网页,选择针对仿制网页中目标视频播放控件;和The browser client is used for receiving the imitation web page fed back by the remote isolation subsystem, and selecting a target video playback control in the imitation web page; and 用于接收远程网页隔离子系统发送的视频播放地址,通过视频播放地址获取经由视频服务系统进行音视频处理后的目标音视频流进行客户端播放。It is used to receive the video playback address sent by the remote webpage isolation subsystem, and obtain the target audio and video stream processed by the video service system through the video playback address for client playback. 8.根据权利要求7所述的系统,其特征在于,所述视频服务系统包括网页实时通信WebRTC服务器和实时消息传输协议RTMP流媒体服务器;8. system according to claim 7, is characterized in that, described video service system comprises web page real-time communication WebRTC server and real-time message transmission protocol RTMP streaming media server; 所述WebRTC服务器,用于接收远程网页隔离子系统发送的目标音视频流和视频播放地址,对所述目标音视频流进行解码及格式转换处理,形成处理结果;和The WebRTC server is used to receive the target audio and video stream and the video playback address sent by the remote web page isolation subsystem, and decode and format the target audio and video stream to form a processing result; and 将所述处理结果重新编码,形成符合RTMP流媒体协议的处理后的目标音视频流,将所述处理后的目标音视频流和视频播放地址发送至RTMP流媒体服务器;Described processing result is re-encoded to form the processed target audio and video stream that meets the RTMP streaming protocol, and the processed target audio and video stream and video playback address are sent to the RTMP streaming media server; RTMP流媒体服务器,用于接收处理后的音视频流并进行存储,按视频播放地址,将处理后的音视频流生成可以由浏览器客户端播放的视频。The RTMP streaming media server is used to receive the processed audio and video streams and store them. According to the video playback address, the processed audio and video streams are generated into videos that can be played by the browser client. 9.一种电子设备,其特征在于,所述电子设备包括:9. An electronic device, characterized in that the electronic device comprises: 一个或多个处理器;one or more processors; 存储装置,用于存储一个或多个程序;a storage device for storing one or more programs; 当所述一个或多个程序被所述一个或多个处理器执行,是的所述一个或多个处理器实现如权利要求1-4中任一所述网页视频的隔离重放方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method for isolated playback of web video according to any one of claims 1-4. 10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-4中任一所述的网页视频的隔离重放方法。10. A computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the method for isolating and replaying a webpage video according to any one of claims 1-4 is implemented.
CN202111563179.8A 2021-12-20 2021-12-20 Method, device, system, device and medium for isolated playback of web video Pending CN114257841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111563179.8A CN114257841A (en) 2021-12-20 2021-12-20 Method, device, system, device and medium for isolated playback of web video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111563179.8A CN114257841A (en) 2021-12-20 2021-12-20 Method, device, system, device and medium for isolated playback of web video

Publications (1)

Publication Number Publication Date
CN114257841A true CN114257841A (en) 2022-03-29

Family

ID=80793200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111563179.8A Pending CN114257841A (en) 2021-12-20 2021-12-20 Method, device, system, device and medium for isolated playback of web video

Country Status (1)

Country Link
CN (1) CN114257841A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134664A (en) * 2022-06-07 2022-09-30 北京智能建筑科技有限公司 Real-time video stream playback method and system, and non-volatile storage medium
CN115514637A (en) * 2022-09-22 2022-12-23 中国电信股份有限公司 Remote gateway adjusting method and system
WO2024051518A1 (en) * 2022-09-07 2024-03-14 抖音视界有限公司 Live-streaming method and apparatus, and electronic device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635826A (en) * 2008-07-21 2010-01-27 中国科学院计算技术研究所 Method for acquiring addresses of network video programs
CN103345603A (en) * 2011-12-28 2013-10-09 北京奇虎科技有限公司 Webpage browsing method and device based on sandbox technology
CN103747345A (en) * 2013-12-16 2014-04-23 乐视网信息技术(北京)股份有限公司 Method and equipment for video playing of intelligent televisions
CN107801052A (en) * 2017-10-30 2018-03-13 武汉噢易云计算股份有限公司 A kind of cloud desktop browsers video reorientation method
CN113613032A (en) * 2021-08-04 2021-11-05 杭州梦视网络科技有限公司 Video transmission method of embedded remote teaching experiment system
CN113792232A (en) * 2021-09-13 2021-12-14 北京百度网讯科技有限公司 Page feature calculation method, device, electronic equipment, medium and program product

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635826A (en) * 2008-07-21 2010-01-27 中国科学院计算技术研究所 Method for acquiring addresses of network video programs
CN103345603A (en) * 2011-12-28 2013-10-09 北京奇虎科技有限公司 Webpage browsing method and device based on sandbox technology
CN103747345A (en) * 2013-12-16 2014-04-23 乐视网信息技术(北京)股份有限公司 Method and equipment for video playing of intelligent televisions
CN107801052A (en) * 2017-10-30 2018-03-13 武汉噢易云计算股份有限公司 A kind of cloud desktop browsers video reorientation method
CN113613032A (en) * 2021-08-04 2021-11-05 杭州梦视网络科技有限公司 Video transmission method of embedded remote teaching experiment system
CN113792232A (en) * 2021-09-13 2021-12-14 北京百度网讯科技有限公司 Page feature calculation method, device, electronic equipment, medium and program product

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄天全,覃伟良编著: "《网络技术》", 30 April 2019, 天津科学技术出版社, pages: 115 - 117 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134664A (en) * 2022-06-07 2022-09-30 北京智能建筑科技有限公司 Real-time video stream playback method and system, and non-volatile storage medium
WO2024051518A1 (en) * 2022-09-07 2024-03-14 抖音视界有限公司 Live-streaming method and apparatus, and electronic device and storage medium
CN115514637A (en) * 2022-09-22 2022-12-23 中国电信股份有限公司 Remote gateway adjusting method and system
CN115514637B (en) * 2022-09-22 2024-04-30 中国电信股份有限公司 Remote gateway adjusting method and system

Similar Documents

Publication Publication Date Title
CN114257841A (en) Method, device, system, device and medium for isolated playback of web video
TWI417814B (en) Surveillance system and associated control method
US9055066B2 (en) Apparatus and method for providing a game service in cloud computing environment
CN112073758B (en) Cloud desktop screen projection method and device, computer equipment, computer readable storage medium and cloud desktop screen projection interaction system
CN103096182A (en) Network television program information sharing method and system
CN112040270B (en) Live broadcast method, device, equipment and storage medium
WO2020200302A1 (en) Live broadcast method and apparatus, and computer device and storage medium
EP3996355A1 (en) Method for transferring media stream and user equipment
CN111880865A (en) Multimedia data pushing method and device, electronic equipment and storage medium
CN104363509B (en) A kind of video conversion method, device, play system and terminal
CN112911320A (en) Live broadcast method and device, computer equipment and storage medium
CN113132194A (en) Information transfer method, device, equipment, server and storage medium
CN103747280A (en) Method for creating a program and device thereof
CN106331860A (en) Set-top box business adaptation method, device and system
CN116261021B (en) Video stream playing method and device, electronic equipment and storage medium
CN114979695B (en) SRS-based multi-process live broadcast method and device, electronic equipment and storage medium
CN106210867A (en) A kind of method and apparatus of data sharing
CN115766695A (en) Websocket-based remote browsing method and device for real-time image of industrial camera
CN103702167A (en) Method and electronic equipment for displaying program preview
CN119065774B (en) A cloud desktop system and a data processing method based on the cloud desktop system
KR20180065432A (en) system and method for providing cloud based user interfaces
CN112752143A (en) Method and device for optimizing coding of streaming media server
JP7526414B1 (en) Server, method and computer program
CN119071343B (en) A cloud desktop system, method, device, and electronic device
CN103888850A (en) Network video playing method and terminal

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: 20220329