CN112333466B - Video processing method, device and system - Google Patents

Video processing method, device and system Download PDF

Info

Publication number
CN112333466B
CN112333466B CN202011205162.0A CN202011205162A CN112333466B CN 112333466 B CN112333466 B CN 112333466B CN 202011205162 A CN202011205162 A CN 202011205162A CN 112333466 B CN112333466 B CN 112333466B
Authority
CN
China
Prior art keywords
video
video data
server
user
storage 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.)
Active
Application number
CN202011205162.0A
Other languages
Chinese (zh)
Other versions
CN112333466A (en
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.)
Chuangsheng Shilian Digital Technology Beijing Co Ltd
Original Assignee
Chuangsheng Shilian Digital Technology Beijing 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 Chuangsheng Shilian Digital Technology Beijing Co Ltd filed Critical Chuangsheng Shilian Digital Technology Beijing Co Ltd
Priority to CN202011205162.0A priority Critical patent/CN112333466B/en
Publication of CN112333466A publication Critical patent/CN112333466A/en
Application granted granted Critical
Publication of CN112333466B publication Critical patent/CN112333466B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23406Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving management of server-side video buffer
    • 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/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • 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)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application provides a video processing method, a device and a system, wherein the video processing method comprises the steps of temporarily storing video data uploaded by a first user through video receiving servers distributed in a plurality of machine rooms in a plurality of areas, so that the video data uploaded by the first user can be quickly stored; the video receiving server stores the video data meeting the preset video format in the original storage server which is positioned in the same machine room as the video receiving server, and the video receiving server and the original storage server are communicated with each other, so that the original storage server can quickly acquire the video data; acquiring a play request of a second user, wherein the play request comprises identification information of target video data; and the video data corresponding to the identification information in the original storage server is used as target video data to be played to the second user, so that the playing waiting time of the user is reduced, and the user experience is improved.

Description

Video processing method, device and system
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a video processing method, device and system.
Background
With the continuous development of communication technology and internet technology, network playing environments are more and more diversified, more users select to watch video content immediately after uploading videos, for example, a teacher uploads classroom explanation videos of a certain knowledge point to a server platform, and students can watch the classroom explanation videos through the server platform after uploading is completed.
In the current video playing flow, after the original video is uploaded by a user, the original video is required to be processed through a plurality of links such as transcoding and distribution, the processed video is stored after the original video is processed, then a playing request of the user can be received, and the stored processed video is used for playing according to the playing request.
However, in the process of transcoding and distributing the original video, a certain time is required to be occupied, so that when a user watches the video, the user can request to play after waiting for processing the video, the waiting time of the user is increased, and the user experience is reduced.
Disclosure of Invention
In view of this, the embodiments of the present application provide a video processing method, apparatus, and system, so as to overcome the defect that in the prior art, when a user requests to play a video, the user needs to wait for the original video to be processed and then can watch the video, thereby increasing the waiting time of the user.
In a first aspect, an embodiment of the present application provides a video processing method, where the method includes:
temporarily storing the video data uploaded by the first user through a video receiving server, wherein the video receiving server is distributed in a plurality of machine rooms in a plurality of areas;
storing video data meeting a preset video format in the video receiving server in an original storage server, wherein the video receiving server and the original storage server are communicated with each other, and the video receiving server and the original storage server are located in the same machine room;
acquiring a play request of a second user, wherein the play request comprises identification information of target video data;
and playing the video data corresponding to the identification information in the original storage server as target video data to the second user.
Optionally, in an embodiment of the present application, playing the video data corresponding to the identification information in the original storage server as target video data to the second user includes: in the original storage server, taking video data corresponding to the identification information as target video data; and playing the target video data to the second user through a CDN, wherein the original storage server and the CDN are communicated with each other.
Optionally, in an embodiment of the present application, storing, in an original storage server, video data meeting a preset video format in the video receiving server, includes: downloading the video data meeting the preset video format from the video receiving server when the video data in the video receiving server meets the preset video format; and storing the downloaded video data in the original storage server.
Optionally, in an embodiment of the present application, after temporarily storing the video data uploaded by the first user, the method further includes: transcoding the video content of the video data in the video receiving server through a transcoding server to obtain a video file; distributing the video file to standard storage servers of a plurality of areas through a distribution server; and storing the transcoded video data by a plurality of standard storage servers.
Optionally, in an embodiment of the present application, if after storing the transcoded video data by a plurality of standard storage servers, a play request of the second user is received, the method further includes: determining a target standard storage server corresponding to the target video data according to the identification information of the target video data in the play request; and playing the target video data in the target standard storage server to the second user.
In a second aspect, an embodiment of the present application provides a video processing apparatus, where the apparatus includes a temporary storage module, an original storage module, an acquisition module, and a play module;
the temporary storage module is used for temporarily storing the video data uploaded by the first user through a video receiving server, and the video receiving server is distributed in a plurality of machine rooms in a plurality of areas; the original storage module is used for storing video data meeting a preset video format in the video receiving server in an original storage server, the video receiving server and the original storage server are communicated with each other, and the video receiving server and the original storage server are located in the same machine room; the acquisition module is used for acquiring a play request of a second user, wherein the play request comprises identification information of target video data; and the playing module is used for playing the video data corresponding to the identification information in the original storage server to the second user as target video data.
In a third aspect, an embodiment of the present application provides a video processing system, where the system includes a video receiving server and an original storage server, where the video receiving server is distributed in multiple rooms in multiple areas, the video receiving server and the original storage server are in communication with each other, and the video receiving server and the original storage server are located in the same room; the video receiving server is used for receiving video data uploaded by the first user and temporarily storing the video data; the original storage server is used for downloading video data meeting a preset video format from the video receiving server and storing the downloaded video data; and if the playing request of the second user side is received, the original storage server is further configured to use video data corresponding to the identification information of the target video data in the playing request as target video data, and play the target video data to the second user.
Optionally, in one embodiment of the present application, the system further includes a CDN, and the CDN and the origin storage server communicate with each other; the CDN is used for playing the target video data in the original storage server to the second user.
Optionally, in one embodiment of the present application, the system further includes a transcoding server and a distribution server, and the video receiving server, the transcoding server and the distribution server communicate with each other; the transcoding server is used for transcoding the video content of the video data in the video receiving server to obtain a video file; the distribution server is used for distributing the video files to standard storage servers of a plurality of areas.
Optionally, in one embodiment of the present application, the distribution server and the standard storage server communicate with each other; the standard storage server is used for storing the video data sent by the distribution server; and if the video data sent by the distribution server is stored and then a playing request of the second user is received, the standard storage server is further used for determining a target standard storage server corresponding to the target video data according to the identification information of the target video data in the playing request, and playing the target video data in the target standard storage server to the second user.
In a fourth aspect, embodiments of the present application provide a computer storage medium having stored thereon a computer program which, when executed by a processor, implements a video processing method as described in the first aspect or any one of the embodiments of the first aspect.
The embodiment of the application provides a video processing method, a device and a system, wherein the video processing method comprises the steps of temporarily storing video data uploaded by a first user through a video receiving server, wherein the video receiving server is distributed in a plurality of machine rooms in a plurality of areas; storing video data meeting a preset video format in a video receiving server in an original storage server, wherein the video receiving server and the original storage server are communicated with each other, and the video receiving server and the original storage server are located in the same machine room; acquiring a play request of a second user, wherein the play request comprises identification information of target video data; and playing the video data corresponding to the identification information in the original storage server as target video data to a second user. In the embodiment of the invention, the video data is temporarily stored by the video receiving servers distributed in a plurality of machine rooms in a plurality of areas, so that the video data uploaded by a first user (such as a teacher) can be quickly stored, if the video data meets a preset video format, the video data is stored in an original storage server which is positioned in the same machine room as the video receiving server, the original storage server can quickly acquire the video data, when a playing request of a second user (such as a student) with identification information is received, the video data in the original storage server can also be quickly played to the second user according to the identification information, that is, after the video receiving server receives the video data uploaded by the first user, transcoding, distributing and other processes can be performed on the video data through a standard storage server, meanwhile, the video data can be downloaded through the original storage server, and stored in the original storage server for the second user to request playing, namely, the processing and playing of the video data are parallel, the processing of the video data does not influence the second user to request the playing video, the waiting time of the second user is reduced, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following description will briefly introduce the drawings that are required to be used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present application, and other drawings may also be obtained according to these drawings for a person having ordinary skill in the art.
Fig. 1 is a flowchart of a video processing method according to an embodiment of the present application;
fig. 2 is a block diagram of a video processing apparatus according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a video processing system according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another video processing system according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of still another video processing system according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of still another video processing system according to an embodiment of the present application.
Detailed Description
In order to better understand the technical solutions in the embodiments of the present application, the following descriptions will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the embodiments of the present application shall fall within the scope of protection of the embodiments of the present application.
It should be noted that, the purpose in this application is to represent singular concept only, and not to be limited to, for example, the target video data refers to any one video data, and the target standard storage server refers to any one standard storage server; the first and second in this application are for distinguishing between the names and not for representing a sequential relationship, and should not be construed as indicating or implying relative importance or implicitly indicating the number of features indicated, e.g., first user, second user; in the present application, a plurality of two or more means, for example, a plurality of areas and a plurality of machine rooms.
Embodiments of the present application are further described below with reference to the accompanying drawings of embodiments of the present application.
Embodiment 1,
An embodiment of the present application provides a video processing method, as shown in fig. 1, fig. 1 is a flowchart of the video processing method provided in the embodiment of the present application, where the video processing method includes the following steps:
step 101, temporarily storing the video data uploaded by the first user through a video receiving server.
The video receiving servers are distributed in a plurality of machine rooms in a plurality of areas, and are used for temporarily storing a service platform for uploading video data of a first user, wherein the service platform can be an on-demand uploading system.
The video receiving servers in the embodiment of the application are distributed in a plurality of machine rooms in a plurality of areas, wherein the distributed deployment is to store video data on a plurality of independent machine equipment in a scattered manner, an extensible system structure is adopted, the video receiving servers are utilized to share the storage load, and the video data is stored, so that the video data uploaded by a large number of users can be received quickly at the same time, and the user experience is improved.
For example, the first user of the application may be a content provider, for example, an education institution uploads knowledge point resolution video to a video receiving server, may be a person, for example, a teacher uploads a class explanation video to a video receiving server, and a photography fan uploads a homemade short video to a video receiving server, which may be in any machine room in any region. It can be understood that the video data can be uploaded to any one of the machine rooms in each region, and when users in different regions need to watch the video, the video on the video receiving server nearest to the user can be provided for the user according to the nearby principle, so that the user can watch the video uploaded by the first user quickly, and the user experience is improved.
For example, in the present application, the video data uploaded by the first user may be a video original file, or may be any other copy file, or may be a video file added with a watermark, a remark, or the like, which is not limited in this embodiment of the present application. It can be understood that, in the present application, the video data is video data meeting the network playing specification, and the type of the video data may be video files such as movies, television shows, variety, courseware, homemade short videos, live broadcast recordings, and the like, or audio files such as music, and the type of the video data in the embodiment of the present application is not limited.
Step 102, storing the video data meeting the preset video format in the video receiving server in the original storage server.
The video receiving server and the original storage server are communicated with each other, and the video receiving server and the original storage server are located in the same machine room.
By way of example, the formats of the video data include mpg, avi, wmv, mov, flv, rmvb, mkv and mp4, etc., and the preset video format in the present application may be any one of the above formats, which is not limited in this application. In one implementation, the preset video format is mp4, and the video data in the mp4 format in the video receiving server is stored in the original storage server. The mp4 format video data is stored in the original storage server without any processing, and is stored in the original storage server, and the video receiving server and the original storage server are located in the same machine room, so that the efficiency of storing the video data meeting the preset video format is improved, and the storage time is saved.
Step 103, obtaining a play request of the second user.
The playing request comprises identification information of target video data, the identification information corresponds to the video data one by one and is used for distinguishing and identifying the video data so as to find the target video data in the original storage server according to the identification information. It should be noted that, in the embodiment of the present application, the play request is received during the process of not processing the video data, and the processing of the video data is not completed yet, but does not affect the second user to request to play the video.
By way of example, the second user of the present application may be a student, for example, who views video data uploaded by the first user through a service platform. It will be appreciated that the play request may include identification information of a plurality of video data, that is, the second user requests to play a plurality of video data at the same time, which is not limited in this embodiment of the present application.
And 104, playing the video data corresponding to the identification information in the original storage server as target video data to a second user.
The original storage server stores a plurality of video data, and video data corresponding to the identification information is needed to be found in the original storage server according to the identification information, and the video data is the target video data, so that the video data is played to a second user.
Here, the implementation step 104 will be described by taking two examples, where in the first example, the play request further includes the identity information of the second user, and the video processing method further includes, between taking the video data corresponding to the identification information in the original storage server as the target video data: when the identity information of the second user in the playing request meets the authentication condition, video data corresponding to the identification information in the original storage server is used as target video data, and the second user is played; in a second example, before obtaining the play request of the second user, the video processing method further includes: acquiring identity information of a second user, and receiving a play request of the second user when the identity information of the second user meets authentication conditions; in both examples, when the identity information of the second user passes the verification, it is indicated that the second user has the right to watch the video data in the service platform.
According to the video data processing method and device, the video data are temporarily stored through the video receiving servers distributed in the multiple machine rooms in the multiple areas, a large amount of video data uploaded by the first user can be quickly stored, if the video data meet the preset video format, the video data are stored in the original storage server which is located in the same machine room as the video receiving server, no processing is needed for the video data, the original storage server can quickly acquire the video data, when a playing request with identification information is received by the second user, the video data in the original storage server can be quickly played to the second user according to the identification information, namely, when the video receiving server receives the video data uploaded by the first user, the video data are stored in the original storage server, transcoding, distributing and other processing can be simultaneously conducted on the video data through the standard storage server, namely, the processing and playing of the video data are parallel, the video data which are quickly stored in the original storage server can be used for playing the second user request, the processing of the video data is not completed, the playing request of the second user is not influenced, the playing time of the second user is not influenced, and the user experience is improved.
Embodiment II,
In an embodiment of the present application, step 102 may also be implemented in the following manner, for example, when the video data in the video receiving server satisfies the preset video format, the video data satisfying the preset video format is downloaded from the video receiving server; and storing the downloaded video data in an original storage server.
When the video data in the video receiving server meets the preset video format, the video data is not required to be processed and is only downloaded, and then the downloaded video data is stored in the original storage server.
Alternatively, in one embodiment of the present application, step 104 in the first embodiment may be implemented in the following manner, and by way of example, in the original storage server, the video data corresponding to the identification information is taken as the target video data; and playing the target video data to a second user through the CDN, wherein the original storage server and the CDN are communicated with each other.
It should be noted that, the content delivery network (Content Delivery Network, abbreviated as CDN) is configured to avoid bottlenecks and links on the internet that may affect data transmission speed and stability as much as possible, and is an intelligent virtual network that is built on the basis of the existing network, so that content is transmitted faster and more stably, and according to comprehensive information such as network traffic, connection of each node, load conditions, distance to a user, response time, and the like, a user can obtain required content from a nearest service node, and response speed of the user for accessing a website is improved.
In the embodiment of the application, when the user watches the video content, the user can watch through the CDN node, so that the target video data is rapidly played to the second user, and the user experience is improved.
Optionally, in an embodiment of the present application, on the basis of the aspect of the first embodiment, after step 101, the video processing method may further include: transcoding the video content of the video data in the video receiving server through the transcoding server to obtain a video file; distributing the video file to standard storage servers of a plurality of regions through a distribution server; and storing the transcoded video data by a plurality of standard storage servers.
It should be noted that, the video transcoding (Video Transcoding) refers to converting a video code stream that has been compression-encoded into another video code stream, so as to adapt to different network bandwidths, different terminal processing capabilities, and different user requirements.
In the embodiment of the application, the video content of the video data in the video receiving server is further processed by transcoding, distributing and the like, the transcoded video file is distributed to the standard storage servers in a plurality of areas, and when the video content of the video data is transcoded, the processes of format conversion, encapsulation and the like of the video content can be included. In distributing video files to standard storage servers in multiple localities, the video files are illustratively pushed to a remote server for storage.
If a play request of a second user is received after the transcoded video data is stored by the plurality of standard storage servers, the video processing method further includes: determining a target standard storage server corresponding to the target video data according to the identification information of the target video data in the play request; and playing the target video data in the target standard storage server to a second user.
Two examples are presented herein to illustrate a video processing method. In the first example, after the video receiving server temporarily stores the video data uploaded by the first user, that is, the video data is transcoded, distributed, etc., the user cannot initiate a play request, that is, the user cannot request to view the video content, only after the video data is transcoded, distributed, etc., the user cannot initiate a play request to view the video content, however, a certain time is required for the video data transcoding, distributing, etc., for example, a 1 hour video, a processing time of about 1 hour is required, that is, the user needs to wait for 1 hour to request to view the video, which reduces user experience.
In a second example, in the embodiment of the present application, after the video receiving server temporarily stores the video data uploaded by the first user, on one hand, the video receiving server directly downloads the video data meeting the preset video format, without any processing on the video data, and only downloads the video data, then stores the downloaded video data in the original storage server, where the video receiving server and the original storage server are located in the same machine room, and uses the video downloading of the intranet, and only needs a short time to backup the video data to the original storage server, for example, a 1 hour video, and needs about 1 minute of processing time to store the video data in the original storage server; on the other hand, video data is transcoded, distributed and the like; if the playing request of the user is received before the processing procedures of transcoding, distributing and the like of the video data are completed, the video data corresponding to the identification information in the playing request in the original storage server are used as target video data to be played to a second user, namely, the original storage server is used for providing playing; if the playing request of the user is received after the processing procedures of transcoding, distributing and the like are finished, determining a target standard storage server corresponding to the target video data according to the identification information of the playing request; and playing the target video data in the target standard storage server to the second user, namely providing playing by using the standard storage server. Therefore, compared with the first example, the video processing method provided in the second example can quickly respond to the playing request of the user, and user experience is improved.
Third embodiment,
The embodiment of the application provides a video processing device, as shown in fig. 2, fig. 2 is a video processing device provided in the embodiment of the application, where the video processing device 20 includes a temporary storage module 201, an original storage module 202, an acquisition module 203, and a playing module 204;
the temporary storage module 201 is configured to temporarily store video data uploaded by the first user through a video receiving server, where the video receiving server is distributed in multiple rooms in multiple areas; the original storage module 202 is configured to store video data meeting a preset video format in a video receiving server in an original storage server, where the video receiving server and the original storage server are in communication with each other, and the video receiving server and the original storage server are located in the same room; the obtaining module 203 is configured to obtain a play request of the second user, where the play request includes identification information of the target video data; the playing module 204 is configured to play the video data corresponding to the identification information in the original storage server as target video data to the second user.
Optionally, in an embodiment of the present application, the playing module 204 is further configured to use, in the original storage server, video data corresponding to the identification information as target video data; and playing the target video data to a second user through the CDN, wherein the original storage server and the CDN are communicated with each other.
Optionally, in one embodiment of the present application, the original storage module 202 is further configured to download the video data satisfying the preset video format from the video receiving server when the video data in the video receiving server satisfies the preset video format; and storing the downloaded video data in an original storage server.
Optionally, in an embodiment of the present application, the video processing apparatus 20 further includes a transcoding distribution module, where the transcoding distribution module is configured to transcode, by the transcoding server, the video content of the video data in the video receiving server after temporarily storing the video data uploaded by the first user, to obtain the video file; distributing the video file to standard storage servers of a plurality of regions through a distribution server; and storing the transcoded video data by a plurality of standard storage servers.
Optionally, in an embodiment of the present application, if after storing the transcoded video data by the plurality of standard storage servers, a play request of the second user is received, the play module 204 is further configured to determine, according to identification information of the target video data in the play request, a target standard storage server corresponding to the target video data; and playing the target video data in the target standard storage server to a second user.
The video processing device in this embodiment is configured to implement the corresponding video processing method in the foregoing multiple method embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described herein again. In addition, the functional implementation of each module in the video processing apparatus of this embodiment may refer to the description of the corresponding portion in the foregoing method embodiment, which is not repeated herein.
Fourth embodiment,
Based on any one of the video processing methods described in the first and second embodiments, the embodiment of the present application provides a video processing system, where the video processing system includes video receiving servers and original storage servers, the video receiving servers are distributed in multiple rooms in multiple regions, the video receiving servers and the original storage servers are in communication with each other, and the video receiving servers and the original storage servers are located in the same room; the video receiving server is used for receiving the video data uploaded by the first user and temporarily storing the video data; the original storage server is used for downloading video data meeting a preset video format from the video receiving server and storing the downloaded video data; if a play request of the second user side is received, the original storage server is further configured to use video data corresponding to the identification information of the target video data in the play request as target video data, and play the target video data to the second user.
As shown in fig. 3, fig. 3 is a schematic structural diagram of a video processing system provided in the embodiment of the present application, where the video processing system in fig. 3 includes a video receiving server 301 and an original storage server 302, and in fig. 3, a user end for uploading a video and a user end for requesting to play a video may be different or the same, and in this embodiment of the present application, the user end for uploading the video is a first user, the user end for requesting to play the video is a second user, the video receiving server 301 is configured to receive video data uploaded by the first user and temporarily store the video data, and the original storage server 302 is configured to download video data satisfying a preset video format from the video receiving server 301 and store the downloaded video data. In fig. 3, the video receiving server 301 and the original storage server 302 are only shown as one, it may be understood that the video receiving server 301 and the original storage server 302 may be distributed in multiple rooms in multiple areas, and in this embodiment of the present application, only the video receiving server 301 and the original storage server 302 are described as an example, and a video processing system provided in fig. 3 may refer to a corresponding method implementation procedure of any one of the foregoing embodiments when executing a video processing method, which is not described herein again.
Optionally, in one embodiment of the present application, the video processing system further includes a CDN, where the CDN and the origin storage server communicate with each other; the CDN is used for playing the target video data in the original storage server to the second user.
As shown in fig. 4, fig. 4 is a schematic structural diagram of another video processing system provided in the embodiment of the present application, on the basis of fig. 3, fig. 4 includes a video receiving server 3011, a video receiving server 3012, a video receiving server 3013, and an original storage server 3021, an original storage server 3022, and an original storage server 3023, where the video receiving server 3011 and the original storage server 3021 are located in a machine room 1, the video receiving server 3012 and the original storage server 3022 are located in a machine room 2, and the video receiving server 3013 and the original storage server 3023 are located in a machine room 3, which is only illustrated in fig. 4 by using 3 video receiving servers, 3 original storage servers, and 3 machine rooms, and the number of the video receiving servers and the original storage servers is not limited in this application, so long as the video receiving servers and the original storage servers are located in the same machine room within the scope of protection of the present application, and another video processing system provided in fig. 4 can refer to any embodiment of the foregoing embodiment for implementing the video processing method.
Optionally, in one embodiment of the present application, the video processing system further includes a transcoding server and a distribution server, and the video receiving server, the transcoding server and the distribution server are in communication with each other; the transcoding server is used for transcoding the video content of the video data in the video receiving server to obtain a video file; the distribution server is used for distributing video files to standard storage servers in a plurality of regions.
As shown in fig. 5, fig. 5 is a schematic structural diagram of still another video processing system according to an embodiment of the present application, where, based on fig. 3 and fig. 4, the video processing system in fig. 5 includes a video receiving server 301, an original storage server 302, a transcoding server 303, a distributing server 304, and a standard storage server, and the standard storage server includes a standard storage server 3051 and a standard storage server 3052; the transcoding server 303 is configured to transcode video content of the video data in the video receiving server to obtain a video file; the distribution server 304 is used to distribute video files to standard storage servers in multiple localities. The standard storage server is illustrated in fig. 5 by using a standard storage server 3051 and a standard storage server 3052, and it is to be understood that the standard storage server in the embodiment of the present application is distributed in a plurality of machine rooms in a plurality of regions, and the number of the standard storage servers is not limited in the embodiment of the present application; the data files in the transcoding server 303, standard storage server 3051, and standard storage server 3052 in fig. 5 are illustrated by way of example in three and do not represent a specific number of actual processing of video data in the embodiments of the present application. It should be noted that, in still another video processing system provided in fig. 5, after video data is transcoded, distributed and stored in standard storage servers of multiple regions, the video data temporarily stored in the video receiving server may be deleted, so as to save storage space. The video processing system in fig. 5 may refer to a method implementation procedure corresponding to any one of the foregoing second embodiment when executing the video processing method, which is not described herein.
Optionally, in one embodiment of the present application, the distribution server and the standard storage server are in communication with each other; the standard storage server is used for storing the video data sent by the distribution server; if the video data sent by the distributing server is stored and then a playing request of the second user is received, the standard storage server is further used for determining a target standard storage server corresponding to the target video data according to the identification information of the target video data in the playing request, and playing the target video data in the target standard storage server to the second user.
Two examples are presented herein to illustrate a video processing system performing a video processing method. As shown in fig. 6, fig. 6 is a schematic structural diagram of still another video processing system provided in the embodiment of the present application, where fig. 6 includes a video receiving server 301, a transcoding server 303, a distributing server 304, and a standard storage server, and the standard storage server includes a standard storage server 3051 and a standard storage server 3052; after the video receiving server 301 temporarily stores the video data uploaded by the first user, that is, performs the processes of transcoding, distributing, and the like, during the whole process of transcoding, distributing, and the like, the second user cannot initiate a play request, that is, cannot request to view the video content, and only after the processes of transcoding, distributing, and the like are completed, the user cannot initiate the play request, however, during the processes of transcoding, distributing, and the like, a certain time is required for the video data, and compared with the video processing system shown in fig. 3 and 5, the video processing system provided in fig. 6 increases the waiting time for the user to request to view the video during the process of processing the video, that is, the time line in fig. 6 is greater than the time line in fig. 3 and 5, and reduces the user experience. It should be noted that, in the still another video processing system provided in fig. 6, after video data is transcoded, distributed and stored in standard storage servers of a plurality of regions, the video data temporarily stored in the video receiving server may be deleted, so as to save storage space.
In a second example, as shown in fig. 5, after the video receiving server 301 temporarily stores the video data uploaded by the first user, on one hand, the video receiving server 301 directly downloads the video data meeting the preset video format, without any processing on the video data, and only downloads the video data, then stores the downloaded video data in the original storage server 302, where the video receiving server 301 and the original storage server 302 are located in the same computer room, and the video data can be backed up to the original storage server 302 only in a short time by adopting video downloading of the intranet; on the other hand, video data is transcoded, distributed and the like; if a playing request of a user is received before the processing procedures of transcoding, distributing and the like of the video data are completed, the video data corresponding to the identification information in the playing request in the original storage server 302 is used as target video data to be played to a second user, namely, the original storage server 302 is used for providing playing; if the playing request of the user is received after the processing procedures of transcoding, distributing and the like are finished, determining a target standard storage server corresponding to the target video data according to the identification information of the playing request; and playing the target video data in the target standard storage server to the second user, namely providing playing by using the standard storage server. Therefore, compared with the video processing system provided in fig. 6, the video processing systems provided in fig. 3 and 5 can quickly respond to the play request of the user when the video processing method is executed, and the user experience is improved.
It will be appreciated that, as will be clearly understood by those skilled in the art, for convenience and brevity of description, the specific working process of the video processing system described above may be described with reference to the corresponding process in the foregoing method embodiment, which is not repeated herein.
Fifth embodiment (V),
Based on the video processing methods described in the first and second embodiments, the present embodiment provides a computer storage medium storing a computer program that when executed by a processor implements the video processing method described in the first and second embodiments.
It should be noted that, according to implementation requirements, each component/step described in the embodiments of the present application may be split into more components/steps, and two or more components/steps or part of operations of the components/steps may be combined into new components/steps, so as to achieve the purposes of the embodiments of the present application.
The above-described methods according to embodiments of the present application may be implemented in hardware, firmware, or as software or computer code storable in a recording medium such as a CD ROM, RAM, floppy disk, hard disk, or magneto-optical disk, or as computer code originally stored in a remote recording medium or a non-transitory machine-readable medium and to be stored in a local recording medium downloaded through a network, so that the methods described herein may be stored on such software processes on a recording medium using a general purpose computer, special purpose processor, or programmable or special purpose hardware such as an ASIC or FPGA. It is understood that a computer, processor, microprocessor controller, or programmable hardware includes a memory component (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code that, when accessed and executed by the computer, processor, or hardware, implements the video processing methods described herein. Further, when the general-purpose computer accesses code for implementing the video processing method shown herein, execution of the code converts the general-purpose computer into a special-purpose computer for executing the video processing method shown herein.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
Those of ordinary skill in the art will appreciate that the elements and method steps of the examples described in connection with the embodiments disclosed herein can be implemented as electronic hardware, or as a combination of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present application.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The above embodiments are only for illustrating the embodiments of the present application, but not for limiting the embodiments of the present application, and various changes and modifications can be made by one skilled in the relevant art without departing from the spirit and scope of the embodiments of the present application, so that all equivalent technical solutions also fall within the scope of the embodiments of the present application, and the scope of the embodiments of the present application should be defined by the claims.

Claims (6)

1. A method of video processing, the method comprising:
temporarily storing the video data uploaded by the first user through a video receiving server, wherein the video receiving server is distributed in a plurality of machine rooms in a plurality of areas;
storing video data meeting a preset video format in the video receiving server in an original storage server, wherein the video receiving server and the original storage server are communicated with each other, and the video receiving server and the original storage server are located in the same machine room; after temporarily storing the video data uploaded by the first user, transcoding the video content of the video data in the video receiving server through a transcoding server to obtain a video file, distributing the video file to standard storage servers in a plurality of areas through a distribution server, and storing the transcoded video data through a plurality of standard storage servers;
Acquiring a play request of a second user, wherein the play request comprises identification information of target video data;
taking the video data corresponding to the identification information in the original storage server as target video data, and playing the target video data to the second user;
if a playing request of the second user is received after the transcoded video data is stored by a plurality of standard storage servers, determining a target standard storage server corresponding to the target video data according to the identification information of the target video data in the playing request;
and playing the target video data in the target standard storage server to the second user.
2. The method according to claim 1, wherein playing the video data corresponding to the identification information in the original storage server as target video data to the second user includes:
in the original storage server, taking video data corresponding to the identification information as target video data;
and playing the target video data to the second user through a CDN, wherein the original storage server and the CDN are communicated with each other.
3. The method according to claim 1 or 2, wherein storing the video data satisfying the preset video format in the video receiving server in the original storage server comprises:
downloading the video data meeting the preset video format from the video receiving server when the video data in the video receiving server meets the preset video format;
and storing the downloaded video data in the original storage server.
4. The video processing device is characterized by comprising a temporary storage module, an original storage module, an acquisition module, a transcoding distribution module and a playing module;
the temporary storage module is used for temporarily storing the video data uploaded by the first user through a video receiving server, and the video receiving server is distributed in a plurality of machine rooms in a plurality of areas;
the original storage module is used for storing video data meeting a preset video format in the video receiving server in an original storage server, the video receiving server and the original storage server are communicated with each other, and the video receiving server and the original storage server are located in the same machine room;
The acquisition module is used for acquiring a play request of a second user, wherein the play request comprises identification information of target video data;
the transcoding and distributing module is used for performing temporary storage on the video data uploaded by the first user, transcoding the video content of the video data in the video receiving server through the transcoding server to obtain a video file, distributing the video file to standard storage servers in a plurality of areas through the distributing server, and storing the transcoded video data through the standard storage servers;
the playing module is used for playing the video data corresponding to the identification information in the original storage server to the second user as target video data;
the playing module is further used for: if a playing request of the second user is received after the transcoded video data is stored by a plurality of standard storage servers, determining a target standard storage server corresponding to the target video data according to the identification information of the target video data in the playing request; and playing the target video data in the target standard storage server to the second user.
5. A video processing system, characterized in that the system comprises a video receiving server, an original storage server, a transcoding server, a distributing server and a standard storage server, wherein the video receiving server is distributed in a plurality of machine rooms in a plurality of areas, the video receiving server and the original storage server are mutually communicated, the video receiving server and the original storage server are positioned in the same machine room, the video receiving server, the transcoding server and the distributing server are mutually communicated, and the distributing server and the standard storage server are mutually communicated;
the video receiving server is used for receiving video data uploaded by the first user and temporarily storing the video data;
the original storage server is used for downloading video data meeting a preset video format from the video receiving server and storing the downloaded video data;
if a playing request of a second user side is received, the original storage server is further configured to use video data corresponding to identification information of target video data in the playing request as target video data, and play the target video data to the second user side;
The transcoding server is used for transcoding the video content of the video data in the video receiving server to obtain a video file;
the distribution server is used for distributing the video files to standard storage servers in a plurality of areas;
the standard storage server is used for storing the video data sent by the distribution server;
and if the video data sent by the distribution server is stored and then a playing request of the second user side is received, the standard storage server is further used for determining a target standard storage server corresponding to the target video data according to the identification information of the target video data in the playing request, and playing the target video data in the target standard storage server to the second user side.
6. The system of claim 5, further comprising a CDN, the CDN and the origin storage server in communication with each other;
the CDN is configured to play the target video data in the original storage server to the second client.
CN202011205162.0A 2020-11-02 2020-11-02 Video processing method, device and system Active CN112333466B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011205162.0A CN112333466B (en) 2020-11-02 2020-11-02 Video processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011205162.0A CN112333466B (en) 2020-11-02 2020-11-02 Video processing method, device and system

Publications (2)

Publication Number Publication Date
CN112333466A CN112333466A (en) 2021-02-05
CN112333466B true CN112333466B (en) 2023-05-09

Family

ID=74324340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011205162.0A Active CN112333466B (en) 2020-11-02 2020-11-02 Video processing method, device and system

Country Status (1)

Country Link
CN (1) CN112333466B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114513680B (en) * 2021-12-28 2023-04-28 上海瑞家信息技术有限公司 Video processing method, device, apparatus and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104053014A (en) * 2013-03-13 2014-09-17 腾讯科技(北京)有限公司 Live broadcast system and method based on mobile terminal, and mobile terminal
CN105516739A (en) * 2015-12-22 2016-04-20 腾讯科技(深圳)有限公司 Video live broadcasting method and system, transcoding server and webpage client
CN107360226A (en) * 2017-07-11 2017-11-17 上海鋆创信息技术有限公司 The store method and device of live video
CN109451000A (en) * 2018-10-26 2019-03-08 西安科锐盛创新科技有限公司 Video data management method and its equipment based on cloud storage
CN110381340A (en) * 2019-06-10 2019-10-25 广州虎牙信息科技有限公司 Video file processing system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070162487A1 (en) * 2005-12-30 2007-07-12 Razorstream, Llc Multi-format data coding, managing and distributing system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104053014A (en) * 2013-03-13 2014-09-17 腾讯科技(北京)有限公司 Live broadcast system and method based on mobile terminal, and mobile terminal
CN105516739A (en) * 2015-12-22 2016-04-20 腾讯科技(深圳)有限公司 Video live broadcasting method and system, transcoding server and webpage client
CN107360226A (en) * 2017-07-11 2017-11-17 上海鋆创信息技术有限公司 The store method and device of live video
CN109451000A (en) * 2018-10-26 2019-03-08 西安科锐盛创新科技有限公司 Video data management method and its equipment based on cloud storage
CN110381340A (en) * 2019-06-10 2019-10-25 广州虎牙信息科技有限公司 Video file processing system

Also Published As

Publication number Publication date
CN112333466A (en) 2021-02-05

Similar Documents

Publication Publication Date Title
US10798440B2 (en) Methods and systems for synchronizing data streams across multiple client devices
US11350139B2 (en) Video live broadcast method and apparatus
US10999340B2 (en) Cloud-based video delivery
US20040249965A1 (en) Node caching system for streaming media applications
US8327013B2 (en) Dynamic index file creation for media streaming
US20100223648A1 (en) Implementation Method And System For A Media-On-Demand Frame-Spanning Playing Mode In A Peer-To-Peer Network
US20090049491A1 (en) Resolution Video File Retrieval
US20110191439A1 (en) Media content ingestion
US8479242B1 (en) Video storage and distribution
CN102137137A (en) Method, device and system for dynamic inter-cut of media contents based on HTTP (Hyper Text Transport Protocol) stream
US20240106831A1 (en) Location based authentication
US20120242841A1 (en) System and method for transmitting real-time images
CN103813185A (en) Method, server and client for quickly distributing segmented programs
CN112333466B (en) Video processing method, device and system
CN112243158B (en) Media file processing method and device, computer readable medium and electronic equipment
WO2016107197A1 (en) Network program recording method, device and system, and recorded-program playing method and device
CN1996997A (en) A method and device for processing stream media service exception
JP5588008B2 (en) Content conversion apparatus, content conversion method, content conversion program, and content distribution system
CA2926585A1 (en) Method for playing back and separately storing audio and video tracks in the internet
CN112287127B (en) Multimedia file storage and reading method
CN114417055A (en) Video playing method and device, computer equipment and storage medium
CN113301100A (en) Data disaster tolerance method, device, equipment and medium based on content distribution network
US20030140093A1 (en) Method and apparatus for providing content over a distributed network
CN106303587A (en) A kind of method and device downloading audio, video data
CN110809178B (en) Plug flow system and method

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
GR01 Patent grant
GR01 Patent grant