CN111294613A - Video processing method, client and server - Google Patents

Video processing method, client and server Download PDF

Info

Publication number
CN111294613A
CN111294613A CN202010105448.5A CN202010105448A CN111294613A CN 111294613 A CN111294613 A CN 111294613A CN 202010105448 A CN202010105448 A CN 202010105448A CN 111294613 A CN111294613 A CN 111294613A
Authority
CN
China
Prior art keywords
video
processed
similarity
information
existing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010105448.5A
Other languages
Chinese (zh)
Inventor
韩立伟
王世明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202010105448.5A priority Critical patent/CN111294613A/en
Publication of CN111294613A publication Critical patent/CN111294613A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23418Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream

Abstract

The embodiment of the invention provides a video processing method, a client, a server, electronic equipment and a computer readable storage medium, and relates to the field of data processing. The method comprises the following steps: acquiring the judging information of the video to be processed; uploading the judging information to a server; receiving a judging result of the video to be processed, which is determined by the server based on the judging information; when the re-judging result is that the similarity between the video to be processed and at least one video in the existing videos is larger than a first preset similarity, refusing to upload the video to be processed and the cataloguing information of the video to be processed to the server; wherein the existing video comprises: video that has started production or completed production. Resources occupied by repeated processing of similar videos are reduced from the source as soon as possible, limited production resources are concentrated into videos to be processed with higher originality compared with existing videos which occupy the production resources, and the videos to be processed with higher originality are produced quickly.

Description

Video processing method, client and server
Technical Field
The present invention relates to the field of data processing, and in particular, to a video processing method, a client, a server, an electronic device, and a computer-readable storage medium.
Background
The client uploads the video to be processed and the cataloguing information of the video to be processed to the server, and after the server receives the video to be processed, the server needs to perform production links such as coding and adjusting the playing speed of the video to be processed, so that the video to be pushed is obtained.
With more and more videos to be processed, more and more resources are occupied by the server for producing each video to be processed.
However, the above videos to be processed are all produced uniformly, which results in a serious waste of resources.
Disclosure of Invention
The embodiment of the invention aims to provide a video processing method, a client, a server, electronic equipment and a computer readable storage medium, so as to solve the problem that the video to be processed is produced in a unified manner and the source is wasted seriously.
The specific technical scheme is as follows:
in a first aspect of the present invention, there is provided a video processing method applied to a client, where the method includes:
acquiring the judging information of the video to be processed;
uploading the judging information to a server;
receiving a judging result of the video to be processed, which is determined by the server based on the judging information;
when the re-judging result is that the similarity between the video to be processed and at least one video in the existing videos is larger than a first preset similarity, refusing to upload the video to be processed and the cataloguing information of the video to be processed to the server; wherein the existing video comprises: video that has started production or completed production.
Optionally, the method further includes:
and uploading the cataloguing information of the video to be processed and the video to be processed to the server under the condition that the re-judging result is that the similarity of the video to be processed and each video in the existing videos is less than or equal to the first preset similarity.
Optionally, the method further includes:
and displaying prompt information of the repeated video under the condition that the similarity between the video to be processed and at least one video in the existing videos is greater than the first preset similarity according to the judgment result.
In a second aspect of the present invention, there is provided a video processing method applied to a server, the method including:
receiving the weight judging information of the video to be processed uploaded by the client;
determining whether the similarity between the video to be processed and each video in the existing video is greater than a first preset similarity or not based on the duplication judgment information so as to obtain a duplication judgment result; wherein the existing video comprises: a video that has started production or completed production;
sending the judging result to the client; the client is used for refusing to upload the cataloguing information of the video to be processed and the video to be processed to the server under the condition that the re-judging result is that the similarity of the video to be processed and at least one video in the existing videos is larger than the first preset similarity.
Optionally, the determining, based on the duplication decision information, whether the similarity between the video to be processed and each of the existing videos is greater than a first preset similarity to obtain a duplication decision result includes at least one of the following steps:
determining the similarity between the video to be processed and at least one video to be greater than the first preset similarity under the condition that the first hash value of the video to be processed is the same as the second hash value of at least one video in the existing videos;
determining the similarity between the video to be processed and at least one video to be greater than the first preset similarity under the condition that the video to be processed is the fragment video of at least one video in the existing videos;
and under the condition that the number of the similar image frames of the video to be processed and at least one of the existing videos is larger than a preset number, determining the similarity between the video to be processed and at least one of the videos as larger than the first preset similarity.
Optionally, the existing video is stored in a preset video library, and the method further includes:
and storing the to-be-processed video which starts to be produced or finishes to be produced into the preset video library as an existing video.
In a third aspect of the present invention, there is also provided a client, including:
the judging information acquisition module is used for acquiring the judging information of the video to be processed;
the judging and repeating information uploading module is used for uploading the judging and repeating information to a server;
a re-judging result receiving module, configured to receive a re-judging result of the to-be-processed video determined by the server based on the re-judging information;
the uploading refusal module is used for refusing to upload the to-be-processed video and the cataloguing information of the to-be-processed video to the server under the condition that the re-judgment result is that the similarity between the to-be-processed video and at least one of the existing videos is greater than a first preset similarity; wherein the existing video comprises: video that has started production or completed production.
Optionally, the client further includes:
a to-be-processed video uploading module, configured to upload the to-be-processed video and the catalog information of the to-be-processed video to the server when the re-determination result indicates that the similarity between the to-be-processed video and each of the videos in the existing videos is less than or equal to the first preset similarity.
Optionally, the client further includes:
and the display module is used for displaying prompt information of repeated videos under the condition that the judging result shows that the similarity between the video to be processed and at least one of the existing videos is greater than the first preset similarity.
In a fourth aspect of the present invention, there is also provided a server, including:
the judging information receiving module is used for receiving the judging information of the video to be processed uploaded by the client;
the duplication judgment result determining module is used for determining whether the similarity between the video to be processed and each video in the existing video is greater than a first preset similarity or not based on the duplication judgment information so as to obtain a duplication judgment result; wherein the existing video comprises: a video that has started production or completed production;
a duplication judgment result sending module, configured to send the duplication judgment result to the client; the client is used for refusing to upload the cataloguing information of the video to be processed and the video to be processed to the server under the condition that the re-judging result is that the similarity of the video to be processed and at least one video in the existing videos is larger than the first preset similarity.
Optionally, the duplication decision module includes at least one of the following units:
a first duplication result determining unit, configured to determine, when a first hash value of the to-be-processed video is the same as a second hash value of at least one of the existing videos, that a similarity between the to-be-processed video and the at least one of the videos is greater than the first preset similarity;
a second re-determination result determining unit, configured to determine, when the to-be-processed video is a segment video of at least one of the existing videos, that a similarity between the to-be-processed video and the at least one of the videos is greater than the first preset similarity;
a third repeated result determining unit, configured to determine, when the number of similar image frames of the to-be-processed video and at least one of the existing videos is greater than a preset number, a similarity between the to-be-processed video and the at least one of the videos as being greater than the first preset similarity.
Optionally, the existing video is stored in a preset video library, and the server further includes:
and the storage module is used for storing the to-be-processed video which starts to be produced or finishes being produced into the preset video library as the existing video.
In a fifth aspect of the present invention, there is also provided a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to execute any of the video processing methods described above.
In a sixth aspect of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the video processing methods described above.
According to the video processing method provided by the embodiment of the invention, a client side obtains the duplication judgment information of a video to be processed; uploading the judging information to a server; receiving a judging result of the video to be processed, which is determined by the server based on the judging information; when the re-judging result is that the similarity between the video to be processed and at least one video in the existing videos is larger than a first preset similarity, refusing to upload the video to be processed and the cataloguing information of the video to be processed to the server; wherein the existing video comprises: video that has started production or completed production. The embodiment of the invention can solve the problem that a large amount of videos to be processed are uniformly produced to a great extent, and resources are seriously wasted.
In the prior art, a large number of videos to be processed are uniformly produced, and the reason for serious resource waste is that many similar videos with high similarity exist in the large number of videos to be processed, and the many similar videos occupy a large amount of production resources. In the embodiment of the invention, the videos which are already produced or have already been produced occupy the production resources, before the client uploads the to-be-processed videos, the similarity between the to-be-processed videos and at least one of the existing videos which occupy the production resources is greater than the first preset similarity, which indicates that the to-be-processed videos are similar to one or more of the existing videos which occupy the production resources, and for the to-be-processed videos which are similar to the one or more videos which occupy the production resources, the client directly refuses to upload the videos to the server, so that the server cannot process the to-be-processed videos, and the resources occupied by repeatedly processing the similar videos can be reduced from the source as soon as possible. Meanwhile, limited production resources can be concentrated into the video to be processed with higher originality relative to the existing video occupying the production resources, the video to be processed with higher originality can be produced quickly, the video to be processed with higher originality can be pushed earlier, enthusiasm of an author is promoted, and the user can watch the video with higher originality as soon as possible.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
FIG. 1 is a flowchart illustrating steps of a first video processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of the steps of a second video processing method according to an embodiment of the present invention;
FIG. 3 is a flow chart of steps of a third video processing method according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of a video uploading and processing in an embodiment of the present invention;
FIG. 5 is a client in an embodiment of the invention;
FIG. 6 is a diagram of yet another embodiment of a client;
FIG. 7 is a server in an embodiment of the invention;
FIG. 8 is yet another server in an embodiment of the invention;
fig. 9 is a schematic structural diagram of an electronic device in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a first video processing method according to an embodiment of the present invention, where the method can be applied to a client. The client can upload the videos to be processed and the catalog information of the videos to be processed to the server, and the server can be an operation producer who encodes the videos to be processed, adjusts the playing speed and the like. In the embodiment of the present invention, this is not particularly limited. In the embodiment of the invention, the method mainly comprises the following steps:
step 101: and acquiring the judging information of the video to be processed.
In the embodiment of the invention, the video to be processed can be a video and the like which need to be encoded, play speed adjusted and the like. In the embodiment of the present invention, this is not particularly limited.
In the embodiment of the present invention, the duplication judgment information of the video to be processed may be identity information of the video to be processed, and the like. For example, the duplication information of the video to be processed may be a hash value of the video to be processed.
In the embodiment of the present invention, if the duplication determining information is a hash value, the first hash value of the processed video may be quickly obtained through the file identifier of the video to be processed. In the embodiment of the present invention, this is not particularly limited.
Step 102: and uploading the judging information to a server.
In the embodiment of the invention, the client and the server can communicate, and the client can upload the judging information of the video to be processed to the server.
In the embodiment of the present invention, the server may provide an upload interface, where the upload interface is configured to receive the duplication judgment information of the to-be-processed video uploaded by the client. The video to be processed may be a shot video, a received video, or an edited video. In the embodiment of the present invention, this is not particularly limited.
Step 103: and receiving the judging result of the video to be processed, which is determined by the server based on the judging information.
In the embodiment of the invention, the server can acquire the weight judging information of each video in the existing video, and the weight judging information of the video can also be the identity information of the video and the like. The duplication judgment information of the video to be processed can be compared with the duplication judgment information of each video in the existing video, and the duplication judgment result of the video to be processed is determined based on the similarity of the two videos, and can represent the similarity of the video to be processed and each video in the existing video. In the embodiment of the present invention, this is not particularly limited.
For example, if the above-mentioned duplication judgment information is a hash value, when the first hash value of the video to be processed is different from the second hash value of each video in the existing video, it is described that the video to be processed is a video that is dissimilar with respect to each video in the existing video, and the duplication judgment result of the video to be processed may be determined as: the similarity between the video and each video in the existing videos is smaller than or equal to a first preset similarity.
In the embodiment of the invention, the server can acquire the duplication judgment information of each video in the existing video in advance or in real time, and the server can quickly and accurately judge whether the video to be processed and each video in the existing video are videos with higher similarity or not under the condition that the server receives the duplication judgment information of the video to be processed uploaded by the client. The method can quickly filter out more to-be-processed videos with higher similarity to at least one video in the existing videos, and avoid the to-be-processed videos from entering a processing link as soon as possible.
Step 104: when the re-judging result is that the similarity between the video to be processed and at least one video in the existing videos is larger than a first preset similarity, refusing to upload the video to be processed and the cataloguing information of the video to be processed to the server; wherein the existing video comprises: video that has started production or completed production.
In the embodiment of the present invention, the first preset similarity may be set according to actual needs, and in the embodiment of the present invention, this is not particularly limited.
In the embodiment of the invention, the duplicate judgment result of the video to be processed can be two. The first method is as follows: the similarity between the video to be processed and each video in the existing video is smaller than or equal to a first preset similarity. Description of the first case: the video to be processed is not similar to each video in the existing video. The second method is as follows: the similarity between the video to be processed and at least one video in the existing videos is larger than a first preset similarity. The second case illustrates: the video to be processed is similar to at least one video in the existing videos.
In the embodiment of the invention, the existing videos comprise videos which start to be produced or have finished being produced, and the existing videos are mainly videos which occupy production resources. For example, the existing video may be a video that has started a production process, or the like. In the embodiment of the present invention, the catalog information may be directory information of the to-be-processed video, and the like. The inventory information may include text information and/or image information, etc. The cataloging information may be used to briefly introduce the video to be processed. For example, the inventory information may include: the photographer information, shot content introduction information, cover image information, and the like of the video to be processed. In the embodiment of the present invention, this is not particularly limited.
In the embodiment of the present invention, if the duplication judgment result of the to-be-processed video returned by the server is: the similarity between the video to be processed and at least one video in the existing videos is larger than a first preset similarity. That is, the video to be processed is similar to at least one of the existing videos. And if the existing videos already occupy production resources, the client refuses to upload the to-be-processed videos and the cataloging information of the to-be-processed videos to the server, so that the to-be-processed videos with high similarity to at least one video in the existing videos are filtered as soon as possible, the to-be-processed videos are prevented from entering a processing link as soon as possible, and resource waste is reduced.
In this embodiment of the present invention, optionally, the video that has started to be produced or the video that has completed to be produced may be stored in a preset video library. The video to be processed which is produced or produced can be used as the existing video to be stored in the preset video library, so that the existing video can be updated in real time, and the result of judging the video to be processed can be further accurately determined. In the embodiment of the present invention, this is not particularly limited.
In the embodiment of the present invention, optionally, the duplication judgment information of each video in the existing video may be stored in the duplication judgment information database, or stored in the preset video library. In the embodiment of the present invention, this is not particularly limited. For example, if the duplication determination information is a hash value, the second hash value of each video in the existing video may be stored in the duplication determination information database.
In the embodiment of the invention, the videos which are produced or finished to be produced already occupy the production resources, before the client uploads the to-be-processed videos, the similarity between the to-be-processed videos and at least one of the existing videos which occupy the production resources is greater than the first preset similarity, which shows that the to-be-processed videos are similar to one or more of the existing videos which occupy the production resources, and the client directly refuses to upload the to-be-processed videos to the server aiming at the to-be-processed videos which are similar to one or more of the videos which occupy the production resources, so that the server can not process the to-be-processed videos, and the resources occupied by repeatedly processing the similar videos can be reduced from the source as soon as possible. Meanwhile, limited production resources can be concentrated into the video to be processed with higher originality relative to the existing video occupying the production resources, the video to be processed with higher originality can be produced quickly, the video to be processed with higher originality can be pushed earlier, enthusiasm of an author is promoted, and the user can watch the video with higher originality as soon as possible.
Referring to fig. 2, fig. 2 is a flowchart illustrating steps of a second video processing method according to an embodiment of the present invention, which can be applied to a client as well. The client may refer to the foregoing description, and details are not repeated herein to avoid redundancy. In the embodiment of the invention, the method mainly comprises the following steps:
step 201: and acquiring the judging information of the video to be processed.
Step 202: and uploading the judging information to a server.
Step 203: and receiving the judging result of the video to be processed, which is determined by the server based on the judging information.
Step 204: when the re-judging result is that the similarity between the video to be processed and at least one video in the existing videos is larger than a first preset similarity, refusing to upload the video to be processed and the cataloguing information of the video to be processed to the server; wherein the existing video comprises: video that has started production or completed production.
In the embodiment of the present invention, the above steps 201 to 204 may refer to the above steps 101 to 104, respectively, and are not described herein again to avoid repetition.
Step 205: and uploading the cataloguing information of the video to be processed and the video to be processed to the server under the condition that the re-judging result is that the similarity of the video to be processed and each video in the existing videos is less than or equal to the first preset similarity.
In the embodiment of the present invention, if the duplication judgment result of the to-be-processed video returned by the server is: the similarity between the video to be processed and each video in the existing video is smaller than or equal to a first preset similarity. That is, the video to be processed is not similar to each video in the existing video. If the video to be processed is more creative than all existing videos occupying production resources, the video to be processed and the cataloging information of the video to be processed can be uploaded to a server, and the server executes the subsequent processing or production process.
Step 206: and displaying prompt information of the repeated video under the condition that the similarity between the video to be processed and at least one video in the existing videos is greater than the first preset similarity according to the judgment result.
In the embodiment of the present invention, if the duplication judgment result of the to-be-processed video returned by the server is: the similarity between the video to be processed and at least one video in the existing videos is larger than a first preset similarity. That is, the video to be processed is similar to at least one of the existing videos. And if the existing video already occupies the production resources, the client displays the prompt information that the video to be processed is the repeated video so as to prompt the user that the similarity between the video to be processed and the existing video is higher. The prompt information prompts the video to be processed to be repeated with the existing video. Or, the prompt message may also prompt which one or ones of the existing videos the to-be-processed video specifically overlaps. For example, the hint information may include the name of the video that is duplicated with the video to be processed, the production time, and the like.
In the embodiment of the invention, the videos which are produced or finished to be produced already occupy the production resources, before the client uploads the to-be-processed videos, the similarity between the to-be-processed videos and at least one of the existing videos which occupy the production resources is greater than the first preset similarity, which shows that the to-be-processed videos are similar to one or more of the existing videos which occupy the production resources, and the client directly refuses to upload the to-be-processed videos to the server aiming at the to-be-processed videos which are similar to one or more of the videos which occupy the production resources, so that the server can not process the to-be-processed videos, and the resources occupied by repeatedly processing the similar videos can be reduced from the source as soon as possible. Meanwhile, limited production resources can be concentrated into the video to be processed with higher originality relative to the existing video occupying the production resources, the video to be processed with higher originality can be produced quickly, the video to be processed with higher originality can be pushed earlier, enthusiasm of an author is promoted, and the user can watch the video with higher originality as soon as possible.
Referring to fig. 3, fig. 3 is a flowchart illustrating steps of a third video processing method according to an embodiment of the present invention, where the method is applied to a server. The server may be a producer or the like that operates to encode the video, adjust the play speed, and the like. In the embodiment of the invention, the method mainly comprises the following steps:
step 301: and receiving the judging and repeating information of the video to be processed uploaded by the client.
The above-mentioned corresponding description of step 301 may be referred to, and is not repeated herein to avoid repetition.
Step 302: determining whether the similarity between the video to be processed and each video in the existing video is greater than a first preset similarity or not based on the duplication judgment information so as to obtain a duplication judgment result; wherein the existing video comprises: video that has started production or completed production.
The relevant description of the corresponding step can be referred to in step 302 as well. It should be noted that, alternatively, the step 302 may include at least one of the following steps S1 to S3:
step S1: and under the condition that the first hash value of the video to be processed is the same as the second hash value of at least one video in the existing videos, determining the similarity between the video to be processed and the at least one video to be greater than the first preset similarity.
Step S2: and determining the similarity between the video to be processed and at least one video to be greater than the first preset similarity under the condition that the video to be processed is the fragment video of at least one video in the existing videos.
Step S3: and under the condition that the number of the similar image frames of the video to be processed and at least one of the existing videos is larger than a preset number, determining the similarity between the video to be processed and at least one of the videos as larger than the first preset similarity.
Specifically, whether the similarity between the video to be processed and at least one of the existing videos is greater than a first preset similarity or not can be quickly determined according to the hash value. Or, judging whether the video to be processed is a segment video of at least one video in the existing videos, and if the video to be processed is the segment video of one or more videos in the existing videos, determining that the similarity between the video to be processed and the at least one video is greater than the first preset similarity. Or, the number of the image frames in the video to be processed, which are similar to the number of the image frames in at least one of the existing videos, is greater than the preset number, which indicates that the similarity between the image frames in the video to be processed, which are greater than the preset number, and one or more image frames in at least one of the existing videos is higher, and it is determined that the similarity between the video to be processed and the at least one video is greater than the first preset similarity. The three steps can be executed alternatively, alternatively or additionally, or all three steps can be executed.
In the embodiment of the invention, in the process of determining the similarity between the video to be processed and each video in the existing video, the step with higher speed can be preferentially selected to improve the speed. Or preferentially selecting a step with higher accuracy to improve the accuracy and the like. For example, the speed of determining the similarity between the video to be processed and at least one of the existing videos through the hash value may be relatively high, and the step S1 may be performed first to quickly and accurately determine whether the similarity between the video to be processed and the at least one video is greater than the first preset similarity. Under the condition that the first hash value of the video to be processed is determined to be different from the second hash value of each video in the existing video, whether the video to be processed is the intercepted video can be judged, if the video to be processed is the intercepted video, the information of the primary video intercepted by the video to be processed, the intercepting start time in the primary video, the intercepting end time in the primary video and the like can be obtained, and whether the video to be processed is the fragment video of at least one video in the existing video can be rapidly and accurately determined according to the information. In the embodiment of the present invention, the number of similar image frames may be further determined under the condition that it is determined that the first hash value of the to-be-processed video is different from the second hash value of each video in the existing video, and the to-be-processed video is not a segment video of each video in the existing video.
Step 303: sending the judging result to the client; the client is used for refusing to upload the cataloguing information of the video to be processed and the video to be processed to the server under the condition that the re-judging result is that the similarity of the video to be processed and at least one video in the existing videos is larger than the first preset similarity.
The corresponding description of the above-mentioned step can be referred to in step 303 as well. To avoid repetition, a detailed description thereof is omitted.
In the embodiment of the present invention, referring to fig. 4, fig. 4 is a schematic flowchart of a video uploading and processing process in the embodiment of the present invention. The left side of the dotted line may be a client and the right side of the dotted line is a server. There may be a plurality of clients. If the duplication judgment information is the hash value, the user logs in the client, and the user uploads the video to be processed through the client. After the user Y uploads the video to be processed, the client of the user Y uploads the first hash value of the video to be processed to the server, and the server compares the first hash value of the video to be processed with the second hash value of each video in the existing video. The server may be completed before the catalog information of the video to be processed is uploaded after the first hash value of the video to be processed is uploaded by the client at which the user Y is located, or may be completed in the process of uploading the catalog information of the video to be processed after the video to be processed is uploaded by the user Y. And under the condition that the first hash value is different from the second hash value of each video in the existing video, indicating that the similarity between the video to be processed uploaded by the user Y and each video in the existing video occupying production resources is lower, receiving the cataloguing information of the video to be processed uploaded by the user Y. And uploading the to-be-processed video and the cataloguing information of the to-be-processed video to a server by the client at which the user Y is positioned, and enabling the to-be-processed video to enter a production link. And under the condition that the first hash value is the same as the second hash value of at least one video in the existing videos, the similarity between the to-be-processed video uploaded by the user Y and one or more videos in the existing videos occupying production resources is higher, and then the client refuses to upload the cataloguing information of the to-be-processed video uploaded by the user Y and the to-be-processed video to the server and outputs prompt information of repeated videos. The client refuses to upload the video to be processed to the server, and the server does not receive the video to be processed and the cataloging information of the video to be processed, so that the video to be processed can not be used as the video to be processed. The server may push the video that has completed production to the user. For example, the server pushes the video that has completed production to user M.
In the embodiment of the present invention, optionally, after the server receives the to-be-processed video and the cataloging information thereof uploaded by the client, the to-be-processed video may enter production. The server may store the video that has started to be produced or the video that has completed to be produced in a preset video library. The video which is produced or produced can be used as the existing video and stored in the preset video library, so that the existing video can be updated in real time, and the duplication judgment result of the video to be processed can be further accurately determined. In the embodiment of the present invention, this is not particularly limited.
In the embodiment of the invention, the videos which are produced or finished to be produced already occupy the production resources, before the client uploads the to-be-processed videos, the similarity between the to-be-processed videos and at least one of the existing videos which occupy the production resources is greater than the first preset similarity, which shows that the to-be-processed videos are similar to one or more of the existing videos which occupy the production resources, and the client directly refuses to upload the to-be-processed videos to the server aiming at the to-be-processed videos which are similar to one or more of the videos which occupy the production resources, so that the server can not process the to-be-processed videos, and the resources occupied by repeatedly processing the similar videos can be reduced from the source as soon as possible. Meanwhile, limited production resources can be concentrated into the video to be processed with higher originality relative to the existing video occupying the production resources, the video to be processed with higher originality can be produced quickly, the video to be processed with higher originality can be pushed earlier, enthusiasm of an author is promoted, and the user can watch the video with higher originality as soon as possible.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the embodiments of the application.
Fig. 5 is a client according to an embodiment of the present invention, where the client 500 may include:
a judging information obtaining module 501, configured to obtain judging information of a video to be processed;
a duplication judgment information uploading module 502, configured to upload the duplication judgment information to a server;
a re-judgment result receiving module 503, configured to receive a re-judgment result of the to-be-processed video determined by the server based on the re-judgment information;
an upload refusal module 504, configured to refuse to upload the to-be-processed video and the catalog information of the to-be-processed video to the server when the re-determination result indicates that the similarity between the to-be-processed video and at least one of the existing videos is greater than a first preset similarity; wherein the existing video comprises: video that has started production or completed production.
Optionally, referring to fig. 6, on the basis of fig. 5, the client further includes:
a to-be-processed video uploading module 505, configured to upload the to-be-processed video and the catalog information of the to-be-processed video to the server when the re-determination result indicates that the similarity between the to-be-processed video and each of the videos in the existing videos is less than or equal to the first preset similarity.
Optionally, referring to fig. 6, the client further includes:
a display module 506, configured to display a prompt message of a repeated video when the re-determination result indicates that the similarity between the video to be processed and at least one of the existing videos is greater than the first preset similarity.
Fig. 7 is a server 700 according to an embodiment of the present invention, where the server 700 may include:
a re-judging information receiving module 701, configured to receive re-judging information of a video to be processed, which is uploaded by a client;
a re-judgment result determining module 702, configured to determine, based on the re-judgment information, whether similarity between the video to be processed and each of the existing videos is greater than a first preset similarity, so as to obtain a re-judgment result; wherein the existing video comprises: a video that has started production or completed production;
a duplication judgment result sending module 703, configured to send the duplication judgment result to the client; the client is used for refusing to upload the cataloguing information of the video to be processed and the video to be processed to the server under the condition that the re-judging result is that the similarity of the video to be processed and at least one video in the existing videos is larger than the first preset similarity.
Optionally, on the basis of fig. 7, referring to fig. 8, the duplication decision module 702 includes at least one of the following units:
a first duplication result determining unit 7021, configured to determine, when a first hash value of the to-be-processed video is the same as a second hash value of at least one of the existing videos, that a similarity between the to-be-processed video and the at least one of the videos is greater than the first preset similarity;
a second repeated result determining unit 7022, configured to determine, when the to-be-processed video is a segment video of at least one of the existing videos, that a similarity between the to-be-processed video and the at least one video is greater than the first preset similarity;
a third repeated result determining unit 7023, configured to determine, when the number of similar image frames of the to-be-processed video and at least one of the existing videos is greater than a preset number, that the similarity between the to-be-processed video and the at least one of the videos is greater than the first preset similarity.
Optionally, the existing video is stored in a preset video library, and the server further includes:
and the storage module is used for storing the to-be-processed video which starts to be produced or finishes being produced into the preset video library as the existing video.
In summary, the videos that have already been produced or have already been produced already occupy the production resource, before the client uploads the video to be processed, the similarity between the video to be processed and at least one of the existing videos that have already occupied the production resource is greater than the first preset similarity, which indicates that the video to be processed is relatively similar to one or more of the existing videos that have already occupied the production resource, and for the video to be processed that is relatively similar to one or more of the videos that have already occupied the production resource, the client directly rejects to upload the video to the server, and the server will not process the video to be processed, so that the resources occupied by repeatedly processing similar videos can be reduced from the source as soon as possible. Meanwhile, limited production resources can be concentrated into the video to be processed with higher originality relative to the existing video occupying the production resources, the video to be processed with higher originality can be produced quickly, the video to be processed with higher originality can be pushed earlier, enthusiasm of an author is promoted, and the user can watch the video with higher originality as soon as possible.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
An embodiment of the present invention further provides an electronic device, as shown in fig. 9, which includes a processor 91, a communication interface 92, a memory 93, and a communication bus 94, where the processor 91, the communication interface 92, and the memory 93 complete mutual communication through the communication bus 94,
a memory 93 for storing a computer program;
the processor 91, when executing the program stored in the memory 93, implements the following steps:
acquiring the judging information of the video to be processed;
uploading the judging information to a server;
receiving a judging result of the video to be processed, which is determined by the server based on the judging information;
when the re-judging result is that the similarity between the video to be processed and at least one video in the existing videos is larger than a first preset similarity, refusing to upload the video to be processed and the cataloguing information of the video to be processed to the server; wherein the existing video comprises: video that has started production or completed production.
Alternatively, the processor 91 is configured to implement the following steps when executing the program stored in the memory 93:
receiving the weight judging information of the video to be processed uploaded by the client;
determining whether the similarity between the video to be processed and each video in the existing video is greater than a first preset similarity or not based on the duplication judgment information so as to obtain a duplication judgment result; wherein the existing video comprises: a video that has started production or completed production;
sending the judging result to the client; the client is used for refusing to upload the cataloguing information of the video to be processed and the video to be processed to the server under the condition that the re-judging result is that the similarity of the video to be processed and at least one video in the existing videos is larger than the first preset similarity.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In yet another embodiment of the present invention, a computer-readable storage medium is further provided, which has instructions stored therein, and when the instructions are executed on a computer, the computer is caused to execute the video processing method described in any of the above embodiments.
In a further embodiment of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the video processing method of any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A video processing method is applied to a client, and the method comprises the following steps:
acquiring the judging information of the video to be processed;
uploading the judging information to a server;
receiving a judging result of the video to be processed, which is determined by the server based on the judging information;
when the re-judging result is that the similarity between the video to be processed and at least one video in the existing videos is larger than a first preset similarity, refusing to upload the video to be processed and the cataloguing information of the video to be processed to the server; wherein the existing video comprises: video that has started production or completed production.
2. The method of claim 1, further comprising:
and uploading the cataloguing information of the video to be processed and the video to be processed to the server under the condition that the re-judging result is that the similarity of the video to be processed and each video in the existing videos is less than or equal to the first preset similarity.
3. The method of claim 1 or 2, further comprising:
and displaying prompt information of the repeated video under the condition that the similarity between the video to be processed and at least one video in the existing videos is greater than the first preset similarity according to the judgment result.
4. A video processing method applied to a server, the method comprising:
receiving the weight judging information of the video to be processed uploaded by the client;
determining whether the similarity between the video to be processed and each video in the existing video is greater than a first preset similarity or not based on the duplication judgment information so as to obtain a duplication judgment result; wherein the existing video comprises: a video that has started production or completed production;
sending the judging result to the client; the client is used for refusing to upload the cataloguing information of the video to be processed and the video to be processed to the server under the condition that the re-judging result is that the similarity of the video to be processed and at least one video in the existing videos is larger than the first preset similarity.
5. The method according to claim 4, wherein the determining, based on the re-determination information, whether the similarity between the video to be processed and each of the existing videos is greater than a first preset similarity to obtain a re-determination result includes at least one of:
determining the similarity between the video to be processed and at least one video to be greater than the first preset similarity under the condition that the first hash value of the video to be processed is the same as the second hash value of at least one video in the existing videos;
determining the similarity between the video to be processed and at least one video to be greater than the first preset similarity under the condition that the video to be processed is the fragment video of at least one video in the existing videos;
and under the condition that the number of the similar image frames of the video to be processed and at least one of the existing videos is larger than a preset number, determining the similarity between the video to be processed and at least one of the videos as larger than the first preset similarity.
6. The method of claim 4, wherein the existing video is stored in a preset video library, the method further comprising:
and storing the to-be-processed video which starts to be produced or finishes to be produced into the preset video library as an existing video.
7. A client, comprising:
the judging information acquisition module is used for acquiring the judging information of the video to be processed;
the judging and repeating information uploading module is used for uploading the judging and repeating information to a server;
a re-judging result receiving module, configured to receive a re-judging result of the to-be-processed video determined by the server based on the re-judging information;
the uploading refusal module is used for refusing to upload the to-be-processed video and the cataloguing information of the to-be-processed video to the server under the condition that the re-judgment result is that the similarity between the to-be-processed video and at least one of the existing videos is greater than a first preset similarity; wherein the existing video comprises: video that has started production or completed production.
8. A server, comprising:
the judging information receiving module is used for receiving the judging information of the video to be processed uploaded by the client;
the duplication judgment result determining module is used for determining whether the similarity between the video to be processed and each video in the existing video is greater than a first preset similarity or not based on the duplication judgment information so as to obtain a duplication judgment result; wherein the existing video comprises: a video that has started production or completed production;
a duplication judgment result sending module, configured to send the duplication judgment result to the client; the client is used for refusing to upload the cataloguing information of the video to be processed and the video to be processed to the server under the condition that the re-judging result is that the similarity of the video to be processed and at least one video in the existing videos is larger than the first preset similarity.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-3 or 4-6 when executing a program stored in the memory.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-3 or 4-6.
CN202010105448.5A 2020-02-20 2020-02-20 Video processing method, client and server Pending CN111294613A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010105448.5A CN111294613A (en) 2020-02-20 2020-02-20 Video processing method, client and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010105448.5A CN111294613A (en) 2020-02-20 2020-02-20 Video processing method, client and server

Publications (1)

Publication Number Publication Date
CN111294613A true CN111294613A (en) 2020-06-16

Family

ID=71025372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010105448.5A Pending CN111294613A (en) 2020-02-20 2020-02-20 Video processing method, client and server

Country Status (1)

Country Link
CN (1) CN111294613A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113347451A (en) * 2021-06-04 2021-09-03 平安证券股份有限公司 Video uploading method and device, electronic equipment and computer readable storage medium
CN113905282A (en) * 2021-10-22 2022-01-07 北京房江湖科技有限公司 Uploading processing method and device of video file, electronic equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552669A (en) * 2008-04-02 2009-10-07 林兆祥 Method and system of data transmission
US20110122255A1 (en) * 2008-07-25 2011-05-26 Anvato, Inc. Method and apparatus for detecting near duplicate videos using perceptual video signatures
CN102143192A (en) * 2010-01-28 2011-08-03 中国移动通信集团江西有限公司 Method, terminal and server for transmitting peer-to-peer video file
CN103002029A (en) * 2012-11-26 2013-03-27 北京百度网讯科技有限公司 Management method, system and client for uploaded files
CN103051925A (en) * 2012-12-31 2013-04-17 传聚互动(北京)科技有限公司 Fast video detection method and device based on video fingerprints
CN103095824A (en) * 2013-01-09 2013-05-08 广东一一五科技有限公司 File uploading control method and system
CN103617233A (en) * 2013-11-26 2014-03-05 烟台中科网络技术研究所 Method and device for detecting repeated video based on semantic content multilayer expression
CN104050247A (en) * 2014-06-04 2014-09-17 上海美琦浦悦通讯科技有限公司 Method for realizing quick retrieval of mass videos
CN105491395A (en) * 2015-12-09 2016-04-13 福建天晴数码有限公司 Server video management method and system
CN106484837A (en) * 2016-09-30 2017-03-08 腾讯科技(北京)有限公司 The detection method of similar video file and device
CN108875062A (en) * 2018-06-26 2018-11-23 北京奇艺世纪科技有限公司 A kind of determination method and device repeating video
CN109213738A (en) * 2018-11-20 2019-01-15 武汉理工光科股份有限公司 A kind of cloud storage file-level data de-duplication searching system and method

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552669A (en) * 2008-04-02 2009-10-07 林兆祥 Method and system of data transmission
US20110122255A1 (en) * 2008-07-25 2011-05-26 Anvato, Inc. Method and apparatus for detecting near duplicate videos using perceptual video signatures
CN102143192A (en) * 2010-01-28 2011-08-03 中国移动通信集团江西有限公司 Method, terminal and server for transmitting peer-to-peer video file
CN103002029A (en) * 2012-11-26 2013-03-27 北京百度网讯科技有限公司 Management method, system and client for uploaded files
CN103051925A (en) * 2012-12-31 2013-04-17 传聚互动(北京)科技有限公司 Fast video detection method and device based on video fingerprints
CN103095824A (en) * 2013-01-09 2013-05-08 广东一一五科技有限公司 File uploading control method and system
CN103617233A (en) * 2013-11-26 2014-03-05 烟台中科网络技术研究所 Method and device for detecting repeated video based on semantic content multilayer expression
CN104050247A (en) * 2014-06-04 2014-09-17 上海美琦浦悦通讯科技有限公司 Method for realizing quick retrieval of mass videos
CN105491395A (en) * 2015-12-09 2016-04-13 福建天晴数码有限公司 Server video management method and system
CN106484837A (en) * 2016-09-30 2017-03-08 腾讯科技(北京)有限公司 The detection method of similar video file and device
CN108875062A (en) * 2018-06-26 2018-11-23 北京奇艺世纪科技有限公司 A kind of determination method and device repeating video
CN109213738A (en) * 2018-11-20 2019-01-15 武汉理工光科股份有限公司 A kind of cloud storage file-level data de-duplication searching system and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113347451A (en) * 2021-06-04 2021-09-03 平安证券股份有限公司 Video uploading method and device, electronic equipment and computer readable storage medium
CN113905282A (en) * 2021-10-22 2022-01-07 北京房江湖科技有限公司 Uploading processing method and device of video file, electronic equipment and storage medium
CN113905282B (en) * 2021-10-22 2024-02-20 贝壳找房(北京)科技有限公司 Video file uploading processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11451863B1 (en) Content versioning system
CN108495185B (en) Video title generation method and device
CN111294613A (en) Video processing method, client and server
CN111935227A (en) Method for uploading file through browser, browser and electronic equipment
CN111885051B (en) Data verification method and device and electronic equipment
CN112667426A (en) Log analysis method and device
CN110807009B (en) File processing method and device
CN116049109A (en) File verification method, system, equipment and medium based on filter
CN107402878B (en) Test method and device
CN114564227A (en) Application program updating method and device, electronic equipment and storage medium
CN114416883A (en) Block chain light node data synchronization method, device, equipment and readable storage medium
CN111539206B (en) Method, device, equipment and storage medium for determining sensitive information
CN111210826A (en) Voice information processing method and device, storage medium and intelligent terminal
CN111294610B (en) Video processing method and device
US20220191345A1 (en) System and method for determining compression rates for images comprising text
CN114417431A (en) File archiving method and device
CN115455083A (en) Duplicate checking method and device, electronic equipment and computer storage medium
CN113411364B (en) Resource acquisition method and device and server
CN115455222A (en) Image retrieval method, image retrieval device, computer equipment and computer-readable storage medium
CN115269910A (en) Audio and video auditing method and system
US9020964B1 (en) Generation of fingerprints for multimedia content based on vectors and histograms
CN114969036A (en) Data retrieval method and device
CN109783559B (en) Method and device for acquiring real estate transaction data, electronic equipment and storage medium
CN111143582B (en) Multimedia resource recommendation method and device for updating association words in double indexes in real time
CN110717109B (en) Method, device, electronic equipment and storage medium for recommending data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200616

RJ01 Rejection of invention patent application after publication