CN111654711A - Video playing control method, video playing method and device - Google Patents

Video playing control method, video playing method and device Download PDF

Info

Publication number
CN111654711A
CN111654711A CN202010552796.7A CN202010552796A CN111654711A CN 111654711 A CN111654711 A CN 111654711A CN 202010552796 A CN202010552796 A CN 202010552796A CN 111654711 A CN111654711 A CN 111654711A
Authority
CN
China
Prior art keywords
video
server
electronic device
mec
mec 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
CN202010552796.7A
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.)
Samsung Electronics China R&D Center
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics China R&D Center
Samsung Electronics 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 Samsung Electronics China R&D Center, Samsung Electronics Co Ltd filed Critical Samsung Electronics China R&D Center
Priority to CN202010552796.7A priority Critical patent/CN111654711A/en
Publication of CN111654711A publication Critical patent/CN111654711A/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/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2181Source of audio or video content, e.g. local disk arrays comprising remotely distributed storage units, e.g. when movies are replicated over a plurality of video servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2183Cache memory
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The disclosure provides a video playing control method, a video playing method and a video playing device. The video playback control method may be performed by a mobile edge computing MEC server, and may include the steps of: downloading and storing at least a part of each video in a CDN server of a content delivery network in advance; receiving a video playing request for acquiring a video from an electronic device; providing at least a portion of the video to the electronic device in response to the video playback request.

Description

Video playing control method, video playing method and device
Technical Field
The present disclosure relates to the field of video playing technologies and wireless technologies, and in particular, to a video playing method for an electronic device, a video playing control method for a mobile edge computing MEC server, and an apparatus thereof.
Background
At present, the screen and resolution of mobile terminals (such as mobile phones) and televisions are getting larger, and the quality requirement of the video for users is also getting higher, so that when the users watch the video, the users may be provided with bad watching experience due to the increased network bandwidth delay. In addition, a user is used to quickly browse different videos when watching videos, and finally selects which video to watch according to the previewed content, but at present, the video is not suitable for the user to quickly browse the video content due to long video buffering time when switching videos.
Disclosure of Invention
Exemplary embodiments of the present disclosure provide a video playback control method, a video playback method, and apparatuses thereof, which solve at least the above technical problems and other technical problems not mentioned above, and provide the following advantageous effects.
An aspect of the present disclosure is to provide a video playback control method performed by a mobile edge computing MEC server, which may include: downloading and storing at least a part of each video in a CDN server of a content delivery network in advance; receiving a video playing request for acquiring a video from an electronic device; providing at least a portion of the video to the electronic device in response to the video playback request.
The video playing control method may further include: in response to a user of the electronic device viewing the video for more than a predetermined length of time, providing complete video data of the video to the electronic device.
The video playing control method may further include downloading and storing complete video data of a hotspot video in advance from a CDN server, wherein the step of providing the complete video data of the video to the electronic device may include: in response to the video belonging to a hotspot video, providing complete video data of the video to the electronic device; and responding to the fact that the video does not belong to the hot video, and redirecting to a CDN server to obtain complete video data of the video.
In the video playing control method, the step of redirecting to a CDN server to obtain complete video data of the video may include: downloading and storing complete video data of the video from a CDN server based on the fact that the number of users playing the video exceeds a preset threshold value; based on the number of the users not exceeding the preset threshold, redirecting the electronic equipment to a CDN server, so that the electronic equipment obtains complete video data of the video from the CDN server.
The video playing control method may further include: and updating the hotspot video periodically.
In the video playback control method, the step of providing at least a part of the video to the electronic device may include: at least a portion of each of the videos is provided in the form of a variable resolution video stream.
The video playing control method may further include: downloading and storing at least a portion of the video from a CDN server when the video is not present in the MEC server.
The video playing control method may further include: generating a preview image for the each video based on at least a portion of the each video; providing a preview image required by a video application of the electronic device in response to the video application being launched.
Another aspect of the present disclosure is to provide a video playing method, which may include: sending a video playing request for acquiring a video to a Mobile Edge Computing (MEC) server; and in response to the video playing request, obtaining at least a part of the video from the MEC server, wherein the MEC server downloads and stores at least a part of each video in a Content Delivery Network (CDN) server in advance.
The video playing method may further include: in response to a video application of the electronic device being launched, loading, from the MEC server, preview images required by the video application.
The video playing method may further include: and acquiring complete video data of the video from the MEC server in response to the fact that the time length of the video watched by the user exceeds a preset time length.
In the video playing method, the step of acquiring the complete video data of the video may include: responding to the fact that the video belongs to the hot video, and acquiring complete video data of the video from the MEC server; responding to that the video does not belong to the hotspot video, and redirecting to a CDN server through the MEC server to obtain complete video data of the video, wherein the MEC server downloads and stores the complete video data of the hotspot video from the CDN server in advance.
Another aspect of the present disclosure is to provide a server, which may include: a memory; a transceiver; and at least one processor configured to: downloading at least a portion of each video in a Content Delivery Network (CDN) server in advance and storing the at least a portion of each video in a memory; receiving, via a transceiver, a video play request for obtaining a video from an electronic device; providing, via a transceiver, at least a portion of the video to the electronic device in response to the video playback request.
Another aspect of the present disclosure is to provide an electronic device, which may include: a display; a transceiver; and at least one processor configured to: sending a video playing request for acquiring a video to a Mobile Edge Computing (MEC) server via a transceiver; and in response to the video playing request, obtaining at least a portion of the video from the MEC server via a transceiver, wherein the MEC server downloads and stores at least a portion of each video in a Content Delivery Network (CDN) server in advance.
According to another exemplary embodiment of the present disclosure, there is provided a system comprising at least one computing device and at least one storage device storing instructions, wherein the instructions, when executed by the at least one computing device, cause the at least one computing device to perform the video playback control method or the video playback method as described above.
According to an exemplary embodiment of the present disclosure, there is provided a computer-readable storage medium storing instructions that, when executed by at least one computing device, cause the at least one computing device to perform the video playback control method or the video playback method as described above.
The device and the method avoid network congestion by accessing the MEC server, improve the access response speed of the user, meet the requirement of the user on fast browsing and switching videos, and reduce the time for the user to wait for the videos.
Additional aspects and/or advantages of the present general inventive concept will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the general inventive concept.
Drawings
These and/or other aspects and advantages of the present disclosure will become apparent and more readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic diagram showing a CDN server-based video playback architecture;
fig. 2 is a schematic diagram illustrating an MEC-based video playback structure according to an exemplary embodiment of the present disclosure;
fig. 3 is a flowchart illustrating a video play control method for an MEC server according to an exemplary embodiment of the present disclosure;
fig. 4 is a flowchart illustrating a video playing method for an electronic device according to an exemplary embodiment of the present disclosure;
fig. 5 is a schematic flow chart diagram illustrating a video playback method according to an exemplary embodiment of the present disclosure;
fig. 6 is a schematic diagram illustrating an MEC server according to an exemplary embodiment of the present disclosure;
fig. 7 is a schematic diagram illustrating an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of the embodiments of the disclosure as defined by the claims and their equivalents. Various specific details are included to aid understanding, but these are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. In addition, descriptions of well-known functions and constructions are omitted for clarity and conciseness.
Currently, existing video resources are all stored in a content delivery network CDN server, and when a user wants to browse/watch a video, a user device needs to connect to the CDN server through the internet, as shown in fig. 1, which may cause network congestion and reduce a response speed for user access. In addition, if multiple users watch the same video at the same time in the same base station, network resources need to be reused, which also causes network congestion and resource waste. In addition, when a video application of the electronic device is started, the video application requires DNS resolution and internet connection, which results in a slow loading speed of a preview image of a video.
In view of the above and other problems, the present disclosure provides a MEC-based video playback control technique and a video playback technique, as shown in fig. 2. Fig. 2 illustrates an MEC-based video playback structure according to an exemplary embodiment of the present disclosure. In fig. 2, the video resources are deployed in the MEC server, and a plurality of user devices may share the video in the MEC server. The MEC server 600 may be configured/deployed to share the same video resource by multiple electronic devices, which may avoid duplicate production and wasted storage space. The user equipment can directly obtain the video from the MEC server without connecting to the CDN server through the Internet, thereby completing the fast switching and playing of the video. The MEC-based video playback control method and the video playback method will be described in detail below with reference to fig. 3 to 5.
Fig. 3 is a flowchart illustrating a video play control method for an MEC server according to an exemplary embodiment of the present disclosure. The video playback control method may be executed by the MEC server, or may be executed as a part of the MEC server.
Referring to fig. 3, at least a portion of each video in a content delivery network CDN server is downloaded and stored in advance by a MEC server at step S301. The MEC server may intercept and download the beginning piece of each of the entire videos included in the CDN server from the CDN server in advance and then store the beginning piece of each video in the memory of the MEC server. For example, the MEC server may intercept a video clip of the first five minutes of each video from the CDN server and then store the intercepted video clip of each video.
Furthermore, the MEC server may make at least a portion of each video intercepted in the form of a variable resolution video stream, enabling faster loading of the electronic device when obtaining the video from the MEC server. For example, the beginning segment of each intercepted video can be made into a video stream of DASH, HLS, etc. according to the protocols of DASH, HLS, etc. However, the above examples are merely exemplary, and the present disclosure is not limited thereto.
According to an embodiment of the present disclosure, the MEC server may download and store the complete video data of the current hotspot video in addition to downloading and storing the beginning segment of each video in the CDN server. In consideration of the huge access amount of the hotspot videos, the complete video data of the hotspot videos can be downloaded in advance, and network congestion caused by the fact that a large number of users access the CDN server independently is avoided. And considering that the hot videos are time-efficient, the MEC server may update the hot videos periodically.
Further, the MEC server may also generate preview images/thumbnails for the respective videos from at least a portion (such as the beginning clip) of each video stored. When a user starts a video application of the electronic equipment, the MEC server can quickly provide a video preview image required by the video application to the video application, so that the white screen condition is avoided. For example, the MEC server may provide a minimum resolution preview image to the video application.
In step S302, a video play request for acquiring a video is received from an electronic device. The video play request may include, but is not limited to, a video ID. When a user starts a video application of the electronic device, the video application may connect to the MEC server. Here, the video application may be connected with the MEC server via a wired network or a wireless network. When a user selects a certain video in a video application, the MEC server may receive a video play request for acquiring the video.
In step S303, in response to the video play request, the MEC server may provide at least a portion of the video corresponding to the video play request to the electronic device. Upon receiving the video play request, the MEC server may search for and determine whether the video is stored in the MEC server based on, for example, the video ID. When the video is present in the MEC server, the MEC server may provide at least a portion of the video (such as a beginning segment of the video) to the video application. The electronic device may load at least a portion of the video from the MEC server such that the user may view at least a portion of the requested video.
When the video does not exist in the MEC server, the MEC server may download and store at least a portion of the video from the CDN server to provide the at least a portion of the video to the electronic device. For example, the MEC server may automatically download and cache the beginning segment of the requested video from the CDN server.
When providing a corresponding video to an electronic device, the MEC server may determine whether to provide complete video data of the video to the electronic device according to a length of time that a user of the electronic device viewed the video. For example, when the user watches a corresponding video for more than half the duration of the beginning segment of the video stored in the MEC server, the MEC server may continue to provide the electronic device with the full video data of the video. However, the above examples are only exemplary, and different predetermined time periods may be set according to user requirements.
According to an embodiment of the present disclosure, in a case where complete video data of a hot video is deployed in an MEC server in advance, the MEC server may determine in which manner to continue to provide the rest of video data of the video to an electronic device according to whether a currently viewed video belongs to the hot video. Specifically, in response to the video belonging to the hotspot video, the MEC server may provide the full video data of the video directly to the electronic device. In response to the video not belonging to the hotspot video, the MEC server may redirect to a CDN server to obtain complete video data for the video.
Upon redirection to the CDN server to obtain the complete video, the MEC server may download and store the remaining video portions of the corresponding video from the CDN server, and then the electronic device obtains the remaining video portions of the video from the MEC server.
Optionally, when the electronic device is redirected to the CDN server to obtain the complete video, the MEC server may redirect the electronic device to the CDN server, so that the electronic device obtains complete video data of the corresponding video from the CDN server.
When the electronic device is redirected to the CDN server to obtain the complete video, the MEC server may determine, according to the number of users currently watching the corresponding video, what manner to use to enable the electronic device to obtain the complete video data of the video.
As an example, based on the number of users playing the corresponding video exceeding a predetermined threshold, the MEC server may download and store the complete video of the video from the CDN server, and then the electronic device may continue to retrieve the remaining video portion of the video from the MEC server. Based on that the number of users playing the corresponding video does not exceed the predetermined threshold, the MEC server may redirect the electronic device to the CDN server, so that the electronic device obtains a complete video of the video from the CDN server. Here, the predetermined threshold may be set according to a server configuration or the like.
Alternatively, the manner in which the electronic device is caused to acquire the complete video data of the video may be determined according to the access amount of the MEC server.
When a plurality of users watch the same video at the same time on the same MEC server, the MEC server can be connected with the CDN server to download the video and store the video to the MEC server, so that each user device does not need to download data from the CDN server independently, the broadband is saved, and the video playing is smoother.
According to the embodiment of the disclosure, the video resource of the MEC server can be shared by a plurality of user equipment. When a plurality of users watch the same video at the same time, the MEC server can download and provide the video to the user equipment from the CDN server, and the user equipment directly downloads the related video from the MEC server without redirecting to the CDN server, so that the time delay is reduced, and the network resources are saved. In addition, since the video resource of the MEC server can be shared by a plurality of user equipments, the waste of the manufacturing cost and the storage space can be avoided.
Fig. 4 is a flowchart illustrating a video playing method for an electronic device according to an exemplary embodiment of the present disclosure. The video playing method can be executed by the electronic equipment. The electronic device of the present disclosure may be any electronic device having a video playback function.
In accordance with embodiments of the present disclosure, an electronic device may include, for example, but not limited to, a portable communication device (e.g., a smartphone), a computer device, a portable multimedia device, a wearable device, and the like. However, the electronic device is not limited to those mobile terminals described above.
Referring to fig. 4, when a user selects a certain video among video applications of an electronic device, the video application may transmit a video play request for acquiring the video to a mobile edge computing MEC server at step S401. The video play request may include, but is not limited to, an ID of the corresponding video.
In addition, when the user starts the video application of the electronic device, the video application is connected with the MEC server, and a pre-generated video preview image can be acquired from the MEC server so as to be used for browsing and selecting the video content which the user wants to watch. When loading the preview image, the video application may automatically select the minimum resolution source to load the preview image. The pre-generated preview image is directly loaded from the MEC server through the video application, so that the occupation of internet network resources is avoided, and the loading speed is increased.
In step S402, in response to the video play request, the video application may obtain at least a portion of the requested video from the MEC server. When the user watches the current video for a time period exceeding a predetermined time period, the video application may continue to acquire/download the remaining video data of the current video from the MEC server.
In addition, under the condition that the MEC server connected with the electronic device downloads and stores the complete video of the hot videos in advance, if the currently watched video is the hot video, the MEC server has complete video resources, and at this time, the video application of the electronic device does not need to be connected with the CDN server, but continues to acquire/download the rest of video data of the current video from the MEC server. If the current video is a non-hotspot video, after the video application finishes downloading the video segments stored on the MEC server, the MEC server downloads the rest segments of the corresponding video from the CDN server, and then the video application continues to be downloaded from the MEC server. Optionally, if the previous video is a non-hotspot video, after the video application finishes downloading the video segment stored on the MEC server, the video application may redirect to the CDN server to continue downloading the remaining segments of the corresponding video.
When a user browses each video in the video application or the user quickly switches different videos, the video application can directly download the stored video segments from the MEC server, and the video application does not need to be connected to the CDN server, so that the connection/switching and downloading speed is improved, and the waste of network resources is reduced.
Fig. 5 is a schematic flowchart illustrating a video playing method according to an exemplary embodiment of the present disclosure.
Referring to fig. 5, in step S501, the MEC server may download and store the beginning segment of each video in the CDN server and the complete video data of the hotspot video in advance from the CDN server.
In addition, the MEC server may also periodically update the hotspot video. Optionally, the MEC server may also periodically download/update the beginning segment of the new video, so that more video resources are included in the MEC server.
In step S502, a video application of the electronic device is started. The video application may include various types of video applications.
In step S503, the video application of the electronic device may wirelessly connect with the MEC server, and the video application may acquire preview images/thumbnails of all videos required for the video application from the MEC server.
The MEC server intercepts and downloads the beginning segments of all videos from the CDN server in advance, and thus, a corresponding preview image can be generated based on the beginning segment of each video in advance. When a user starts a video application, the video application can directly acquire preview images of all videos required by the video application from the MEC server to realize rapid loading of the preview images of the videos, so that the situation that long waiting time is needed for displaying the preview images when the preview images of all the videos in the video application are loaded simultaneously is avoided. In particular, when a user rapidly turns pages in a video application, a corresponding preview image is loaded from the MEC server through the video application, and white screen can be avoided.
In step S504, when the user selects a video desired to be viewed through the video application of the electronic device, the video application transmits a video play request for acquiring the corresponding video to the MEC server. The video play request may include, but is not limited to, an ID of the corresponding video.
In step S505, in response to the video play request, the MEC server provides the beginning segment of the requested video. In the present disclosure, in order to meet the requirement of a user in fast browsing a video, the MEC server may provide the beginning segment of the video in the form of a variable resolution video stream when a video application downloads a video segment, so as to complete fast playing and switching of the video.
In addition, when the video requested by the user does not exist in the MEC server, the MEC server may download the beginning segment of the corresponding video from the CDN server according to the video ID in the video play request and store the beginning segment in the memory of the MEC server for the video application to load the segment of the video from the MEC server.
At step S506, the MEC server determines whether the user watches the corresponding video for more than a predetermined time, and if it is determined that the user watches the corresponding video for more than the predetermined time, proceeds to step S507, otherwise the MEC server may receive a new video playing request for acquiring another video, at which time the MEC server continues to send the beginning segment of the new video to the video application for the user to browse the other video.
In step S507, the MEC server determines whether the video currently watched by the user is a hot video, and when the currently watched video is the hot video, in step S508, the MEC server provides the video application with the complete video data of the video for the user to continue watching.
When the currently viewed video is not a hotspot video, since the MEC does not store the complete video data of the non-hotspot video, the MEC server may perform a redirection operation so that the video application acquires the complete video data of the video.
When performing the redirection operation, the MEC server may perform different operations according to the number of users viewing the current video.
In step S509, the MEC server may determine whether the number of users currently viewing the video exceeds a predetermined number, and proceed to step S510 when the number of users viewing the same video exceeds the predetermined number, otherwise proceed to step S511.
In step S510, based on the number of users playing the current video exceeding the predetermined threshold, the MEC server downloads and stores the complete video of the video from the CDN server, and then may continue to provide the video application with the complete video data of the video, i.e., the video application may continue to obtain the remaining video data of the video from the MEC server.
In step S511, based on that the number of users does not exceed the predetermined threshold, the MEC server redirects the electronic device to the CDN server, so that the video application of the electronic device obtains complete video data of the video from the CDN server.
Fig. 6 is a schematic diagram illustrating an MEC server according to an exemplary embodiment of the present disclosure. Referring to fig. 6, the MEC server 600 may include a memory 601, a transceiver 602, and at least one processor 603. Each component/unit in the MEC server 600 may be implemented by one or more components/units, and the name of the corresponding component/unit may vary according to the type of the component/unit. In various embodiments, some components/units in the MEC server 600 may be omitted, or additional components/units may also be included. Furthermore, components/units according to various embodiments of the present disclosure may be combined to form a single entity, and thus, functions of the respective components/units may be equivalently performed before being combined.
The MEC server 600 may be configured/deployed to share the same video resource by multiple electronic devices, which may avoid duplicate production and wasted storage space.
The processor 603 may pre-download at least a portion of each video in the CDN server and store at least a portion of each video in the memory 601. For example, the processor 603 may intercept the beginning segment of a long video (e.g., the first 5 minute video segment of the video), and then make the intercepted video segment into a variable resolution video stream (such as DASH, HLS, etc.) for placement in the memory 601. By making the video segments into a variable resolution video stream, the loading speed is made faster.
Further, the processor 603 may also generate a preview image/thumbnail of each video from the truncated beginning segment of each video. When a user launches a video application of the electronic device, the video application may connect with the MEC server 600, and the MEC server 600 provides preview images of all videos covered by the video application to the video application in response to the video application being launched. Therefore, when the user starts the video application, the video application can quickly load the preview image without occupying internet network resources, and the loading speed is improved.
When a user starts a video application of the electronic device, the video application is connected with the MEC server, and the processor 603 may receive a video play request for acquiring a video from the electronic device via the transceiver 602.
In response to the video playback request, the processor 603 may provide at least a portion of the requested video to a video application of the electronic device via the transceiver 602. When the requested video is not present in memory 601, the processor 603 may download and store at least a portion of the video from the CDN server.
The processor 603 may provide the video application with a full video of the current video based on the length of time the user viewed the current video. As an example, when a user watches a current video for more than half the duration of the beginning segment of the video stored in the MEC server, the processor 603 may redirect to the CDN server to obtain the remaining video data of the video. Since the processor 603 has enough time to buffer data during the pre-browsing playback, the startup playback speed and smoothness can be improved, and network congestion can be reduced.
In the case where the MEC server stores a complete video of the hot video, the processor 603 may determine in which manner to continue to provide the remaining video data of the video to the electronic device according to whether the currently viewed video is the hot video. In particular, in response to the video belonging to a hotspot video, the processor 603 may provide the full video data of the video directly to the electronic device. In response to the video not belonging to the hotspot video, the processor 603 may redirect to a CDN server to obtain complete video data for the video.
In the redirection, the processor 603 may download and store the remaining video segments of the corresponding video from the CND and then provide to the video application. Optionally, the processor 603 may redirect the video application to the CDN server such that the video application buffers the remaining video segments of the respective video from the CDN server. Alternatively, the processor 603 may determine, according to the number of users currently watching the corresponding video, in which manner the electronic device obtains the complete video data of the video. For example, based on the number of users playing the current video exceeding a predetermined threshold, the processor 603 may download and store the complete video of the video from the CDN server and then provide to the video application. Based on the number of users not exceeding the predetermined threshold, the processor 603 may redirect the video application to the CDN server such that the video application obtains a complete video of the video from the CDN server.
Fig. 7 is a schematic diagram illustrating an electronic device according to an exemplary embodiment of the present disclosure. Referring to fig. 7, an electronic device 700 may include a transceiver 701, at least one processor 702, and a display 703. Each component/unit in the electronic device 700 may be implemented by one or more components/units, and the name of the corresponding component/unit may vary according to the type of the component/unit. In various embodiments, some components/units in electronic device 700 may be omitted, or additional components/units may also be included. Furthermore, components/units according to various embodiments of the present disclosure may be combined to form a single entity, and thus, functions of the respective components/units may be equivalently performed before being combined.
When a user selects a certain video in a video application of the electronic device, the processor 702 may send a video play request for acquiring the video to the MEC server through the transceiver 701 via the video application. The video play request may include, but is not limited to, an ID of the corresponding video.
Further, when the user starts a video application of the electronic device, the processor 702 is connected with the MEC server, and the video application may acquire a pre-generated video preview image from the MEC server for the user to browse and select desired video content through the display 703. The pre-generated preview image is directly loaded from the MEC server through the video application, so that the occupation of internet network resources is avoided, and the loading speed is increased.
The processor 702 may obtain at least a portion of the requested video from the MEC server via the transceiver 701. The processor 702 may obtain video from the MEC server in the form of a variable resolution video stream to increase loading speed.
When the user watches the current video for more than a predetermined time period, the processor 702 may continue to acquire/download the remaining video data of the current video from the MEC server.
In addition, under the condition that the MEC server connected to the electronic device downloads and stores the complete video of the hot video in advance, if the currently viewed video is the hot video, and the MEC server has complete video resources, the processor 702 does not need to be connected to the CDN server again, but continues to acquire/download the remaining video data of the current video from the MEC server. If the current video is a non-hotspot video, after the processor 702 may download the video segments stored on the MEC server, the processor 702 continues to download from the MEC server after the MEC server downloads the remaining segments of the corresponding video from the CDN server. Alternatively, if the previous video is a non-hotspot video, the processor 702 may redirect to the CDN server to continue downloading the remaining segments of the corresponding video after downloading the video segment stored on the MEC server.
When a user browses each video in the video application or the user quickly switches different videos, the video application can directly download the stored video segments from the MEC server, and the processor 702 does not need to be connected to the CDN server, so that the connection/switching and downloading speed is improved, and the waste of network resources is reduced.
The video playback method and the electronic device, and the video playback control method and the server according to the exemplary embodiments of the present invention have been described above with reference to fig. 1 to 7.
The systems, devices and units shown in fig. 2, 6 and 7 may each be configured as software, hardware, firmware, or any combination thereof that performs a particular function. For example, the system, apparatus or unit may correspond to an application specific integrated circuit, may correspond to pure software code, and may correspond to a module combining software and hardware. Further, one or more functions implemented by these systems, apparatuses, or units may also be uniformly executed by components in a physical entity device (e.g., processor, client, server, or the like).
Further, the methods described with reference to fig. 3 to 5 may be implemented by a program (or instructions) recorded on a computer-readable storage medium. For example, according to an exemplary embodiment of the present invention, a computer-readable storage medium may be provided, in which a computer program (or instructions) for executing the steps of the video playback method or the video playback control method described with reference to fig. 3 to 5 is recorded. For example, a computer program (or instructions) may be used to perform the following method steps: downloading and storing at least a part of each video in a CDN server of a content delivery network in advance; receiving a video playing request for acquiring a video from an electronic device; providing at least a portion of the video to the electronic device in response to the video playback request. For example, a computer program (or instructions) may be used to perform the following method steps: sending a video playing request for acquiring a video to a Mobile Edge Computing (MEC) server; and in response to the video play request, obtaining at least a portion of the video from the MEC server.
The computer program in the computer-readable storage medium may be executed in an environment deployed in a computer device such as a client, a host, a proxy device, a server, and the like, and it should be noted that the computer program may also be used to perform additional steps other than the above steps or perform more specific processing when the above steps are performed, and the content of the additional steps and the further processing is mentioned in the description of the related method with reference to fig. 3 to 5, and therefore will not be described again in order to avoid repetition.
It should be noted that the electronic device and the server according to the exemplary embodiments of the present invention may completely depend on the execution of the computer program to realize the corresponding functions, that is, each unit corresponds to each step in the functional architecture of the computer program, so that the whole electronic device or the server is called by a special software package (for example, a library of libs) to realize the corresponding functions.
Alternatively, each of the above-described means may be implemented by hardware, software, firmware, middleware, microcode, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to perform the corresponding operations may be stored in a computer-readable medium such as a storage medium, so that a processor may perform the corresponding operations by reading and executing the corresponding program code or code segments.
For example, the exemplary embodiments of the present invention may also be implemented as a computing apparatus including a storage part in which a set of computer-executable instructions is stored and a processor, and when the set of computer-executable instructions is executed by the processor, the video playback method or the video playback control method according to the exemplary embodiments of the present invention is performed.
In particular, computing devices may be deployed in servers or clients, as well as on node devices in a distributed network environment. Further, the computing device may be a PC computer, tablet device, personal digital assistant, smart phone, web application, or other device capable of executing the set of instructions.
The computing device need not be a single computing device, but can be any device or collection of circuits capable of executing the instructions (or sets of instructions) described above, individually or in combination. The computing device may also be part of an integrated control system or system manager, or may be configured as a portable electronic device that interfaces with local or remote (e.g., via wireless transmission).
In a computing device, a processor may include a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a programmable logic device, a special purpose processor system, a microcontroller, or a microprocessor. By way of example, and not limitation, processors may also include analog processors, digital processors, microprocessors, multi-core processors, processor arrays, network processors, and the like.
Some of the operations described in the video playback method or the video playback control method according to the exemplary embodiment of the present invention may be implemented by software, some of the operations may be implemented by hardware, and further, the operations may be implemented by a combination of hardware and software.
The processor may execute instructions or code stored in one of the memory components, which may also store data. The instructions and data may also be transmitted or received over a network via a network interface device, which may employ any known transmission protocol.
The memory component may be integral to the processor, e.g., having RAM or flash memory disposed within an integrated circuit microprocessor or the like. Further, the storage component may comprise a stand-alone device, such as an external disk drive, storage array, or any other storage device usable by a database system. The storage component and the processor may be operatively coupled or may communicate with each other, such as through an I/O port, a network connection, etc., so that the processor can read files stored in the storage component.
In addition, the computing device may also include a video display (such as a liquid crystal display) and a user interaction interface (such as a keyboard, mouse, touch input device, etc.). All components of the computing device may be connected to each other via a bus and/or a network.
Operations involved in a video playback method or a video playback control method according to an exemplary embodiment of the present invention may be described as various interconnected or coupled functional blocks or functional diagrams. However, these functional blocks or functional diagrams may be equally integrated into a single logic device or operated on by non-exact boundaries.
Thus, the methods described with reference to fig. 3-5 may be implemented by a system comprising at least one computing device and at least one storage device storing instructions.
According to an exemplary embodiment of the present invention, the at least one computing device is a computing device for video playback or control according to an exemplary embodiment of the present invention, the storage device having stored therein a set of computer-executable instructions which, when executed by the at least one computing device, perform the method steps for video playback or control described with reference to fig. 3 to 5. For example, when the set of computer-executable instructions is executed by at least one computing device, the following method steps may be performed: downloading and storing at least a part of each video in a CDN server of a content delivery network in advance; receiving a video playing request for acquiring a video from an electronic device; providing at least a portion of the video to the electronic device in response to the video playback request. For example, when the set of computer-executable instructions is executed by at least one computing device, the following method steps may be performed: sending a video playing request for acquiring a video to a Mobile Edge Computing (MEC) server; and in response to the video play request, obtaining at least a portion of the video from the MEC server.
According to the method and the device, when a user browses videos quickly, the user does not need to connect with a CDN server through a core network/backbone network, network congestion is reduced, and preview speed is increased.
According to the method and the device disclosed by the invention, since the video titles are downloaded from the MEC server, the time delay of the user is low and the user has no pause when watching the complete video, and meanwhile, the user device is given enough time to download the subsequent video from the CDN server when watching the titles.
According to the method and the device disclosed by the invention, if the number of users watching the same video source at the same time is large, the MEC server can download the video to the MEC server from the CDN server, and the user equipment directly downloads the complete video from the MEC server without redirecting to the CDN server, so that the time delay is reduced, and the network resources are saved.
According to the method and the equipment disclosed by the invention, the loading speed of the video application for loading the preview image is improved.
According to the method and the device disclosed by the invention, a plurality of user devices share the video resource of the MEC server, so that the waste of manufacturing cost and storage space is avoided.
According to the method and the device of the disclosure, the MEC server has the function of automatically generating the video beginning, and when a new video is watched, the MEC server automatically generates the beginning segment and caches the segment in the MEC server.
One skilled in the art will appreciate that the present disclosure includes apparatus directed to performing one or more of the operations/steps described in the present disclosure. These devices may be specially designed and manufactured for the required purposes, or they may comprise known devices in general-purpose computers. These devices have stored therein computer programs that are selectively activated or reconfigured. Such a computer program may be stored in a device (e.g., computer) readable medium, including, but not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magnetic-optical disks, ROMs (Read-Only memories), RAMs (Random Access memories), EPROMs (erasable Programmable Read-Only memories), EEPROMs (electrically erasable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards, or any type of media suitable for storing electronic instructions, and each coupled to a bus. That is, a readable medium includes any medium that stores or transmits information in a form readable by a device (e.g., a computer).
While the disclosure has been shown and described with reference to exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims and their equivalents.

Claims (14)

1. A video playback control method performed by a mobile edge computing, MEC, server, the video playback control method comprising:
downloading and storing at least a part of each video in a CDN server of a content delivery network in advance;
receiving a video playing request for acquiring a video from an electronic device;
providing at least a portion of the video to the electronic device in response to the video playback request.
2. The video playback control method of claim 1, further comprising:
in response to a user of the electronic device viewing the video for more than a predetermined length of time, providing complete video data of the video to the electronic device.
3. The video playback control method according to claim 2, further comprising downloading and storing complete video data of the hotspot video from the CDN server in advance,
wherein the step of providing the complete video data of the video to the electronic device comprises:
in response to the video belonging to a hotspot video, providing complete video data of the video to the electronic device;
and responding to the fact that the video does not belong to the hot video, and redirecting to a CDN server to obtain complete video data of the video.
4. The video playback control method of claim 3, wherein the step of redirecting to a CDN server to obtain complete video data of the video comprises:
downloading and storing complete video data of the video from a CDN server based on the fact that the number of users playing the video exceeds a preset threshold value;
based on the number of the users not exceeding the preset threshold, redirecting the electronic equipment to a CDN server, so that the electronic equipment obtains complete video data of the video from the CDN server.
5. The video playback control method of claim 3, further comprising: and updating the hotspot video periodically.
6. The video playback control method according to claim 1, wherein at least a portion of each of the videos is stored in the form of a variable resolution video stream.
7. The video playback control method of claim 1, further comprising: downloading and storing at least a portion of the video from a CDN server when the video is not present in the MEC server.
8. The video playback control method of claim 1, further comprising:
generating a preview image for the each video based on at least a portion of the each video;
providing a preview image required by a video application of the electronic device in response to the video application being launched.
9. A video playing method comprises the following steps:
sending a video playing request for acquiring a video to a Mobile Edge Computing (MEC) server; and is
Obtaining at least a portion of the video from the MEC server in response to the video playback request,
wherein the MEC server downloads and stores at least a portion of each video in the CDN server in advance.
10. The video playback method of claim 9, further comprising: when a video application of the electronic equipment is started, loading a preview image required by the video application from the MEC server.
11. The video playback method of claim 9, further comprising: and acquiring complete video data of the video from the MEC server in response to the fact that the time length of the video watched by the user exceeds a preset time length.
12. The video playback method of claim 11, wherein the step of obtaining the complete video data of the video comprises:
responding to the fact that the video belongs to the hot video, and acquiring complete video data of the video from the MEC server;
in response to the video not belonging to a hotspot video, redirecting to a CDN server through the MEC server to obtain complete video data of the video,
the MEC server downloads and stores complete video data of the hotspot video from the CDN server in advance.
13. A mobile edge computing, MEC, server, the MEC server comprising:
a memory;
a transceiver; and
at least one processor configured to:
downloading at least a portion of each video in a Content Delivery Network (CDN) server in advance and storing the at least a portion of each video in a memory;
receiving, via a transceiver, a video play request for obtaining a video from an electronic device;
providing, via a transceiver, at least a portion of the video to the electronic device in response to the video playback request.
14. An electronic device, the electronic device comprising:
a display;
a transceiver; and
at least one processor configured to:
sending a video playing request for acquiring a video to a Mobile Edge Computing (MEC) server via a transceiver;
in response to the video playback request, obtaining at least a portion of the video from the MEC server via a transceiver; and is
Controlling the display to display the at least one portion,
wherein the MEC server downloads and stores at least a portion of each video in the CDN server in advance.
CN202010552796.7A 2020-06-17 2020-06-17 Video playing control method, video playing method and device Pending CN111654711A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010552796.7A CN111654711A (en) 2020-06-17 2020-06-17 Video playing control method, video playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010552796.7A CN111654711A (en) 2020-06-17 2020-06-17 Video playing control method, video playing method and device

Publications (1)

Publication Number Publication Date
CN111654711A true CN111654711A (en) 2020-09-11

Family

ID=72347848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010552796.7A Pending CN111654711A (en) 2020-06-17 2020-06-17 Video playing control method, video playing method and device

Country Status (1)

Country Link
CN (1) CN111654711A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112423123A (en) * 2020-11-20 2021-02-26 上海哔哩哔哩科技有限公司 Video loading method and device
CN112543357A (en) * 2020-11-26 2021-03-23 郑州铁路职业技术学院 Streaming media data transmission method based on DASH protocol
CN113596568A (en) * 2021-07-01 2021-11-02 广州虎牙科技有限公司 Video playing method and device, intelligent terminal and computer readable storage medium
CN115065862A (en) * 2022-06-07 2022-09-16 北京达佳互联信息技术有限公司 Video data acquisition method, device, equipment and medium
CN115065859A (en) * 2022-06-07 2022-09-16 北京达佳互联信息技术有限公司 Video data acquisition method, device, equipment and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020152318A1 (en) * 2001-03-02 2002-10-17 Menon Satish N. Metadata enabled push-pull model for efficient low-latency video-content distribution over a network
CN103312776A (en) * 2013-05-08 2013-09-18 青岛海信传媒网络技术有限公司 Method and device for caching contents of videos by edge node server
CN104936032A (en) * 2015-06-03 2015-09-23 北京百度网讯科技有限公司 Method and device for playing network video
CN106230979A (en) * 2016-08-31 2016-12-14 北京奇艺世纪科技有限公司 Method of video distribution, system and video dispatching equipment
CN109167828A (en) * 2018-08-22 2019-01-08 杭州领智云画科技有限公司 CDN caching method and system
CN109819039A (en) * 2019-01-31 2019-05-28 网宿科技股份有限公司 A kind of file acquisition method, file memory method, server and storage medium
CN110177310A (en) * 2019-06-28 2019-08-27 三星电子(中国)研发中心 A kind of content distribution system and method
CN110809167A (en) * 2018-08-06 2020-02-18 ***通信有限公司研究院 Video playing method and device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020152318A1 (en) * 2001-03-02 2002-10-17 Menon Satish N. Metadata enabled push-pull model for efficient low-latency video-content distribution over a network
CN103312776A (en) * 2013-05-08 2013-09-18 青岛海信传媒网络技术有限公司 Method and device for caching contents of videos by edge node server
CN104936032A (en) * 2015-06-03 2015-09-23 北京百度网讯科技有限公司 Method and device for playing network video
CN106230979A (en) * 2016-08-31 2016-12-14 北京奇艺世纪科技有限公司 Method of video distribution, system and video dispatching equipment
CN110809167A (en) * 2018-08-06 2020-02-18 ***通信有限公司研究院 Video playing method and device, electronic equipment and storage medium
CN109167828A (en) * 2018-08-22 2019-01-08 杭州领智云画科技有限公司 CDN caching method and system
CN109819039A (en) * 2019-01-31 2019-05-28 网宿科技股份有限公司 A kind of file acquisition method, file memory method, server and storage medium
CN110177310A (en) * 2019-06-28 2019-08-27 三星电子(中国)研发中心 A kind of content distribution system and method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112423123A (en) * 2020-11-20 2021-02-26 上海哔哩哔哩科技有限公司 Video loading method and device
CN112423123B (en) * 2020-11-20 2022-04-15 上海哔哩哔哩科技有限公司 Video loading method and device
CN112543357A (en) * 2020-11-26 2021-03-23 郑州铁路职业技术学院 Streaming media data transmission method based on DASH protocol
CN112543357B (en) * 2020-11-26 2023-09-08 郑州铁路职业技术学院 Stream media data transmission method based on DASH protocol
CN113596568A (en) * 2021-07-01 2021-11-02 广州虎牙科技有限公司 Video playing method and device, intelligent terminal and computer readable storage medium
CN113596568B (en) * 2021-07-01 2023-10-17 广州虎牙科技有限公司 Video playing method and device, intelligent terminal and computer readable storage medium
CN115065862A (en) * 2022-06-07 2022-09-16 北京达佳互联信息技术有限公司 Video data acquisition method, device, equipment and medium
CN115065859A (en) * 2022-06-07 2022-09-16 北京达佳互联信息技术有限公司 Video data acquisition method, device, equipment and medium
CN115065862B (en) * 2022-06-07 2024-01-19 北京达佳互联信息技术有限公司 Video data acquisition method, device, equipment and medium
CN115065859B (en) * 2022-06-07 2024-05-07 北京达佳互联信息技术有限公司 Video data acquisition method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN111654711A (en) Video playing control method, video playing method and device
US20210192005A1 (en) Cooperative web browsing using multiple devices
WO2020199751A1 (en) Method and apparatus for loading page picture, and electronic device
CN108965907B (en) Method, device and system for playing video
JP7386990B2 (en) Video playback methods, devices, equipment and computer programs
CN108566561B (en) Video playing method, device and storage medium
KR20140126328A (en) Using an application cache to update resources of installed applications
CN113168337A (en) Techniques for managing generation and rendering of user interfaces on client devices
WO2019154014A1 (en) Video playback method and apparatus, and storage medium and electronic device
CN104320417A (en) Method for interconnection and stream transmission and stream media play between mobile terminal and web terminal
US10178431B2 (en) Hybrid stream delivery
US10305964B2 (en) Generating content fragments for content distribution
CN105284075A (en) Optimizing loading of web page based on aggregated user preferences for web page elements of web page
US11962853B2 (en) Computing device upgrading system over a wireless network
CN112312222A (en) Video sending method and device and electronic equipment
US8631236B2 (en) Auto file locker
US20240089538A1 (en) Port-connected television upgrader device
US20230388578A1 (en) Systems and Methods of Alternative Networked Application Services
US11838589B2 (en) Port-connected television upgrader device
US20120182981A1 (en) Terminal and method for synchronization
CN114040245A (en) Video playing method and device, computer storage medium and electronic equipment
CN114125551B (en) Video generation method, device, electronic equipment and computer readable medium
KR20140102838A (en) An apparatus for presenting cloud streaming services, a method thereof and a system thereof
KR102442699B1 (en) System for cloud streaming service, method of image cloud streaming service using common cache and apparatus for the same
CN112437352B (en) Video merging and playing method and device

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