Video publishing method and device
Through multi-algorithm evaluation and score calculation of video files to be released, the problem of difficulty in balancing video review and release efficiency is solved, and the accuracy of video risk assessment and release efficiency are improved.
Patent Information
- Application Number
- CN201910919492.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-09-26
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-07-03
AI Technical Summary
It is difficult to find a balance between video review and publishing with existing technology, which requires both ensuring the legality of video content and improving publishing efficiency.
By analyzing the video files to be released, various algorithms (such as video understanding algorithms and deep learning algorithms) are used to evaluate the risk of the video content. The evaluation algorithm based on the training samples is used to calculate the evaluation score. When the evaluation score is greater than the preset threshold, Publish video files.
It effectively improves the accuracy of video risk assessment, improves the efficiency of video review and release, and reduces the need for manual review.
Smart Images

Figure CN110659618B
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a video publishing method and device. Background Art
[0002] With the rise of the Internet and the development of mobile communication networks, various forms of video content on network platforms are becoming more and more abundant, such as various short videos, long videos, etc. Among these videos, there may be some videos that contain illegal content, such as content that violates social morality, violates laws and regulations, has a negative impact on young people, and other content that is not suitable for dissemination.
[0003] In the related art, in order to prevent illegal videos from being released to users, videos can be reviewed. However, it is difficult to take into account both effective video review and timely video release. Summary of the invention
[0004] The embodiments of the present application provide a video publishing method and device, which can effectively improve the accuracy of video risk assessment and the efficiency of video review and publishing.
[0005] The present application provides a video publishing method, including:
[0006] Analyze the content of the video file to be released;
[0007] The video file is evaluated according to the analysis result and the evaluation algorithm to obtain an evaluation score, wherein the evaluation algorithm is obtained by training a preset evaluation algorithm based on a plurality of training samples, and the training samples are constructed by sample video files and their actual release conditions;
[0008] When the evaluation score is greater than a preset threshold, the video file is released.
[0009] Accordingly, the embodiment of the present application further provides a video publishing device, including:
[0010] An analysis unit, used for analyzing the content of the video file to be released;
[0011] An evaluation unit, configured to evaluate the video file according to the analysis result and an evaluation algorithm to obtain an evaluation score, wherein the evaluation algorithm is obtained by training a preset evaluation algorithm based on a plurality of training samples, and the training samples are constructed from sample video files and their actual release conditions;
[0012] A processing unit is used to publish the video file when the evaluation score is greater than a preset threshold.
[0013] Correspondingly, an embodiment of the present application further provides a computer-readable storage medium, which stores a plurality of instructions, and the instructions are suitable for loading by a processor to execute the steps in the video publishing method as described above.
[0014] Correspondingly, an embodiment of the present application also provides a server, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the steps in the video publishing method described above.
[0015] The present application scheme analyzes the content of the video file to be released, evaluates the video file according to the analysis results and the evaluation algorithm, and obtains an evaluation score, wherein the evaluation algorithm is obtained by training a preset evaluation algorithm based on multiple training samples, and the training samples are constructed by sample video files and their actual release conditions; when the evaluation score is greater than a preset threshold, the video file is released. This scheme uses the actual data of manually reviewed videos to adjust the evaluation algorithm, and uses the evaluation algorithm to quantify the score evaluation of the video content, and compares the evaluation score with the threshold to determine whether the video has a release risk, which effectively improves the accuracy of video risk assessment; in addition, no manual review is required, which improves the efficiency of video review and release. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0017] Figure 1 It is a flow chart of a video publishing method provided in an embodiment of the present application.
[0018] Figure 2 It is another flow chart of the video publishing method provided in the embodiment of the present application.
[0019] Figure 3 It is a schematic diagram of the system architecture of the video publishing method provided in the embodiment of the present application.
[0020] Figure 4 It is a structural diagram of a video publishing device provided in an embodiment of the present application.
[0021] Figure 5 It is another structural schematic diagram of the video publishing device provided in an embodiment of the present application.
[0022] Figure 6 It is a schematic diagram of the structure of the terminal provided in the embodiment of the present application. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0024] The embodiments of the present application provide a video publishing method and device, which can improve the accuracy of video risk assessment and the efficiency of video review and publishing. The following are detailed descriptions. It should be noted that the order of the following embodiments is not intended to limit the preferred order of the embodiments.
[0025] In one embodiment, the description will be made from the perspective that the first video publishing device is integrated into a server.
[0026] See also Figure 1 , Figure 1 A schematic diagram of a process flow of a video publishing method provided in an embodiment of the present application. The specific process of the video publishing method may be as follows:
[0027] 101. Analyze the content of the video file to be released.
[0028] Specifically, video files are one of the important contents of Internet multimedia, which mainly refer to multimedia files containing real-time audio and video information. Video files include a certain number of static images, which can be presented in the form of videos through video processing technology. When the continuous video image changes more than a certain number of frames per second (usually 24 frames), according to the principle of visual persistence, the human eye cannot distinguish a single static picture, and it looks like a smooth and continuous visual effect. Such a continuous picture is called a video.
[0029] In this embodiment, the video file to be published is a video file requested by each user terminal to be published on the video playback platform. After being successfully published on the platform, it can be clicked, accessed, forwarded, liked, commented, etc. by other user terminals, so that the video file reaches a certain amount of dissemination. If the video file to be published is to be successfully published on the video playback platform, it must meet the video publishing requirements of the video playback platform, such as the video format, video length, resolution, video content, etc. must all meet the requirements of the platform.
[0030] In specific implementation, the content of the video file to be released can be analyzed through video understanding algorithms, deep learning algorithms, etc., so as to identify the intention of the video file. Among them, the identified content may include elements such as pictures, texts, and audio in the video file. In practical applications, since different algorithms have different advantages and disadvantages, after comprehensive consideration, this application can use a variety of algorithms to analyze the content of video files in a superimposed manner, and improve the accuracy of video understanding by improving the comprehensive understanding ability of the algorithm. For example, it can include the superposition of algorithms for the following types of content:
[0031] The first type is conventional algorithm matching, such as honest accounts, PHash (Perceptual hash algorithm) black database comparison, black edge judgment of the picture, etc. The recognition accuracy of this type of content is close to 100%, which can play the role of rules.
[0032] The second type is content that is easily recognized by machines, such as TV station logos, advertising QR codes, etc. Through deep learning algorithm training, it is possible to extract relatively accurate features for such logos that have been seen before, and the recognition accuracy can reach more than 70%.
[0033] The third type is content that is difficult for machines to understand, such as vulgar, anime, cult, violent, etc. This type of content samples are difficult to accurately mark, have incomplete coverage, large content changes, and strong adversarial. Generally, a large number of GPUs (Graphics Processing Units) are consumed to train deep neural networks to extract abstract features from video content, and the recognition accuracy is about 50% or even lower.
[0034] In this embodiment, when analyzing the content, based on the test indicators actually needed (such as advertisement determination, black edge determination, etc.), corresponding algorithms may be selected for superposition to analyze the video to be released.
[0035] In some embodiments, there may be a lack of certain algorithm functions, resulting in an inability to automatically determine whether a video file meets one or more test indicators. Therefore, in this case, the video file can be submitted to manual review first, and the platform operator can make a targeted review and determination on whether the video file meets one or more of the above-mentioned test indicators. After determining that one or more test indicators have been met, the machine will analyze the video file to determine whether the video file meets the remaining test indicators. That is, before analyzing the content of the video file to be released, the following process can also be included:
[0036] Send the video file to the preset operation terminal for manual review;
[0037] When receiving information returned by the preset operation terminal indicating that the specified indicator has been reviewed and approved, a step of analyzing the content of the video file to be released is executed.
[0038] The specified test indicators can be set based on the actual algorithm, that is, the content that the machine cannot analyze. For example, if the machine cannot identify violent scenes in the video file, the test indicator (i.e. violent scenes) will be submitted to manual review.
[0039] 102. Evaluate the video file according to the analysis result and the evaluation algorithm to obtain an evaluation score, wherein the evaluation algorithm is obtained by training a preset evaluation algorithm based on multiple training samples, and the training samples are constructed by sample video files and their actual release conditions.
[0040] Specifically, the video file can be scored based on the above analysis results and the trained evaluation algorithm to quantify the quality of the video file content. In this embodiment, there are many ways to evaluate the video file. For example, the analysis results may include: whether the content of the video file meets the determination results of each test indicator; the evaluation algorithm may include: the scoring mechanism corresponding to each test indicator. Then, refer to Figure 2 , the step of “evaluating the video file according to the analysis result and the evaluation algorithm to obtain the evaluation score” may include the following processes:
[0041] 1021. According to the scoring mechanism and determination result corresponding to each test indicator, determine the basic score and added score of the video file on the test indicator;
[0042] 1022. The evaluation score shall be calculated based on at least the basic score and the added score.
[0043] In this embodiment, when the video file is scored, it can be evaluated for multiple test indicators. Each test indicator corresponds to a pre-set scoring standard (i.e., scoring mechanism). For example, when a test indicator is hit (i.e., the requirements of a test indicator are met), the corresponding score can be obtained; when a test indicator is not hit (i.e., the requirements of a test indicator are not met), no score can be obtained.
[0044] In practical applications, considering the continuous incubation and addition of more segmented strategy video understanding algorithms, a total score can be set for each video file, and an initial average score of "total score / total number of algorithms" can be set for each strategy algorithm based on the total number of algorithms. As the number of algorithms increases, the initial score (i.e., the basic score) of each algorithm changes accordingly. Considering that the overall goal is to encourage issuance, but to avoid red line risks. Therefore, each algorithm is arranged in a "no problem, positive" manner, such as "non-advertising, non-black borders on the screen, etc." If it hits, it will get an initial score, and if it doesn't hit, no score.
[0045] For situations where the result can be directly judged as white (i.e., directly released) or where the result needs to be judged as black (i.e., prohibited from being released), a mechanism of adding components can be introduced. That is, for test indicators that can be directly judged as white, it is set to add components when the result is hit and no points when the result is missed; for test indicators that can be directly judged as black, it is set to no points when the result is hit and deduct points when the result is missed. It should be noted that the added component value can be set based on the actual situation of each test indicator, and the more extreme the test indicator, the larger the added component value corresponding to the test indicator.
[0046] For example, the test indicators that can be directly judged include: honest account, TV station logo, etc. Taking the honest account as an example, when the honest account and TV station logo are hit, in addition to the basic score after hitting (such as 10 points), a set bonus score (such as 100 points) can be obtained; if the honest account is not hit, no points will be scored.
[0047] For another example, the test indicators that can be directly judged as black include: non-political, non-SARS evil, etc. Taking non-SARS evil as an example, when SARS evil is hit, only the basic score after hitting (such as 10 points) is obtained; when SARS evil is not hit, there is no basic score (such as 10 points), and the additional score (such as 500 points) needs to be deducted.
[0048] In some embodiments, the preset threshold value may be equal to the sum of the basic scores of the above-mentioned test indicators in the scoring mechanism. For example, there are 10 test indicators (corresponding to 10 algorithms), and the total score set for each video file is 100 points. Then, through the above-mentioned score allocation, a basic score of 10 points may be set for each test indicator. Then, the preset threshold value may be the sum of the basic scores, that is, 100 points.
[0049] In actual applications, due to the large user base, the distribution ratio of each test indicator in the total number of videos submitted by each user to be published is different. For example, most videos have advertising issues. If advertising issues are excluded, other issues can obtain higher publishing scores because their probabilities are too small, resulting in a scoring result that does not conform to the actual publishing situation. Therefore, in this embodiment, the probability distribution of video files on each test indicator can be introduced into the evaluation algorithm to make the evaluation results more reasonable and accurate. That is, in some embodiments, the step of "calculating the evaluation score based on at least the basic score and the added score" can include the following process:
[0050] Get the distribution probability corresponding to each test indicator;
[0051] Based on the distribution probability, the basic score and the added score, the evaluation score is calculated.
[0052] In addition, if the algorithm accuracy is low, the score will be low even if the test indicator is hit. If the accuracy of multiple strategy algorithms is not high, combining them can play a good balancing role. At this time, you can consider introducing the algorithm accuracy rate, multiplying the score obtained by the corresponding test indicator by the accuracy rate, as the final score of the test indicator. That is, in some embodiments, when calculating the evaluation score based on the distribution probability, the basic score and the added component score, the following process can be included:
[0053] Obtain the accuracy of the judgment result corresponding to each test indicator;
[0054] The evaluation score is calculated based on the distribution probability, basic score, added score and accuracy.
[0055] The accuracy rate may be expressed in the form of a percentage or a decimal, for example, the recognition accuracy rate of each algorithm strategy may be between 0 and 100%.
[0056] In specific implementation, the score of the video file on each test indicator can be calculated based on the above-mentioned determination results and scoring mechanism. Finally, all the obtained scores are summed up to obtain an evaluation score to evaluate the content quality of the video file.
[0057] In summary, in some embodiments, the evaluation score can be calculated based on the distribution probability, the basic score, the added component value and the accuracy. Assuming that the total score set for each video is M, the number of test indicators is N, the distribution probability is P, the basic score is S1, the added component value is S2, and the accuracy of the algorithm is R, then the score for each test indicator is Y, and the scoring formula for each test indicator is as follows:
[0058] S1=M / N
[0059] Y=(S1*P±S2)*R
[0060] Below, it is assumed that there are 10 test indicators, and the scoring mechanism corresponding to each test indicator is shown in Table 1 below, and the scoring method in this embodiment is illustrated by way of example.
[0061] Table 1
[0062]
[0063] It should be noted that in order to reduce the amount of calculation, the above scoring mechanism does not consider the distribution probability for the time being, and only some algorithm parameters are given as examples. For example, if the video file to be released hits the integrity account and the station logo, they will each get 110 points according to the hit amplification, but because the accuracy of the station logo algorithm is 0.8, the actual score is 88 points; at the same time, it hits the non-PHash black library and gets a basic score of 10 points; if it does not hit non-pornography (that is, the video content contains pornographic tags), a bonus score of 100 points will be deducted according to the miss, but because the algorithm accuracy is only 0.3, 30 points will be deducted; if it hits non-political issues, it will get a basic score of 10 points. The final total score after combining all the scores and deductions is 188 points.
[0064] In practical applications, the evaluation algorithm needs to be trained in advance to ensure the accuracy of the evaluation results of the algorithm. In some embodiments, when the evaluation algorithm is obtained by training the preset evaluation algorithm based on multiple training samples, the following process may be included:
[0065] (11) obtaining multiple sample video files and their actual release status, where the actual release status is the release result after manual review of the sample video files;
[0066] (12) analyzing multiple sample video files to obtain multiple sample analysis results;
[0067] (13) adjusting algorithm parameters in a preset evaluation algorithm, and evaluating multiple sample video files using the preset evaluation algorithm after multiple sample analysis results and the adjusted parameters to obtain multiple sample evaluation scores;
[0068] (14) comparing the evaluation scores of the multiple samples with a preset threshold to obtain multiple prediction results of whether to release the multiple sample video files;
[0069] (15) When the number of prediction results that match the actual release situation reaches a specified number, the preset evaluation algorithm after the current adjustment parameters is used as the evaluation algorithm.
[0070] The algorithm parameters are the settings of the scores in the above scoring mechanism. The purpose of training the evaluation algorithm is to adjust the scores of the scoring mechanism corresponding to each test indicator so that the score results obtained by the adjusted scoring mechanism are more accurate.
[0071] In this embodiment, the application scenario can be the content review of long and short videos. The current video review process is manual review for the first review (mainly political and pornographic), second review (mainly low-quality content), and standardized review (i.e., whether it is suitable for recommendation). In order to improve the implementation efficiency, while conducting manual review, the machine test bypass can be connected to the manual review process to achieve the test and evaluation of the current manually reviewed video files by the machine without affecting the current manual review process. And compare the results of the machine test evaluation with the results of the manual review (i.e., the actual release situation) to determine the accuracy of the machine test evaluation. Until the machine test evaluation result is infinitely close to and exceeds the manual review, it will directly switch to machine review instead of the original manual review process.
[0072] refer to Figure 3 , Figure 3 A schematic diagram of the system architecture of a video publishing method provided in this embodiment. Among them, the first instance and the second instance are manual reviews, and the two can be based on different review criteria, that is, the first instance and the second instance are based on different test indicators. For example, the first instance can be an audit of more serious indicators, such as suspected illegality, suspected evil, political involvement and other test indicators; the second instance can be an audit of ordinary indicators, such as advertising, picture quality, noise and other test indicators.
[0073] In this embodiment, test bypass 1 and test bypass 2 are evaluated by machine testing. Figure 3 As shown, test bypass 1 is connected to before the first instance stage, and test bypass 2 is connected to after the first instance stage and before the second instance stage. That is, when a sample video file is input, the newly added test bypass 1 is used to test and evaluate the sample video file without affecting the normal process of manual review (i.e., the first instance and the second instance), and the test evaluation result is obtained. When the sample video file passes the first instance, the newly added test bypass 2 is used to test and evaluate the sample video file without affecting the normal process of the second instance, and the test evaluation result is obtained.
[0074] It should be noted that in this embodiment, the algorithms used by test bypass 1 and test bypass 2 for content analysis of video files, as well as the subsequent scoring mechanism are the same. There is no substantial difference between test bypass 1 and test bypass 2, except that the access points to the original manual review process are different. The purpose is to determine which solution is more appropriate, directly going through test bypass 1 without manual review or going through manual review (i.e., first instance) and then going through test bypass 2. Which solution actually needs to be selected can be determined based on the actual test situation.
[0075] After completing the manual review, the test evaluation of test bypass 1, and the test evaluation of test bypass 2, the respective review results (or evaluation results) are compared and analyzed. Among them, the result of manual review can be whether the sample video file can be directly released; and the evaluation results of test bypass 1 and test bypass 2 can also be evaluation scores, and whether the sample video file can be directly released can be determined by setting a threshold value. The algorithm parameters in the evaluation algorithm can be dynamically adjusted and set based on the results of the above manual review and the evaluation scores of each test bypass, so that under the threshold value, the prediction results of test bypass 1 and test bypass 2 based on the obtained evaluation scores predict whether the sample video file can be directly released are consistent with the above manual review results (i.e., the actual release situation). Of course, it is necessary to test and evaluate a large number of sample video files before determining more accurate algorithm parameters, thereby obtaining an evaluation algorithm with a higher evaluation accuracy.
[0076] 103. When the evaluation score is greater than a preset threshold, the video file is released.
[0077] In specific implementation, if the evaluation score is greater than the specified threshold, the video file can be directly published. At the same time, the access rights of the video file can be set to be open to all users so that the video file can be disseminated and promoted on the video playback platform.
[0078] In some embodiments, if the evaluation score is lower than a preset threshold, it means that the evaluation score is too low, which means that the content quality of the video file is poor and the risk of being banned after being released is high. In this case, the video file can be directly banned from being released. Alternatively, the video file can be released to be public only to the associated users of the video file (such as the uploader of the video file), such as only visible to oneself.
[0079] As can be seen from the above, the video publishing method provided in this embodiment analyzes the content of the video file to be published; evaluates the video file according to the analysis results and the evaluation algorithm to obtain an evaluation score, wherein the evaluation algorithm is obtained by training a preset evaluation algorithm based on multiple training samples, and the training samples are constructed by sample video files and their actual publishing conditions; when the evaluation score is greater than a preset threshold, the video file is published. This solution uses the actual data of manually reviewed videos to adjust the evaluation algorithm, and uses the evaluation algorithm to quantify the score evaluation of the video content, and compares the evaluation score with the threshold to determine whether the video has a publishing risk, which effectively improves the accuracy of video risk assessment; in addition, no manual review is required, which improves the efficiency of video review and publishing.
[0080] In order to better implement the video publishing method provided in the embodiment of the present application, the embodiment of the present application also provides a device based on the above video publishing method. The meanings of the terms are the same as those in the above video publishing method, and the specific implementation details can refer to the description in the method embodiment.
[0081] See also Figure 4 , Figure 4 The schematic diagram of the structure of a video publishing device provided in an embodiment of the present application. The video publishing device 400 may be integrated in a server. The video publishing device 400 may include an analysis unit 401, an evaluation unit 402, and a processing unit 403, which may be specifically as follows:
[0082] An analysis unit 401 is used to analyze the content of the video file to be released;
[0083] An evaluation unit 402 is used to evaluate the video file according to the analysis result and the evaluation algorithm to obtain an evaluation score, wherein the evaluation algorithm is obtained by training a preset evaluation algorithm based on a plurality of training samples, and the training samples are constructed by sample video files and their actual release conditions;
[0084] The processing unit 403 is configured to publish the video file when the evaluation score is greater than a preset threshold.
[0085] In some embodiments, the analysis result includes: the determination result of whether the content of the video file meets each test indicator; the evaluation algorithm includes: the scoring mechanism corresponding to each test indicator;
[0086] The evaluation unit 402 may include:
[0087] Determine in unit 4021, for determining the basic score and the added score of the video file on the test indicator according to the scoring mechanism and the determination result corresponding to each test indicator;
[0088] The calculation subunit 4022 is used to calculate the evaluation score based on at least the basic score and the added component score.
[0089] In some embodiments, the computing subunit 4022 may be used to:
[0090] Get the distribution probability corresponding to each test indicator;
[0091] The evaluation score is calculated based on the distribution probability, the basic score and the added component value.
[0092] In some embodiments, the computing subunit 4022 may further be used to:
[0093] Obtain the accuracy of the judgment result corresponding to each test indicator;
[0094] The evaluation score is calculated based on the distribution probability, the basic score, the added score and the accuracy rate.
[0095] In some embodiments, the preset threshold is equal to the sum of the basic scores in the scoring mechanism corresponding to each test indicator.
[0096] In some embodiments, the evaluation unit 402 may include:
[0097] An acquisition subunit is used to acquire a plurality of sample video files and their actual release status, wherein the actual release status is the release result after manual review of the sample video files;
[0098] An analysis subunit, configured to analyze the plurality of sample video files to obtain a plurality of sample analysis results;
[0099] An adjustment subunit, configured to adjust the algorithm parameters in the preset evaluation algorithm, and evaluate the plurality of sample video files using the plurality of sample analysis results and the preset evaluation algorithm after the adjusted parameters to obtain a plurality of sample evaluation scores;
[0100] A comparison subunit, used for comparing the multiple sample evaluation scores with the preset threshold value to obtain multiple prediction results of whether to release the multiple sample video files;
[0101] The replacement unit is used to use the preset evaluation algorithm after the current adjustment parameters as the evaluation algorithm when the number of prediction results that are consistent with the actual release situation reaches a specified number.
[0102] refer to Figure 5 , in some embodiments, further comprising:
[0103] The sending unit 404 is used to send the video file to a preset operation terminal for manual review before analyzing the content of the video file to be released;
[0104] The analysis unit 401 is used to analyze the content of the video file to be released when receiving the information returned by the preset operation terminal indicating that the specified indicator has been reviewed and approved.
[0105] The video publishing device provided in the embodiment of the present application analyzes the content of the video file to be published; evaluates the video file according to the analysis result and the evaluation algorithm to obtain an evaluation score, wherein the evaluation algorithm is obtained by training a preset evaluation algorithm based on multiple training samples, and the training samples are constructed by sample video files and their actual publishing conditions; when the evaluation score is greater than a preset threshold, the video file is published. This solution uses the actual data of manually reviewed videos to adjust the evaluation algorithm, and uses the evaluation algorithm to quantify the score evaluation of the video content, and compares the evaluation score with the threshold to determine whether the video has a publishing risk, which effectively improves the accuracy of video risk assessment; in addition, no manual review is required, which improves the efficiency of video review and publishing.
[0106] The present application also provides a server. Figure 6 As shown, the server may include a radio frequency (RF) circuit 601, a memory 602 including one or more computer-readable storage media, an input unit 603, a display unit 604, a sensor 605, an audio circuit 606, a wireless fidelity (WiFi) module 607, a processor 608 including one or more processing cores, and a power supply 609. Those skilled in the art will appreciate that Figure 6 The server structure shown in the figure does not constitute a limitation on the server, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Among them:
[0107] The RF circuit 601 can be used for receiving and sending signals during the process of sending and receiving information. In particular, after receiving the downlink information of the base station, it is handed over to one or more processors 608 for processing; in addition, the uplink data is sent to the base station. Generally, the RF circuit 601 includes but is not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM) card, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 601 can also communicate with the network and other devices through wireless communication.
[0108] The memory 602 can be used to store software programs and modules, and the processor 608 executes various functional applications and data processing by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 602 may also include a memory controller to provide the processor 608 and the input unit 603 with access to the memory 602.
[0109] The input unit 603 can be used to receive input digital or character information, and to generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, in a specific embodiment, the input unit 603 may include a touch-sensitive surface and other input devices. The touch-sensitive surface, also known as a touch display screen or a touchpad, can collect user touch operations on or near it (such as operations performed by the user using any suitable object or accessory such as a finger, stylus, etc. on or near the touch-sensitive surface), and drive the corresponding connection device according to a pre-set program. In addition to the touch-sensitive surface, the input unit 603 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc.
[0110] The display unit 604 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the server, which can be composed of graphics, text, icons, videos and any combination thereof. The display unit 604 may include a display panel. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch-sensitive surface may cover the display panel. When the touch-sensitive surface detects a touch operation on or near it, it is transmitted to the processor 608 to determine the type of touch event. The processor 608 then provides a corresponding visual output on the display panel according to the type of touch event. Although in Figure 6 In the embodiment, the touch-sensitive surface and the display panel are used as two independent components to realize input and output functions, but in some embodiments, the touch-sensitive surface and the display panel can be integrated to realize input and output functions.
[0111] The server may further include at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and / or backlight when the server is moved to the ear.
[0112] The audio circuit 606, the speaker, and the microphone can provide an audio interface between the user and the server. The audio circuit 606 can transmit the received audio data to the speaker after converting the electrical signal, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 606 and converted into audio data, and then the audio data is processed by the output processor 608 and sent to, for example, a server through the RF circuit 601, or the audio data is output to the memory 602 for further processing. The audio circuit 606 may also include an earplug jack to provide communication between an external headset and the server.
[0113] WiFi is a short-range wireless transmission technology. The server can help users send and receive emails, browse web pages, and access streaming media through WiFi module 607, which provides users with wireless broadband Internet access. Figure 6 A WiFi module 607 is shown, but it is understandable that it is not a necessary component of the server and can be omitted as needed without changing the essence of the invention.
[0114] The processor 608 is the control center of the server, which uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 602, and calling data stored in the memory 602, it executes various functions of the server and processes data, thereby controlling the mobile phone as a whole. Optionally, the processor 608 may include one or more processing cores; preferably, the processor 608 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 608.
[0115] The server also includes a power supply 609 (such as a battery) for supplying power to each component. Preferably, the power supply can be logically connected to the processor 608 through a power management system, so that the power management system can manage charging, discharging, and power consumption management. The power supply 609 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0116] Specifically in this embodiment, the processor 608 in the server will load the executable files corresponding to the processes of one or more applications into the memory 602 according to the following instructions, and the processor 608 will run the applications stored in the memory 602 to implement various functions:
[0117] Analyze the content of the video file to be released;
[0118] The video file is evaluated according to the analysis result and the evaluation algorithm to obtain an evaluation score, wherein the evaluation algorithm is obtained by training a preset evaluation algorithm based on a plurality of training samples, and the training samples are constructed by sample video files and their actual release conditions;
[0119] When the evaluation score is greater than a preset threshold, the video file is released.
[0120] The server provided in the embodiment of the present application uses actual data from manually reviewed videos to adjust the evaluation algorithm, and uses the evaluation algorithm to quantify the score evaluation of the video content, and compares the evaluation score with a threshold to determine whether the video has a risk of being released, thereby effectively improving the accuracy of video risk assessment; in addition, no manual review is required, thereby improving the efficiency of video review and release.
[0121] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0122] To this end, an embodiment of the present application provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any of the video publishing methods provided in the embodiments of the present application. For example, the instructions can execute the following steps:
[0123] Analyze the content of the video file to be released; evaluate the video file according to the analysis result and an evaluation algorithm to obtain an evaluation score, wherein the evaluation algorithm is obtained by training a preset evaluation algorithm based on multiple training samples, and the training samples are constructed by sample video files and their actual release conditions; when the evaluation score is greater than a preset threshold, release the video file.
[0124] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0125] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0126] Since the instructions stored in the storage medium can execute the steps in any video publishing method provided in the embodiments of the present application, the beneficial effects that can be achieved by any video publishing method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0127] The video publishing method and device provided in the embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A video publishing method, characterized in that: include: Analyze the content of the video file to be released; The video file is evaluated according to the analysis result and the evaluation algorithm to obtain an evaluation score, wherein the analysis result includes: whether the content of the video file meets the determination result of each test indicator; the evaluation algorithm includes: a scoring mechanism corresponding to each test indicator; the evaluation of the video file according to the analysis result and the evaluation algorithm to obtain an evaluation score includes: according to the scoring mechanism and the determination result corresponding to each test indicator, determining the basic score and the added component value of the video file on the test indicator; obtaining the distribution probability corresponding to each test indicator and the accuracy of the determination result corresponding to each test indicator; and calculating the evaluation score based on the distribution probability, the basic score, the added component value and the accuracy; Among them, the evaluation algorithm is obtained by training a preset evaluation algorithm based on multiple training samples, specifically: obtaining multiple sample video files and their actual release status, the actual release status is the release result after manual review of the sample video files; analyzing the multiple sample video files to obtain multiple sample analysis results; adjusting the algorithm parameters in the preset evaluation algorithm, and evaluating the multiple sample video files through the preset evaluation algorithm after the multiple sample analysis results and the adjusted parameters to obtain multiple sample evaluation scores; comparing the multiple sample evaluation scores with the preset threshold to obtain multiple prediction results of whether to release the multiple sample video files; when the number of prediction results that match the actual release status reaches a specified number, the preset evaluation algorithm after the current adjusted parameters is determined as the evaluation algorithm; When the evaluation score is greater than the preset threshold, the video file is released.
2. The video publishing method according to claim 1, characterized in that: The preset threshold is equal to the sum of the basic scores in the scoring mechanism corresponding to each test indicator.
3. The video publishing method according to claim 1, characterized in that: Before analyzing the content of the video file to be released, it also includes: Sending the video file to a preset operation terminal for manual review; When receiving the information returned by the preset operation terminal indicating that the specified indicator has been reviewed and approved, the step of analyzing the content of the video file to be released is performed.
4. A video publishing device, characterized in that: include: An analysis unit, used for analyzing the content of the video file to be released; An evaluation unit is used to evaluate the video file according to the analysis result and the evaluation algorithm to obtain an evaluation score, wherein the analysis result includes: whether the content of the video file meets the judgment result of each test indicator; the evaluation algorithm includes: a scoring mechanism corresponding to each test indicator; the evaluation of the video file according to the analysis result and the evaluation algorithm to obtain an evaluation score includes: according to the scoring mechanism and the judgment result corresponding to each test indicator, determining the basic score and the added component value of the video file on the test indicator; obtaining the distribution probability corresponding to each test indicator and the accuracy of the judgment result corresponding to each test indicator; calculating the evaluation score based on the distribution probability, the basic score, the added component value and the accuracy; wherein the evaluation algorithm is based on multiple training The samples are obtained by training a preset evaluation algorithm, specifically: obtaining multiple sample video files and their actual release status, wherein the actual release status is the release result after manual review of the sample video files; analyzing the multiple sample video files to obtain multiple sample analysis results; adjusting the algorithm parameters in the preset evaluation algorithm, and evaluating the multiple sample video files through the preset evaluation algorithm after the multiple sample analysis results and the adjusted parameters to obtain multiple sample evaluation scores; comparing the multiple sample evaluation scores with preset thresholds to obtain multiple prediction results of whether to release the multiple sample video files; when the number of prediction results that match the actual release status reaches a specified number, determining the preset evaluation algorithm after the current adjusted parameters as the evaluation algorithm; A processing unit is used to publish the video file when the evaluation score is greater than the preset threshold.
5. A computer-readable storage medium, characterized in that: The storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the video publishing method according to any one of claims 1 to 3.
6. A server, characterized in that: It comprises a processor and a memory, wherein the memory stores a computer program, and the processor is used to run the computer program in the memory to execute the steps in the video publishing method according to any one of claims 1 to 3.
