[go: up one dir, main page]

WO2017080174A1 - 视频上传的方法及系统 - Google Patents

视频上传的方法及系统 Download PDF

Info

Publication number
WO2017080174A1
WO2017080174A1 PCT/CN2016/083200 CN2016083200W WO2017080174A1 WO 2017080174 A1 WO2017080174 A1 WO 2017080174A1 CN 2016083200 W CN2016083200 W CN 2016083200W WO 2017080174 A1 WO2017080174 A1 WO 2017080174A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
attribute information
uploading
upload
path
Prior art date
Application number
PCT/CN2016/083200
Other languages
English (en)
French (fr)
Inventor
姜玉寒
Original Assignee
乐视控股(北京)有限公司
乐视云计算有限公司
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 乐视控股(北京)有限公司, 乐视云计算有限公司 filed Critical 乐视控股(北京)有限公司
Priority to US15/252,266 priority Critical patent/US20170142494A1/en
Publication of WO2017080174A1 publication Critical patent/WO2017080174A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Definitions

  • the embodiments of the present invention relate to the field of video uploading technologies, and in particular, to a video uploading method and system.
  • Cloud computing is a pay-per-use model. This mode provides convenient, on-demand network resources (resources including network, server, storage, application software, etc.) to access services. Users can upload the captured video to the cloud server through the desktop, notebook, mobile phone and other clients, or watch the video from the cloud server.
  • resources including network, server, storage, application software, etc.
  • FIG. 1 is a schematic flowchart of a video uploading method in the prior art. As shown in Figure 1, at present, the steps for users to upload videos usually include:
  • S101 The user uploads a video to a server on a client such as a computer, a notebook, or a mobile phone.
  • S102 The server determines whether the video is successfully uploaded.
  • S104 If the video upload is unsuccessful, the server returns a record that the video is not successfully uploaded to the server to the client. After the user knows that the video has not been successfully uploaded, the user searches for the ID number of the uploaded video in the server on the client.
  • S105 The user re-fills the information about the video on the client.
  • S106 The user reselects the path of the video location to upload the video again.
  • the embodiment of the present invention provides a video uploading method and system, which is used to solve the problem that if a user uploads a video in the prior art, if the upload is not successful, the ID number of the video in the server needs to be found, and the related video information is re-filled. And re-selecting the path of the video location to upload the video again, which takes a lot of time.
  • the embodiment of the invention provides a video uploading method, including:
  • the attribute information and the selection path of the video are saved, and an ID number is assigned to the video according to the attribute information of the video and the selected path;
  • the video is marked with a "failure" flag, and a feedback and retransmission indication of the upload failure is generated;
  • An embodiment of the present invention provides another video uploading method, including:
  • the attribute information and the selection path of the first video are saved, and an ID number is assigned to the first video according to the attribute information and the selected path of the first video;
  • the embodiment of the invention provides a video uploading system, including:
  • a storage/allocation unit configured to save attribute information and a selection path of the video during video uploading, and assign an ID number to the video according to the attribute information of the video and the selected path;
  • a flag feedback unit configured to mark a “failure” flag to the video when the video upload fails, and generate an upload failure feedback and a retransmission indication
  • a video retrieval unit configured to search for an ID number of a video with a “failure” flag according to the received retransmission request of the video, and search for corresponding attribute information and a selection path of the video according to the ID number;
  • a retransmission unit configured to perform retransmission of the video according to the found attribute information and the selected path.
  • An embodiment of the present invention provides another video uploading system, including:
  • a storage/allocation unit configured to save the attribute information and the selection path of the first video during the successful upload of the first video, and assign an ID number to the first video according to the attribute information and the selected path of the first video ;
  • a video retrieval unit configured to search for an ID number of the first video when receiving an upload request of the second video having the same attribute information and the selection path, and search for the corresponding first video according to the ID number Attribute information and selection path;
  • uploading the overlay unit configured to perform uploading of the second video according to the found attribute information and the selected path, and assigning an ID number of the first video to the second video.
  • the embodiment of the invention saves the operation steps of the user filling in the video attribute information and selecting the path again, optimizes the video uploading method, shortens the video uploading time, and improves the efficiency of the video uploading.
  • FIG. 1 is a schematic flowchart of a video uploading method in the prior art
  • FIG. 2 is a schematic flowchart of a first embodiment of a video uploading method according to the present invention
  • FIG. 3 is a schematic flowchart of a second embodiment of a video uploading method according to the present invention.
  • FIG. 4 is a schematic structural diagram of a function module of a first embodiment of a video uploading system according to the present invention.
  • FIG. 5 is a schematic structural diagram of a function module of a second embodiment of a video uploading system according to the present invention.
  • FIG. 6 is a structural diagram of a method and system for implementing video uploading according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a computer system that can be applied to a terminal device or a server that implements an embodiment of the present invention.
  • FIG. 2 is a schematic flow chart of a first embodiment of a video uploading method according to the present invention. As shown in FIG. 2, the video uploading method of the embodiment of the present invention includes the following steps:
  • the server saves the attribute information and the selection path of the video, and the server assigns an ID number to the video according to the attribute information of the video and the selected path (for example, 10001).
  • a user selects a video of "Funny” on the client of the notebook and clicks the "Upload” button.
  • the attribute information of the video of "Funny” may include at least one of a name, a classification, a profile, a title, and a tag of the video. These attribute information can be stored in a data table within the server database.
  • the data table may include fields such as a storage path, a name, a classification, an introduction, a title, a label, and the like of the video.
  • the content of the data table can be:
  • Video storage path E: ⁇ New folder ⁇ Video
  • Video name catching monsters
  • the format of the video may be, for example, MPEG, MPG, DAT, PM4, 3GP, FLV, MPG, etc., and the present invention is not limited in this regard.
  • the feedback of the upload failure generated by the server may be a dialog box for video upload failure, or may be a voice reminder.
  • the retransmission indication of the server may include a button for video retransmission.
  • the feedback and retransmission indication generated by the server may also be integrated. For example, in a feedback dialog box, the client is notified that "** video upload failed, is it retransmitted?" and given, for example, "yes" and "no"
  • the button is for the user to select. If the user uploads multiple videos at the same time and fails to upload, the user may also select one or more videos that need to be retransmitted.
  • the invention is not limited in this respect.
  • the feedback and retransmission indication of the upload failure generated by the server may also be other feedbacks and indications that can be thought of by those skilled in the art, and the present invention is not limited in this respect.
  • S203 Search for the ID number of the video with the “failure” flag according to the retransmission request of the received video, and search for the attribute information and the selection path of the corresponding video according to the ID number.
  • the server searches for the ID number of the video with the "failure" flag (for example, 10001 or 10001, 10003, 10008, etc.) on the client of the server according to the received retransmission request of the client, and searches for the attribute of the corresponding video according to the ID number.
  • Information and selection path wherein the attribute information of the video may include the name, classification, introduction, title, and label of the video.
  • the server may perform retransmission of the video according to the found attribute information and the selection path and based on the client's retransmission request.
  • the retransmission video can re-play all the videos of "Funny", covering the partially uploaded video; the re-transmission video can also continue to upload from the breakpoint. For example, the first time you upload a video of "Funny", it will only be interrupted when it is halfway. When you re-upload, you can upload only the remaining half of the video. Therefore, the embodiment of the present invention can continue uploading from the breakpoint, which saves the time for uploading the video next time, and greatly improves the efficiency of video uploading.
  • the server deletes the saved attribute information, the selection path, and the ID number.
  • a predetermined time for example, 1 month
  • the embodiment of the present invention can save storage space and make the program run more quickly by periodically deleting unnecessary files through the server.
  • the user may upload the video to the cloud server through a client such as a desktop, a notebook, a mobile phone, or the like, or may upload the file to another PC or server, etc.
  • the server may include a server or Server clusters, the invention is not limited in this respect.
  • the embodiment of the present invention changes the framework of the data table of the database in the server by using the top-level design.
  • the server saves the attribute information of the video and selects the path, thereby eliminating the operation steps of the user refilling the video attribute information and selecting the path. Optimized the video upload method, shortening the video upload time and improving the efficiency of video uploading.
  • FIG. 3 is a schematic flowchart diagram of a second embodiment of a video uploading method according to the present invention. As shown in FIG. 3, the video uploading method of the embodiment of the present invention includes the following steps:
  • S301 During the successful upload of the first video, save the attribute information and the selection path of the first video, and assign an ID number to the first video according to the attribute information of the first video and the selected path.
  • the server saves the attribute information and the selection path of the first video, and the server assigns an ID to the first video according to the attribute information of the first video and the selected path. number.
  • the first video may be one or more videos, and the present invention is not limited in this regard.
  • S302 When receiving the upload request of the second video having the same attribute information and the selected path, searching for the ID number of the first video, and searching for the attribute information and the selected path of the corresponding first video according to the ID number.
  • the server when the server receives the upload request of the second video with the same attribute and the selected path sent by the client, the server searches the database for the ID number of the first video, and according to the ID number. Find the attribute information and the selection path of the corresponding first video.
  • S303 Perform uploading of the second video according to the found attribute information and the selected path, and assign an ID number of the first video to the second video, thereby replacing the second video with the first video.
  • the server performs uploading of the second video based on the searched attribute information and the selection path based on the upload request of the client, and the server allocates the ID number of the first video to the second video, so that the server can use the first
  • the second video replaces the first video.
  • the first video may be a low bit rate video, such as the regular version of "Funny”.
  • the second video is a high bit rate video, such as the HD version of "Footing the Monster.”
  • the server when the client uploads the video in batches, the server may generate an upload failure dialog box and a “retransmission” button on the operation interface of the client after all the video transmission ends, and the server may Upload the video in whole or in part according to the selection of the dialog box. Therefore, the embodiment of the present invention can uniformly upload all or part of the uploaded video after batch uploading the video, optimize the operation steps of the user, and improve the efficiency of video uploading.
  • the server deletes the saved attribute information, the selection path, and the ID number after a predetermined time after the video upload succeeds or fails.
  • the hair The embodiment can save storage space and make the program run faster by periodically deleting unnecessary files through the server.
  • the video uploading system 100 of the embodiment of the present invention may include: a storage/allocation unit 101, a tag feedback unit 102, a video retrieving unit 103, and a retransmission unit 104.
  • the video uploading system 100 may be a server or a server cluster
  • the storage/allocation unit 101, the tag feedback unit 102, the video retrieving unit 103, and the retransmission unit 104 may be related processing units in one server or
  • the invention is not limited in this respect to one or more servers in a server cluster.
  • the storage/allocation unit 101 is configured to save the attribute information and the selection path of the video during video uploading, and assign an ID number to the video according to the attribute information of the video and the selected path.
  • the tag feedback unit 102 is configured to tag the video with a "failure" flag when the video upload fails, and generate feedback and retransmission indications of the upload failure.
  • the video retrieval unit 103 is configured to search for an ID number of a video with a "failure" flag according to the received retransmission request of the video, and search for attribute information of the video stored by the corresponding storage/allocation unit 101 according to the ID number and Choose the path.
  • the retransmission unit 104 is configured to perform retransmission of the video based on the attribute information and the selection path found by the video retrieval unit 103.
  • the attribute information in the embodiment includes at least one of a name, a classification, a profile, a title, and a label of the video.
  • FIG. 5 is a schematic structural diagram of a function module of a second embodiment of a video uploading system according to the present invention.
  • the video uploading system 200 may include a storage/allocation unit 201, a video retrieving unit 202, and an upload overlay unit 203.
  • the video uploading system 200 can be a server or a server cluster, and the storage/allocation unit 201, the video retrieving unit 202, and the uploading and overlaying unit 203 can be a service.
  • the associated processing unit in the device is either one or more servers in the server cluster, and the invention is not limited in this respect.
  • the storage/allocation unit 201 is configured to save the attribute information and the selection path of the first video during the successful upload of the first video, and allocate the first video according to the attribute information and the selected path of the first video. ID number.
  • the video retrieval unit 202 is configured to search for an ID number of the first video when receiving an upload request of the second video having the same attribute information and the selection path, and search for the corresponding storage/allocation unit 201 according to the ID number.
  • the attribute information and the selection path of the first video are configured to search for an ID number of the first video when receiving an upload request of the second video having the same attribute information and the selection path, and search for the corresponding storage/allocation unit 201 according to the ID number. The attribute information and the selection path of the first video.
  • the upload overlay unit 203 is configured to perform uploading of the second video according to the attribute information and the selected path found by the video retrieving unit 202, and assign an ID number of the first video to the second video.
  • the first video may be a low bit rate video; and the second video may be a high bit rate video. You can also select other types of videos that need to be replaced according to actual needs.
  • the video uploading system in this embodiment may further include a cache processing unit configured to delete the saved attribute information, the selection path, and the ID number after a predetermined time after the video upload succeeds or fails.
  • the units in the embodiments of the present invention are not used to limit the solution of the present invention.
  • the retransmission unit may be described as being used to perform retransmission of the video according to the found attribute information and the selected path. unit.
  • FIG. 6 is a structural diagram of a method and system for implementing video uploading according to an embodiment of the present invention.
  • FIG. 6 is a structural diagram of a method and system for video uploading according to an embodiment of the present invention, including a terminal C and servers S1, S2, . . . , Si, wherein the server may have one or more servers in each server.
  • the server may have one or more servers in each server.
  • the terminal C uploads the video file server to the server to save the attribute information and the selection path of the video uploaded by the terminal C, and assigns an ID number thereto.
  • the server performs re-uploading according to the saved attribute information and the selected path.
  • the embodiment of the present invention can save the video uploading method, shorten the video uploading time, and improve the video by performing the re-uploading by using the attribute information and the selected path saved by the server. The efficiency of the upload.
  • the server saves the attribute information and the selection path of the first video, and the server allocates the first video according to the attribute information of the first video and the selected path. ID number.
  • the server receives the upload request of the second video with the same attribute and the selected path sent by the terminal, the server searches the database for the ID number of the first video, and searches for the attribute information of the corresponding first video according to the ID number. Choose the path.
  • the server performs uploading of the second video according to the found attribute information and the selected path, and assigns the ID number of the first video to the second video, thereby replacing the second video with the first video.
  • the video that fails to be uploaded is re-applied in whole or in part, and the operation steps of the user are optimized, thereby improving the efficiency of video uploading.
  • various functions of the related functional modules can be implemented by a hardware processor and each unit.
  • FIG. 7 a block diagram of a computer system 700 that can be applied to implement a terminal device or server in accordance with an embodiment of the present invention is shown.
  • computer system 700 includes a central processing unit (CPU) 701 that can be loaded into a program in random access memory (RAM) 703 according to a program stored in read only memory (ROM) 702 or from storage portion 708. And perform various appropriate actions and processes.
  • RAM random access memory
  • ROM read only memory
  • RAM 703 various programs and data required for the operation of the system 700 are also stored.
  • the CPU 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704.
  • An input/output (I/O) interface 705 is also coupled to bus 704.
  • the following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, etc.; an output portion 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), and the like, and a speaker; a storage portion 708 including a hard disk or the like And a communication portion 709 including a network interface card such as a LAN card, a modem, or the like.
  • the communication section 709 performs communication processing via a network such as the Internet.
  • Driver 710 is also connected to I/O interface 705 as needed.
  • a removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory or the like, is mounted on the drive 710 as needed so that a computer program read therefrom is installed into the storage portion 708 as needed.
  • an embodiment of the invention includes a computer program product comprising a computer program tangibly embodied on a machine readable medium, the computer program comprising program code for executing the method illustrated in the flowchart.
  • the computer program can be downloaded and installed from the network via communication portion 709, and/or installed from removable media 711.
  • the computer operation instructions may be stored in a read only memory (ROM) 602 or loaded from the storage portion 608 to a random access memory (RAM) 603;
  • ROM read only memory
  • RAM random access memory
  • the attribute information and the selection path of the video are saved, and an ID number is assigned to the video according to the attribute information of the video and the selected path;
  • the video is marked with a "failure" flag, and a feedback and retransmission indication of the upload failure is generated;
  • the attribute information and the selection path of the first video are saved, and an ID number is assigned to the first video according to the attribute information and the selected path of the first video;
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明实施例提供了一种视频上传方法及系统。所述方法包括:在视频上传的期间,保存所述视频的属性信息和选择路径,根据所述视频的属性信息和选择路径为所述视频分配ID号;当所述视频上传失败时,向所述视频标注"失败"标记,并生成上传失败的反馈和重传指示;根据接收的所述视频的重传请求,搜索带有"失败"标记的视频的ID号,并根据所述ID号查找对应的所述视频的属性信息和选择路径;根据查找到的所述属性信息和选择路径执行所述视频的重传。本发明实施例省去了用户再次填写视频属性信息和选择路径的操作步骤,优化了视频上传的方法,缩短了视频上传时间,提高了视频上传的效率。

Description

视频上传的方法及系统 技术领域
本发明实施例涉及视频上传技术领域,尤其涉及一种视频上传方法及系统。
背景技术
随着互联网技术的日新月异的变革,云计算(cloud computing)作为一种新兴技术逐渐进入用户的视野。云计算是一种按使用量付费的模式。这种模式可提供便捷的、按需的网络资源(资源包括网络,服务器,存储,应用软件等)访问服务。用户可以通过台式机、笔记本、手机等客户端将拍摄的视频上传至云端服务器,或者从云端服务器观看其中的视频。
图1为现有技术中视频上传方法流程示意图。如图1所示,目前,用户上传视频的步骤通常包括:
S101:用户在电脑、笔记本、手机等客户端上向某服务器上传视频。
S102:服务器判断视频是否上传成功。
S103:如果视频上传成功,服务器向客户端返回视频成功上传至服务器的记录。
S104:如果视频上传不成功,服务器向客户端返回视频未成功上传至服务器的记录。用户得知视频未成功上传后,用户在客户端上寻找上传失败的视频在服务器中的ID号。
S105:用户在客户端重新填写有关视频的信息。
S106:用户重新选择一遍视频所在地的路径进行视频的再次上传。
上述可知,现有技术中,用户上传视频时,如果遇到视频上传失败的情况,用户需要耗费时间寻找上传失败的视频在服务器中的ID号,并重新填写 有关视频信息,重新选择一遍视频所在地的路径进行视频的再次上传。这样不仅使得用户操作不便,浪费了用户的上传时间,使得视频上传的效率很低。如果专业化的视频公司的工作人员向服务器(例如云端服务器)大批量的上传视频时,现有的视频上传方法就变得非常低效。因此,如何提高视频的上传的效率,成为业界的关注点之一。
发明内容
本发明实施例提供一种视频上传方法及系统,用以解决现有技术中用户在上传视频时,如果上传没有成功,则需要找到该视频在服务器中的ID号,将其有关视频信息重新填写,并重新选择一遍视频所在地的路径进行视频的再次上传,耗费大量时间的问题。
本发明实施例提供了一种视频上传的方法,包括:
在视频上传的期间,保存所述视频的属性信息和选择路径,根据所述视频的属性信息和选择路径为所述视频分配ID号;
当所述视频上传失败时,向所述视频标注“失败”标记,并生成上传失败的反馈和重传指示;
根据接收的所述视频的重传请求,搜索带有“失败”标记的视频的ID号,并根据所述ID号查找对应的所述视频的属性信息和选择路径;
根据查找到的所述属性信息和选择路径执行所述视频的重传。
本发明实施例提供了另一种视频上传方法,包括:
在第一视频成功上传的期间,保存所述第一视频的属性信息和选择路径,根据所述第一视频的属性信息和选择路径为所述第一视频分配ID号;
在接收到具有相同属性信息和选择路径的第二视频的上传请求时,搜索所述第一视频的ID号,并根据所述ID号查找对应的所述第一视频的属性信息和选择路径;
根据查找到的所述属性信息和选择路径执行所述第二视频的上传,并且 为所述第二视频分配所述第一视频的ID号。
本发明实施例提供了一种视频上传的系统,包括:
存储/分配单元,配置为在视频上传的期间,保存所述视频的属性信息和选择路径,根据所述视频的属性信息和选择路径为所述视频分配ID号;
标记反馈单元,配置为当所述视频上传失败时,向所述视频标注“失败”标记,并生成上传失败的反馈和重传指示;
视频检索单元,配置为根据接收的所述视频的重传请求,搜索带有“失败”标记的视频的ID号,并根据所述ID号查找对应的所述视频的属性信息和选择路径;
重传单元,配置为根据查找到的所述属性信息和选择路径执行所述视频的重传。
本发明实施例提供了另一种视频上传系统,包括:
存储/分配单元,配置为在第一视频成功上传的期间,保存所述第一视频的属性信息和选择路径,根据所述第一视频的属性信息和选择路径为所述第一视频分配ID号;
视频检索单元,配置为在接收到具有相同属性信息和选择路径的第二视频的上传请求时,搜索所述第一视频的ID号,并根据所述ID号查找对应的所述第一视频的属性信息和选择路径;
上传覆盖单元,配置为根据查找到的所述属性信息和选择路径执行所述第二视频的上传,并且为所述第二视频分配所述第一视频的ID号。
本发明实施例通过保存视频的属性信息和选择路径,省去了用户再次填写视频属性信息和选择路径的操作步骤,优化了视频上传的方法,缩短了视频上传时间,提高了视频上传的效率。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为现有技术中视频上传方法流程示意图;
图2为本发明视频上传方法第一实施例流程示意图;
图3为本发明视频上传方法第二实施例流程示意图;
图4为本发明视频上传的系统第一实施例功能模块结构示意图;
图5为本发明视频上传的系统第二实施例功能模块结构示意图;
图6为实施本发明实施例的视频上传的方法及系统的架构图;
图7为可以应用于实现本发明实施例的终端设备或服务器的计算机系统的结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图2为本发明视频上传方法第一实施例流程示意图。如图2所示,本发明实施例的视频上传方法包括以下步骤:
S201:在视频上传的期间,保存视频的属性信息和选择路径,根据视频的属性信息和选择路径为视频分配ID号。
在本发明的实施例中,在客户端将视频向服务器上传的期间,服务器保存所述视频的属性信息和选择路径,服务器根据所述视频的属性信息和选择路径为所述视频分配ID号(例如10001)。
在本发明实施例的一个应用中,某用户在笔记本的客户端上选择《捉怪记》的视频,并点击“上传”按钮。《捉怪记》的视频的属性信息可以包括视频的名称、分类、简介、标题、标签中的至少一项。这些属性信息可以存储在服务器数据库内的某个数据表中。该数据表可以包括视频的存储路径、名称、分类、简介、标题、标签等字段。例如,该数据表的内容可以是:
视频的存储路径:E:\新建文件夹\影视视频
视频的名称:捉怪记
视频的分类:魔幻
视频的简介:魔幻电影《捉怪记》中众星云集,剧情引人入胜……
视频的标题:高清版捉怪记
视频的标签:无
在本发明实施例中,视频的格式例如可以是MPEG、MPG、DAT、PM4、3GP、FLV、MPG等,本发明在此方面没有限制。
S202:当视频上传失败时,向视频标注“失败”标记,并生成上传失败的反馈和重传指示。
在本发明实施例中,服务器生成的上传失败的反馈可以是视频上传失败的对话框,也可以是语音提醒等。服务器的重传指示可以包括视频重传的按钮。服务器生成的上传失败的反馈和重传指示还可以是一体的,例如在一个反馈的对话框中告知客户端“**视频上传失败,是否重传?”并给出例如“是”和“否”的按钮供用户选择,若用户同时上传的多个视频上传失败时还可以让用户选择需要重传的一个或多个视频,本发明在此方面没有限制。其中,服务器生成的上传失败的反馈和重传指示还可以是其他本领域技术人员可以想到的反馈和指示,本发明在此方面没有限制。
S203:根据接收的视频的重传请求,搜索带有“失败”标记的视频的ID号,并根据ID号查找对应的视频的属性信息和选择路径。
在本发明实施例中,可以是例如用户在客户端点击视频重传的按钮之后, 服务器根据接收到的客户端的重传请求,在服务器的客户端搜索带有“失败”标记的视频的ID号(例如10001或者10001、10003、10008等),并根据ID号查找对应的视频的属性信息和选择路径,其中视频的属性信息可以包括视频的名称、分类、简介、标题以及标签等。
S204:根据查找到的属性信息和选择路径执行视频的重传。
在本发明实施例中,服务器可以根据查找到的属性信息和选择路径并基于客户端的重传请求执行视频的重传。其中,重传视频可以重新全部上传《捉怪记》的视频,覆盖已经部分上传的视频;重传视频还可以从断点处继续上传。例如,第一次上传《捉怪记》的视频时,只传了一半就中断了,重新上传时,可以仅仅上传剩余的一半视频。由此,本发明实施例可以从断点处继续上传,节省了下次上传视频的时间,大大提高了视频上传的效率。
在本发明的一个可选的实施例中,在视频上传成功或失败后的时间达预定时间后(例如1个月),服务器删除所保存的属性信息、选择路径和ID号等信息。由此,本发明实施例通过服务器定期删除无用的文件可以节省存储空间,让程序运行更加快速。
在本发明的另一些可选的实施例中,用户可以通过台式机、笔记本、手机等客户端将视频上传至云端服务器,也可上传至其它的PC机或者服务器等,服务器可以包括一个服务器或者服务器集群,本发明在此方面没有限制。
上述可知,本发明实施例通过顶层设计,变更服务器内的数据库的数据表的框架结构,服务器通过保存视频的属性信息和选择路径,省去了用户再次填写视频属性信息和选择路径的操作步骤,优化了视频上传的方法,缩短了视频上传时间,提高了视频上传的效率。
图3为本发明视频上传方法第二实施例流程示意图。如图3所示,本发明实施例的视频上传方法包括以下步骤:
S301:在第一视频成功上传的期间,保存第一视频的属性信息和选择路径,根据第一视频的属性信息和选择路径为第一视频分配ID号。
在本发明的实施例中,在客户端向服务器成功上传第一视频的期间,服务器保存第一视频的属性信息和选择路径,服务器根据第一视频的属性信息和选择路径为第一视频分配ID号。其中,第一视频可以是一个或多个视频,本发明在此方面没有限制。
S302:收到具有相同属性信息和选择路径的第二视频的上传请求时,搜索第一视频的ID号,并根据所述ID号查找对应的第一视频的属性信息和选择路径。
在本发明的实施例中,在服务器接收到客户端发送的具有相同属性和选择路径的第二视频的上传请求时,服务器在其数据库中搜索第一视频的ID号,并根据所述ID号查找对应的第一视频的属性信息和选择路径。
S303:根据查找到的属性信息和选择路径执行第二视频的上传,并且为所述第二视频分配第一视频的ID号,从而将第二视频更换掉第一视频。
在本发明的实施例中,服务器根据查找到的属性信息和选择路径基于客户端的上传请求执行第二视频的上传,并且服务器为所述第二视频分配第一视频的ID号,从而可以用第二视频更换掉第一视频。
在本发明实施例中,属性信息、选择路径等与上述第一实施例相同的内容不再赘述,在此仅说明二者不同之处。在一些可选的实施例中,第一视频可以为低码率视频,例如普通版的《捉怪记》。第二视频为高码率视频,例如高清版的《捉怪记》。
在本发明的可选的实施例中,客户端批量上传视频时,服务器可以待所有视频传输结束后,在所述客户端的操作界面上生成上传失败的对话框和“重传”按钮,服务器可以根据对话框的选择情况重新全部或者部分上传视频。由此,本发明实施例可以在批量上传视频后,统一将上传失败的视频重新全部或者部分的上传,优化了用户的操作步骤,提高了视频上传的效率。
在本发明的另一些可选的实施例中,服务器在视频上传成功或失败后的时间达预定时间后,删除所保存的属性信息、选择路径和ID号。由此,本发 明实施例通过服务器定期删除无用的文件可以节省存储空间,让程序运行更加快速。
图4为本发明视频上传系统第一实施例功能模块结构示意图。如图4所示,本发明实施例的视频上传的系统100可以包括:存储/分配单元101、标记反馈单元102、视频检索单元103和重传单元104。
在本实施例中,视频上传的系统100可以为一个服务器或者服务器集群,存储/分配单元101、标记反馈单元102、视频检索单元103和重传单元104可以为一个服务器中的相关处理单元或者为服务器集群中的一个或多个服务器,本发明在此方面没有限制。
其中,存储/分配单元101配置为在视频上传的期间,保存所述视频的属性信息和选择路径,根据所述视频的属性信息和选择路径为所述视频分配ID号。
标记反馈单元102配置为当所述视频上传失败时,向所述视频标注“失败”标记,并生成上传失败的反馈和重传指示。
视频检索单元103配置为根据接收的所述视频的重传请求,搜索带“失败”标记的视频的ID号,并根据所述ID号查找对应的存储/分配单元101存储的视频的属性信息和选择路径。
重传单元104配置为根据视频检索单元103查找到的所述属性信息和选择路径执行所述视频的重传。
本实施方式中所述属性信息包括:视频的名称、分类、简介、标题、标签中的至少一项。
图5为本发明视频上传的系统第二实施例功能模块结构示意图。如图5所示,视频上传的系统200可以包括:存储/分配单元201、视频检索单元202和上传覆盖单元203。
在本实施例中,视频上传的系统200可以为一个服务器或者服务器集群,存储/分配单元201、视频检索单元202和上传覆盖单元203可以为一个服务 器中的相关处理单元或者为服务器集群中的一个或多个服务器,本发明在此方面没有限制。
其中,存储/分配单元201配置为在第一视频成功上传的期间,保存所述第一视频的属性信息和选择路径,根据所述第一视频的属性信息和选择路径为所述第一视频分配ID号。
视频检索单元202配置为在接收到具有相同属性信息和选择路径的第二视频的上传请求时,搜索所述第一视频的ID号,并根据所述ID号查找对应的存储/分配单元201存储的所述第一视频的属性信息和选择路径。
上传覆盖单元203配置为根据视频检索单元202查找到的所述属性信息和选择路径执行所述第二视频的上传,并且为所述第二视频分配所述第一视频的ID号。
本实施方式中所述第一视频可以为低码率视频;所述第二视频可以为高码率视频。也可以按实际需求选择需要更换的其它类型的视频。
本实施方式中视频上传的系统还可以包括缓存处理单元,该缓存处理单元配置为在视频上传成功或失败后的时间达预定时间后,删除所保存的属性信息、选择路径和ID号。
应当理解,图4和图5中记载的诸单元与参考图2、图3中描述的方法中的各个步骤相对应。由此,上文针对方法描述的操作和特征以及相应的技术效果同样适用于图4和图5中的诸单元,在此不再赘述。
值得注意的是,本发明的实施例中的单元并不用于限制本发明的方案,例如重传单元可以描述为用于根据查找到的所述属性信息和选择路径执行所述视频的重传的单元。
图6为实施本发明实施例的视频上传的方法及系统的架构图。
请参考图6,其示出了本发明实施例的视频上传的方法及系统的架构图,包括终端C和服务器S1、S2…Si,,其中,服务器可以有一个或多个,每一个服务器中可以包括一个或多个处理单元,或者也可以是多个服务器共同组 成一个处理单元,本发明在此方面没有限制。
在本发明的一个实施例中,终端C向服务器上传视频文件服务器保存终端C上传的视频的属性信息和选择路径,并为之分配ID号。之后终端C如果上传失败,服务器端根据已保存的属性信息和选择路径执行重新上传。本发明的实施例通过利用服务器保存的属性信息和选择路径执行重新上传,可以省去再次填写视频属性信息和选择路径的操作步骤,优化了视频上传的方法,缩短了视频上传时间,提高了视频上传的效率。
在本发明的另一个实施例中,终端C向服务器成功上传第一视频的期间,服务器保存第一视频的属性信息和选择路径,服务器根据第一视频的属性信息和选择路径为第一视频分配ID号。服务器接收到终端发送的具有相同属性和选择路径的第二视频的上传请求时,服务器在其数据库中搜索第一视频的ID号,并根据所述ID号查找对应的第一视频的属性信息和选择路径。服务器根据查找到的属性信息和选择路径执行第二视频的上传,并且为所述第二视频分配第一视频的ID号,从而将第二视频更换掉第一视频。本发明实施例可以在批量上传视频后,统一将上传失败的视频重新全部或者部分的上传,优化了用户的操作步骤,提高了视频上传的效率。
本发明实施例中可以通过硬件处理器(hardware processor)和各单元来实现相关功能模块的各项功能。
进一步参考图7,其示出了可以应用于实现本发明实施例的终端设备或服务器的计算机系统700的结构示意图。
如图7所示,计算机系统700包括中央处理单元(CPU)701,其可以根据存储在只读存储器(ROM)702中的程序或者从存储部分708加载到随机访问存储器(RAM)703中的程序而执行各种适当的动作和处理。在RAM703中,还存储有系统700操作所需的各种程序和数据。CPU 701、ROM702以及RAM 703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。
以下部件连接至I/O接口705:包括键盘、鼠标等的输入部分706;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分707;包括硬盘等的存储部分708;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分709。通信部分709经由诸如因特网的网络执行通信处理。驱动器710也根据需要连接至I/O接口705。可拆卸介质711,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器710上,以便于从其上读出的计算机程序根据需要被安装入存储部分708。
特别地,根据本发明的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本发明的实施例包括一种计算机程序产品,其包括有形地包含在机器可读介质上的计算机程序,所述计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分709从网络上被下载和安装,和/或从可拆卸介质711被安装。
其中,计算机操作指令可以存放在只读存储器(ROM)602中或者从存储部分608加载到随机访问存储器(RAM)603;
处理器,用于执行上述各个存储器中存储的计算机操作指令,以执行:
在视频上传的期间,保存所述视频的属性信息和选择路径,根据所述视频的属性信息和选择路径为所述视频分配ID号;
当所述视频上传失败时,向所述视频标注“失败”标记,并生成上传失败的反馈和重传指示;
根据接收的所述视频的重传请求,搜索带有“失败”标记的视频的ID号,并根据所述ID号查找对应的所述视频的属性信息和选择路径;
根据查找到的所述属性信息和选择路径执行所述视频的重传。
或者执行:
在第一视频成功上传的期间,保存所述第一视频的属性信息和选择路径,根据所述第一视频的属性信息和选择路径为所述第一视频分配ID号;
在接收到具有相同属性信息和选择路径的第二视频的上传请求时,搜索 所述第一视频的ID号,并根据所述ID号查找对应的所述第一视频的属性信息和选择路径;
根据查找到的所述属性信息和选择路径执行所述第二视频的上传,并且为所述第二视频分配所述第一视频的ID号。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (10)

  1. 一种视频上传的方法,其特征在于,包括:
    在视频上传的期间,保存所述视频的属性信息和选择路径,根据所述视频的属性信息和选择路径为所述视频分配ID号;
    当所述视频上传失败时,向所述视频标注“失败”标记,并生成上传失败的反馈和重传指示;
    根据接收的所述视频的重传请求,搜索带有“失败”标记的视频的ID号,并根据所述ID号查找对应的所述视频的属性信息和选择路径;
    根据查找到的所述属性信息和选择路径执行所述视频的重传。
  2. 根据权利要求1所述的方法,其特征在于,所述属性信息包括:视频的名称、分类、简介、标题、标签中的至少一项。
  3. 一种视频上传的方法,其特征在于,包括:
    在第一视频成功上传的期间,保存所述第一视频的属性信息和选择路径,根据所述第一视频的属性信息和选择路径为所述第一视频分配ID号;
    在接收到具有相同属性信息和选择路径的第二视频的上传请求时,搜索所述第一视频的ID号,并根据所述ID号查找对应的所述第一视频的属性信息和选择路径;
    根据查找到的所述属性信息和选择路径执行所述第二视频的上传,并且为所述第二视频分配所述第一视频的ID号。
  4. 根据权利要求3所述的方法,其特征在于,所述第一视频为低码率视频;所述第二视频为高码率视频。
  5. 根据权利要求3所述的方法,其特征在于,还包括:在视频上传成功 或失败后的时间达预定时间后,删除所保存的属性信息、选择路径和ID号。
  6. 一种视频上传的系统,其特征在于,包括:
    存储/分配单元,配置为在视频上传的期间,保存所述视频的属性信息和选择路径,根据所述视频的属性信息和选择路径为所述视频分配ID号;
    标记反馈单元,配置为当所述视频上传失败时,向所述视频标注“失败”标记,并生成上传失败的反馈和重传指示;
    视频检索单元,配置为根据接收的所述视频的重传请求,搜索带有“失败”标记的视频的ID号,并根据所述ID号查找对应的所述视频的属性信息和选择路径;
    重传单元,配置为根据查找到的所述属性信息和选择路径执行所述视频的重传。
  7. 根据权利要求6所述的系统,其特征在于,所述属性信息包括:视频的名称、分类、简介、标题、标签中的至少一项。
  8. 一种视频上传的系统,其特征在于,包括:
    存储/分配单元,配置为在第一视频成功上传的期间,保存所述第一视频的属性信息和选择路径,根据所述第一视频的属性信息和选择路径为所述第一视频分配ID号;
    视频检索单元,配置为在接收到具有相同属性信息和选择路径的第二视频的上传请求时,搜索所述第一视频的ID号,并根据所述ID号查找对应的所述第一视频的属性信息和选择路径;
    上传覆盖单元,配置为根据查找到的所述属性信息和选择路径执行所述第二视频的上传,并且为所述第二视频分配所述第一视频的ID号。
  9. 根据权利要求8所述的系统,其特征在于,所述第一视频为低码率视频;所述第二视频为高码率视频。
  10. 根据权利要求8所述的系统,其特征在于,还包括:
    缓存处理单元,配置为在视频上传成功或失败后的时间达预定时间后,删除所保存的属性信息、选择路径和ID号。
PCT/CN2016/083200 2015-11-13 2016-05-24 视频上传的方法及系统 WO2017080174A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/252,266 US20170142494A1 (en) 2015-11-13 2016-08-31 Video uploading method and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510780837.7 2015-11-13
CN201510780837.7A CN105897823A (zh) 2015-11-13 2015-11-13 视频上传的方法及系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/252,266 Continuation US20170142494A1 (en) 2015-11-13 2016-08-31 Video uploading method and system

Publications (1)

Publication Number Publication Date
WO2017080174A1 true WO2017080174A1 (zh) 2017-05-18

Family

ID=57001827

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/083200 WO2017080174A1 (zh) 2015-11-13 2016-05-24 视频上传的方法及系统

Country Status (2)

Country Link
CN (1) CN105897823A (zh)
WO (1) WO2017080174A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109104492A (zh) * 2018-08-31 2018-12-28 北京分钟时代科技有限公司 根据模板生成视频的方法
CN109120865A (zh) * 2018-09-26 2019-01-01 北京分钟时代科技有限公司 瀑布流视频生成方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1662002A (zh) * 2004-02-25 2005-08-31 三星电子株式会社 在客户机和服务器之间传送消息文件的方法
US20120036215A1 (en) * 2010-08-04 2012-02-09 Laura Perryman Optimized Data Stream Upload
CN102833337A (zh) * 2012-08-30 2012-12-19 北京星网锐捷网络技术有限公司 一种ftp文件上传、下载方法及装置
CN103873517A (zh) * 2012-12-14 2014-06-18 中兴通讯股份有限公司 一种数据同步的方法、装置和系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8762340B2 (en) * 2010-05-14 2014-06-24 Salesforce.Com, Inc. Methods and systems for backing up a search index in a multi-tenant database environment
CN102333312B (zh) * 2011-10-27 2013-09-04 大唐移动通信设备有限公司 一种ra过程中传输消息的方法及装置
CN104703052B (zh) * 2014-02-19 2017-12-01 杭州海康威视数字技术股份有限公司 一种从车载dvr到gps服务器的gps信息补传方法
CN104978352B (zh) * 2014-04-10 2019-05-24 腾讯科技(深圳)有限公司 信息处理的方法及客户端
CN104602102B (zh) * 2014-07-24 2018-06-01 腾讯科技(北京)有限公司 视频截取内容的传输响应方法、装置、服务器和系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1662002A (zh) * 2004-02-25 2005-08-31 三星电子株式会社 在客户机和服务器之间传送消息文件的方法
US20120036215A1 (en) * 2010-08-04 2012-02-09 Laura Perryman Optimized Data Stream Upload
CN102833337A (zh) * 2012-08-30 2012-12-19 北京星网锐捷网络技术有限公司 一种ftp文件上传、下载方法及装置
CN103873517A (zh) * 2012-12-14 2014-06-18 中兴通讯股份有限公司 一种数据同步的方法、装置和系统

Also Published As

Publication number Publication date
CN105897823A (zh) 2016-08-24

Similar Documents

Publication Publication Date Title
KR102240557B1 (ko) 데이터 저장 방법, 장치 및 시스템
US11119678B2 (en) Transactional operations in multi-master distributed data management systems
US10887416B2 (en) Efficient high availability and storage efficiency in a multi-site object storage environment
CN102571742B (zh) 基于服务器负载状态均衡服务器的系统和方法
US10362340B2 (en) Techniques for creation of auto-montages for media content
CN109657174B (zh) 用于更新数据的方法和装置
US20120166518A1 (en) Providing state service for online application users
CN109255035B (zh) 用于构建知识图谱的方法和装置
US20170078361A1 (en) Method and System for Collecting Digital Media Data and Metadata and Audience Data
US10698863B2 (en) Method and apparatus for clearing data in cloud storage system
US20170344560A1 (en) Distributed file system with integrated file object conversion
US20130046935A1 (en) Shared copy cache across networked devices
US20220261451A1 (en) Method and system for creating and using persona in a content management system
US9204175B2 (en) Providing partial file stream for generating thumbnail
US20170142494A1 (en) Video uploading method and system
WO2017080174A1 (zh) 视频上传的方法及系统
US9736082B2 (en) Intelligent high-volume cloud application programming interface request caching
JP5633646B2 (ja) 情報処理装置、データ管理方法およびデータ管理プログラム
CN114968069A (zh) 一种数据存储方法、装置、电子设备和存储介质
CN110347656B (zh) 文件存储系统中请求的管理方法和装置
CN113032349A (zh) 数据存储方法、装置、电子设备及计算机可读介质
CN112115206A (zh) 一种处理对象存储元数据的方法和装置
CN107526530B (zh) 数据处理方法和设备
CN112711572B (zh) 适用于分库分表的在线扩容方法和装置
US20210304259A1 (en) Methods and systems for delivery of customized content via voice recognition

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16863355

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16863355

Country of ref document: EP

Kind code of ref document: A1