CN102271122B - A kind of rubbish contents applied to P2P networks determine method and its system - Google Patents
A kind of rubbish contents applied to P2P networks determine method and its system Download PDFInfo
- Publication number
- CN102271122B CN102271122B CN201010192038.5A CN201010192038A CN102271122B CN 102271122 B CN102271122 B CN 102271122B CN 201010192038 A CN201010192038 A CN 201010192038A CN 102271122 B CN102271122 B CN 102271122B
- Authority
- CN
- China
- Prior art keywords
- audio
- video
- data
- file
- frames
- 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.)
- Expired - Fee Related
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
本发明公开了一种应用于P2P网络的垃圾内容确定方法及其系统,以确定出P2P网络中的垃圾内容。该方法包括:过滤服务器对接收到的视音频文件进行流化操作,得到流媒体数据,并输出该流媒体数据;过滤客户端对所述过滤服务器输出的流媒体数据进行组帧,得到视频帧/音频帧;对所述视频帧/音频帧进行解码,得到视频数据/音频数据;对所述视频数据/音频数据进行分析,并根据分析结果确定所述视音频文件是否为垃圾文件。采用本发明技术方案,能够有效的确定出P2P中的垃圾内容,从而保证了P2P网络中的内容的健康性与安全性。
The invention discloses a garbage content determining method and system applied to a P2P network to determine the garbage content in the P2P network. The method includes: the filtering server performs streaming operation on the received video and audio files to obtain streaming media data, and outputs the streaming media data; the filtering client performs framing on the streaming media data output by the filtering server to obtain video frames /audio frame; decoding the video frame/audio frame to obtain video data/audio data; analyzing the video data/audio data, and determining whether the video/audio file is a garbage file according to the analysis result. By adopting the technical scheme of the invention, the spam content in the P2P can be effectively determined, thereby ensuring the health and safety of the content in the P2P network.
Description
技术领域technical field
本发明涉及流媒体技术领域,尤其涉及一种应用于P2P网络的垃圾内容确定方法及其系统。The invention relates to the technical field of streaming media, in particular to a method and system for determining garbage content applied to a P2P network.
背景技术Background technique
目前,P2P技术(Peer to Peer Computing,计算技术)已经受到运营商的高度关注,随着视音频编码技术和IP网络传输技术的发展与完善,数字媒体业务得到了迅速发展并已成为宽带的核心应用。At present, P2P technology (Peer to Peer Computing, computing technology) has been highly concerned by operators. With the development and perfection of video and audio coding technology and IP network transmission technology, digital media services have developed rapidly and have become the core of broadband application.
现阶段,运营商的数字媒体业务采用集中服务的模式,如通过基于C/S(Client/Server,客户端/服务器端)或C/S+CDN(Content Delivery Network,内容分发网络)架构为用户提供服务,伴随着日益增长的业务需求,这种架构下系统投资剧增,产出效益较低的问题日益显著,相比之下,P2P的思想改变Internet原来的C/S计算(Client/ServerComputing)或是B/S计算(Brower/Server Computing)这样不对称的计算模式,每个节点地位对等,可以同时成为服务的使用者和提供者,这为大规模的信息共享、直接通信和协同工作提供了灵活的、可扩展的计算平台。At this stage, operators' digital media services adopt a centralized service model, such as providing services for users based on C/S (Client/Server, client/server) or C/S+CDN (Content Delivery Network, content distribution network) architecture. To provide services, along with the growing business needs, the system investment under this framework has increased sharply, and the problem of low output efficiency has become increasingly significant. In contrast, the idea of P2P has changed the original C/S computing (Client/Server Computing) of the Internet ) or B/S Computing (Brower/Server Computing) such an asymmetrical computing model, each node has an equal status and can simultaneously become a service user and provider, which provides a great foundation for large-scale information sharing, direct communication and collaboration Work provides a flexible, scalable computing platform.
基于P2P业务平台具有低成本、高扩展性、高服务质量、高安全性等优势,可解决现有数字媒体业务发展中,所面临的平台高投入、低回报、热点效应等问题。The P2P-based business platform has the advantages of low cost, high scalability, high service quality, and high security, and can solve the problems of high platform investment, low return, and hotspot effects faced by the existing digital media business development.
但是,P2P网络还不够成熟和完善,存在着很多急待解决的问题,其中P2P网络的传输内容的安全性则成为目前P2P网络较为关键的问题。由于P2P网络的内容源主要来自于提供商和用户终端上传的内容;由于P2P网络包含的用户节点众多,因此用户终端上传的内容较多,尤其是视频内容,如何保证内容的健康性与安全性,则成为目前急待解决的问题。如果采用人工审核的方式来检测视频内容是否为垃圾内容,工作量较大、耗时较长;若通过人工抽检的方式来判断视频内容是否为垃圾内容,则可能会漏检一些垃圾内容。因此,如何高效的实现对垃圾内容的过滤则成为目前P2P网络较为关注的问题。However, the P2P network is not yet mature and perfect, and there are many problems that need to be solved urgently. Among them, the security of the transmission content of the P2P network has become a more critical problem in the current P2P network. Since the content source of the P2P network mainly comes from the content uploaded by the provider and the user terminal; since the P2P network contains a large number of user nodes, there are many content uploaded by the user terminal, especially video content, how to ensure the health and safety of the content , has become an urgent problem to be solved. If a manual review method is used to detect whether the video content is spam content, the workload is large and time-consuming; if the video content is judged to be spam content through manual random inspection, some spam content may be missed. Therefore, how to efficiently filter junk content has become a more concerned issue in the current P2P network.
发明内容Contents of the invention
本发明提供一种应用于P2P网络的垃圾内容确定方法及其系统,以实现对P2P网络中的垃圾内容进行过滤。The invention provides a method and system for determining garbage content applied to a P2P network, so as to realize filtering of garbage content in the P2P network.
一种应用于P2P网络的垃圾内容确定系统,包括:A garbage content determination system applied to P2P network, comprising:
过滤服务器,用于对接收到的视音频文件进行流化操作,得到流媒体数据,并输出该流媒体数据;The filtering server is used to stream the received video and audio files, obtain streaming media data, and output the streaming media data;
过滤客户端,用于对所述过滤服务器输出的流媒体数据进行组帧,得到视频帧或/和音频帧;对所述视频帧或/和音频帧进行解码,得到视频数据或/和音频数据;对所述视频数据或/和音频数据进行分析,并根据分析结果确定所述视音频文件是否为垃圾文件。The filtering client is configured to frame the streaming media data output by the filtering server to obtain video frames or/and audio frames; to decode the video frames or/and audio frames to obtain video data or/and audio data ; Analyzing the video data or/and audio data, and determining whether the video and audio files are junk files according to the analysis results.
一种利用上述系统确定出P2P网络中的垃圾内容的方法,包括:A method for determining spam content in a P2P network by using the above system, comprising:
过滤服务器对接收到的视音频文件进行流化操作,得到流媒体数据,并输出该流媒体数据;The filtering server performs a streaming operation on the received video and audio files, obtains streaming media data, and outputs the streaming media data;
过滤客户端对所述过滤服务器输出的流媒体数据进行组帧,得到视频帧或/和音频帧;对所述视频帧或/和音频帧进行解码,得到视频数据或/和音频数据;对所述视频数据或/和音频数据进行分析,并根据分析结果确定所述视音频文件是否为垃圾文件。The filtering client performs framing of the streaming media data output by the filtering server to obtain video frames or/and audio frames; decodes the video frames or/and audio frames to obtain video data or/and audio data; Analyze the video data or/and audio data, and determine whether the video and audio files are junk files according to the analysis results.
本发明实施例中,过滤服务器对接收到的视音频文件进行流化操作,得到流媒体数据,并输出该流媒体数据;过滤客户端对所述过滤服务器输出的流媒体数据进行组帧,得到视频帧或/和音频帧;对所述视频帧或/和音频帧进行解码,得到视频数据或/和音频帧;对所述视频数据或/和音频帧进行分析,并根据分析结果确定所述视音频文件是否为垃圾文件。采用本发明技术方案,实现了对P2P网络中的内容进行垃圾内容过滤操作,确定出垃圾内容,从而保证了P2P网络中的内容的健康性与安全性。In the embodiment of the present invention, the filtering server performs a streaming operation on the received video and audio files to obtain streaming media data, and outputs the streaming media data; the filtering client performs framing of the streaming media data output by the filtering server to obtain video frames or/and audio frames; decoding the video frames or/and audio frames to obtain video data or/and audio frames; analyzing the video data or/and audio frames, and determining the Whether the video and audio files are junk files. By adopting the technical scheme of the invention, the spam content filtering operation is realized on the content in the P2P network, and the spam content is determined, thereby ensuring the health and safety of the content in the P2P network.
附图说明Description of drawings
图1A为本发明实施例中垃圾内容确定系统的结构示意图之一;FIG. 1A is one of the structural schematic diagrams of the garbage content determination system in the embodiment of the present invention;
图1B为本发明实施例中垃圾内容确定系统的结构示意图之二;FIG. 1B is the second structural schematic diagram of the garbage content determination system in the embodiment of the present invention;
图1C为本发明实施例中垃圾内容确定系统的结构示意图之三;Fig. 1C is the third structural schematic diagram of the garbage content determining system in the embodiment of the present invention;
图2A1、图2A2为本发明实施例中采用如图1A所示系统确定出P2P网络中的垃圾内容的流程图;FIG. 2A1 and FIG. 2A2 are flowcharts of determining spam content in a P2P network by using the system shown in FIG. 1A in an embodiment of the present invention;
图2B为本发明实施例中采用如图1B所示系统确定出P2P网络中的垃圾内容的流程图;FIG. 2B is a flowchart of determining spam content in a P2P network by using the system shown in FIG. 1B in an embodiment of the present invention;
图2C为本发明实施例中采用如图1C所示系统确定出P2P网络中的垃圾内容的流程图。FIG. 2C is a flowchart of determining spam content in a P2P network by using the system shown in FIG. 1C in an embodiment of the present invention.
具体实施方式Detailed ways
为解决P2P网络存在的上述技术问题,本发明实施例提供一种应用于P2P网络的垃圾内容确定方法及其系统,该方法包括:过滤服务器对接收到的视音频文件进行流化操作之后发送给过滤客户端;由过滤客户端对该视音频文件的视频数据或/音频数据进行分析,并根据分析结果确定该视音频文件是否为垃圾文件。采用本发明技术方案,通过服务器端与客户端来实现,对内容提供商或用户终端发送给P2P网络的内容进行过滤判断,确定出垃圾内容,从而实现了将垃圾内容过滤掉,以保证P2P网络中内容的健康性与安全性。In order to solve the above-mentioned technical problems existing in the P2P network, the embodiment of the present invention provides a method and system for determining spam content applied to the P2P network. Filtering client: the filtering client analyzes the video data or/audio data of the video and audio file, and determines whether the video and audio file is a garbage file according to the analysis result. The technical scheme of the present invention is implemented through the server and the client to filter and judge the content sent by the content provider or user terminal to the P2P network, and determine the garbage content, thereby realizing the filtering of the garbage content to ensure the P2P network health and safety of content.
下面结合说明书附图对本发明技术方案进行详细的描述。The technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings.
参见图1A,为本发明实施例中垃圾内容确定系统的结构示意图之一,该系统包括:视频库1、过滤服务器2以及过滤客户端3,其中:Referring to Fig. 1A, it is one of the schematic structural diagrams of the garbage content determination system in the embodiment of the present invention, the system includes: a video library 1, a filtering server 2 and a filtering client 3, wherein:
视频库1,用于存储内容提供商提供的内容或用户终端上传的内容。The video library 1 is used to store the content provided by the content provider or the content uploaded by the user terminal.
本发明实施例中,内容提供商的提供的内容或用户终端上传的内容,可包括视音频文件、图片文件、音频文件等;视音频文件的文件格式可以是MP4格式文件,还可以是AVI、ASF、RM、RMV、OGG、OGM等格式文件。In the embodiment of the present invention, the content provided by the content provider or the content uploaded by the user terminal can include video and audio files, picture files, audio files, etc.; the file format of the video and audio files can be MP4 format files, and can also be AVI, ASF, RM, RMV, OGG, OGM and other format files.
过滤服务器2,用于在检测到视频库1中出现新的视音频文件时,对该视音频文件进行流化,得到流媒体数据;以及,向过滤客户端3发送文件过滤请求,并以流媒体的形式将该视音频文件发送给过滤客户端3。Filtering server 2 is used to stream the video and audio file to obtain streaming media data when it detects that a new video and audio file appears in the video library 1; and, send a file filtering request to the filtering client 3, and stream The video and audio file is sent to the filtering client 3 in the form of media.
过滤客户端3,用于对接收到的流媒体数据进行组帧,得到多个视频帧,对该多个视频帧进行解码操作得到多组视频数据,并对该多组视频数据进行分析,根据分析结果确定该新的视音频文件是否为垃圾文件;以及,用于对接收到的流媒体数据进行组帧得到多个音频帧,对该多个音频帧进行解码得到多组音频数据,并对该多组音频数据进行分析,根据分析结果确定该新的视音频文件是否为垃圾文件。The filtering client 3 is used to frame the received streaming media data to obtain multiple video frames, decode the multiple video frames to obtain multiple sets of video data, and analyze the multiple sets of video data according to The analysis result determines whether the new video and audio file is a junk file; and, it is used to frame the received streaming media data to obtain multiple audio frames, decode the multiple audio frames to obtain multiple groups of audio data, and The multiple sets of audio data are analyzed, and it is determined whether the new video and audio files are garbage files according to the analysis results.
按照功能划分,可将上述过滤服务器2划分为转码模块21、流化模块22以及流媒体服务模块23,其中:According to the functional division, the above filtering server 2 can be divided into transcoding module 21, streaming module 22 and streaming media service module 23, wherein:
转码模块21,可选的,用于在接收到的视音频文件的文件格式为过滤服务器2不支持的文件格式时,对新的视音频文件进行转码操作,将该视音频文件的编码格式转换成过滤服务器2所支持的任意一种或设定的一种文件格式,并启动流化模块22。The transcoding module 21, optionally, is used to perform a transcoding operation on a new video and audio file when the file format of the received video and audio file is a file format not supported by the filtering server 2, and encode the video and audio file The format is converted into any one supported by the filtering server 2 or a set file format, and the streaming module 22 is started.
流化模块22,用于对该新的视音频文件进行流化操作,得到流媒体数据,并输出该流媒体数据。The streaming module 22 is configured to perform a streaming operation on the new video and audio file to obtain streaming media data, and output the streaming media data.
流媒体服务模块23,用于将流化模块22输出的流媒体数据以流媒体形式发送给过滤客户端3。The streaming media service module 23 is configured to send the streaming media data output by the streaming module 22 to the filtering client 3 in the form of streaming media.
按照功能划分,可将过滤客户端3划分为:数据接收模块31、视频数据组帧模块32、视频解码模块33、图像分析模块34、音频数据组帧模块35、音频解码模块36以及音频分析模块37。本发明实施例中,图像分析模块34在根据分析结果确定视音频文件为非垃圾文件时,再启动音频数据组帧模块35、音频解码模块36和音频分析模块37,以进一步确定视音频文件是否为垃圾文件;或者是,音频分析模块37在根据分析结果确定视音频文件为非垃圾文件时,再启动视频数据组帧模块32、视频解码模块33和图像分析模块34,以进一步确定视音频文件是否为垃圾文件。According to the functional division, the filtering client 3 can be divided into: data receiving module 31, video data framing module 32, video decoding module 33, image analysis module 34, audio data framing module 35, audio decoding module 36 and audio analysis module 37. In the embodiment of the present invention, the image analysis module 34 restarts the audio data framing module 35, the audio decoding module 36 and the audio analysis module 37 when determining that the video and audio file is a non-junk file according to the analysis results, so as to further determine whether the video and audio file Or, audio analysis module 37 restarts video data framing module 32, video decoding module 33 and image analysis module 34 when determining that video and audio files are non-junk files according to the analysis results, to further determine video and audio files Whether it is a junk file.
数据接收模块31,用于接收过滤服务器2发送的流媒体数据。The data receiving module 31 is configured to receive streaming media data sent by the filtering server 2 .
视频数据组帧模块32,用于对数据接收模块31接收到的流媒体数据中的视频数据进行组帧操作得到视频帧。The video data framing module 32 is configured to perform a framing operation on the video data in the streaming media data received by the data receiving module 31 to obtain video frames.
视频解码模块33,用于对视频数据组帧模块32得到的视频帧进行解码操作,得到解码后的视频数据。The video decoding module 33 is configured to perform decoding operations on the video frames obtained by the video data framing module 32 to obtain decoded video data.
图像分析模块34,用于分别对视频解码模块33得到的部分或全部视频数据进行图像分析,并根据分析结果确定视音频文件是否为垃圾文件。The image analysis module 34 is configured to perform image analysis on part or all of the video data obtained by the video decoding module 33, and determine whether the video and audio files are junk files according to the analysis results.
音频数据组帧模块35、用于对数据接收模块31接收到的流媒体数据中的音频数据进行组帧操作得到音频帧。The audio data framing module 35 is configured to perform a framing operation on the audio data in the streaming media data received by the data receiving module 31 to obtain audio frames.
音频解码模块36,用于对音频数据组帧模块35得到的音频帧进行解码,得到解码后的音频数据。The audio decoding module 36 is configured to decode the audio frames obtained by the audio data framing module 35 to obtain decoded audio data.
音频分析模块37,用于对音频解码模块36得到的音频数据进行音频分析,并根据分析结果确定视音频文件是否为垃圾文件。The audio analysis module 37 is configured to perform audio analysis on the audio data obtained by the audio decoding module 36, and determine whether the video and audio file is a junk file according to the analysis result.
较佳地,本发明实施例中的流媒体服务模块23以RTP(Real-time TransportProtocol,实时传输协议)流的形式向过滤客户端3的数据接收模块31发送视音频文件。Preferably, the streaming media service module 23 in the embodiment of the present invention sends video and audio files to the data receiving module 31 of the filtering client 3 in the form of RTP (Real-time Transport Protocol, real-time transport protocol) stream.
本发明实施例中的图像分析模块34,具体应用为:方式一,图像分析模块34采用图像识别技术来对多组视频数据进行识别,针对每一组视频数据,采用肤色检测技术检测该组视频数据中肤色的比例和非肤色部分在人体的位置,并根据肤色的比例和非肤色部分在人体的位置来确定该组视频数据是否为垃圾图像;当确定为垃圾视频数据的组数超过设定的数量阈值时,确定该视音频文件为垃圾文件。方式二、在数据库中预先存储有大量垃圾图像共有的特征值,图像分析模块34针对每一组视频数据,提取该组视频数据的特征值,并将该特征值与数据库中存储的垃圾图像的特征值进行匹配,匹配成功时确定该组视频数据为垃圾视频数据;当确定为垃圾视频数据的组数超过设定的数量阈值时,确定该视音频文件为垃圾文件。The image analysis module 34 in the embodiment of the present invention is specifically applied as follows: Mode 1, the image analysis module 34 uses image recognition technology to identify multiple groups of video data, and for each group of video data, uses skin color detection technology to detect the group of video data The proportion of skin color in the data and the position of the non-skinned part in the human body, and according to the proportion of skin color and the position of the non-skinned part in the human body to determine whether the group of video data is a garbage image; when the number of groups determined to be garbage video data exceeds the set When the number threshold of the video and audio file is determined to be a junk file. Mode 2, a large amount of feature values shared by garbage images are pre-stored in the database, and the image analysis module 34 extracts the feature values of the group of video data for each group of video data, and compares the feature values with those of the garbage images stored in the database. The feature value is matched, and when the matching is successful, it is determined that the group of video data is garbage video data; when the number of groups determined to be garbage video data exceeds a set threshold value, it is determined that the video and audio file is a garbage file.
本发明实施例中的音频分析模块37对音频数据进行音频分析,并根据分析结果确定该视音频文件是否为垃圾文件,具体为:在数据库中预先存储有大量的垃圾音频数据,针对每一组音频数据,将该组音频数据与数据库中存储的垃圾音频数据进行匹配,若匹配度大于或等于设定的阈值时,则确定该组音频数据为垃圾视频数据;当确定出垃圾音频数据的组数大于或等于设定的数量阈值时,则确定该视音频文件为垃圾文件。The audio analysis module 37 in the embodiment of the present invention carries out audio analysis to the audio data, and determines whether the video and audio file is a garbage file according to the analysis result, specifically: a large amount of garbage audio data is pre-stored in the database, for each group Audio data, match this group of audio data with the garbage audio data stored in the database, if the matching degree is greater than or equal to the set threshold, then determine that this group of audio data is garbage video data; when the group of garbage audio data is determined When the number is greater than or equal to the set number threshold, it is determined that the video and audio file is a junk file.
本发明实施例中,过滤客户端3可以仅对视音频文件的视频数据进行分析,以确定视音频文件是否为垃圾文件,该过滤客户端3的结构如图1B所示,包括数据接收模块31、视频数据组帧模块32、视频解码模块33、图像分析模块34。过滤客户端3也可以是仅对音频数据进行分析,以确定视音频文件是否为垃圾文件,该过滤客户端3的结构如图1C所示,包括数据接收模块31、音频数据组帧模块35、音频解码模块36以及音频分析模块37。In the embodiment of the present invention, the filtering client 3 can only analyze the video data of the video and audio file to determine whether the video and audio file is a garbage file. The structure of the filtering client 3 is as shown in Figure 1B, including a data receiving module 31 , a video data framing module 32, a video decoding module 33, and an image analysis module 34. Filter client 3 also can be to only analyze audio data, to determine whether video and audio files are rubbish files, the structure of this filter client 3 is as shown in Figure 1C, comprises data receiving module 31, audio data framing module 35, An audio decoding module 36 and an audio analysis module 37 .
为更详细、清楚的对本发明技术方案进行描述,下面以对P2P网络的内容进行过滤的信令流程图为例对本发明技术方案进行详细的描述。In order to describe the technical solution of the present invention in more detail and clearly, the following describes the technical solution of the present invention in detail by taking the signaling flow chart of filtering the content of the P2P network as an example.
参见图2A1、图2A2,为本发明实施例中应用如图1A所示系统确定出P2P网络中的垃圾内容的流程图,若该流程需要先对视音频文件的视频数据进行分析,则执行方案1的步骤,如图2A1所示;若该流程需要先对视音频文件的音频数据进行分析,则执行方案2的步骤,如图2A2所示。Referring to Fig. 2A1 and Fig. 2A2, it is a flow chart of using the system shown in Fig. 1A in the embodiment of the present invention to determine the garbage content in the P2P network. Step 1, as shown in Figure 2A1; if the process needs to analyze the audio data of the video and audio file first, then execute the steps of Solution 2, as shown in Figure 2A2.
方案1,在时序上包括以下步骤:Scheme 1 includes the following steps in timing:
步骤201、视频库1将接收到视音频文件发送给过滤服务器2的转码模块21。Step 201 , the video library 1 sends the received video and audio files to the transcoding module 21 of the filtering server 2 .
步骤202、转码模块21对接收到的视音频文件进行判断,若该视音频文件的格式为过滤服务器2支持的格式,如MP4格式时,则不作处理,并将该视音频文件发送给流化模块22;若该视音频文件的格式为过滤服务器2不支持的文件格式时,则对该视音频文件进行转码格式,转换成过滤服务器2所支持的文件格式,如MP4格式,并发送给流化模块22。Step 202, transcoding module 21 judges the video and audio file received, if the format of the video and audio file is the format supported by the filter server 2, such as MP4 format, then do not process, and send the video and audio file to the stream Transformation module 22; If the format of this video and audio file is the file format that filtering server 2 does not support, then this video and audio file is carried out transcoding format, is converted into the file format that filtering server 2 supports, as MP4 format, and sends to the fluidization module 22.
步骤203、流化模块22将接收到的视音频文件进行流化,得到媒体流数据,并将该媒体流数据发送给流媒体模块23。Step 203 , the streaming module 22 streams the received video and audio files to obtain media stream data, and sends the media stream data to the streaming media module 23 .
步骤204、流媒体模块23向过滤客户端3的数据接收模块31发送文件过滤请求。Step 204 , the streaming media module 23 sends a file filtering request to the data receiving module 31 of the filtering client 3 .
步骤205、数据接收模块31与流媒体模块23之间进行RTSP(Real Time StreamingProtocol,实时流传输协议)交互。Step 205 , RTSP (Real Time Streaming Protocol, Real Time Streaming Protocol) interaction is performed between the data receiving module 31 and the streaming media module 23 .
步骤206、流媒体模块23将流媒体数据以RTP流的形式发送给数据接收模块31。Step 206, the streaming media module 23 sends the streaming media data to the data receiving module 31 in the form of RTP stream.
步骤207、数据接收模块31将接收到的RTP流发送给视频数据组帧模块32。Step 207 , the data receiving module 31 sends the received RTP stream to the video data framing module 32 .
步骤208、视频数据组帧模块32对RTP流中的视频数据进行组帧,得到多个视频帧,并将该多个视频帧发送给视频解码模块33。Step 208 , the video data framing module 32 frames the video data in the RTP stream to obtain multiple video frames, and sends the multiple video frames to the video decoding module 33 .
步骤209、视频解码模块33对接收到的多个视频帧进行解码操作,得到解码后的多组视频数据,并将该多组视频数据发送给图像分析模块34。Step 209 , the video decoding module 33 performs a decoding operation on the multiple received video frames to obtain multiple sets of decoded video data, and sends the multiple sets of video data to the image analysis module 34 .
步骤210、图像分析模块34对接收到的多组视频数据进行分析,并根据分析结果确定该视音频文件为垃圾文件时,结束流程;若根据分析结果确定该视音频文件为非垃圾文件时,执行步骤211~214。Step 210, the image analysis module 34 analyzes the multiple groups of video data received, and when determining that the video and audio file is a garbage file according to the analysis result, the process ends; if it is determined that the video and audio file is a non-junk file according to the analysis result, Execute steps 211-214.
步骤211、数据接收模块31将接收到的RTP流发送给音频数据组帧模块35。Step 211 , the data receiving module 31 sends the received RTP stream to the audio data framing module 35 .
步骤212、音频数据组帧模块35对RTP流中的音频流进行组帧操作,得到多个音频帧,并将该多个音频帧发送给音频解码模块36。Step 212 , the audio data framing module 35 performs a framing operation on the audio stream in the RTP stream to obtain multiple audio frames, and sends the multiple audio frames to the audio decoding module 36 .
步骤213、音频解码模块36对接收到的多个音频帧进行解码,得到解码后的多组音频数据,并将该多组音频数据发送给音频分析模块37。Step 213 , the audio decoding module 36 decodes the multiple received audio frames to obtain multiple sets of decoded audio data, and sends the multiple sets of audio data to the audio analysis module 37 .
步骤214、音频分析模块37对接收到的多组音频数据进行分析,并根据分析结果确定该视音频文件是否为垃圾文件。Step 214, the audio analysis module 37 analyzes the multiple sets of audio data received, and determines whether the video and audio file is a junk file according to the analysis result.
方案2,在时序上包括以下步骤:Scheme 2 includes the following steps in timing:
步骤201’~206’、与方案1中的步骤201~206一一对应。Steps 201'~206' correspond to steps 201~206 in scheme 1 one by one.
步骤207’~209’与方案1中的步骤211~213一一对应。Steps 207'-209' correspond to steps 211-213 in scheme 1 one by one.
步骤210’、音频分析模块37对接收到的多组音频数据进行分析,并根据分析结果确定该视音频文件为垃圾文件时,结束流程;根据分析结果确定该视音频文件为非垃圾文件时,则执行步骤211’~213’。Step 210', the audio analysis module 37 analyzes the multiple groups of audio data received, and when determining that the video and audio file is a junk file according to the analysis result, the process ends; when determining that the video and audio file is a non-junk file according to the analysis result, Then execute steps 211'-213'.
步骤211’~213’、分别与步骤201~209一一对应。Steps 211' to 213' correspond to steps 201 to 209 respectively.
步骤214’、图像分析模块34对接收到的多组视频数据进行分析,并根据分析结果确定该视音频文件是否为垃圾文件。Step 214', the image analysis module 34 analyzes the multiple groups of video data received, and determines whether the video and audio files are junk files according to the analysis results.
参见图2B,为本发明实施例中应用如图1B所示系统确定出P2P网络中垃圾内容的流程图,该流程包括如图2A1所示的步骤201~209与图2A2所示步骤214’。Referring to FIG. 2B , it is a flow chart of determining spam content in a P2P network by using the system shown in FIG. 1B in an embodiment of the present invention. The process includes steps 201-209 shown in FIG. 2A1 and step 214' shown in FIG. 2A2 .
参见图2C,为本发明实施例中应用如图1C所示系统确定出P2P网络中垃圾内容的流程图,该流程包括如图2A1所示的步骤201~206与步骤211~214。Referring to FIG. 2C , it is a flowchart of determining spam content in a P2P network by using the system shown in FIG. 1C in an embodiment of the present invention. The process includes steps 201-206 and steps 211-214 as shown in FIG. 2A1 .
上述方法流程中,图像分析模块34如何对视频数据进行分析以及音频分析模块37如何对音频数据进行分析,如前所述,在此不再赘述。In the above method flow, how the image analysis module 34 analyzes the video data and how the audio analysis module 37 analyzes the audio data is as described above, and will not be repeated here.
本发明实施例中,过滤服务器在接收到视音频文件时,将该视音频文件流化成流媒体数据并发送给过滤客户端;过滤客户端对该流媒体数据进行组帧,得到多个视频帧或/和多组音频帧;并对该多个视频帧或音频帧进行分析,根据分析结果确定该视音频文件是否为垃圾文件。采用本发明技术方案,实现了对内容提供商提供给P2P网络或用户终端上传给P2P网络的内容进行过滤操作,确定出垃圾内容,从而保证了P2P网络中的内容的健康性与安全性;另外,过滤客户端既可以仅对视音频文件的视频数据进行判断来确定视音频文件是否为垃圾文件,还可以仅对视音频文件的音频数据进行判断来确定视音频文件是否为垃圾文件,还可以是通过对视音频文件的视频数据和音频数据来判断视音频文件是否为垃圾文件,实现方式多样,提高了对视音频文件进行判断的灵活性。In the embodiment of the present invention, when the filtering server receives the video and audio file, it streams the video and audio file into streaming media data and sends it to the filtering client; the filtering client performs framing of the streaming media data to obtain multiple video frames Or/and multiple groups of audio frames; and analyze the multiple video frames or audio frames, and determine whether the video and audio files are junk files according to the analysis results. By adopting the technical scheme of the present invention, the filtering operation is implemented on the content provided by the content provider to the P2P network or the content uploaded by the user terminal to the P2P network, and the garbage content is determined, thereby ensuring the health and safety of the content in the P2P network; in addition , the filtering client can only judge the video data of the video and audio files to determine whether the video and audio files are junk files, or only judge the audio data of the video and audio files to determine whether the video and audio files are junk files, or Whether the video and audio files are garbage files is judged by the video data and audio data of the video and audio files. There are various implementation methods, and the flexibility of judging the video and audio files is improved.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010192038.5A CN102271122B (en) | 2010-06-03 | 2010-06-03 | A kind of rubbish contents applied to P2P networks determine method and its system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010192038.5A CN102271122B (en) | 2010-06-03 | 2010-06-03 | A kind of rubbish contents applied to P2P networks determine method and its system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102271122A CN102271122A (en) | 2011-12-07 |
CN102271122B true CN102271122B (en) | 2018-04-10 |
Family
ID=45053287
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010192038.5A Expired - Fee Related CN102271122B (en) | 2010-06-03 | 2010-06-03 | A kind of rubbish contents applied to P2P networks determine method and its system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102271122B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108882016A (en) * | 2018-07-31 | 2018-11-23 | 成都华栖云科技有限公司 | A kind of method and system that video gene data extracts |
US10880604B2 (en) | 2018-09-20 | 2020-12-29 | International Business Machines Corporation | Filter and prevent sharing of videos |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1633109A (en) * | 2005-01-20 | 2005-06-29 | 杨金钰 | A flow media system |
CN1761204A (en) * | 2005-11-18 | 2006-04-19 | 郑州金惠计算机系统工程有限公司 | System for blocking off erotic images and unhealthy information in internet |
CN1767662A (en) * | 2005-11-21 | 2006-05-03 | 上海八六三信息安全产业基地有限公司 | Streaming media information detection and content monitoring system based on broadband network |
CN101030938A (en) * | 2007-02-05 | 2007-09-05 | 北京大学 | System and method for organizing and transmitting QoS self-adaptive P2P flow medium data |
-
2010
- 2010-06-03 CN CN201010192038.5A patent/CN102271122B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1633109A (en) * | 2005-01-20 | 2005-06-29 | 杨金钰 | A flow media system |
CN1761204A (en) * | 2005-11-18 | 2006-04-19 | 郑州金惠计算机系统工程有限公司 | System for blocking off erotic images and unhealthy information in internet |
CN1767662A (en) * | 2005-11-21 | 2006-05-03 | 上海八六三信息安全产业基地有限公司 | Streaming media information detection and content monitoring system based on broadband network |
CN101030938A (en) * | 2007-02-05 | 2007-09-05 | 北京大学 | System and method for organizing and transmitting QoS self-adaptive P2P flow medium data |
Also Published As
Publication number | Publication date |
---|---|
CN102271122A (en) | 2011-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108055496B (en) | Live broadcasting method and system for video conference | |
CN102104762B (en) | Media recording method, equipment and system of IMS (Internet Management Specification) video conference | |
CA2841377C (en) | Video transcoding services provided by searching for currently transcoded versions of a requested file before performing transcoding | |
CN103686210B (en) | Method and system for achieving audio and video transcoding in real time | |
CN101335869B (en) | Video conference system based on Soft-MCU | |
WO2016138844A1 (en) | Multimedia file live broadcast method, system and server | |
CN105657334B (en) | A kind of method of transmission of video, video monitoring platform and video monitoring equipment | |
CN105610824B (en) | A kind of screen sharing method based on screen mirror image and RTSP Streaming Media frame | |
WO2017101369A1 (en) | Live video transcoding method and apparatus | |
CN101365096A (en) | Method for providing video content and related service equipment and system | |
CN103945277B (en) | Realize the mthods, systems and devices that mobile terminal video is shared | |
US20140019583A1 (en) | Ingest bandwidth reduction for cloud based media services | |
Xue et al. | A WebRTC-based video conferencing system with screen sharing | |
CN104363511B (en) | A kind of method and system of broadcasting F4v videos online in a mobile device | |
CN107276990B (en) | A kind of streaming media live broadcast method and device | |
CN102271122B (en) | A kind of rubbish contents applied to P2P networks determine method and its system | |
CN109302384B (en) | Data processing method and system | |
CN113068059B (en) | Video live broadcasting method, device, equipment and storage medium | |
US20250156369A1 (en) | Appliances and methods to provide robust computational services in addition to a/v encoding, for example at edge of mesh networks | |
CN114173087A (en) | Video data acquisition and processing method, edge gateway and storage medium | |
CN101834810A (en) | Method and device for converting protocol data | |
CN110795008B (en) | Picture transmission method and device and computer readable storage medium | |
CN110611639A (en) | Audio data processing method and device for streaming media conference | |
CN115567494A (en) | Cloud video interaction system, method and device | |
CN105898621A (en) | Scalable video transmission method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180410 |
|
CF01 | Termination of patent right due to non-payment of annual fee |