[go: up one dir, main page]

WO2022105656A1 - Video splitting method, system and apparatus, and device and storage medium - Google Patents

Video splitting method, system and apparatus, and device and storage medium Download PDF

Info

Publication number
WO2022105656A1
WO2022105656A1 PCT/CN2021/129848 CN2021129848W WO2022105656A1 WO 2022105656 A1 WO2022105656 A1 WO 2022105656A1 CN 2021129848 W CN2021129848 W CN 2021129848W WO 2022105656 A1 WO2022105656 A1 WO 2022105656A1
Authority
WO
WIPO (PCT)
Prior art keywords
stripping
video
rule
strip
processed
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.)
Ceased
Application number
PCT/CN2021/129848
Other languages
French (fr)
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 Kingsoft Cloud Network Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network 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 Kingsoft Cloud Network Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Publication of WO2022105656A1 publication Critical patent/WO2022105656A1/en
Anticipated expiration legal-status Critical
Ceased 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/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23418Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23424Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4431OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB characterized by the use of Application Program Interface [API] libraries

Definitions

  • the present application relates to the field of Internet technologies, and in particular, to a video stripping method, system, apparatus, device and storage medium.
  • Video stripping refers to the secondary processing of videos, such as traditional TV media programs, due to the needs of Internet video and new media short video content platforms. multiple videos. Among them, the logical thinking or specific needs based on the splitting process can be understood as the splitting rules.
  • the user sends a Hyper Text Transfer Protocol (HTTP) request that includes a plurality of fields to the strip service, and the request includes the field corresponding to the identification information of the video to be processed sent by the strip service, and the strip scene.
  • HTTP Hyper Text Transfer Protocol
  • the stripping service parses the HTTP request, obtains the video to be processed according to the obtained identification information, and treats the to-be-processed video according to the stripping rule corresponding to the stripping scene.
  • Process video for stripping is
  • the purpose of the embodiments of the present application is to provide a video stripping method, system, device, device, and storage medium, so as to configure the stripping rules more flexibly and make the stripping process simpler.
  • the specific technical solutions are as follows:
  • an embodiment of the present application provides a video stripping method, which is applied to a stripping service, including: acquiring stripping rules configured by a user through a stripping platform; stripping a video to be processed according to the stripping rules, The split video corresponding to the to-be-processed video is obtained.
  • the method before the to-be-processed video is split according to the split rule to obtain a split video corresponding to the to-be-processed video, the method further includes: acquiring a video split request, the The video splitting request carries the identification information of the to-be-processed video; the to-be-processed video is acquired according to the identification information.
  • the acquiring the stripping rule configured by the user through the stripping platform includes: acquiring stripping rule parameters configured by the user based on configuration rule information, and combining the configuration rule information and the stripping rule
  • the rule parameter is used as the stripping rule
  • the configuration rule information is configuration rule information corresponding to different stripping scenarios included in the stripping rule configuration page provided by the stripping platform.
  • the video splitting request further includes a scene to be split;
  • the splitting the to-be-processed video according to the splitting rule to obtain the splitting video corresponding to the to-be-processed video includes:
  • the to-be-processed video is subjected to frame extraction processing to obtain multiple video frames; a preset algorithm model corresponding to the to-be-split scene is determined; the multiple video frames are respectively identified by using the preset algorithm model, and the meeting is obtained.
  • the video frame of the scene to be split; the video frames that satisfy the scene to be split are synthesized according to the split rule to obtain the split video that satisfies the split rule.
  • the method further includes: storing the split video The address is fed back to the client where the user is located, so that the user obtains the split video by using the storage address.
  • an embodiment of the present application provides a video stripping method, which is applied to a stripping platform, including: providing a stripping rule configuration page; receiving stripping rules configured by a user on the stripping rule configuration page, to The splitting service is enabled to split the video to be processed based on the splitting rule to obtain a splitting video corresponding to the video to be processed.
  • the stripping rule configuration page includes configuration rule information corresponding to different stripping scenarios; the receiving a stripping rule configured by a user on the stripping rule configuration page includes: receiving the user A strip rule parameter configured based on the configuration rule information, and the configuration rule information and the strip strip rule parameter are used as the strip strip rule.
  • the method further includes: providing a split log page, where the split log page is used to display split log information.
  • the method further includes: providing a data statistics page, where the data statistics page is used to display data statistics results.
  • the method further includes: providing a face sample library adding page, where the face sample library adding page is used to add matched face samples in the stripping process.
  • an embodiment of the present application provides a video stripping system, including: a stripping platform, configured to receive stripping rules configured by a user through the stripping platform; stripping services, configured to obtain the stripping platform rule; splitting the video to be processed according to the splitting rule to obtain the splitting video corresponding to the video to be processed.
  • the strip stripping platform is configured to provide strip stripping rule configuration page; and receive strip stripping rules configured by the user on the strip stripping rule configuration page.
  • the stripping service is an application program interface API.
  • the embodiments of the present application provide a video stripping device, which is applied to stripping services, including: a first acquisition module, configured to acquire stripping rules configured by a user through a stripping platform; stripping module, set to Split the video to be processed according to the split rule to obtain the split video corresponding to the video to be processed.
  • the apparatus further includes: a second acquisition module, configured to acquire the split video corresponding to the to-be-processed video by splitting the to-be-processed video according to the split rule to obtain the split video corresponding to the to-be-processed video
  • a second acquisition module configured to acquire the split video corresponding to the to-be-processed video by splitting the to-be-processed video according to the split rule to obtain the split video corresponding to the to-be-processed video
  • a video stripping request where the video stripping request carries the identification information of the to-be-processed video; the to-be-processed video is acquired according to the identification information.
  • the first obtaining module is configured to obtain the strip-breaking rule parameters configured by the user based on configuration rule information, and use the configuration rule information and the strip-breaking rule parameters as the strip-breaking rule parameters rule, and the configuration rule information is configuration rule information corresponding to different strip strip scenarios included in the strip strip rule configuration page provided by the strip strip platform.
  • the video stripping request further includes a scene to be stripped;
  • the stripping module is configured to perform frame extraction processing on the to-be-processed video to obtain multiple video frames; determine the to-be-removed video frame The preset algorithm model corresponding to the scene; using the preset algorithm model to identify the plurality of video frames respectively, to obtain the video frame that satisfies the scene to be split; according to the split rule to meet the to-be split
  • the video frames of the scene are synthesized to obtain the split video that satisfies the split rule.
  • the apparatus further includes: a feedback module, configured to split the video to be processed according to the split rule to obtain the split video corresponding to the video to be processed, and then split the video to be processed.
  • the storage address of the split video is fed back to the client where the user is located, so that the user can obtain the split video by using the storage address.
  • the embodiments of the present application provide a video stripping device, which is applied to a stripping platform, including: a first providing module configured to provide a stripping rule configuration page; a receiving module configured to receive user The splitting rule configured on the rule configuration page, so that the splitting service splits the video to be processed based on the splitting rule, and obtains the splitting video corresponding to the to-be-processed video.
  • the stripping rule configuration page includes configuration rule information corresponding to different stripping scenarios; the receiving module is configured to receive stripping rule parameters configured by the user based on the configuration rule information, and The configuration rule information and the stripping rule parameter are used as the stripping rule.
  • the apparatus further includes: a second providing module configured to provide a strip log page, where the strip log page is used to display strip log information.
  • the apparatus further includes: a third providing module configured to provide a data statistics page, where the data statistics page is used to display data statistics results.
  • the apparatus further includes: a fourth providing module, configured to provide a face sample library adding page, where the face sample library adding page is used to add matched face samples in the stripping process.
  • the application embodiment provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; the memory , which is set to store the computer program; the processor is set to implement the method steps described in the first aspect when executing the program stored in the memory.
  • the application embodiment provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; the memory , which is set to store the computer program; the processor is set to implement the method steps described in the second aspect when the processor is set to execute the program stored in the memory.
  • the embodiments of the present application provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program implements the first aspect when executed by a processor. method steps.
  • the embodiments of the present application provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program implements the second aspect when executed by a processor. method steps.
  • FIG. 1 is a schematic flowchart of a video stripping method applied to a stripping service provided by an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a video stripping method applied to a stripping platform provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of a strip rule configuration page in an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a strip strip process based on strip strip rules in an embodiment of the present application
  • FIG. 5 is a schematic diagram of an intelligent strip strip operation platform in an embodiment of the application.
  • FIG. 6 is a schematic structural diagram of a video stripping system provided by an embodiment of the present application.
  • FIG. 7A is a schematic structural diagram of a video stripping device applied to a stripping service provided by an embodiment of the present application
  • FIG. 7B is another schematic structural diagram of a video stripping device applied to a stripping service provided by an embodiment of the present application.
  • FIG. 7C is a schematic structural diagram of a video stripping device applied to a stripping service provided by an embodiment of the present application.
  • 8A is another schematic structural diagram of a video stripping device applied to a stripping platform provided by an embodiment of the present application.
  • 8B is another schematic structural diagram of a video stripping device applied to a stripping platform provided by an embodiment of the present application.
  • 8C is another schematic structural diagram of a video stripping device applied to a stripping platform provided by an embodiment of the present application.
  • 8D is another schematic structural diagram of a video stripping device applied to a stripping platform provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of an electronic device applied to a stripping service provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of an electronic device applied to a stripping platform according to an embodiment of the present application.
  • the embodiment of the present application provides a video stripping method, which is applied to stripping services. As shown in FIG. 1 , it may include:
  • splitting the video to be processed according to the splitting rule to obtain a split video corresponding to the video to be processed.
  • the user can configure the stripping rules through the stripping platform, instead of writing the fields corresponding to the stripping rules for different stripping scenarios when configuring the stripping rules, but directly using the configuration page to generate the stripping rules, like this This will make the configuration process of the strip rule more flexible and the strip strip process easier.
  • operators and others can configure the stripping rules through the stripping platform by themselves, without the need for operators to notify the technical R&D personnel of the stripping requirements, and then the technical R&D personnel will carry the identification information of the video to be processed in the stripping requirements, the stripping scene and the corresponding information.
  • the request for the corresponding fields of the stripping rules and other information is sent to the stripping service to complete the process of video stripping, which makes the video stripping process simpler and more flexible.
  • the embodiment of the present application also provides a video stripping method, which is applied to the stripping platform, as shown in FIG. 2 , including:
  • S202 Receive the stripping rule configured by the user on the stripping rule configuration page, so that the stripping service strips the video to be processed based on the stripping rule, and obtains the stripping video corresponding to the to-be-processed video.
  • the user can configure the stripping rules through the stripping platform, instead of writing the fields corresponding to the stripping rule source code for different stripping scenarios when configuring stripping rules, but directly using the configuration page to generate stripping rules , which will make the configuration process of the strip rule more flexible and the strip strip process easier.
  • operators and others can configure the stripping rules through the stripping platform by themselves, without the need for operators to notify the technical R&D personnel of the stripping requirements, and then the technical R&D personnel will carry the identification information of the video to be processed in the stripping requirements, the stripping scene and the corresponding information.
  • the request for the corresponding fields of the stripping rules and other information is sent to the stripping service to complete the process of video stripping, which makes the video stripping process simpler and more flexible.
  • the stripping service acquires stripping rules configured by a user through a stripping platform.
  • the stripping platform can be a visualization platform.
  • the stripping rule is the rule based on the process of stripping the video to be processed, which may include logical thinking or specific needs, for example, adding a face sample set to be stripped, and modifying the appearance of characters within a specified time. time percentage, etc.
  • the rule of dismantling can be a new face sample set of Actor A and Actor B, and set Actor A within 5 minutes.
  • the ratio of the appearance time of actor B is 3 to 2, then according to the stripping rule, a 5-minute strip video can be obtained, in which actor A appears for 3 minutes and actor B appears for 2 minutes.
  • the stripping platform can provide a stripping rule configuration page; the user configures through the stripping rule configuration page, such as inputting various parameters related to stripping, and the stripping platform can receive the user's configuration on the stripping rule configuration page.
  • Each parameter generates a strip rule. For example, as shown in Figure 3, enter the parameter 180 in the input box corresponding to the shortest strip duration, and the generated strip strip rule is the shortest strip strip duration of 180 seconds; in this way, the strip strip service is based on strip stripping.
  • the rule splits the video to be processed to obtain the split video corresponding to the video to be processed.
  • the strip rule configuration page may include configuration rule information corresponding to different strip strip scenarios.
  • the configuration rule information can also be understood as a rule template abstracted from the strip strip rules of different strip strip scenarios. Based on the rule template, the user can directly set corresponding parameters in the rule template, that is, configure strip strip rule parameters.
  • the stripping rules of each stripping scenario can be abstracted. For example, as shown in FIG. 3 , it can be abstracted into multiple information parts that require user parameters, so as to obtain configuration rule information corresponding to different stripping scenarios.
  • the rule configuration page is provided to the user; the user can configure it based on the rule configuration page. During the configuration process, you can directly enter the strip rule parameters that meet the strip strip requirements on the strip strip rule configuration page.
  • Stripping scenarios can be determined according to different business needs. For example, a "just look at him/her" scene, a “boxing KO scene”, a “boxing consecutive hits” scene, and the like may be included.
  • S202 Receive strip strip rules configured by the user on the strip strip rule configuration page, which may include:
  • the dismantling rule configuration page may include a “just look at him/her” scene, a “knock out KO (Knock Out, knockout opponent wins) scene”, and a “boxing continuous blow” Configuration rule information corresponding to the scene.
  • the strip rule configuration page may include configuration rule information corresponding to the "just look at him/her" scenario: the shortest strip duration, the longest strip duration, and the proportion of the characters/specific scenes appearing.
  • the configuration rule information corresponding to the "Just look at him/her” scene for example, the shortest time interval, the longest time interval, the proportion of characters/specific scenes, and so on.
  • the dots can be understood as marking the time stamp from the start time of the original video between the video frame containing the specified face specified by the "just look at him/her” scene, and so on.
  • the dismantling rule configuration page may include configuration rule information corresponding to the "boxing KO scene", such as: KO pre-duration, KO post-duration. It may include configuration rule information corresponding to the "boxing continuous hitting” scenario, such as: the shortest continuous hitting duration, the continuous hitting pre-positioning time, and the continuous hitting post-positioning period.
  • the user can configure based on the configuration rule information on the strip rule configuration page, and the user only needs to configure the corresponding parameters at the corresponding options, and the configuration is flexible. For example, if the requirement for stripping and renewing is for the "only look at him/her" scenario, then only the configuration rule information corresponding to the "only look at him/her" scenario needs to configure the shortest stripping duration, longest stripping duration, character/specific
  • the duration of scene appearance accounts for the corresponding parameters; for example, the shortest splitting duration is 180 seconds, the longest splitting duration is 800 seconds, and the proportion of characters/specific scenes appearing in every 60 seconds is not less than 70%.
  • the strip stripping rules of each strip stripping scenario can be abstracted, visualized on the platform side, and can be deployed by customers according to business requirements.
  • S101 may include: acquiring the stripping rule parameters configured by the user based on the configuration rule information, and using the configuration rule information and the stripping rule parameters as the stripping rule.
  • the configuration rule information is configuration rule information corresponding to different strip strip scenarios included in the strip strip rule configuration page provided by the strip strip platform.
  • S101 may include: determining the strip rule configuration information corresponding to the strip strip scene according to the strip strip scene; acquiring strip strip rule parameters configured by the user based on the strip strip rule configuration information; The strip rule parameter is used as strip rule.
  • strip rule parameters configured by the user on the strip rule configuration page based on the configuration rule information, and use strip strip rule configuration information and strip strip rule parameters as strip strip rules.
  • the splitting service splits the video to be processed according to the splitting rule, and obtains the splitting video corresponding to the video to be processed.
  • the video to be processed needs to be obtained first, and the above method may further include: obtaining a video split request, The video splitting request carries the identification information of the video to be processed; the to-be-processed video is obtained according to the identification information.
  • the video frame can be identified by an artificial intelligence (AI) algorithm, and a video frame that satisfies the stripping rule is selected from multiple video frames, and the video frame that satisfies the stripping rule can constitute a stripping video.
  • AI artificial intelligence
  • the video stripping request further includes a scene to be stripped.
  • S102 may include:
  • the frame extraction method of the video refer to the frame extraction method in the related art.
  • one frame of video frame is extracted every certain number of frames; for example, each key frame of the video to be processed is extracted; for example, one can calculate The Euclidean distance of two adjacent video frames in the video to be processed. When the Euclidean distance is greater than the preset distance threshold, one frame of video frame is extracted.
  • S1022 Determine a preset algorithm model corresponding to the scene to be stripped.
  • the acquired video stripping request may further include the scene to be stripped. It can parse the to-be-split scene included in the video split request.
  • the preset algorithm model corresponding to the scene to be stripped can be obtained according to the pre-established corresponding relationship between different strip-splitting scenarios and different algorithm models.
  • the video frame can be identified by invoking the corresponding preset algorithm model.
  • the preset algorithm model may include face recognition and/or specific scene recognition, and so on. Among them, face recognition is to identify whether there is a face in an image through an AI algorithm.
  • the specific scene recognition is to identify whether the image content is a scene specified by the customer through the AI algorithm.
  • a pre-trained deep learning model can be used to perform face or scene recognition on an image. Taking scene recognition as an example, a sample image marked with a scene can be input into a deep learning model for training, thereby obtaining a pre-trained deep learning model; when performing scene recognition, the image to be recognized is input into the deep learning model, The deep learning model automatically outputs the scene for that image.
  • the related model training technology which is not specifically limited in this application.
  • the stripping rule includes: the shortest stripping time is 180 seconds, the longest stripping time is 800 seconds, and the proportion of characters/specific scenes in every 60 seconds is not less than 70%, then according to the stripping rule, S1023 Synthesize the video frames that meet the scene to be split, and obtain a short video that meets the rules for splitting, the real-time length is between 180 seconds and 800 seconds, and the proportion of characters/specific scenes appearing in every 60 seconds is not large. Below 70% split video.
  • the process of stripping the video to be processed can be completed. Because the user can configure the stripping rules through the stripping platform, there is no need to write the fields corresponding to the stripping rules for different stripping scenarios when configuring stripping rules. This will make the configuration process of stripping rules more flexible and the stripping process easier. .
  • the stripping video can be fed back to the user.
  • the split video can be directly sent to the user, and the user saves the split video locally on the client where the user is located, so that the user can directly process the split video saved locally on the client when the split video is required. .
  • the split video may also be saved in other devices other than the local client where the user is located, such as a third-party device, a cloud device, and the like.
  • the storage address of the splitting video can be fed back to the client where the user is located, so that the user can obtain the splitting video using the storage address.
  • the strip stripping rules of each strip stripping scenario can be abstracted, visualized on the platform side, and support customers to deploy according to business requirements.
  • the user can configure the stripping rules through the stripping platform, and there is no need to write the fields corresponding to the stripping rules for different stripping scenarios when configuring the stripping rules. This will make the configuration process of the stripping rules more flexible and the stripping process easier.
  • operators and others can directly configure the stripping rules through the stripping platform, without the need for operators to notify the technical R&D personnel of the stripping requirements, and then the technical R&D personnel will carry the identification information of the video to be processed in the stripping requirements, the stripping scene and the corresponding information.
  • the request for the corresponding field of the stripping rule and other information is sent to the stripping service to complete the process of video stripping, which makes the video stripping process simpler and more flexible.
  • the stripping platform may further provide a stripping log page, and the stripping log page is used to display stripping log information.
  • the split log page can display the log list, and the split log in the log list can correspond to the log details.
  • the log list can display the splitting videos generated by splitting logs in reverse order of generation time, such as 30 records per page; and can provide a query function, which can support fuzzy query of video name or person name, It supports querying logs according to the scene type of strips, supports querying according to date, and so on.
  • the log details corresponding to each stripped log may include a short video that can be played, that is, the stripped video; the name of the original video; the unique identifier of the original video, where the original video is the pending video corresponding to the stripped video; The storage address of the short video of the strip, that is, the storage address of the strip video; the log strip scene.
  • the stripping platform may further provide a data statistics page, and the data statistics page is used to display the data statistics results.
  • the data statistics result may include data corresponding to all the strip splitting scenarios in the preset time range. It can be displayed according to the date dimension.
  • the video information identified in different time ranges can be displayed according to the time series, the video information can be split, and so on.
  • the time range can be the current day, or one or more days in history.
  • the display style for displaying the statistical results of the data may be displayed in the form of a data report.
  • the identified video information may be information related to videos that have been split and completed, such as the number of identified videos, video IDs, and the like.
  • the split video information may include information related to the split video, such as the video quantity of the split video, and so on.
  • the stripping platform may further provide a face sample library adding page, and the face sample library adding page is used to add matching face samples in the stripping process.
  • the face sample library add page can display the face samples that have been stored in the library by category, support query by name, and support face sample upload function, etc.
  • the face sample library add page supports the upload function of face samples. Users can add face samples through the face sample library add page. For example, if a user wants to watch actor A's split video, he can add face samples through the face sample library add page. A sample face of actor A.
  • the face sample library adding page can display the face samples that have been stored in the database by category. For example, the face samples stored in the database can be classified according to the categories of movie actors, TV actors, and variety actors. When selecting a face sample, the category to which the face sample belongs can be uploaded at the same time. In addition, when uploading an actor's face sample, the user can also upload the name of the corresponding actor, and can query the face sample by the actor's name through the face sample library add page.
  • the stripping platform may be understood as an intelligent stripping operation platform.
  • the intelligent strip operation platform may include: login interface, user information, data statistics, strip strip logs, face sample library, options corresponding to rule configuration and system configuration respectively.
  • the corresponding data statistics page is used to display the data statistics results.
  • the strip rule configuration page corresponding to the rule configuration is used to support the configuration of strip strip rules for each strip scene.
  • the split log page corresponding to the split log, and the face sample library add page corresponding to the face sample library.
  • the stripping rule configuration page, the data statistics page, the stripping log page, and the face sample library adding page have been described in detail in the above embodiment, and will not be repeated here.
  • the intelligent strip strip operation platform provides a login interface, based on which the user can input user information to log in to the intelligent strip strip operation platform, such as user name and password.
  • the user name can be echoed when the user logs in, and the options of "change password” and "log out” can be displayed by clicking the display drop-down form.
  • users can perform operations based on the intelligent strip strip operation platform, such as configuring strip strip rules, query strip strip logs, data statistics results, and adding face samples, etc.
  • the system configuration in the embodiment of the present application may correspondingly provide two pages of user management and role management.
  • the page corresponding to user management can support users to choose different roles to log in.
  • the page corresponding to role management can support users to set roles corresponding to their user information, etc.
  • Roles can include super administrator, administrator, operation, and different permissions can be set for different roles, that is, different roles are used for the intelligent strip operation platform. have different permissions.
  • the embodiment of the present application also provides a video stripping system, as shown in FIG. 6 , which may include:
  • the stripping platform 601 is configured to receive stripping rules configured by the user through the stripping platform 601 .
  • the stripping service 602 is configured to obtain stripping rules; stripping the video to be processed according to the stripping rules, to obtain a stripping video corresponding to the to-be-processed video.
  • the stripping platform 601 is configured to provide a stripping rule configuration page; and receive stripping rules configured by a user on the stripping rule configuration page.
  • the stripping service 602 is an application programming interface (Application Programming Interface, API).
  • the stripping service 602 and the stripping platform 601 may be deployed on one device, or may be deployed on different devices respectively.
  • the stripping service 602 can be packaged as an API.
  • the stripping platform 601 can implement the stripping service process by calling an API.
  • the video stripping system provided by the embodiment of the present application is a system corresponding to the video stripping method in the above-mentioned embodiments, and all embodiments of the above-mentioned video stripping method are applicable to the device, and can achieve the same or similar beneficial effects.
  • the embodiment of the present application provides a video stripping device, which is applied to the stripping service. As shown in FIG. 7A , it may include:
  • the first obtaining module 701 is configured to obtain the stripping rules configured by the user through the stripping platform.
  • the splitting module 702 is configured to split the video to be processed according to the splitting rule, and obtain the splitting video corresponding to the video to be processed.
  • the apparatus further includes: a second obtaining module 703, configured to obtain a split video corresponding to the to-be-processed video before splitting the to-be-processed video according to the splitting rule.
  • a video stripping request carries the identification information of the video to be processed; the to-be-processed video is obtained according to the identification information.
  • the first acquisition module 701 is configured to acquire the stripping rule parameters configured by the user based on the configuration rule information, and use the configuration rule information and stripping rule parameters as stripping rules, and the configuration rule information is the stripping platform The configuration rule information corresponding to different strip strip scenarios included in the provided strip strip rule configuration page.
  • the video stripping request further includes the scene to be stripped; the stripping module 702 is configured to perform frame extraction processing on the video to be processed to obtain a plurality of video frames; and determine the preset algorithm model corresponding to the to-be stripped scene ; Identify multiple video frames by using a preset algorithm model to obtain a video frame that satisfies the scene to be split; Combine the video frames that meet the scene to be split according to the split rule to obtain a split video that satisfies the split rule .
  • the apparatus further includes: a feedback module 704, configured to split the video to be processed according to the splitting rule to obtain the split video corresponding to the video to be processed, and then split the split video.
  • the storage address of the video is fed back to the client where the user is located, so that the user can obtain the split video by using the storage address.
  • the video stripping device applied to the stripping service provided by the embodiment of the present application is the device of the above-mentioned video stripping method applied to the stripping service, and all the above-mentioned embodiments of the video stripping method applied to the stripping service are applicable to The device can achieve the same or similar beneficial effects.
  • the embodiment of the present application provides a video stripping device, which is applied to the stripping platform. As shown in FIG. 8A , it may include:
  • the first providing module 801 is configured to provide a stripping rule configuration page; the receiving module 802 is set to receive stripping rules configured by the user on the stripping rule configuration page, so that the stripping service can deconstruct the video to be processed based on the stripping rules. bar to obtain the split video corresponding to the video to be processed.
  • the stripping rule configuration page includes configuration rule information corresponding to different stripping scenarios; the receiving module 802 is configured to receive the stripping rule parameters configured by the user based on the configuration rule information, and send the configuration rule information and stripping rule information to the stripping rule.
  • the rule parameter is used as a stripping rule.
  • the apparatus further includes: a second providing module 803 configured to provide a strip log page, where the strip log page is used to display strip log information.
  • the apparatus further includes: a third providing module 804 configured to provide a data statistics page, where the data statistics page is used to display data statistics results.
  • the apparatus further includes: a fourth providing module 805, configured to provide a face sample library adding page, and the face sample library adding page is used to add people matched in the stripping process face sample.
  • the video stripping device applied to the stripping platform provided by the embodiment of the present application is the device for the above-mentioned video stripping method applied to the stripping platform, and all the above-mentioned embodiments of the video stripping method applied to the stripping platform are applicable to The device can achieve the same or similar beneficial effects.
  • the embodiment of the present application provides an electronic device, as shown in FIG. 9 , including a processor 901, a communication interface 902, a memory 903 and a communication bus 904, wherein, The processor 901, the communication interface 902, and the memory 903 complete the mutual communication through the communication bus 904; the memory 903 is set to store computer programs; The method steps of the video stripping method of the strip service.
  • the embodiment of the present application provides an electronic device, as shown in FIG. 10 , including a processor 1001, a communication interface 1002, a memory 1003 and a communication bus 1004, wherein The processor 1001, the communication interface 1002, and the memory 1003 complete the mutual communication through the communication bus 904; the memory 1003 is set to store computer programs; The method steps of the video stripping method of the strip platform.
  • the communication bus mentioned in the above electronic device may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus or the like.
  • PCI peripheral component interconnect standard
  • EISA Extended Industry Standard Architecture
  • the communication bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
  • the communication interface is used for communication between the above electronic device and other devices.
  • the memory may include random access memory (Random Access Memory, RAM), and may also include non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk storage.
  • RAM Random Access Memory
  • NVM non-Volatile Memory
  • the memory may also be at least one storage device located remotely from the aforementioned processor.
  • the above-mentioned processor can be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it can also be a digital signal processor (Digital Signal Processing, DSP), dedicated integrated Circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • CPU Central Processing Unit
  • NP Network Processor
  • DSP Digital Signal Processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • FPGA Field-Programmable Gate Array
  • a computer-readable storage medium is also provided, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned application to the stripping service is implemented The method steps of the video stripping method.
  • a computer-readable storage medium is also provided, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned application to the stripping platform is implemented The method steps of the video stripping method.
  • a computer program product including instructions is also provided, which, when running on a computer, causes the computer to execute the method steps of implementing the above-mentioned video stripping method applied to stripping service.
  • a computer program product including instructions is also provided, which, when running on a computer, causes the computer to execute the method steps of implementing the above-mentioned video stripping method applied to a stripping platform.
  • the collection, storage, use, processing, transmission, provision and disclosure of the user's personal information involved are in compliance with relevant laws and regulations, and do not violate public order and good customs.
  • the face sample in this embodiment is not a human head model for a specific user, and cannot reflect the personal information of a specific user.
  • the face images in this embodiment come from public datasets.
  • the above-mentioned embodiments it may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • software it can 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 the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission to another website site, computer, server, or data center is by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media.
  • the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Library & Information Science (AREA)
  • Software Systems (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

A video splitting method, system and apparatus, and a device and a storage medium, which can be applied to the technical field of the Internet. The method comprises: a splitting service acquiring a splitting rule which is configured by a user by means of a splitting platform; and splitting, according to the splitting rule, a video to be processed, so as to obtain a split video corresponding to said video. By means of the video splitting method, system and apparatus, and the device and the storage medium provided in the embodiments of the present application, a splitting rule can be more flexibly configured, such that the splitting process is simpler and more convenient.

Description

一种视频拆条方法、系统、装置、设备及存储介质A video stripping method, system, device, device and storage medium

本申请要求于2020年11月17日提交中国专利局、申请号为202011286764.3发明名称为“一种视频拆条方法、系统、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on November 17, 2020 with the application number 202011286764.3 titled "A method, system, device, equipment and storage medium for video stripping", the entire contents of which are Incorporated herein by reference.

技术领域technical field

本申请涉及互联网技术领域,特别是涉及一种视频拆条方法、系统、装置、设备及存储介质。The present application relates to the field of Internet technologies, and in particular, to a video stripping method, system, apparatus, device and storage medium.

背景技术Background technique

视频拆条是因互联网视频和新媒体短视频内容平台等的需要,对视频,例如传统电视媒体节目进行二次加工,将原来完整的一条节目内容,按照某种逻辑思维或特定需要拆分为多条视频。其中,拆分过程中所依据的逻辑思维或特定需要可以理解为拆条规则。Video stripping refers to the secondary processing of videos, such as traditional TV media programs, due to the needs of Internet video and new media short video content platforms. multiple videos. Among them, the logical thinking or specific needs based on the splitting process can be understood as the splitting rules.

相关技术中,用户向拆条服务发送携带包括多个字段的超文本传输协议(Hyper Text Transfer Protocol,HTTP)请求,请求中包括拆条服务发送待处理视频的标识信息对应的字段、拆条场景对应的字段以及拆条场景对应的拆条规则对应的字段;拆条服务解析该HTTP请求,根据得到的标识信息获取所述待处理视频,并根据拆条场景对应的拆条规则对所述待处理视频进行拆条。In the related art, the user sends a Hyper Text Transfer Protocol (HTTP) request that includes a plurality of fields to the strip service, and the request includes the field corresponding to the identification information of the video to be processed sent by the strip service, and the strip scene. The corresponding field and the field corresponding to the stripping rule corresponding to the stripping scene; the stripping service parses the HTTP request, obtains the video to be processed according to the obtained identification information, and treats the to-be-processed video according to the stripping rule corresponding to the stripping scene. Process video for stripping.

相关技术中,在配置拆条规则时,需要专业的研发人员针对不同拆条场景编写拆条规则源代码所对应的字段,如此会使得拆条规则的配置过程不灵活。In the related art, when configuring stripping rules, professional R&D personnel are required to write fields corresponding to the stripping rule source codes for different stripping scenarios, which makes the configuration process of stripping rules inflexible.

发明内容SUMMARY OF THE INVENTION

本申请实施例的目的在于提供一种视频拆条方法、系统、装置、设备及存储介质,以实现更加灵活地配置拆条规则,使拆条过程更加简便。具体技术方案如下:The purpose of the embodiments of the present application is to provide a video stripping method, system, device, device, and storage medium, so as to configure the stripping rules more flexibly and make the stripping process simpler. The specific technical solutions are as follows:

第一方面,本申请实施例提供了一种视频拆条方法,应用于拆条服务,包括:获取用户通过拆条平台配置的拆条规则;根据所述拆条规则对待处理视频进行拆条,得到所述待处理视频对应的拆条视频。In a first aspect, an embodiment of the present application provides a video stripping method, which is applied to a stripping service, including: acquiring stripping rules configured by a user through a stripping platform; stripping a video to be processed according to the stripping rules, The split video corresponding to the to-be-processed video is obtained.

在一种实施方式中,在所述根据所述拆条规则对待处理视频进行拆条,得到所述待处理视频对应的拆条视频之前,所述方法还包括:获取视频拆条请求,所述视频拆条请求携带所述待处理视频的标识信息;根据所述标识信息获取所述待处理视频。In an implementation manner, before the to-be-processed video is split according to the split rule to obtain a split video corresponding to the to-be-processed video, the method further includes: acquiring a video split request, the The video splitting request carries the identification information of the to-be-processed video; the to-be-processed video is acquired according to the identification information.

在一种实施方式中,所述获取用户通过拆条平台配置的拆条规则,包括:获取所述用户基于配置规则信息配置的拆条规则参数,并将所述配置规则信息和所述拆条规则参数作为所述拆条规则,所述配置规则信息是所述拆条平台提供的所述拆条规则配置页面中包括的不同拆条场景对应的配置规则信息。In an implementation manner, the acquiring the stripping rule configured by the user through the stripping platform includes: acquiring stripping rule parameters configured by the user based on configuration rule information, and combining the configuration rule information and the stripping rule The rule parameter is used as the stripping rule, and the configuration rule information is configuration rule information corresponding to different stripping scenarios included in the stripping rule configuration page provided by the stripping platform.

在一种实施方式中,所述视频拆条请求还包括待拆条场景;所述根据所述拆条规则对待处理视频进行拆条,得到所述待处理视频对应的拆条视频,包括:对所述待处理视频进行抽帧处理,得到多个视频帧;确定所述待拆条场景对应的预设算法模型;利用预设算法模型分别对所述多个视频帧进行识别,得到满足所述待拆条场景的视频帧;根据所述拆条规则将满足所述待拆条场景的视频帧进行合成,得到满足所述拆条规则的所述拆条视频。In one embodiment, the video splitting request further includes a scene to be split; the splitting the to-be-processed video according to the splitting rule to obtain the splitting video corresponding to the to-be-processed video includes: The to-be-processed video is subjected to frame extraction processing to obtain multiple video frames; a preset algorithm model corresponding to the to-be-split scene is determined; the multiple video frames are respectively identified by using the preset algorithm model, and the meeting is obtained. The video frame of the scene to be split; the video frames that satisfy the scene to be split are synthesized according to the split rule to obtain the split video that satisfies the split rule.

在一种实施方式中,在所述根据所述拆条规则对待处理视频进行拆条,得到所述待处理视频对应的拆条视频之后,所述方法还包括:将所述拆条视频的存储地址反馈给用户所在的客户端,以使所述用户利用所述存储地址获得所述拆条视频。In an implementation manner, after the to-be-processed video is split according to the split rule to obtain a split video corresponding to the to-be-processed video, the method further includes: storing the split video The address is fed back to the client where the user is located, so that the user obtains the split video by using the storage address.

第二方面,本申请实施例提供了一种视频拆条方法,应用于拆条平台,包括:提供拆条规则配置页面;接收用户在所述拆条规则配置页面上配置的拆条规则,以使拆条服务基于所述拆条规则对待处理视频进行拆条,得到所述待处理视频对应的拆条视频。In a second aspect, an embodiment of the present application provides a video stripping method, which is applied to a stripping platform, including: providing a stripping rule configuration page; receiving stripping rules configured by a user on the stripping rule configuration page, to The splitting service is enabled to split the video to be processed based on the splitting rule to obtain a splitting video corresponding to the video to be processed.

在一种实施方式中,所述拆条规则配置页面包括不同拆条场景对应的配置规则信息;所述接收用户在所述拆条规则配置页面上配置的拆条规则,包括:接收所述用户基于所述配置规则信息配置的拆条规则参数,并将所述配置规则信息和所述拆条规则参数作为所述拆条规则。In an implementation manner, the stripping rule configuration page includes configuration rule information corresponding to different stripping scenarios; the receiving a stripping rule configured by a user on the stripping rule configuration page includes: receiving the user A strip rule parameter configured based on the configuration rule information, and the configuration rule information and the strip strip rule parameter are used as the strip strip rule.

在一种实施方式中,所述方法还包括:提供拆条日志页面,所述拆条日志页面用于展示拆条日志信息。In one embodiment, the method further includes: providing a split log page, where the split log page is used to display split log information.

在一种实施方式中,所述方法还包括:提供数据统计页面,所述数据统计页用于展示数据统计结果。In one embodiment, the method further includes: providing a data statistics page, where the data statistics page is used to display data statistics results.

在一种实施方式中,所述方法还包括:提供人脸样本库添加页面,所述人脸样本库添加页面用于添加拆条过程中匹配的人脸样本。In one embodiment, the method further includes: providing a face sample library adding page, where the face sample library adding page is used to add matched face samples in the stripping process.

第三方面,本申请实施例提供了一种视频拆条系统,包括:拆条平台,设置为接收用户通过所述拆条平台配置的拆条规则;拆条服务,设置为获取所述拆条规则;根据所述拆条规则对待处理视频进行拆条,得到所述待处理视频对应的拆条视频。In a third aspect, an embodiment of the present application provides a video stripping system, including: a stripping platform, configured to receive stripping rules configured by a user through the stripping platform; stripping services, configured to obtain the stripping platform rule; splitting the video to be processed according to the splitting rule to obtain the splitting video corresponding to the video to be processed.

在一种实施方式中,所述拆条平台,设置为提供拆条规则配置页面;接收用户在所述拆条规则配置页面上配置的拆条规则。In an implementation manner, the strip stripping platform is configured to provide strip stripping rule configuration page; and receive strip stripping rules configured by the user on the strip stripping rule configuration page.

在一种实施方式中,所述拆条服务为应用程序接口API。In one embodiment, the stripping service is an application program interface API.

第四方面,本申请实施例提供了一种视频拆条装置,应用于拆条服务,包括:第一获取模块,设置为获取用户通过拆条平台配置的拆条规则;拆条模块,设置为根据所述拆条规则对待处理视频进行拆条,得到所述待处理视频对应的拆条视频。In a fourth aspect, the embodiments of the present application provide a video stripping device, which is applied to stripping services, including: a first acquisition module, configured to acquire stripping rules configured by a user through a stripping platform; stripping module, set to Split the video to be processed according to the split rule to obtain the split video corresponding to the video to be processed.

在一种实施方式中,所述装置还包括:第二获取模块,设置为在所述根据所述拆条规则对待处理视频进行拆条,得到所述待处理视频对应的拆条视频之前,获取视频拆条请求,所述视频拆条请求携带所述待处理视频的标识信息;根据所述标识信息获取所述待处理视频。In one embodiment, the apparatus further includes: a second acquisition module, configured to acquire the split video corresponding to the to-be-processed video by splitting the to-be-processed video according to the split rule to obtain the split video corresponding to the to-be-processed video A video stripping request, where the video stripping request carries the identification information of the to-be-processed video; the to-be-processed video is acquired according to the identification information.

在一种实施方式中,所述第一获取模块,设置为获取所述用户基于配置规则信息配置的拆条规则参数,并将所述配置规则信息和所述拆条规则参数作为所述拆条规则,所述配置规则信息是所述拆条平台提供的所述拆条规则配置页面中包括的不同拆条场景对应的配置规则信息。In an implementation manner, the first obtaining module is configured to obtain the strip-breaking rule parameters configured by the user based on configuration rule information, and use the configuration rule information and the strip-breaking rule parameters as the strip-breaking rule parameters rule, and the configuration rule information is configuration rule information corresponding to different strip strip scenarios included in the strip strip rule configuration page provided by the strip strip platform.

在一种实施方式中,所述视频拆条请求还包括待拆条场景;所述拆条模块,设置为对所述待处理视频进行抽帧处理,得到多个视频帧;确定所述待拆条场景对应的预设算法模型;利用预设算法模型分别对所述多个视频帧进行识别,得到满足所述待拆条场景的视频帧;根据所述拆条规则将满足所述待拆条场景的视频帧进行合成,得到满足所述拆条规则的所述拆条视频。In one embodiment, the video stripping request further includes a scene to be stripped; the stripping module is configured to perform frame extraction processing on the to-be-processed video to obtain multiple video frames; determine the to-be-removed video frame The preset algorithm model corresponding to the scene; using the preset algorithm model to identify the plurality of video frames respectively, to obtain the video frame that satisfies the scene to be split; according to the split rule to meet the to-be split The video frames of the scene are synthesized to obtain the split video that satisfies the split rule.

在一种实施方式中,所述装置还包括:反馈模块,设置为在所述根据所述拆条规则对待处理视频进行拆条,得到所述待处理视频对应的拆条视频之后,将所述拆条视频的存储地址反馈给用户所在的客户端,以使所述用户利 用所述存储地址获得所述拆条视频。In one embodiment, the apparatus further includes: a feedback module, configured to split the video to be processed according to the split rule to obtain the split video corresponding to the video to be processed, and then split the video to be processed. The storage address of the split video is fed back to the client where the user is located, so that the user can obtain the split video by using the storage address.

第五方面,本申请实施例提供了一种视频拆条装置,应用于拆条平台,包括:第一提供模块,设置为提供拆条规则配置页面;接收模块,设置为接收用户在所述拆条规则配置页面上配置的拆条规则,以使拆条服务基于所述拆条规则对待处理视频进行拆条,得到所述待处理视频对应的拆条视频。In a fifth aspect, the embodiments of the present application provide a video stripping device, which is applied to a stripping platform, including: a first providing module configured to provide a stripping rule configuration page; a receiving module configured to receive user The splitting rule configured on the rule configuration page, so that the splitting service splits the video to be processed based on the splitting rule, and obtains the splitting video corresponding to the to-be-processed video.

在一种实施方式中,所述拆条规则配置页面包括不同拆条场景对应的配置规则信息;所述接收模块,设置为接收所述用户基于所述配置规则信息配置的拆条规则参数,并将所述配置规则信息和所述拆条规则参数作为所述拆条规则。In an embodiment, the stripping rule configuration page includes configuration rule information corresponding to different stripping scenarios; the receiving module is configured to receive stripping rule parameters configured by the user based on the configuration rule information, and The configuration rule information and the stripping rule parameter are used as the stripping rule.

在一种实施方式中,所述装置还包括:第二提供模块,设置为提供拆条日志页面,所述拆条日志页面用于展示拆条日志信息。In one embodiment, the apparatus further includes: a second providing module configured to provide a strip log page, where the strip log page is used to display strip log information.

在一种实施方式中,所述装置还包括:第三提供模块,设置为提供数据统计页面,所述数据统计页用于展示数据统计结果。In one embodiment, the apparatus further includes: a third providing module configured to provide a data statistics page, where the data statistics page is used to display data statistics results.

在一种实施方式中,所述装置还包括:第四提供模块,设置为提供人脸样本库添加页面,所述人脸样本库添加页面用于添加拆条过程中匹配的人脸样本。In one embodiment, the apparatus further includes: a fourth providing module, configured to provide a face sample library adding page, where the face sample library adding page is used to add matched face samples in the stripping process.

在申请实施例又一方面,本申请实施例提供了一种电子设备,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;存储器,设置为存放计算机程序;处理器,设置为执行存储器上所存放的程序时,实现第一方面所述的方法步骤。In yet another aspect of the application embodiment, the application embodiment provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; the memory , which is set to store the computer program; the processor is set to implement the method steps described in the first aspect when executing the program stored in the memory.

在申请实施例又一方面,本申请实施例提供了一种电子设备,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;存储器,设置为存放计算机程序;处理器,设置为执行存储器上所存放的程序时,实现第二方面所述的方法步骤。In yet another aspect of the application embodiment, the application embodiment provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; the memory , which is set to store the computer program; the processor is set to implement the method steps described in the second aspect when the processor is set to execute the program stored in the memory.

在申请实施例又一方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现第一方面所述的方法步骤。In yet another aspect of the application embodiments, the embodiments of the present application provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program implements the first aspect when executed by a processor. method steps.

在申请实施例又一方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现第二方面所述的方法步骤。In yet another aspect of the application embodiments, the embodiments of the present application provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program implements the second aspect when executed by a processor. method steps.

附图说明Description of drawings

为了更清楚地说明本申请实施例和现有技术的技术方案,下面对实施例和现有技术中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application and the technical solutions of the prior art, the following briefly introduces the drawings required in the embodiments and the prior art. Obviously, the drawings in the following description are only the For some embodiments of the application, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1为本申请实施例提供的应用于拆条服务的视频拆条方法的流程示意图;1 is a schematic flowchart of a video stripping method applied to a stripping service provided by an embodiment of the present application;

图2为本申请实施例提供的应用于拆条平台的视频拆条方法的流程示意图;2 is a schematic flowchart of a video stripping method applied to a stripping platform provided by an embodiment of the present application;

图3为本申请实施例中拆条规则配置页面的示意图;3 is a schematic diagram of a strip rule configuration page in an embodiment of the present application;

图4为本申请实施例中基于拆条规则进行拆条过程的流程示意图;4 is a schematic flowchart of a strip strip process based on strip strip rules in an embodiment of the present application;

图5为本申请实施例中智能拆条运营平台的示意图;5 is a schematic diagram of an intelligent strip strip operation platform in an embodiment of the application;

图6为本申请实施例提供的视频拆条系统的结构示意图;FIG. 6 is a schematic structural diagram of a video stripping system provided by an embodiment of the present application;

图7A为本申请实施例提供的应用于拆条服务的视频拆条装置的一种结构示意图;7A is a schematic structural diagram of a video stripping device applied to a stripping service provided by an embodiment of the present application;

图7B为本申请实施例提供的应用于拆条服务的视频拆条装置的另一种结构示意图;7B is another schematic structural diagram of a video stripping device applied to a stripping service provided by an embodiment of the present application;

图7C为本申请实施例提供的应用于拆条服务的视频拆条装置的由一种结构示意图;7C is a schematic structural diagram of a video stripping device applied to a stripping service provided by an embodiment of the present application;

图8A为本申请实施例提供的应用于拆条平台的视频拆条装置的另一种结构示意图;8A is another schematic structural diagram of a video stripping device applied to a stripping platform provided by an embodiment of the present application;

图8B为本申请实施例提供的应用于拆条平台的视频拆条装置的另一种结构示意图;8B is another schematic structural diagram of a video stripping device applied to a stripping platform provided by an embodiment of the present application;

图8C为本申请实施例提供的应用于拆条平台的视频拆条装置的另一种结构示意图;8C is another schematic structural diagram of a video stripping device applied to a stripping platform provided by an embodiment of the present application;

图8D为本申请实施例提供的应用于拆条平台的视频拆条装置的另一种结构示意图;8D is another schematic structural diagram of a video stripping device applied to a stripping platform provided by an embodiment of the present application;

图9为本申请实施例提供的应用于拆条服务的电子设备的结构示意图;9 is a schematic structural diagram of an electronic device applied to a stripping service provided by an embodiment of the present application;

图10为本申请实施例提供的应用于拆条平台的电子设备的结构示意图。FIG. 10 is a schematic structural diagram of an electronic device applied to a stripping platform according to an embodiment of the present application.

具体实施方式Detailed ways

为使本申请的目的、技术方案、及优点更加清楚明白,以下参照附图并举实施例,对本申请进一步详细说明。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objectives, technical solutions, and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and examples. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

相关技术中,在配置拆条规则时,需要专业的研发人员针对不同拆条场景编写拆条规则源代码所对应的字段,如此会使得拆条规则的配置过程不灵活。相关技术中,一般是运营人员确定拆条需求,并将拆条需求通知给技术研发人员,技术研发人员基于拆条需求开发对应的源代码,包括拆条需求中待处理视频的标识信息、拆条场景以及对应的拆条规则等,然后技术研发人员将携带这些信息对应字段的请求发送给拆条服务,以完成视频拆条的过程,如此可以看出,配置拆条规则时,均需要运营人员先和技术研发人员进行沟通,运营人员不能直接配置拆条规则,如此也会使得过程较繁琐、不灵活。In the related art, when configuring stripping rules, professional R&D personnel are required to write fields corresponding to the stripping rule source codes for different stripping scenarios, which makes the configuration process of stripping rules inflexible. In related technologies, operators generally determine the stripping requirements and notify the technical R&D personnel of the stripping requirements. The technical R&D personnel develop the corresponding source code based on the stripping requirements, including the identification information of the video to be processed in the stripping requirements, and the stripping requirements. Then, the technical R&D personnel will send the request carrying the corresponding fields of these information to the stripping service to complete the process of video stripping. It can be seen that when configuring stripping rules, operations are required. The personnel communicate with the technical R&D personnel first, and the operation personnel cannot directly configure the stripping rules, which will also make the process more cumbersome and inflexible.

本申请实施例提供了一种视频拆条方法,应用于拆条服务,如图1所示,可以包括:The embodiment of the present application provides a video stripping method, which is applied to stripping services. As shown in FIG. 1 , it may include:

S101,获取用户通过拆条平台配置的拆条规则。S101, acquiring a strip strip rule configured by a user through a strip strip platform.

S102,根据拆条规则对待处理视频进行拆条,得到待处理视频对应的拆条视频。S102, splitting the video to be processed according to the splitting rule to obtain a split video corresponding to the video to be processed.

本申请实施例中,用户可以通过拆条平台配置拆条规则,无需在配置拆条规则时针对不同拆条场景编写拆条规则所对应的字段,而是直接利用配置页面生成拆条规则,如此会使得拆条规则的配置过程更加灵活,拆条过程更加简便。且运营人员等可以自行通过拆条平台配置拆条规则,无需运营人员将拆条需求通知给技术研发人员,然后技术研发人员将携带拆条需求中待处理视频的标识信息、拆条场景以及对应的拆条规则等信息对应字段的请求发送给拆条服务,以完成视频拆条的过程,使得视频拆条过程更加简便,更加灵活。In this embodiment of the present application, the user can configure the stripping rules through the stripping platform, instead of writing the fields corresponding to the stripping rules for different stripping scenarios when configuring the stripping rules, but directly using the configuration page to generate the stripping rules, like this This will make the configuration process of the strip rule more flexible and the strip strip process easier. In addition, operators and others can configure the stripping rules through the stripping platform by themselves, without the need for operators to notify the technical R&D personnel of the stripping requirements, and then the technical R&D personnel will carry the identification information of the video to be processed in the stripping requirements, the stripping scene and the corresponding information. The request for the corresponding fields of the stripping rules and other information is sent to the stripping service to complete the process of video stripping, which makes the video stripping process simpler and more flexible.

本申请实施例还提供了一种视频拆条方法,应用于拆条平台,如图2所示,包括:The embodiment of the present application also provides a video stripping method, which is applied to the stripping platform, as shown in FIG. 2 , including:

S201,提供拆条规则配置页面。S201, providing a strip rule configuration page.

S202,接收用户在拆条规则配置页面上配置的拆条规则,以使拆条服务基于拆条规则对待处理视频进行拆条,得到待处理视频对应的拆条视频。S202: Receive the stripping rule configured by the user on the stripping rule configuration page, so that the stripping service strips the video to be processed based on the stripping rule, and obtains the stripping video corresponding to the to-be-processed video.

本申请实施例中,用户可以通过拆条平台配置拆条规则,无需在配置拆条规则时针对不同拆条场景编写拆条规则源代码所对应的字段,而是直接利用配置页面生成拆条规则,如此会使得拆条规则的配置过程更加灵活,拆条过程更加简便。且运营人员等可以自行通过拆条平台配置拆条规则,无需运营人员将拆条需求通知给技术研发人员,然后技术研发人员将携带拆条需求中待处理视频的标识信息、拆条场景以及对应的拆条规则等信息对应字段的请求发送给拆条服务,以完成视频拆条的过程,使得视频拆条过程更加简便,更加灵活。In the embodiment of the present application, the user can configure the stripping rules through the stripping platform, instead of writing the fields corresponding to the stripping rule source code for different stripping scenarios when configuring stripping rules, but directly using the configuration page to generate stripping rules , which will make the configuration process of the strip rule more flexible and the strip strip process easier. In addition, operators and others can configure the stripping rules through the stripping platform by themselves, without the need for operators to notify the technical R&D personnel of the stripping requirements, and then the technical R&D personnel will carry the identification information of the video to be processed in the stripping requirements, the stripping scene and the corresponding information. The request for the corresponding fields of the stripping rules and other information is sent to the stripping service to complete the process of video stripping, which makes the video stripping process simpler and more flexible.

下面对本申请实施例提供的视频拆条方法进行详细说明。The following describes in detail the video strip splitting method provided by the embodiments of the present application.

S101,拆条服务获取用户通过拆条平台配置的拆条规则。S101, the stripping service acquires stripping rules configured by a user through a stripping platform.

拆条平台可以是可视化平台。The stripping platform can be a visualization platform.

拆条规则是对待处理视频进行拆条过程中所依据的规则,具体可以包括所依据的逻辑思维或特定需要等,例如,新增需拆条的人脸样本集、修改指定时间内人物出现的时长占比,等等。一个例子中,针对由演员A、演员B、演员C等演员出演的电影视频或综艺视频等,拆条规则可以为新增演员A及演员B的人脸样本集,并设置5分钟内演员A与演员B出现的时长占比为3比2,则根据该拆条规则,可以得到一个5分钟的拆条视频,其中演员A出现的时长为3分钟,演员B出现的时长为2分钟。The stripping rule is the rule based on the process of stripping the video to be processed, which may include logical thinking or specific needs, for example, adding a face sample set to be stripped, and modifying the appearance of characters within a specified time. time percentage, etc. In an example, for a movie video or a variety show video starring Actor A, Actor B, Actor C, etc., the rule of dismantling can be a new face sample set of Actor A and Actor B, and set Actor A within 5 minutes. The ratio of the appearance time of actor B is 3 to 2, then according to the stripping rule, a 5-minute strip video can be obtained, in which actor A appears for 3 minutes and actor B appears for 2 minutes.

一个例子中,拆条平台可以提供拆条规则配置页面;用户通过该拆条规则配置页面进行配置,例如输入拆条相关的各参数,拆条平台可以接收用户在拆条规则配置页面上配置的各参数并生成拆条规则,例如图3所示,在最短拆条时长对应的输入框中输入参数180,则生成的拆条规则为最短拆条时长180秒;如此,拆条服务基于拆条规则对待处理视频进行拆条,得到待处理视频对应的拆条视频。In one example, the stripping platform can provide a stripping rule configuration page; the user configures through the stripping rule configuration page, such as inputting various parameters related to stripping, and the stripping platform can receive the user's configuration on the stripping rule configuration page. Each parameter generates a strip rule. For example, as shown in Figure 3, enter the parameter 180 in the input box corresponding to the shortest strip duration, and the generated strip strip rule is the shortest strip strip duration of 180 seconds; in this way, the strip strip service is based on strip stripping. The rule splits the video to be processed to obtain the split video corresponding to the video to be processed.

在一种实施方式中,拆条规则配置页面可以包括不同拆条场景对应的配置规则信息。In one embodiment, the strip rule configuration page may include configuration rule information corresponding to different strip strip scenarios.

其中,配置规则信息也可以理解为不同拆条场景的拆条规则抽象出来的规则模板,基于该规则模板,用户可以直接在规则模板中设置对应的参数,即配置拆条规则参数。The configuration rule information can also be understood as a rule template abstracted from the strip strip rules of different strip strip scenarios. Based on the rule template, the user can directly set corresponding parameters in the rule template, that is, configure strip strip rule parameters.

本申请实施例中可以将各个拆条场景的拆条规则进行抽象,例如图3所示,可以抽象为多个需要用户参数的信息部分,从而得到不同拆条场景对应的配置规则信息,通过拆条规则配置页面提供给用户;用户可以基于拆条规则配置页面进行配置。配置的过程中可以直接在拆条规则配置页面中输入满足拆条需求的拆条规则参数。In this embodiment of the present application, the stripping rules of each stripping scenario can be abstracted. For example, as shown in FIG. 3 , it can be abstracted into multiple information parts that require user parameters, so as to obtain configuration rule information corresponding to different stripping scenarios. The rule configuration page is provided to the user; the user can configure it based on the rule configuration page. During the configuration process, you can directly enter the strip rule parameters that meet the strip strip requirements on the strip strip rule configuration page.

拆条场景可以根据不同的业务需求来确定。例如,可以包括“只看他/她”场景、“拳击KO场景”、“拳击连续击打”场景等。Stripping scenarios can be determined according to different business needs. For example, a "just look at him/her" scene, a "boxing KO scene", a "boxing consecutive hits" scene, and the like may be included.

S202:接收用户在拆条规则配置页面上配置的拆条规则,可以包括:S202: Receive strip strip rules configured by the user on the strip strip rule configuration page, which may include:

接收用户基于配置规则信息配置的拆条规则参数,并将配置规则信息和拆条规则参数作为拆条规则。Receive the strip rule parameters configured by the user based on the configuration rule information, and use the configuration rule information and strip strip rule parameters as strip strip rules.

在一种实施方式中,拆条规则配置页面如图3所示,可以包括“只看他/她”场景、“拳击KO(Knock Out,击倒对方获胜)场景”、“拳击连续击打”场景对应的配置规则信息。In one embodiment, the dismantling rule configuration page, as shown in FIG. 3 , may include a “just look at him/her” scene, a “knock out KO (Knock Out, knockout opponent wins) scene”, and a “boxing continuous blow” Configuration rule information corresponding to the scene.

例如,拆条规则配置页面可以包括“只看他/她”场景对应的配置规则信息:最短拆条时长、最长拆条时长、人物/特定场景出现的时长占比。“只看他/她”场景进行打点时对应的配置规则信息,例如,最短打点间隔时长、最长打点间隔时长、人物/特定场景出现的时长占比,等等。其中,打点可以理解为标示出包含“只看他/她”场景所指定的指定人脸的视频帧距原视频开始时间的时间戳等等。For example, the strip rule configuration page may include configuration rule information corresponding to the "just look at him/her" scenario: the shortest strip duration, the longest strip duration, and the proportion of the characters/specific scenes appearing. The configuration rule information corresponding to the "Just look at him/her" scene, for example, the shortest time interval, the longest time interval, the proportion of characters/specific scenes, and so on. Wherein, the dots can be understood as marking the time stamp from the start time of the original video between the video frame containing the specified face specified by the "just look at him/her" scene, and so on.

拆条规则配置页面可以包括“拳击KO场景”对应的配置规则信息,例如:KO前置时长、KO后置时长。可以包括“拳击连续击打”场景对应的配置规则信息,例如:最短连续击打时长、连续击打前置时长、连续击打后置时长。The dismantling rule configuration page may include configuration rule information corresponding to the "boxing KO scene", such as: KO pre-duration, KO post-duration. It may include configuration rule information corresponding to the "boxing continuous hitting" scenario, such as: the shortest continuous hitting duration, the continuous hitting pre-positioning time, and the continuous hitting post-positioning period.

如此,用户可以在拆条规则配置页面上基于该配置规则信息进行配置,用户只需要在对应选项处配置对应的参数即可,配置灵活。例如,拆条续需求是针对“只看他/她”场景,则仅需要在“只看他/她”场景对应的配置规则信息,配置最短拆条时长、最长拆条时长、人物/特定场景出现的时长占比相应的参数;例如,最短拆条时长180秒、最长拆条时长800秒、每60秒内人物/特定场景出现的时长占比不低于70%。In this way, the user can configure based on the configuration rule information on the strip rule configuration page, and the user only needs to configure the corresponding parameters at the corresponding options, and the configuration is flexible. For example, if the requirement for stripping and renewing is for the "only look at him/her" scenario, then only the configuration rule information corresponding to the "only look at him/her" scenario needs to configure the shortest stripping duration, longest stripping duration, character/specific The duration of scene appearance accounts for the corresponding parameters; for example, the shortest splitting duration is 180 seconds, the longest splitting duration is 800 seconds, and the proportion of characters/specific scenes appearing in every 60 seconds is not less than 70%.

本申请实施例可以将各拆条场景的拆条规则抽象出来,在平台侧可视化,并支持客户根据业务需求调配。In the embodiment of the present application, the strip stripping rules of each strip stripping scenario can be abstracted, visualized on the platform side, and can be deployed by customers according to business requirements.

在一种实施方式中,S101可以包括:获取用户基于配置规则信息配置的 拆条规则参数,并将配置规则信息和拆条规则参数作为拆条规则。其中,配置规则信息是拆条平台提供的拆条规则配置页面中包括的不同拆条场景对应的配置规则信息。In one embodiment, S101 may include: acquiring the stripping rule parameters configured by the user based on the configuration rule information, and using the configuration rule information and the stripping rule parameters as the stripping rule. The configuration rule information is configuration rule information corresponding to different strip strip scenarios included in the strip strip rule configuration page provided by the strip strip platform.

在一种实施方式中,S101可以包括:可以根据拆条场景确定拆条场景对应的拆条规则配置信息;获取用户基于拆条规则配置信息配置的拆条规则参数;将拆条规则配置信息和拆条规则参数作为拆条规则。In an embodiment, S101 may include: determining the strip rule configuration information corresponding to the strip strip scene according to the strip strip scene; acquiring strip strip rule parameters configured by the user based on the strip strip rule configuration information; The strip rule parameter is used as strip rule.

获取用户在拆条规则配置页面上、基于配置规则信息配置的拆条规则参数,并将拆条规则配置信息和拆条规则参数作为拆条规则。Obtain the strip rule parameters configured by the user on the strip rule configuration page based on the configuration rule information, and use strip strip rule configuration information and strip strip rule parameters as strip strip rules.

S102,拆条服务根据拆条规则对待处理视频进行拆条,得到待处理视频对应的拆条视频。S102, the splitting service splits the video to be processed according to the splitting rule, and obtains the splitting video corresponding to the video to be processed.

在一种实施方式中,在根据拆条规则对待处理视频进行拆条,得到待处理视频对应的拆条视频之前,还需要先获得待处理视频,上述方法还可以包括:获取视频拆条请求,视频拆条请求携带待处理视频的标识信息;根据标识信息获取待处理视频。In one embodiment, before the video to be processed is split according to the split rule, and the split video corresponding to the video to be processed is obtained, the video to be processed needs to be obtained first, and the above method may further include: obtaining a video split request, The video splitting request carries the identification information of the video to be processed; the to-be-processed video is obtained according to the identification information.

可以通过人工智能(Artificial Intelligence,AI)算法对视频帧进行识别,从多个视频帧中选择出满足拆条规则的视频帧,则满足拆条规则的视频帧可以构成拆条视频。The video frame can be identified by an artificial intelligence (AI) algorithm, and a video frame that satisfies the stripping rule is selected from multiple video frames, and the video frame that satisfies the stripping rule can constitute a stripping video.

在一种实施方式中,视频拆条请求还包括待拆条场景。如图4所示,S102可以包括:In one embodiment, the video stripping request further includes a scene to be stripped. As shown in Figure 4, S102 may include:

S1021,对待处理视频进行抽帧处理,得到多个视频帧。S1021, performing frame extraction processing on the video to be processed to obtain multiple video frames.

视频的抽帧方式可以参见相关技术中的抽帧方式,例如在待处理视频中,每间隔一定数量的帧数,便抽取一帧视频帧;例如抽取待处理视频的各关键帧;例如可以计算待处理视频中相邻的两帧视频帧的欧式距离,在欧式距离大于预设距离阈值时,抽取一帧视频帧等。For the frame extraction method of the video, refer to the frame extraction method in the related art. For example, in the video to be processed, one frame of video frame is extracted every certain number of frames; for example, each key frame of the video to be processed is extracted; for example, one can calculate The Euclidean distance of two adjacent video frames in the video to be processed. When the Euclidean distance is greater than the preset distance threshold, one frame of video frame is extracted.

S1022,确定待拆条场景对应的预设算法模型。S1022: Determine a preset algorithm model corresponding to the scene to be stripped.

不同的拆条场景对应不同的算法模型。例如,“只看他/她”可以采用人脸识别模型以及人脸比对模型进行识别;“拳击连续击打”场景、“拳击KO场景”等可以采用特定场景识别模型进行识别,等等。Different stripping scenarios correspond to different algorithm models. For example, "just look at him/her" can be recognized by face recognition model and face comparison model; "boxing continuous blows" scenes, "boxing KO scenes" can be recognized by specific scene recognition models, and so on.

获取到的视频拆条请求中还可以包括待拆条场景。可以解析视频拆条请求中包括的待拆条场景。根据预先建立的不同拆条场景与不同算法模型的对 应关系,即可得到该待拆条场景对应的预设算法模型。The acquired video stripping request may further include the scene to be stripped. It can parse the to-be-split scene included in the video split request. The preset algorithm model corresponding to the scene to be stripped can be obtained according to the pre-established corresponding relationship between different strip-splitting scenarios and different algorithm models.

S1023,利用预设算法模型分别对多个视频帧进行识别,得到满足待拆条场景的视频帧。S1023 , using a preset algorithm model to identify a plurality of video frames, respectively, to obtain a video frame that satisfies the scene to be split.

可以通过调用相应的预设算法模型来对视频帧进行识别。预设算法模型可以包括人脸识别和/或特定场景识别等等。其中,人脸识别是通过AI算法识别图像中是否有人脸。特定场景识别是通过AI算法识别出图像内容是否为客户指定的场景。一个例子中,可以通过预先训练的深度学习模型来对图像进行人脸或场景的识别。以场景识别为例,可以将标注有场景的样本图像输入到深度学习模型中进行训练,从而得到预先训练的深度学习模型;在进行场景识别时,将待识别的图像输入到深度学习模型中,深度学习模型会自动输出该图像的场景。深度学习模型的具体训练方式可以参见相关的模型训练技术,本申请中不做具体限定。The video frame can be identified by invoking the corresponding preset algorithm model. The preset algorithm model may include face recognition and/or specific scene recognition, and so on. Among them, face recognition is to identify whether there is a face in an image through an AI algorithm. The specific scene recognition is to identify whether the image content is a scene specified by the customer through the AI algorithm. In one example, a pre-trained deep learning model can be used to perform face or scene recognition on an image. Taking scene recognition as an example, a sample image marked with a scene can be input into a deep learning model for training, thereby obtaining a pre-trained deep learning model; when performing scene recognition, the image to be recognized is input into the deep learning model, The deep learning model automatically outputs the scene for that image. For the specific training method of the deep learning model, please refer to the related model training technology, which is not specifically limited in this application.

S1024,根据拆条规则将满足待拆条场景的视频帧进行合成,得到满足拆条规则的拆条视频。S1024 , synthesizing the video frames satisfying the scene to be split according to the splitting rule, to obtain a splitting video that satisfies the splitting rule.

例如,拆条规则包括:最短拆条时长180秒、最长拆条时长800秒、每60秒内人物/特定场景出现的时长占比不低于70%,则按照该拆条规则,将S1023中识别得到的满足待拆条场景的视频帧进行合成,得到满足拆条规则的短视频,即时长在180秒-800秒之间、且每60秒内人物/特定场景出现的时长占比不低于70%拆条视频。For example, the stripping rule includes: the shortest stripping time is 180 seconds, the longest stripping time is 800 seconds, and the proportion of characters/specific scenes in every 60 seconds is not less than 70%, then according to the stripping rule, S1023 Synthesize the video frames that meet the scene to be split, and obtain a short video that meets the rules for splitting, the real-time length is between 180 seconds and 800 seconds, and the proportion of characters/specific scenes appearing in every 60 seconds is not large. Below 70% split video.

如此,可以基于用户通过拆条平台配置的拆条规则,完成对待处理视频进行拆条的过程。因用户可以通过拆条平台配置拆条规则,无需在配置拆条规则时针对不同拆条场景编写拆条规则所对应的字段,如此会使得拆条规则的配置过程更加灵活,拆条过程更加简便。In this way, based on the stripping rules configured by the user through the stripping platform, the process of stripping the video to be processed can be completed. Because the user can configure the stripping rules through the stripping platform, there is no need to write the fields corresponding to the stripping rules for different stripping scenarios when configuring stripping rules. This will make the configuration process of stripping rules more flexible and the stripping process easier. .

在得到拆条视频后,可以将拆条视频反馈给用户。一种方式中,可以直接将拆条视频发送给用户,用户将拆条视频保存在用户所在客户端本地,以使用户在需要拆条视频时可以直接针对客户端本地保存的拆条视频进行处理。After the stripping video is obtained, the stripping video can be fed back to the user. In one way, the split video can be directly sent to the user, and the user saves the split video locally on the client where the user is located, so that the user can directly process the split video saved locally on the client when the split video is required. .

在一种实施方式中,也可以将拆条视频保存在除用户所在客户端本地之外的其他设备,如第三方设备、云设备等。可以在根据拆条规则对待处理视频进行拆条,得到待处理视频对应的拆条视频之后,将拆条视频的存储地址反馈给用户所在的客户端,以使用户利用存储地址获得拆条视频。In an implementation manner, the split video may also be saved in other devices other than the local client where the user is located, such as a third-party device, a cloud device, and the like. After splitting the video to be processed according to the splitting rules to obtain the splitting video corresponding to the to-be-processed video, the storage address of the splitting video can be fed back to the client where the user is located, so that the user can obtain the splitting video using the storage address.

本申请实施例中,可以将各拆条场景的拆条规则抽象出来,在平台侧可 视化,并支持客户根据业务需求调配。用户可以通过拆条平台配置拆条规则,无需在配置拆条规则时针对不同拆条场景编写拆条规则所对应的字段,如此会使得拆条规则的配置过程更加灵活,拆条过程更加简便。且运营人员等可以直接通过拆条平台配置拆条规则,无需运营人员将拆条需求通知给技术研发人员,然后技术研发人员将携带拆条需求中待处理视频的标识信息、拆条场景以及对应的拆条规则等信息对应字段的请求发送给拆条服务,以完成视频拆条的过程,使得视频拆条过程更加简便,更加灵活。In the embodiment of the present application, the strip stripping rules of each strip stripping scenario can be abstracted, visualized on the platform side, and support customers to deploy according to business requirements. The user can configure the stripping rules through the stripping platform, and there is no need to write the fields corresponding to the stripping rules for different stripping scenarios when configuring the stripping rules. This will make the configuration process of the stripping rules more flexible and the stripping process easier. In addition, operators and others can directly configure the stripping rules through the stripping platform, without the need for operators to notify the technical R&D personnel of the stripping requirements, and then the technical R&D personnel will carry the identification information of the video to be processed in the stripping requirements, the stripping scene and the corresponding information. The request for the corresponding field of the stripping rule and other information is sent to the stripping service to complete the process of video stripping, which makes the video stripping process simpler and more flexible.

在一种实施方式中,拆条平台还可以提供拆条日志页面,拆条日志页面用于展示拆条日志信息。拆条日志页面可以展示日志列表,日志列表的拆条日志可以对应日志详情。In one embodiment, the stripping platform may further provide a stripping log page, and the stripping log page is used to display stripping log information. The split log page can display the log list, and the split log in the log list can correspond to the log details.

在一种实施方式中,日志列表可以按拆条日志生成时间倒序展示已拆条生成的拆条视频,如每页30条记录;且可以提供查询功能,可以支持视频名称或人名的模糊查询,支持按拆条场景类型查询日志,支持按照日期进行查询,等等。In one embodiment, the log list can display the splitting videos generated by splitting logs in reverse order of generation time, such as 30 records per page; and can provide a query function, which can support fuzzy query of video name or person name, It supports querying logs according to the scene type of strips, supports querying according to date, and so on.

每条拆条日志对应的日志详情可以包括可播放已拆条的短视频,即拆条视频;原视频名称;原视频唯一标识,其中,原视频即拆条视频对应的待处理视频;已拆条的短视频存储地址,即拆条视频的存储地址;日志拆条场景。The log details corresponding to each stripped log may include a short video that can be played, that is, the stripped video; the name of the original video; the unique identifier of the original video, where the original video is the pending video corresponding to the stripped video; The storage address of the short video of the strip, that is, the storage address of the strip video; the log strip scene.

在一种实施方式中,拆条平台还可以提供数据统计页面,数据统计页用于展示数据统计结果。In one embodiment, the stripping platform may further provide a data statistics page, and the data statistics page is used to display the data statistics results.

数据统计结果可以包括预设时间范围的全部拆条场景对应的数据。可以按照日期维度进行展示。可以按照时序展示不同时间范围内识别的视频信息,拆条视频信息,等等。时间范围可以是当天、也可以是历史的一天或者多天等。在一种实施方式中,展示数据统计结果的显示样式可以是以数据报表的形式进行展示。The data statistics result may include data corresponding to all the strip splitting scenarios in the preset time range. It can be displayed according to the date dimension. The video information identified in different time ranges can be displayed according to the time series, the video information can be split, and so on. The time range can be the current day, or one or more days in history. In one embodiment, the display style for displaying the statistical results of the data may be displayed in the form of a data report.

识别的视频信息可以已拆条完成的视频相关的信息,如已识别完成的视频数量,视频标识,等等。拆条视频信息可以包括拆条视频相关的信息,如拆条视频的视频数量,等等。The identified video information may be information related to videos that have been split and completed, such as the number of identified videos, video IDs, and the like. The split video information may include information related to the split video, such as the video quantity of the split video, and so on.

在一种实施方式中,拆条平台还可以提供人脸样本库添加页面,人脸样本库添加页面用于添加拆条过程中匹配的人脸样本。In one embodiment, the stripping platform may further provide a face sample library adding page, and the face sample library adding page is used to add matching face samples in the stripping process.

人脸样本库添加页面可以按分类展示已入库的人脸样本,可以支持按人名查询;可以支持人脸样本上传功能等。The face sample library add page can display the face samples that have been stored in the library by category, support query by name, and support face sample upload function, etc.

人脸样本库添加页面支持人脸样本上传功能,用户可以通过人脸样本库添加页面来添加人脸样本,例如,用户希望观看演员A的拆条视频,则可以通过人脸样本库添加页面添加演员A的人脸样本。人脸样本库添加页面可以按分类展示已入库的人脸样本,例如,可以按照电影演员分类、电视剧演员分类、综艺演员分类等对入库的人脸样本进行分类,用户在上传演员的人脸样本时,可以同时上传该人脸样本所属的分类。此外,用户在上传演员的人脸样本时,还可以上传相应演员的姓名,可以通过人脸样本库添加页面按演员的人名来查询人脸样本。The face sample library add page supports the upload function of face samples. Users can add face samples through the face sample library add page. For example, if a user wants to watch actor A's split video, he can add face samples through the face sample library add page. A sample face of actor A. The face sample library adding page can display the face samples that have been stored in the database by category. For example, the face samples stored in the database can be classified according to the categories of movie actors, TV actors, and variety actors. When selecting a face sample, the category to which the face sample belongs can be uploaded at the same time. In addition, when uploading an actor's face sample, the user can also upload the name of the corresponding actor, and can query the face sample by the actor's name through the face sample library add page.

本申请一个可能的实施例中,拆条平台可以理解为智能拆条运营平台。In a possible embodiment of the present application, the stripping platform may be understood as an intelligent stripping operation platform.

如图5所示,智能拆条运营平台可以包括:登录界面、用户信息、数据统计、拆条日志、人脸样本库、规则配置和系统配置分别对应的选项。As shown in Figure 5, the intelligent strip operation platform may include: login interface, user information, data statistics, strip strip logs, face sample library, options corresponding to rule configuration and system configuration respectively.

不同的选项可以通过对应的页面来实现。例如,数据统计对应的用于展示数据统计结果数据统计页面。规则配置对应的拆条规则配置页面,用于支持各拆条场景拆条规则的配置。拆条日志对应的拆条日志页面,人脸样本库对应的人脸样本库添加页面。一个例子中,拆条规则配置页面、数据统计页面、拆条日志页面以及人脸样本库添加页面在上述实施例已经进行了详细描述,这里不再赘述。Different options can be implemented through the corresponding pages. For example, the corresponding data statistics page is used to display the data statistics results. The strip rule configuration page corresponding to the rule configuration is used to support the configuration of strip strip rules for each strip scene. The split log page corresponding to the split log, and the face sample library add page corresponding to the face sample library. In one example, the stripping rule configuration page, the data statistics page, the stripping log page, and the face sample library adding page have been described in detail in the above embodiment, and will not be repeated here.

本申请实施例中,智能拆条运营平台提供登录界面,基于该登录界面用户可以输入用户信息以登录该智能拆条运营平台,用户信息如用户名和密码。用户登录可以回显用户名,点击显示下拉表单可以显示“修改密码”和“退出账户”的选项。用户登录该智能拆条运营平台后可以基于该智能拆条运营平台进行操作,如配置拆条规则、查询拆条日志、数据统计结果,添加人脸样本等等。In the embodiment of the present application, the intelligent strip strip operation platform provides a login interface, based on which the user can input user information to log in to the intelligent strip strip operation platform, such as user name and password. The user name can be echoed when the user logs in, and the options of "change password" and "log out" can be displayed by clicking the display drop-down form. After logging in to the intelligent strip operation platform, users can perform operations based on the intelligent strip strip operation platform, such as configuring strip strip rules, query strip strip logs, data statistics results, and adding face samples, etc.

本申请实施例中系统配置可以对应提供用户管理和角色管理两个页面。用户管理对应的页面可以支持用户选择不同角色登录。角色管理对应的页面可以支持用户对其用户信息对应的角色进行设置等,角色可以包括超级管理员、管理员、运营,可以为不同的角色设置不同的权限,即不同角色针对智能拆条运营平台有不同权限。The system configuration in the embodiment of the present application may correspondingly provide two pages of user management and role management. The page corresponding to user management can support users to choose different roles to log in. The page corresponding to role management can support users to set roles corresponding to their user information, etc. Roles can include super administrator, administrator, operation, and different permissions can be set for different roles, that is, different roles are used for the intelligent strip operation platform. have different permissions.

本申请实施例还提供了一种视频拆条系统,如图6所示,可以包括:The embodiment of the present application also provides a video stripping system, as shown in FIG. 6 , which may include:

拆条平台601,设置为接收用户通过拆条平台601配置的拆条规则。The stripping platform 601 is configured to receive stripping rules configured by the user through the stripping platform 601 .

拆条服务602,设置为获取拆条规则;根据拆条规则对待处理视频进行拆条,得到待处理视频对应的拆条视频。The stripping service 602 is configured to obtain stripping rules; stripping the video to be processed according to the stripping rules, to obtain a stripping video corresponding to the to-be-processed video.

在一种实施方式中,拆条平台601,设置为提供拆条规则配置页面;接收用户在拆条规则配置页面上配置的拆条规则。In one embodiment, the stripping platform 601 is configured to provide a stripping rule configuration page; and receive stripping rules configured by a user on the stripping rule configuration page.

在一种实施方式中,拆条服务602为应用程序接口(Application Programming Interface,API)。In one embodiment, the stripping service 602 is an application programming interface (Application Programming Interface, API).

本申请实施例中,拆条服务602和拆条平台601可以部署在一个设备上,也可以分别部署在不同的设备上。In this embodiment of the present application, the stripping service 602 and the stripping platform 601 may be deployed on one device, or may be deployed on different devices respectively.

在一种实施方式中,可以将拆条服务602封装成API。拆条平台601可以通过调用API的方式实现拆条服务的过程。In one embodiment, the stripping service 602 can be packaged as an API. The stripping platform 601 can implement the stripping service process by calling an API.

本申请实施例提供的视频拆条系统,是上述实施例中视频拆条方法对应的系统,上述视频拆条方法的所有实施例均适用于该装置,且均能达到相同或相似的有益效果。The video stripping system provided by the embodiment of the present application is a system corresponding to the video stripping method in the above-mentioned embodiments, and all embodiments of the above-mentioned video stripping method are applicable to the device, and can achieve the same or similar beneficial effects.

对应上述实施例应用于拆条服务的视频拆条方法,本申请实施例提供了一种视频拆条装置,应用于拆条服务,如图7A所示,可以包括:Corresponding to the video stripping method applied to the stripping service in the above-mentioned embodiment, the embodiment of the present application provides a video stripping device, which is applied to the stripping service. As shown in FIG. 7A , it may include:

第一获取模块701,设置为获取用户通过拆条平台配置的拆条规则。The first obtaining module 701 is configured to obtain the stripping rules configured by the user through the stripping platform.

拆条模块702,设置为根据拆条规则对待处理视频进行拆条,得到待处理视频对应的拆条视频。The splitting module 702 is configured to split the video to be processed according to the splitting rule, and obtain the splitting video corresponding to the video to be processed.

在一种实施方式中,如图7B所示,该装置还包括:第二获取模块703,设置为在根据拆条规则对待处理视频进行拆条,得到待处理视频对应的拆条视频之前,获取视频拆条请求,视频拆条请求携带待处理视频的标识信息;根据标识信息获取待处理视频。In one embodiment, as shown in FIG. 7B , the apparatus further includes: a second obtaining module 703, configured to obtain a split video corresponding to the to-be-processed video before splitting the to-be-processed video according to the splitting rule. A video stripping request. The video stripping request carries the identification information of the video to be processed; the to-be-processed video is obtained according to the identification information.

在一种实施方式中,第一获取模块701,设置为获取用户基于配置规则信息配置的拆条规则参数,并将配置规则信息和拆条规则参数作为拆条规则,配置规则信息是拆条平台提供的拆条规则配置页面中包括的不同拆条场景对应的配置规则信息。In one embodiment, the first acquisition module 701 is configured to acquire the stripping rule parameters configured by the user based on the configuration rule information, and use the configuration rule information and stripping rule parameters as stripping rules, and the configuration rule information is the stripping platform The configuration rule information corresponding to different strip strip scenarios included in the provided strip strip rule configuration page.

在一种实施方式中,视频拆条请求还包括待拆条场景;拆条模块702,设置为对待处理视频进行抽帧处理,得到多个视频帧;确定待拆条场景对应的预设算法模型;利用预设算法模型分别对多个视频帧进行识别,得到满足待拆条场景的视频帧;根据拆条规则将满足待拆条场景的视频帧进行合成,得到满足拆条规则的拆条视频。In one embodiment, the video stripping request further includes the scene to be stripped; the stripping module 702 is configured to perform frame extraction processing on the video to be processed to obtain a plurality of video frames; and determine the preset algorithm model corresponding to the to-be stripped scene ; Identify multiple video frames by using a preset algorithm model to obtain a video frame that satisfies the scene to be split; Combine the video frames that meet the scene to be split according to the split rule to obtain a split video that satisfies the split rule .

在一种实施方式中,如图7C所示,该装置还包括:反馈模块704,设置为在根据拆条规则对待处理视频进行拆条,得到待处理视频对应的拆条视频之后,将拆条视频的存储地址反馈给用户所在的客户端,以使用户利用存储地址获得拆条视频。In one embodiment, as shown in FIG. 7C , the apparatus further includes: a feedback module 704, configured to split the video to be processed according to the splitting rule to obtain the split video corresponding to the video to be processed, and then split the split video. The storage address of the video is fed back to the client where the user is located, so that the user can obtain the split video by using the storage address.

本申请实施例提供的应用于拆条服务的视频拆条装置是上述应用于拆条服务的视频拆条方法的装置,则上述应用于拆条服务的视频拆条方法的所有实施例均适用于该装置,且均能达到相同或相似的有益效果。The video stripping device applied to the stripping service provided by the embodiment of the present application is the device of the above-mentioned video stripping method applied to the stripping service, and all the above-mentioned embodiments of the video stripping method applied to the stripping service are applicable to The device can achieve the same or similar beneficial effects.

对应上述实施例应用于拆条平台的视频拆条方法,本申请实施例提供了一种视频拆条装置,应用于拆条平台,如图8A所示,可以包括:Corresponding to the video stripping method applied to the stripping platform in the above-mentioned embodiments, the embodiment of the present application provides a video stripping device, which is applied to the stripping platform. As shown in FIG. 8A , it may include:

第一提供模块801,设置为提供拆条规则配置页面;接收模块802,设置为接收用户在拆条规则配置页面上配置的拆条规则,以使拆条服务基于拆条规则对待处理视频进行拆条,得到待处理视频对应的拆条视频。The first providing module 801 is configured to provide a stripping rule configuration page; the receiving module 802 is set to receive stripping rules configured by the user on the stripping rule configuration page, so that the stripping service can deconstruct the video to be processed based on the stripping rules. bar to obtain the split video corresponding to the video to be processed.

在一种实施方式中,拆条规则配置页面包括不同拆条场景对应的配置规则信息;接收模块802,设置为接收用户基于配置规则信息配置的拆条规则参数,并将配置规则信息和拆条规则参数作为拆条规则。In one embodiment, the stripping rule configuration page includes configuration rule information corresponding to different stripping scenarios; the receiving module 802 is configured to receive the stripping rule parameters configured by the user based on the configuration rule information, and send the configuration rule information and stripping rule information to the stripping rule. The rule parameter is used as a stripping rule.

在一种实施方式中,如图8B所示,该装置还包括:第二提供模块803,设置为提供拆条日志页面,拆条日志页面用于展示拆条日志信息。In one embodiment, as shown in FIG. 8B , the apparatus further includes: a second providing module 803 configured to provide a strip log page, where the strip log page is used to display strip log information.

在一种实施方式中,如图8C所示,该装置还包括:第三提供模块804,设置为提供数据统计页面,数据统计页用于展示数据统计结果。In one embodiment, as shown in FIG. 8C , the apparatus further includes: a third providing module 804 configured to provide a data statistics page, where the data statistics page is used to display data statistics results.

在一种实施方式中,如图8D所示,该装置还包括:第四提供模块805,设置为提供人脸样本库添加页面,人脸样本库添加页面用于添加拆条过程中匹配的人脸样本。In one embodiment, as shown in FIG. 8D , the apparatus further includes: a fourth providing module 805, configured to provide a face sample library adding page, and the face sample library adding page is used to add people matched in the stripping process face sample.

本申请实施例提供的应用于拆条平台的视频拆条装置是上述应用于拆条平台的视频拆条方法的装置,则上述应用于拆条平台的视频拆条方法的所有实施例均适用于该装置,且均能达到相同或相似的有益效果。The video stripping device applied to the stripping platform provided by the embodiment of the present application is the device for the above-mentioned video stripping method applied to the stripping platform, and all the above-mentioned embodiments of the video stripping method applied to the stripping platform are applicable to The device can achieve the same or similar beneficial effects.

对应上述实施例应用于拆条服务的视频拆条方法,本申请实施例提供了一种电子设备,如图9所示,包括处理器901、通信接口902、存储器903和通信总线904,其中,处理器901,通信接口902,存储器903通过通信总线904完成相互间的通信;存储器903,设置为存放计算机程序;处理器901,设置为执行存储器903上所存放的程序时,实现上述应用于拆条服务的视频拆条方法的方法步骤。Corresponding to the video stripping method applied to stripping service in the above embodiments, the embodiment of the present application provides an electronic device, as shown in FIG. 9 , including a processor 901, a communication interface 902, a memory 903 and a communication bus 904, wherein, The processor 901, the communication interface 902, and the memory 903 complete the mutual communication through the communication bus 904; the memory 903 is set to store computer programs; The method steps of the video stripping method of the strip service.

对应上述实施例应用于拆条平台的视频拆条方法,本申请实施例提供了一种电子设备,如图10所示,包括处理器1001、通信接口1002、存储器1003和通信总线1004,其中,处理器1001,通信接口1002,存储器1003通过通信总线904完成相互间的通信;存储器1003,设置为存放计算机程序;处理器1001,设置为执行存储器1003上所存放的程序时,实现上述应用于拆条平台的视频拆条方法的方法步骤。Corresponding to the video stripping method applied to the stripping platform in the above-mentioned embodiments, the embodiment of the present application provides an electronic device, as shown in FIG. 10 , including a processor 1001, a communication interface 1002, a memory 1003 and a communication bus 1004, wherein The processor 1001, the communication interface 1002, and the memory 1003 complete the mutual communication through the communication bus 904; the memory 1003 is set to store computer programs; The method steps of the video stripping method of the strip platform.

上述电子设备提到的通信总线可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus mentioned in the above electronic device may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus or the like. The communication bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

通信接口用于上述电子设备与其他设备之间的通信。The communication interface is used for communication between the above electronic device and other devices.

存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。在一种实施方式中,存储器还可以是至少一个位于远离前述处理器的存储装置。The memory may include random access memory (Random Access Memory, RAM), and may also include non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk storage. In one embodiment, the memory may also be at least one storage device located remotely from the aforementioned processor.

上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned processor can be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it can also be a digital signal processor (Digital Signal Processing, DSP), dedicated integrated Circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

在本申请提供的又一实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述应用于拆条服务的视频拆条方法的方法步骤。In another embodiment provided by the present application, a computer-readable storage medium is also provided, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned application to the stripping service is implemented The method steps of the video stripping method.

在本申请提供的又一实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述应用于拆条平台的视频拆条方法的方法步骤。In another embodiment provided by the present application, a computer-readable storage medium is also provided, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned application to the stripping platform is implemented The method steps of the video stripping method.

在本申请提供的又一实施例中,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行实现上述应用于拆条服务的视频拆条方法的方法步骤。In yet another embodiment provided by the present application, a computer program product including instructions is also provided, which, when running on a computer, causes the computer to execute the method steps of implementing the above-mentioned video stripping method applied to stripping service.

在本申请提供的又一实施例中,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行实现上述应用于拆条平台的视频拆条方法的方法步骤。In yet another embodiment provided by the present application, a computer program product including instructions is also provided, which, when running on a computer, causes the computer to execute the method steps of implementing the above-mentioned video stripping method applied to a stripping platform.

本申请的技术方案中,所涉及的用户个人信息的收集、存储、使用、加工、传输、提供和公开等处理,均符合相关法律法规的规定,且不违背公序良俗。需要说明的是,本实施例中的人脸样本并不是针对某一特定用户的人头模型,并不能反映出某一特定用户的个人信息。本实施例中的人脸图像来自于公开数据集。In the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of the user's personal information involved are in compliance with relevant laws and regulations, and do not violate public order and good customs. It should be noted that the face sample in this embodiment is not a human head model for a specific user, and cannot reflect the personal information of a specific user. The face images in this embodiment come from public datasets.

在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can 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 the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission to another website site, computer, server, or data center is by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), and the like.

需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any relationship between these entities or operations. any such actual relationship or sequence exists. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion such that a process, method, article or device comprising a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同 相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统、装置、电子设备、计算机可读存储介质以及计算机程序产品实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a related manner, and the same and similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system, apparatus, electronic device, computer-readable storage medium, and computer program product embodiments, since they are basically similar to the method embodiments, the description is relatively simple. Can.

以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the present application. within the scope of protection.

Claims (14)

一种视频拆条方法,应用于拆条服务,包括:A video strip stripping method, which is applied to strip stripping services, including: 获取用户通过拆条平台配置的拆条规则;Get the stripping rules configured by the user through the stripping platform; 根据所述拆条规则对待处理视频进行拆条,得到所述待处理视频对应的拆条视频。Split the video to be processed according to the split rule to obtain the split video corresponding to the video to be processed. 根据权利要求1所述的方法,其中,在所述根据所述拆条规则对待处理视频进行拆条,得到所述待处理视频对应的拆条视频之前,所述方法还包括:The method according to claim 1, wherein, before the splitting the video to be processed according to the splitting rule to obtain the splitting video corresponding to the video to be processed, the method further comprises: 获取视频拆条请求,所述视频拆条请求携带所述待处理视频的标识信息;Obtain a video stripping request, where the video stripping request carries the identification information of the to-be-processed video; 根据所述标识信息获取所述待处理视频。The to-be-processed video is acquired according to the identification information. 根据权利要求1所述的方法,其中,所述获取用户通过拆条平台配置的拆条规则,包括:The method according to claim 1, wherein the acquiring the stripping rules configured by the user through the stripping platform comprises: 获取所述用户基于配置规则信息配置的拆条规则参数,并将所述配置规则信息和所述拆条规则参数作为所述拆条规则,所述配置规则信息是所述拆条平台提供的拆条规则配置页面中包括的不同拆条场景对应的配置规则信息。Acquire the stripping rule parameters configured by the user based on the configuration rule information, and use the configuration rule information and the stripping rule parameters as the stripping rule, and the configuration rule information is the stripping rule provided by the stripping platform. The configuration rule information corresponding to different stripping scenarios included in the rule configuration page. 根据权利要求2所述的方法,其中,所述视频拆条请求还包括待拆条场景;The method according to claim 2, wherein the video stripping request further comprises a scene to be stripped; 所述根据所述拆条规则对待处理视频进行拆条,得到所述待处理视频对应的拆条视频,包括:The described stripping of the video to be processed according to the stripping rule, to obtain the stripped video corresponding to the video to be processed, including: 对所述待处理视频进行抽帧处理,得到多个视频帧;Perform frame extraction processing on the to-be-processed video to obtain multiple video frames; 确定所述待拆条场景对应的预设算法模型;determining a preset algorithm model corresponding to the scene to be stripped; 利用所述预设算法模型分别对所述多个视频帧进行识别,得到满足所述待拆条场景的视频帧;Identify the plurality of video frames by using the preset algorithm model to obtain video frames that satisfy the scene to be split; 根据所述拆条规则将满足所述待拆条场景的视频帧进行合成,得到满足所述拆条规则的所述拆条视频。The video frames satisfying the scene to be split are synthesized according to the split rule to obtain the split video satisfying the split rule. 根据权利要求1所述的方法,其中,在所述根据所述拆条规则对待处理视频进行拆条,得到所述待处理视频对应的拆条视频之后,所述方法还包括:The method according to claim 1, wherein after the splitting the video to be processed according to the splitting rule to obtain the splitting video corresponding to the to-be-processed video, the method further comprises: 将所述拆条视频的存储地址反馈给用户所在的客户端,以使所述用户利用所述存储地址获得所述拆条视频。The storage address of the stripped video is fed back to the client where the user is located, so that the user can obtain the stripped video by using the storage address. 一种视频拆条方法,应用于拆条平台,包括:A video strip stripping method, applied to a strip stripping platform, includes: 提供拆条规则配置页面;Provide strip rule configuration page; 接收用户在所述拆条规则配置页面上配置的拆条规则,以使拆条服务基于所述拆条规则对待处理视频进行拆条,得到所述待处理视频对应的拆条视频。Receive the stripping rule configured by the user on the stripping rule configuration page, so that the stripping service performs stripping of the video to be processed based on the stripping rule, and obtains the stripped video corresponding to the to-be-processed video. 根据权利要求6所述的方法,其中,所述拆条规则配置页面包括不同拆条场景对应的配置规则信息;The method according to claim 6, wherein the strip rule configuration page includes configuration rule information corresponding to different strip strip scenarios; 所述接收用户在所述拆条规则配置页面上配置的拆条规则,包括:The stripping rules configured by the receiving user on the stripping rule configuration page include: 接收所述用户基于所述配置规则信息配置的拆条规则参数,并将所述配置规则信息和所述拆条规则参数作为所述拆条规则。Receiving strip rule parameters configured by the user based on the configuration rule information, and using the configuration rule information and the strip strip rule parameters as the strip strip rules. 根据权利要求6所述的方法,其中,所述方法还包括:The method of claim 6, wherein the method further comprises: 提供人脸样本库添加页面,所述人脸样本库添加页面用于添加拆条过程中匹配的人脸样本。A face sample library adding page is provided, and the face sample library adding page is used to add matching face samples during stripping. 一种视频拆条系统,包括:A video stripping system, comprising: 拆条平台,设置为接收用户通过所述拆条平台配置的拆条规则;The stripping platform is set to receive stripping rules configured by the user through the stripping platform; 拆条服务,设置为获取所述拆条规则;根据所述拆条规则对待处理视频进行拆条,得到所述待处理视频对应的拆条视频。The splitting service is configured to obtain the splitting rule; splitting the video to be processed according to the splitting rule to obtain the splitting video corresponding to the to-be-processed video. 根据权利要求9所述的系统,其中,所述拆条平台,设置为提供拆条规则配置页面;接收用户在所述拆条规则配置页面上配置的拆条规则。The system according to claim 9, wherein the stripping platform is configured to provide a stripping rule configuration page; and receive stripping rules configured by a user on the stripping rule configuration page. 一种视频拆条装置,应用于拆条服务,包括:A video strip stripping device, applied to strip stripping service, includes: 第一获取模块,设置为获取用户通过拆条平台配置的拆条规则;The first obtaining module is set to obtain the stripping rules configured by the user through the stripping platform; 拆条模块,设置为根据所述拆条规则对待处理视频进行拆条,得到所述待处理视频对应的拆条视频。The splitting module is configured to split the video to be processed according to the splitting rule, and obtain the splitting video corresponding to the video to be processed. 一种视频拆条装置,应用于拆条平台,包括:A video strip stripping device applied to strip stripping platform, comprising: 第一提供模块,设置为提供拆条规则配置页面;The first provides a module, which is set to provide a strip rule configuration page; 接收模块,设置为接收用户在所述拆条规则配置页面上配置的拆条规则,以使拆条服务基于所述拆条规则对待处理视频进行拆条,得到所述待处理视频对应的拆条视频。The receiving module is configured to receive the stripping rule configured by the user on the stripping rule configuration page, so that the stripping service can strip the video to be processed based on the stripping rule, and obtain the stripping corresponding to the video to be processed. video. 一种电子设备,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;An electronic device includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; 存储器,设置为存放计算机程序;a memory, configured to store computer programs; 处理器,设置为执行存储器上所存放的程序时,实现权利要求1-5任一所述的方法或实现权利要求6-8任一所述的方法。The processor is configured to implement the method described in any one of claims 1-5 or implement the method described in any one of claims 6-8 when executing the program stored in the memory. 一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-5任一所述的方法或实现权利要求6-8任一所述的方法。A computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the method of any one of claims 1-5 or any one of claims 6-8 are implemented. a described method.
PCT/CN2021/129848 2020-11-17 2021-11-10 Video splitting method, system and apparatus, and device and storage medium Ceased WO2022105656A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011286764.3 2020-11-17
CN202011286764.3A CN112423151A (en) 2020-11-17 2020-11-17 Video strip splitting method, system, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022105656A1 true WO2022105656A1 (en) 2022-05-27

Family

ID=74830942

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/129848 Ceased WO2022105656A1 (en) 2020-11-17 2021-11-10 Video splitting method, system and apparatus, and device and storage medium

Country Status (2)

Country Link
CN (1) CN112423151A (en)
WO (1) WO2022105656A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115766977A (en) * 2022-11-10 2023-03-07 北京百度网讯科技有限公司 Video processing method, device, equipment and storage medium
CN116939291A (en) * 2023-09-13 2023-10-24 浙江新华移动传媒股份有限公司 A method for quickly stripping videos and related devices
CN117274856A (en) * 2023-08-23 2023-12-22 杭州当虹科技股份有限公司 News breaking method based on AI statistics

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112423151A (en) * 2020-11-17 2021-02-26 北京金山云网络技术有限公司 Video strip splitting method, system, device, equipment and storage medium
CN116980644A (en) * 2022-04-13 2023-10-31 华为云计算技术有限公司 A video processing method, system and related equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109246441A (en) * 2018-09-30 2019-01-18 武汉斗鱼网络科技有限公司 Wonderful time video automatic generation method, storage medium, equipment and system
CN109565621A (en) * 2016-08-01 2019-04-02 微软技术许可有限责任公司 Video segmentation in system for managing video
US20190281350A1 (en) * 2018-03-06 2019-09-12 Shoppar, Ltd. System and method for content delivery optimization based on a combined captured facial landmarks and external datasets
CN110659616A (en) * 2019-09-26 2020-01-07 新华智云科技有限公司 Method for automatically generating gif from video
CN111654669A (en) * 2020-05-26 2020-09-11 号百控股股份有限公司 Video strip splitting system framework and method based on video structural analysis processing
CN112423151A (en) * 2020-11-17 2021-02-26 北京金山云网络技术有限公司 Video strip splitting method, system, device, equipment and storage medium
CN113542909A (en) * 2020-04-21 2021-10-22 阿里巴巴集团控股有限公司 Video processing method and device, electronic equipment and computer storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166828A (en) * 2019-02-19 2019-08-23 腾讯科技(深圳)有限公司 A kind of method for processing video frequency and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109565621A (en) * 2016-08-01 2019-04-02 微软技术许可有限责任公司 Video segmentation in system for managing video
US20190281350A1 (en) * 2018-03-06 2019-09-12 Shoppar, Ltd. System and method for content delivery optimization based on a combined captured facial landmarks and external datasets
CN109246441A (en) * 2018-09-30 2019-01-18 武汉斗鱼网络科技有限公司 Wonderful time video automatic generation method, storage medium, equipment and system
CN110659616A (en) * 2019-09-26 2020-01-07 新华智云科技有限公司 Method for automatically generating gif from video
CN113542909A (en) * 2020-04-21 2021-10-22 阿里巴巴集团控股有限公司 Video processing method and device, electronic equipment and computer storage medium
CN111654669A (en) * 2020-05-26 2020-09-11 号百控股股份有限公司 Video strip splitting system framework and method based on video structural analysis processing
CN112423151A (en) * 2020-11-17 2021-02-26 北京金山云网络技术有限公司 Video strip splitting method, system, device, equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115766977A (en) * 2022-11-10 2023-03-07 北京百度网讯科技有限公司 Video processing method, device, equipment and storage medium
CN117274856A (en) * 2023-08-23 2023-12-22 杭州当虹科技股份有限公司 News breaking method based on AI statistics
CN116939291A (en) * 2023-09-13 2023-10-24 浙江新华移动传媒股份有限公司 A method for quickly stripping videos and related devices
CN116939291B (en) * 2023-09-13 2023-11-28 浙江新华移动传媒股份有限公司 A method for quickly stripping videos and related devices

Also Published As

Publication number Publication date
CN112423151A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
WO2022105656A1 (en) Video splitting method, system and apparatus, and device and storage medium
US10613719B2 (en) Generating a form response interface in an online application
US20140095308A1 (en) Advertisement distribution apparatus and advertisement distribution method
US11115531B1 (en) Systems and methods for identifying a behavioral target during a conversation
US20210035025A1 (en) Systems and methods for optimizing machine learning models by summarizing list characteristics based on multi-dimensional feature vectors
JP2022538702A (en) Voice packet recommendation method, device, electronic device and program
US20240184865A1 (en) Systems and methods for providing user validation
US10970485B1 (en) Systems and methods for selecting effective phrases to be presented during a conversation
CN109829064B (en) Media resource sharing and playing method and device, storage medium and electronic device
US20150287069A1 (en) Personal digital engine for user empowerment and method to operate the same
CN104866275B (en) Method and device for acquiring image information
CN108197336B (en) Video searching method and device
CN107977678A (en) Method and apparatus for output information
EP3923157A1 (en) Data stream processing
US11120812B1 (en) Application of machine learning techniques to select voice transformations
CN109451333A (en) A kind of barrage display methods, device, terminal and system
CN112035727A (en) Information acquisition method, device, equipment, system and readable storage medium
CN108924598A (en) Video caption display methods and device
CN110727782A (en) Question and answer corpus generation method and system
US11057332B2 (en) Augmented expression sticker control and management
CN112836767A (en) Federal modeling method, apparatus, apparatus, storage medium and program product
KR102197739B1 (en) Method for providing actors information
CN110209780B (en) Question template generation method and device, server and storage medium
WO2020181783A1 (en) Method and device for sending information
JP7430302B1 (en) Page generation device, web page production method, and program

Legal Events

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

Ref document number: 21893803

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21893803

Country of ref document: EP

Kind code of ref document: A1