CN112422676A - Video playing method, device, equipment and computer readable storage medium - Google Patents

Video playing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN112422676A
CN112422676A CN202011284756.5A CN202011284756A CN112422676A CN 112422676 A CN112422676 A CN 112422676A CN 202011284756 A CN202011284756 A CN 202011284756A CN 112422676 A CN112422676 A CN 112422676A
Authority
CN
China
Prior art keywords
playing
video
browser
video data
http 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
CN202011284756.5A
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.)
JD Digital Technology Holdings Co Ltd
Original Assignee
JD Digital Technology Holdings 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 JD Digital Technology Holdings Co Ltd filed Critical JD Digital Technology Holdings Co Ltd
Priority to CN202011284756.5A priority Critical patent/CN112422676A/en
Publication of CN112422676A publication Critical patent/CN112422676A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses

Abstract

The invention discloses a video playing method, a video playing device, video playing equipment and a computer readable storage medium. The method comprises the following steps: after a video playing instruction is received, a hypertext transfer protocol (HTTP) server to be accessed is established in an operating system of playing equipment; starting a browser in the playing equipment; the kernel of the browser supports a breakpoint resume function; accessing the HTTP server through the browser, so that the HTTP server loads video data corresponding to the video playing instruction from a local storage device of the playing device and transmits the video data to the browser; and playing the video data corresponding to the video playing instruction through the browser. In the embodiment of the invention, the video data is stored in the local storage device in advance, so that the problem of video playing failure caused by instability of a network environment is avoided. Under the cooperation of the browser and the HTTP server, the invention enables the display of the video data to be continuously played at the place disconnected previously.

Description

Video playing method, device, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a video playing method, apparatus, device, and computer-readable storage medium.
Background
At present, the offline screen is mostly an android operating system, and thus the offline screen can adopt a native play mode to play video content, however, this play mode cannot satisfy an offline diversified video play scheme, for example: the format of the original playing mode is fixed, and the plate type cannot be defined by users, so that the view layout is single when the video is played, and the attractiveness is lacked.
To solve this technical problem, a World Wide Web (World Wide Web) playing mode may be used to play video content. Specifically, when a Video needs to be played, a Web application can be constructed by using a native WebView (Web page view) in an android operating system, a path of the Video to be played is loaded by using a Video tag through an HTML (Hyper Text Markup Language) technology, Video data is cached, and the Web application plays Video content according to the cached Video data, so that plate-type custom design can be performed through the WebView.
However, the Web playback mode is prone to a problem of video playback failure. The specific reasons are that: the Web playing mode needs superior network conditions when downloading video data, however, the offline network environment is complex, the data volume of the video data is often large, and the problem of downloading failure is easy to occur in the process of playing the video in real time, thereby causing video playing failure. In order to avoid the problems, an offline downloading mode can be adopted to obtain complete video data of a video to be played, however, the video data needs to be loaded when the video is played, but the data volume of the video data is large, so that the problem of loading failure of the video data is easy to occur, and the native WebView does not support a breakpoint resume function, once the problem of loading failure occurs, the video data needs to be re-cached from the beginning, so that the video playing failure is caused.
Disclosure of Invention
Embodiments of the present invention mainly aim to provide a video playing method, device, apparatus, and computer readable storage medium, so as to solve the problem that a Web playing mode is prone to video playing failure.
In view of the above technical problems, the embodiments of the present invention are solved by the following technical solutions:
the embodiment of the invention provides a video playing method, which is executed in playing equipment and comprises the following steps: after a video playing instruction is received, a hypertext transfer protocol (HTTP) server to be accessed is established in an operating system of the playing device; starting a browser in the playing equipment; the kernel of the browser supports a breakpoint resume function; accessing the HTTP server through the browser, so that the HTTP server loads video data corresponding to the video playing instruction from a local storage device of the playing device and transmits the video data to the browser; and playing the video data corresponding to the video playing instruction through the browser.
Wherein, the creating of the hypertext transfer protocol HTTP server to be accessed in the operating system comprises: creating an HTTP server in an operating system, and configuring an Internet Protocol (IP) address, a Uniform Resource Locator (URL) address and a port number for the HTTP server.
Wherein said accessing said HTTP server through said browser comprises: causing the browser to access the HTTP server via the URL address; wherein the URL address includes the IP address, the port number, and a storage path of the video data.
Wherein the method further comprises: before the HTTP server loads the video data corresponding to the video playing instruction from the local storage device of the playing device, the video data corresponding to the video playing instruction is obtained from an external network or an external memory connected to the playing device, and is stored in the local storage device of the playing device.
Wherein, after the creating of the HTTP server to be accessed in the operating system, further comprises: setting access authority for the HTTP server; wherein the access rights include: only allowing access to an internal network where the playing device is located; or, only allowing external network access connected with the playing device; or, access is allowed to an internal network where the playback device is located and access is allowed to an external network to which the playback device is connected.
Wherein, in the process of enabling the HTTP server to load the video data corresponding to the video playing instruction, the method includes: receiving loading progress data fed back by the HTTP server; and displaying loading progress prompt information corresponding to the loading progress data in a display interface.
Wherein, the playing the video data corresponding to the video playing instruction through the browser includes: and when the loading progress data fed back by the HTTP server is loaded, playing the video data corresponding to the video playing instruction through the browser.
The embodiment of the present invention further provides a video playing device, which is arranged at a side of a playing device, and includes: the creating module is used for creating a hypertext transfer protocol (HTTP) server to be accessed in an operating system of the playing equipment after receiving a video playing instruction; the starting module is used for starting a browser in the playing equipment; the kernel of the browser supports a breakpoint resume function; the access module is used for accessing the HTTP server through the browser, so that the HTTP server loads video data corresponding to the video playing instruction from a local storage device of the playing equipment and transmits the video data to the browser; and the playing module is used for playing the video data corresponding to the video playing instruction through the browser.
An embodiment of the present invention further provides a video playing device, where the video playing device includes: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the video playback method of any of the above.
An embodiment of the present invention further provides a computer-readable storage medium, where a video playing program is stored on the computer-readable storage medium, and when the video playing program is executed by a processor, the video playing program implements the steps of the video playing method according to any one of the above items.
The embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the video data can be stored in the local storage device, so that the problem of video playing failure caused by instability of a network environment is avoided. The embodiment of the invention creates a lightweight HTTP server in an operating system, because the HTTP protocol supports the breakpoint resume function, the loading of the video data can support the breakpoint resume function, and the kernel of the started browser supports the breakpoint resume function, so that the display of the video data can be continuously played at the place where the video data is disconnected at the previous time under the cooperation of the browser and the HTTP server.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flowchart of a video playing method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a video playing method according to an embodiment of the present invention;
fig. 3 is a block diagram of a video playback device according to an embodiment of the present invention;
fig. 4 is a block diagram of a video playback device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.
According to an embodiment of the present invention, a video playing method is provided. The execution subject of this embodiment is a playback device. Playback devices include, but are not limited to: an information display screen. The information display screen is, for example, an advertisement display screen.
Fig. 1 is a flowchart illustrating a video playing method according to an embodiment of the present invention.
Step S110, after receiving the video playing instruction, creating an HTTP (HyperText Transfer Protocol) server to be accessed in an operating system of the playing device.
And the video playing instruction is used for indicating the playing of the target video. And carrying the information of the target video in the video playing instruction. Such as the video playing instruction carrying the unique code of the target video.
The classes of operating systems include, but are not limited to: and (4) an android operating system.
The HTTP server to be accessed is a lightweight server embedded in the operating system.
Further, an HTTP server is created in the operating system, and an IP (Internet Protocol Address), a URL (Uniform Resource Locator) Address and a port number are configured for the HTTP server.
After the HTTP server is started, the URL address that can be loaded can be configured for the HTTP server, and the IP address and the port number can be configured. Such as: the IP address is 127.0.0.1.
In this embodiment, in order to increase the security of video playing, an access right may be set for the HTTP server; wherein the access rights include: only allowing access to an internal network where the playing device is located; or, only allowing external network access connected with the playing device; or, access is allowed to an internal network where the playback device is located and access is allowed to an external network to which the playback device is connected. When the access authority is only allowed to access the internal network where the playing device is located, the possibility that the playing device is illegally controlled is reduced.
Step S120, starting a browser in the playing equipment; the kernel of the browser supports a breakpoint resume function.
Starting the browser in the playing device comprises the following steps: and loading a kernel of a browser in the playing equipment, starting WebView of the kernel, and starting a breakpoint resume function of the WebView.
Wherein, the kernel of the browser can be an X5 kernel. The X5 kernel supports a breakpoint resume function.
Breakpoint resuming refers to the transfer of data from where the transmission was last interrupted, rather than being re-transferred from the beginning of the video data.
Step S130, accessing the HTTP server through the browser, so that the HTTP server loads the video data corresponding to the video playing instruction from the local storage of the playing device and transmits the video data to the browser.
The local storage may be a local disk of the playback device.
Before the HTTP server is caused to load the video data corresponding to the video playing instruction from the local storage device of the playing device, the video data corresponding to the video playing instruction may be acquired from an external network or an external memory connected to the playing device and stored in the local storage device of the playing device.
In this embodiment, the browser is caused to access the HTTP server through the URL address. The URL address includes the IP address, the port number, and a storage path of the video data. And when the HTTP server is accessed, the video data is loaded from the local storage device of the playing equipment through the HTTP server according to the storage path of the video data.
Furthermore, the HTTP server complies with the HTTP protocol, and the HTTP protocol supports the breakpoint resume function, so that the embodiment of the present invention can load the video data corresponding to the video play instruction in a breakpoint resume manner. Because the local service (native WebView) of the playing device cannot realize the breakpoint resume function, the open-source HTTP server is transplanted to start the breakpoint resume function, so that all video data can be resumed by the breakpoint, and the problem that the video data must be reloaded from the beginning under the condition of loading failure is avoided.
In this embodiment, the video data corresponding to the video playing instruction is pre-stored in the local storage device of the playing device. Therefore, the problem of video data downloading failure caused by unstable network environment can be avoided. Of course, the embodiment of the present invention is not limited to this, and the video data corresponding to the video playing instruction may also be downloaded from an external network connected to the playing device to the local storage device of the playing device in real time when the network transmission state meets the preset condition.
Network transmission states include, but are not limited to: network download speed, network delay time and network packet loss rate. The preset conditions include, but are not limited to: the network downloading speed is greater than a preset downloading speed threshold; the network delay time is less than a preset delay time threshold; and the network packet loss rate is smaller than a preset packet loss rate threshold.
Specifically, if the video data is pre-stored in the local storage device, the video data corresponding to the video playing instruction may be obtained from an external network or an external memory connected to the playing apparatus and stored in the local storage device of the playing apparatus before the HTTP server is caused to load the video data corresponding to the video playing instruction from the local storage device of the playing apparatus.
Further, before the video playing instruction is received, a network transmission state may be detected, and when the network transmission state meets a preset condition, video data corresponding to the video playing instruction is obtained from an external network connected to the playing device and stored in a local storage device of the playing device.
In this embodiment, in a process of loading video data corresponding to the video playing instruction by the HTTP server, receiving loading progress data fed back by the HTTP server; and displaying loading progress prompt information corresponding to the loading progress data in a display interface.
The loading progress data may be a percentage of the video data that has been loaded. When the percentage is 100%, it indicates that the video data has been loaded. When the percentage is less than 100%, it indicates that the video data is not completely loaded.
The loading progress cue information is used to cue the percentage of the video data that has been loaded. The loading progress prompt information is a percentage progress bar and/or a percentage numerical value.
Step S140, playing the video data corresponding to the video playing instruction through the browser.
And when the loading progress data fed back by the HTTP server is loaded, playing the video data corresponding to the video playing instruction through the browser.
In the embodiment of the invention, the video data can be stored in the local storage device, so that the problem of video playing failure caused by instability of a network environment is avoided. The embodiment of the invention creates a lightweight HTTP server in an operating system, because the HTTP protocol supports the breakpoint resume function, the loading of the video data can support the breakpoint resume function, and the kernel of the started browser supports the breakpoint resume function, so that the display of the video data can be continuously played at the place where the video data is disconnected at the previous time under the cooperation of the browser and the HTTP server.
Furthermore, the embodiment of the invention loads and displays the video data through the breakpoint resume function, can improve the playing efficiency of the video data with large data volume, and avoids the problem that the native WebView in the operating system loads the video data slowly and is easy to cause loading failure.
Furthermore, the embodiment of the invention uses WebView of the browser kernel to display video data, but not native WebView of the operating system to display video data, so that the page view can be designed by self according to requirements, and the attractiveness of the view is improved.
Furthermore, the embodiment of the invention loads the video data by using the HTTP server, and when the format of the video data is different from the format supported by the browser, the format of the video data can be adjusted to the format supported by the browser, so that the problem that the native WebView video format is limited is avoided.
Furthermore, the embodiment of the invention can download the video data to the local storage device of the playing device under the condition of better network state, thereby preventing the problem of video data download failure when the network state is not good.
For example: fig. 2 is a schematic diagram illustrating a video playing method according to an embodiment of the present invention.
In a playback apparatus comprising: a front-end Web application (corresponding to a browser) and a local static service (corresponding to video data stored in an HTTP server and a local storage).
Before playing video data by using the playing device, the static resource file is downloaded and decompressed to the target of the local storage device. The resource file includes video data. The video data includes: HTML source code and video data files. The video data serves as a static resource in the playback device.
When the video data is played by using the playing device, a front-end Web application and a static server (corresponding to an HTTP server) are started. The static server is configured with a URL address, an IP address and a port number.
The method comprises the steps that WebView in front-end Web application loads an interface of HTTP application service, a URL address needing to be loaded is input through the interface of the HTTP application service, the WebView transmits the URL address to an X5 kernel of the front-end Web application, the X5 kernel accesses a static server according to the URL address, the static server loads corresponding video data in static resources according to a storage path in the URL and returns the video data to an X5 kernel, and the X5 kernel transmits the video data to the WebView for rendering and displaying, so that the video data are played. In the process, breakpoint transmission can be performed between the X5 kernel and the static server, that is, video data continues to be loaded from the position of the previous interrupt.
In the process of loading video data by the static server, the loading progress data can be determined and returned to the X5 kernel, the X5 kernel generates corresponding loading progress prompt information according to the loading progress data, and the X5 kernel transmits the loading progress prompt information to WebView for display.
The embodiment of the invention also provides a video playing device. The video playing device is arranged on the playing equipment side. Fig. 3 is a block diagram of a video playback device according to an embodiment of the present invention.
The video playing device comprises: a creation module 310, an initiation module 320, an access module 330, and a play module 340.
A creating module 310, configured to create, in the operating system of the playback device, an HTTP server to be accessed after receiving the video playback instruction.
A starting module 320, configured to start a browser in the playback device; the kernel of the browser supports a breakpoint resume function.
An accessing module 330, configured to access the HTTP server through the browser, so that the HTTP server loads the video data corresponding to the video playing instruction from the local storage of the playing device and transmits the video data to the browser.
The playing module 340 is configured to play the video data corresponding to the video playing instruction through the browser.
The functions of the apparatus according to the embodiment of the present invention have been described in the above method embodiments, so that reference may be made to the related descriptions in the foregoing embodiments for details which are not described in the embodiment of the present invention, and further details are not described herein.
The embodiment provides a video playing device. Fig. 4 is a block diagram of a video playback device according to an embodiment of the present invention.
In this embodiment, the video playing device includes, but is not limited to: a processor 410, a memory 420.
The processor 410 is configured to execute the video playing program stored in the memory 420 to implement the video playing method described above.
Specifically, the processor 410 is configured to execute the video playing program stored in the memory 420 to implement the following steps: after a video playing instruction is received, a hypertext transfer protocol (HTTP) server to be accessed is established in an operating system of the playing device; starting a browser in the playing equipment; the kernel of the browser supports a breakpoint resume function; accessing the HTTP server through the browser, so that the HTTP server loads video data corresponding to the video playing instruction from a local storage device of the playing device and transmits the video data to the browser; and playing the video data corresponding to the video playing instruction through the browser.
Wherein, the creating of the hypertext transfer protocol HTTP server to be accessed in the operating system comprises: creating an HTTP server in an operating system, and configuring an Internet Protocol (IP) address, a Uniform Resource Locator (URL) address and a port number for the HTTP server.
Wherein said accessing said HTTP server through said browser comprises: causing the browser to access the HTTP server via the URL address; wherein the URL address includes the IP address, the port number, and a storage path of the video data.
Wherein the method further comprises: before the HTTP server loads the video data corresponding to the video playing instruction from the local storage device of the playing device, the video data corresponding to the video playing instruction is obtained from an external network or an external memory connected to the playing device, and is stored in the local storage device of the playing device.
Wherein, after the creating of the HTTP server to be accessed in the operating system, further comprises: setting access authority for the HTTP server; wherein the access rights include: only allowing access to an internal network where the playing device is located; or, only allowing external network access connected with the playing device; or, access is allowed to an internal network where the playback device is located and access is allowed to an external network to which the playback device is connected.
Wherein, in the process of enabling the HTTP server to load the video data corresponding to the video playing instruction, the method includes: receiving loading progress data fed back by the HTTP server; and displaying loading progress prompt information corresponding to the loading progress data in a display interface.
Wherein, the playing the video data corresponding to the video playing instruction through the browser includes: and when the loading progress data fed back by the HTTP server is loaded, playing the video data corresponding to the video playing instruction through the browser.
The embodiment of the invention also provides a computer readable storage medium. The computer-readable storage medium herein stores one or more programs. Among other things, computer-readable storage media may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
When one or more programs in the computer-readable storage medium are executable by one or more processors to implement the video playback method described above.
Specifically, the processor is configured to execute a video playing program stored in the memory to implement the following steps: after a video playing instruction is received, a hypertext transfer protocol (HTTP) server to be accessed is established in an operating system of the playing device; starting a browser in the playing equipment; the kernel of the browser supports a breakpoint resume function; accessing the HTTP server through the browser, so that the HTTP server loads video data corresponding to the video playing instruction from a local storage device of the playing device and transmits the video data to the browser; and playing the video data corresponding to the video playing instruction through the browser.
Wherein, the creating of the hypertext transfer protocol HTTP server to be accessed in the operating system comprises: creating an HTTP server in an operating system, and configuring an Internet Protocol (IP) address, a Uniform Resource Locator (URL) address and a port number for the HTTP server.
Wherein said accessing said HTTP server through said browser comprises: causing the browser to access the HTTP server via the URL address; wherein the URL address includes the IP address, the port number, and a storage path of the video data.
Wherein the method further comprises: before the HTTP server loads the video data corresponding to the video playing instruction from the local storage device of the playing device, the video data corresponding to the video playing instruction is obtained from an external network or an external memory connected to the playing device, and is stored in the local storage device of the playing device.
Wherein, after the creating of the HTTP server to be accessed in the operating system, further comprises: setting access authority for the HTTP server; wherein the access rights include: only allowing access to an internal network where the playing device is located; or, only allowing external network access connected with the playing device; or, access is allowed to an internal network where the playback device is located and access is allowed to an external network to which the playback device is connected.
Wherein, in the process of enabling the HTTP server to load the video data corresponding to the video playing instruction, the method includes: receiving loading progress data fed back by the HTTP server; and displaying loading progress prompt information corresponding to the loading progress data in a display interface.
Wherein, the playing the video data corresponding to the video playing instruction through the browser includes: and when the loading progress data fed back by the HTTP server is loaded, playing the video data corresponding to the video playing instruction through the browser.
The above description is only an example of the present invention, and is not intended to limit the present invention, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (10)

1. A video playback method, characterized in that the steps performed at a playback device include:
after a video playing instruction is received, a hypertext transfer protocol (HTTP) server to be accessed is established in an operating system of the playing device;
starting a browser in the playing equipment; the kernel of the browser supports a breakpoint resume function;
accessing the HTTP server through the browser, so that the HTTP server loads video data corresponding to the video playing instruction from a local storage device of the playing device and transmits the video data to the browser;
and playing the video data corresponding to the video playing instruction through the browser.
2. The method of claim 1, wherein creating a hypertext transfer protocol (HTTP) server to be accessed in an operating system comprises:
creating an HTTP server in an operating system, and configuring an Internet Protocol (IP) address, a Uniform Resource Locator (URL) address and a port number for the HTTP server.
3. The method of claim 2, wherein said accessing said HTTP server via said browser comprises:
causing the browser to access the HTTP server via the URL address; wherein the URL address includes the IP address, the port number, and a storage path of the video data.
4. The method of claim 1, further comprising:
before the HTTP server loads the video data corresponding to the video playing instruction from the local storage device of the playing device, the video data corresponding to the video playing instruction is obtained from an external network or an external memory connected to the playing device, and is stored in the local storage device of the playing device.
5. The method of claim 1, after creating the HTTP server to be accessed in the operating system, further comprising:
setting access authority for the HTTP server; wherein the access rights include:
only allowing access to an internal network where the playing device is located; alternatively, the first and second electrodes may be,
allowing only external network access to which the playback device is connected; alternatively, the first and second electrodes may be,
allowing access at an internal network where the playback device is located and allowing access at an external network to which the playback device is connected.
6. The method according to claim 1, wherein in the process of causing the HTTP server to load the video data corresponding to the video playing instruction, the method includes:
receiving loading progress data fed back by the HTTP server;
and displaying loading progress prompt information corresponding to the loading progress data in a display interface.
7. The method according to claim 6, wherein the playing the video data corresponding to the video playing instruction through the browser includes:
and when the loading progress data fed back by the HTTP server is loaded, playing the video data corresponding to the video playing instruction through the browser.
8. A video playing device is arranged on a playing device side and comprises:
the creating module is used for creating a hypertext transfer protocol (HTTP) server to be accessed in an operating system of the playing equipment after receiving a video playing instruction;
the starting module is used for starting a browser in the playing equipment; the kernel of the browser supports a breakpoint resume function;
the access module is used for accessing the HTTP server through the browser, so that the HTTP server loads video data corresponding to the video playing instruction from a local storage device of the playing equipment and transmits the video data to the browser;
and the playing module is used for playing the video data corresponding to the video playing instruction through the browser.
9. A video playback device, characterized in that the video playback device comprises: memory, processor and computer program stored on the memory and executable on the processor, the computer program when executed by the processor implementing the steps of the video playback method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, wherein a video playback program is stored on the computer-readable storage medium, and when executed by a processor, the video playback program implements the steps of the video playback method according to any one of claims 1 to 7.
CN202011284756.5A 2020-11-17 2020-11-17 Video playing method, device, equipment and computer readable storage medium Pending CN112422676A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011284756.5A CN112422676A (en) 2020-11-17 2020-11-17 Video playing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011284756.5A CN112422676A (en) 2020-11-17 2020-11-17 Video playing method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112422676A true CN112422676A (en) 2021-02-26

Family

ID=74831474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011284756.5A Pending CN112422676A (en) 2020-11-17 2020-11-17 Video playing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112422676A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205678A (en) * 2021-11-16 2022-03-18 湖南新云网科技有限公司 Video access method, access device, terminal and computer readable storage medium
CN114339400A (en) * 2021-12-28 2022-04-12 上海众源网络有限公司 Video frame extraction method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873938A (en) * 2012-12-14 2014-06-18 联想(北京)有限公司 Video-tag-based webpage video full-screen playing method and browser of mobile terminal
CN105573768A (en) * 2014-10-09 2016-05-11 腾讯科技(深圳)有限公司 Method and apparatus for data processing by using application kernel
CN105791994A (en) * 2014-12-25 2016-07-20 深圳Tcl数字技术有限公司 Webkit browser video playing method and device based on Android system
CN109460216A (en) * 2018-11-14 2019-03-12 四川长虹电器股份有限公司 A method of TV generic data service is provided on TV for WEB page
CN109948086A (en) * 2017-11-30 2019-06-28 腾讯科技(武汉)有限公司 Web data processing method, device, storage medium and computer equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873938A (en) * 2012-12-14 2014-06-18 联想(北京)有限公司 Video-tag-based webpage video full-screen playing method and browser of mobile terminal
CN105573768A (en) * 2014-10-09 2016-05-11 腾讯科技(深圳)有限公司 Method and apparatus for data processing by using application kernel
CN105791994A (en) * 2014-12-25 2016-07-20 深圳Tcl数字技术有限公司 Webkit browser video playing method and device based on Android system
CN109948086A (en) * 2017-11-30 2019-06-28 腾讯科技(武汉)有限公司 Web data processing method, device, storage medium and computer equipment
CN109460216A (en) * 2018-11-14 2019-03-12 四川长虹电器股份有限公司 A method of TV generic data service is provided on TV for WEB page

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205678A (en) * 2021-11-16 2022-03-18 湖南新云网科技有限公司 Video access method, access device, terminal and computer readable storage medium
CN114339400A (en) * 2021-12-28 2022-04-12 上海众源网络有限公司 Video frame extraction method and device, electronic equipment and storage medium
CN114339400B (en) * 2021-12-28 2024-02-02 上海众源网络有限公司 Video frame extraction method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107203555B (en) Page loading processing method and device
JP4857349B2 (en) Method, system, and computer program for providing asynchronous portal pages within a portal system
US20180338166A1 (en) Remotely validating a webpage video stream
US20140143644A1 (en) Web browser page transition acceleration
JP5222427B1 (en) Network system and program
US8516041B1 (en) Pre-fetching asynchronously requested content
US9286142B2 (en) Methods and systems for supporting a rendering API using a runtime environment
US20110191431A1 (en) Method and system for updating display screens
CN112422676A (en) Video playing method, device, equipment and computer readable storage medium
CN111367518B (en) Page layout method, page layout device, computing equipment and computer storage medium
US20160371172A1 (en) Techniques for evaluating applications through use of an auxiliary application
CN110267077B (en) Offline caching method, device, terminal and readable storage medium
EP3125541A1 (en) Data acquisition and interaction method, set top box, server and multimedia system
JP5643449B1 (en) Server and method for displaying display screen on terminal device
US9785560B2 (en) Scene-isolated internet application
US11700435B2 (en) Systems and methods of universal video embedding
CN107391132B (en) Method, device and equipment for target App to execute preset action
CN112394952B (en) Method and system for dynamically generating Launcher based on Hybrid App and storage medium
CN114461952A (en) Cache data processing method, client and storage medium
US20170094026A1 (en) Configuring service endpoints in native client applications
US20170244649A1 (en) Method of and a system for providing access to a file to a web resource
US10148388B1 (en) Digital data mutation detector and controller in web application interface
CN113472752B (en) Authority processing method and device, electronic equipment and storage medium
US10880583B2 (en) Method, apparatus, terminal, and readable storage medium for offline caching
CN109918137B (en) Operating system suitable for electronic equipment and electronic equipment

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Jingdong Technology Holding Co.,Ltd.

Address before: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant before: Jingdong Digital Technology Holding Co., Ltd