CN105791888A - Video analyzing method and video analyzing device - Google Patents

Video analyzing method and video analyzing device Download PDF

Info

Publication number
CN105791888A
CN105791888A CN201610131670.6A CN201610131670A CN105791888A CN 105791888 A CN105791888 A CN 105791888A CN 201610131670 A CN201610131670 A CN 201610131670A CN 105791888 A CN105791888 A CN 105791888A
Authority
CN
China
Prior art keywords
frame
video file
video
task message
coordinate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610131670.6A
Other languages
Chinese (zh)
Inventor
解豪
解一豪
王本强
房善华
陈安猛
李�杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Software Co Ltd
Original Assignee
Inspur Software 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 Inspur Software Co Ltd filed Critical Inspur Software Co Ltd
Priority to CN201610131670.6A priority Critical patent/CN105791888A/en
Publication of CN105791888A publication Critical patent/CN105791888A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23418Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440218Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4

Abstract

The invention provides a video analyzing method and a video analyzing device. The video analyzing method and the video analyzing device are applied on a Lustre cluster. The video analyzing method comprises the steps of receiving a video file which is input from outside, storing the video file, and transmitting task information which corresponds with the video file; performing frame calculation on the video file according to the task information, thereby obtaining a frame coordinate; decoding the video file according to the frame coordinate through utilizing at least one server in the Lustre cluster, and obtaining corresponding frame data; and analyzing the frame data according to a preset analysis rule. The video analyzing device comprises a storage unit, a frame calculation unit, a frame decoding unit and an analyzing unit. The video analyzing method and the video analyzing device can improve video analyzing efficiency.

Description

A kind of method of video analysis and device
Technical field
The present invention relates to technical field of data processing, particularly to method and the device of a kind of video analysis.
Background technology
Along with development and the progress of computer technology and electronic communication, Video Analysis Technology is widely used in multiple fields such as traffic administration, automotive safety, military monitoring, animal protection and public safety.The purpose of video analysis is in that to isolate destination object from whole video pictures, obtains in video the parameters such as the behavior of destination object, state, using the behavior of destination object got, state parameter as triggering signal, takes corresponding control measure.Such as can realize the pedestrian of automobile by Video Analysis Technology and dodge function, be analyzed by the video data that Herba Plantaginis photographic head is shot, when determine in particular range, have pedestrian time, automobile is braked to dodge pedestrian automatically.
At present, when video is analyzed, typically via Hadoop distributed file system (HDFS), video data is stored and data turnover, complete the analysis of video data.
It is directed to prior art and is realized the mode of video analysis by Hadoop distributed file system (HDFS), characteristic based on Hadoop distributed file system (HDFS), generally video data cannot be split when video being decoded and analyzing, thus each process of video analysis completes on a station server equipment, and video data generally there are that data volume is big, various dimensions and baroque feature, a station server equipment completes each process of video analysis, causes video analysis inefficient.
Summary of the invention
Embodiments provide a kind of method based on video analysis and device, it is possible to increase the efficiency of video analysis.
A kind of method embodiments providing video analysis, is applied to Lustre cluster, including:
Receive the video file of externally input, described video file is stored, and send the task message corresponding with described video file;
According to described task message, described video file is carried out frame calculating, getting frame coordinate;
According to described frame coordinate, utilize at least one server in described Lustre cluster, described video file is decoded, obtain corresponding frame data;
According to default analysis rule, it is analyzed described frame data processing.
Preferably,
Described task message includes: off-line task message or online task message;
Described according to described task message, described video file carries out frame calculating include: judge the type of described task message, if described task message is online task message, then immediately described video file is carried out frame calculating, if described task message is off-line task message, then according to this off-line task message position in task list, described video file is carried out frame calculating.
Preferably,
Described described video file being carried out frame calculating, getting frame coordinate includes:
According to programming model MapReduce thinking, described video file is repeatedly performed Map operation, obtains the frame coordinate of described video file and the context data of correspondence.
Preferably,
Described described video file is decoded, obtains corresponding frame data and include:
At least one frame of video that described video file includes is determined according to described frame coordinate, frame of video each described is carried out picture decoding, obtain the metadata that each frame of video is corresponding, according to the context data that each frame coordinate is corresponding, determine putting in order of each frame of video in described video file, according to described putting in order, the metadata that each frame of video is corresponding is combined, forms the frame data that described video file is corresponding.
The embodiment of the present invention additionally provides the device of a kind of video analysis, is applied to Lustre cluster, including: memory element, frame computing unit, frame decoding unit and analytic unit;
Described memory element, for receiving the video file of externally input, stores described video file, and sends the task message corresponding with described video file to described frame computing unit;
Described frame computing unit, for the task message sent according to described memory element, carries out frame calculating, getting frame coordinate to described video file;
Described frame decoding unit, for the frame coordinate obtained according to described frame computing unit, utilizes at least one server in described Lustre cluster, described video file is decoded, and obtains corresponding frame data;
Described analytic unit, for according to predetermined analysis rule, the frame data that described frame decoding unit is obtained are analyzed processing.
Preferably,
Described memory element, for sending the off-line task message corresponding to described video file or online task message to described frame computing unit;
Described frame computing unit, for judging the type of task message that described memory element sends, if described task message is online task message, then immediately described video file is carried out frame calculating, if described task message is off-line task message, then according to this off-line task message position in task list, described video file is carried out frame calculating.
Preferably,
Described frame computing unit, for according to programming model MapReduce thinking, being repeatedly performed Map operation, obtain the frame coordinate of described video file and the context data of correspondence to described video file.
Preferably,
Described frame decoding unit, for the frame coordinate obtained according to described frame computing unit, determine at least one frame of video that described video file includes, frame of video each described is carried out picture decoding, obtain the metadata that each frame of video is corresponding, the context data that the frame coordinate that gets according to described frame computing unit is corresponding, determine putting in order of each frame of video in described video file, according to described putting in order, the metadata that each frame of video is corresponding is combined, forms the frame data that described video file is corresponding.
Preferably,
Described analytic unit includes: the data application server built by web server software Apache or Tomcat;
Described analytic unit, by user's space file system FUSE carry on described Lustre cluster.
Preferably,
Described frame decoding unit, is further used for sending described frame data by portable operating system interface POSIX to described analytic unit
Embodiments provide method and the device of a kind of video analysis, video file is carried out frame calculating, obtain the frame coordinate of video file, frame coordinate according to video file, utilize at least one server in Lustre cluster that video file is decoded, obtain the frame data that video file is corresponding, video data is analyzed having processed the analysis of video file.By obtaining the frame coordinate of video file, video file is assigned on the multiple servers in Lustre cluster and is decoded, relative to the method that prior art completes video file decoding by a station server, same video file is decoded by multiple servers simultaneously, the speed of video file decoding can be improved, shorten the time of video file decoding, thus improving the efficiency of video analysis.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method flow diagram of a kind of video analysis that one embodiment of the invention provides;
Fig. 2 is the device schematic diagram of a kind of video analysis that one embodiment of the invention provides;
Fig. 3 is the method flow diagram of a kind of video analysis that another embodiment of the present invention provides.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearly; below in conjunction with the accompanying drawing in the embodiment of the present invention; technical scheme in the embodiment of the present invention is clearly and completely described; obviously; described embodiment is a part of embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention; the every other embodiment that those of ordinary skill in the art obtain under the premise not making creative work, broadly falls into the scope of protection of the invention.
As it is shown in figure 1, a kind of method embodiments providing video analysis, including:
Step 101: receive the video file of externally input, described video file is stored, and send the task message corresponding with described video file;
Step 102: according to described task message, carries out frame calculating, getting frame coordinate to described video file;
Step 103: according to described frame coordinate, utilize at least one server in described Lustre cluster, described video file is decoded, obtains corresponding frame data;
Described frame data are analyzed processing by step 104: according to default analysis rule.
A kind of method embodiments providing video analysis, video file is carried out frame calculating, obtain the frame coordinate of video file, frame coordinate according to video file, utilize at least one server in Lustre cluster that video file is decoded, obtain the frame data that video file is corresponding, video data is analyzed having processed the analysis of video file.By obtaining the frame coordinate of video file, video file is assigned on the multiple servers in Lustre cluster and is decoded, relative to the method that prior art completes video file decoding by a station server, same video file is decoded by multiple servers simultaneously, the speed of video file decoding can be improved, shorten the time of video file decoding, thus improving the efficiency of video analysis.
In an embodiment of the invention, task message corresponding to video file can be off-line task message or online task message, after receiving task message, first determine whether the type of task message, if online task message, immediately, the video file that this task message is corresponding is carried out frame computing, if off-line task message, then this off-line task message is added in task list, according to this off-line task message position in task list, after the calculating task that other task message before completing this task message are corresponding, the video file that this task message is corresponding is carried out frame computing.As such, it is possible to the emergency according to video file sends corresponding task message, the video file that priority treatment is urgent, improve the reasonability of this video analysis method.
In an embodiment of the invention, when video file being carried out frame and calculating, according to programming model MapReduce thinking, video file memory Map repeatedly is operated, obtain the frame coordinate of video file and the context data of correspondence, each frame of video that video file includes can be obtained, by the context data corresponding with frame coordinate, it may be determined that each frame of video position in video file by frame coordinate.Can accurately determine the frame coordinate of video and the context data of correspondence by this method, video file to be split or metadata is combined, it is ensured that the method can be implemented, improve the accuracy of this video analysis method.
In an embodiment of the invention, after the context data of the frame coordinate and correspondence that get video file, at least one frame of video that this video file includes is determined according to frame coordinate, each frame of video is assigned on the multiple servers in Lustre cluster, utilize each server that each frame of video is carried out picture decoding, obtain the metadata that each frame of video is corresponding, according to the context data that each frame coordinate is corresponding, determine each frame of video putting in order in video file, put in order according to this and metadata that each frame of video is corresponding is combined, form the frame data that video file is corresponding, thus realizing being decoded same video file processing on multiple servers, improve the efficiency of video file decoding.
As in figure 2 it is shown, one embodiment of the invention provides the device of a kind of video analysis, it is applied to Lustre cluster, including: memory element 201, frame computing unit 202, frame decoding unit 203 and analytic unit 204;
Described memory element 201, for receiving the video file of externally input, stores described video file, and sends the task message corresponding with described video file to described frame computing unit 202;
Described frame computing unit 202, for the task message sent according to described memory element 201, carries out frame calculating, getting frame coordinate to described video file;
Described frame decoding unit 203, for the frame coordinate obtained according to described frame computing unit 202, utilizes at least one server in described Lustre cluster, described video file is decoded, and obtains corresponding frame data;
Described analytic unit 204, for according to predetermined analysis rule, the frame data that described frame decoding unit 203 is obtained are analyzed processing.
Embodiments provide the device of a kind of video analysis, by frame computing unit 202, video file is carried out frame calculating, obtain the frame coordinate of video file, video file is assigned on the multiple servers in Lustre cluster according to frame coordinate and carries out decoding process by frame decoding unit 203, obtain the frame data of video file, it is analyzed processing to frame data by analytic unit 204, completes video analysis.By frame computing unit 203 and frame decoding unit 204, realize on multiple servers, video file being decoded, relative on a station server, video file is decoded, it is possible to improve the speed that video file is decoded, thus improving the efficiency of video analysis.
In an embodiment of the invention, memory element 201 can send different types of task message to frame computing unit 202, the type of the task message that frame computing unit 202 sends according to memory element 201, if online task message, then immediately video file is carried out frame computing, if off-line task message, then this task message is added in task list, the calculating task that to be then sequentially completed in task list each task message corresponding.In this manner it is achieved that the on-line analysis of video and off-line analysis, such that it is able to the emergency according to video analysis determines corresponding task message type, improve the reasonability of the device of this video analysis.
In an embodiment of the invention, frame computing unit 202 is according to programming model MapReduce thinking, described video file is repeatedly performed Map operation, obtain the frame coordinate of described video file and the context data of correspondence, so that video file can be divided into multiple part by frame decoding unit 203, it is frame data by metadata composition after being decoded video file processing by multiple servers.
In an embodiment of the invention, frame decoding unit 203 determines, according to frame coordinate, each frame of video that video file includes, utilize the multiple servers in Lustre cluster that each frame of video is carried out picture decoding, obtain the metadata that each frame of video is corresponding, based on context data determine putting in order of each frame of video, it is combined by metadata corresponding for each frame of video according to putting in order of frame of video, form the frame data that video file is corresponding, it is achieved by multiple servers, video file is decoded.
In an embodiment of the invention, analytic unit 204 can be through web server software Apache or the Tomcat data application server built, by user's space file system FUSE carry on described Lustre cluster.As such, it is possible to adopt different servers to be connected with Lustre cluster as analytic unit according to demand, to meet different analysis demands, improve the suitability of the device of this video analysis.
In an embodiment of the invention, when the frame data that frame decoding unit 203 gets are analyzed by analytic unit 204, decoding unit 203 is sent to analytic unit 204 by the portable operating system interface POSIX frame data got, when analytic unit 204 communicates with frame decoding unit 203, without being realized by special API, realize either directly through POSIX, owing to this device supports POSIX, thus improve the compatibility of the device of video analysis.
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the device of the video analysis shown in Fig. 2, the method for the video analysis of the attached offer of the embodiment of the present invention is described in further detail.
As it is shown on figure 3, a kind of method embodiments providing video analysis, the method may comprise steps of:
Step 301: receive the video file of externally input, and video file is stored.
In an embodiment of the invention, as shown in Figure 2, memory element 201 in the device of video analysis receives the video file of outside any application input, after receiving video file, this video file is stored on the storage server specified in Lustre cluster, this video file is stored temporarily.
Step 302: send the task message corresponding with video file.
In an embodiment of the invention, as shown in Figure 2, memory element 201 after storing on corresponding storage server by the video file received, according to attributes such as the type of this video file, sources, send the task message of corresponding types to frame computing unit 202, wherein the type of task message includes online task message and off-line task message.
Such as, if the video file that memory element 201 receives is user when specifying the monitor video to check immediately, memory element 201 sends the online task message being directed to this monitor video to frame computing unit 202, if the video file that memory element 201 receives is daily monitor video stream file, then memory element 201 sends the online task message of off-line being directed to this monitor video stream file to frame computing unit 202.
Step 303: judge whether task message is online task message, if it is, perform step 304, otherwise performs step 305.
In an embodiment of the invention, as described in Figure 2, frame computing unit 202 is after receiving the task message that memory element 201 sends, judge the type of this task message, if online task message, then illustrate to need the video file that this task message is corresponding is processed immediately, correspondingly perform step 304, if off-line task message, then illustrate that video file corresponding to this task message is not required to the video file of priority treatment, correspondingly perform step 305.
Step 304: immediately video file is carried out frame calculating, obtain the frame coordinate of this video file and the context data of correspondence, and perform step 306.
In an embodiment of the invention, as shown in Figure 2, frame computing unit 202 is after the task message that judgement receives is online task message, the storage server specified from Lustre cluster reads the video file that this task message is corresponding, according to programming model MapReduce thinking, this video file is repeatedly performed Map operation, obtain the frame coordinate of this video file and the context data of correspondence, and the frame coordinate got and context data are sent to frame decoding unit 203, then perform step 306.
Step 305: this task message is added in task list, and according to this task message position in task list, the video file that this task message is corresponding is carried out frame calculating, obtains the frame coordinate of this video file and the context data of correspondence.
In an embodiment of the invention, as shown in Figure 2, frame computing unit 202 is after the task message that judgement receives is off-line task message, this task message is added in task list, successively the video file that each task message before this task message is corresponding is carried out frame calculating, then the video file that this task message is corresponding is carried out frame calculating, the process that frame calculates is identical with step 304, do not repeat them here, after getting frame coordinate and the context data of video file corresponding to this task message, it is sent to frame decoding unit 203.
Step 306: the context data according to frame coordinate and correspondence, is decoded video file, obtains corresponding frame data.
In an embodiment of the invention, such as Fig. 2 so, frame decoding unit 203 is after the context data of the frame coordinate and correspondence that receive frame computing unit 202 transmission, each frame of video that video file includes is determined according to frame coordinate, after frame of video is divided into multiple part, the multiple servers being assigned in Lustre cluster carry out picture decoding, get the metadata that each frame of video is corresponding, according to the context data corresponding with frame coordinate, determine each frame of video putting in order in video file, according to each frame of video putting in order in video file, metadata corresponding for each frame of video is combined, form the frame data of video file, and the frame data of formation are sent to analytic unit 204 by portable operating system interface POSIX.
Frame data are analyzed processing by step 307: according to default analysis rule.
In an embodiment of the invention, as in figure 2 it is shown, analytic unit 204 is after receiving the Frame that frame decoding unit 203 sends, according to analysis rule set in advance, frame data is analyzed, completes the analysis to video file.
According to above-described embodiment, the embodiment of the present invention at least has the advantages that
1, in the embodiment of the present invention, first video file is carried out frame calculating, obtain the frame coordinate of video file, frame coordinate according to video file, utilize at least one server in Lustre cluster that video file is decoded, obtain the frame data that video file is corresponding, video data is analyzed having processed the analysis of video file.By obtaining the frame coordinate of video file, video file is assigned on the multiple servers in Lustre cluster and is decoded, relative to the method that prior art completes video file decoding by a station server, same video file is decoded by multiple servers simultaneously, the speed of video file decoding can be improved, shorten the time of video file decoding, thus improving the efficiency of video analysis.
2, in the embodiment of the present invention, memory element, frame computing unit and frame decoding unit are arranged on Lustre cluster, analytic unit passes through user's space file system FUSE carry on described Lustre cluster, frame decoding unit and analytic unit communication are undertaken by portable operating system interface POSIX, without arranging special api interface, improve the ease for use of the device and method of this video analysis.
3, in the embodiment of the present invention, by the communication data between portable operating system interface POSIX transimiison analysis unit Lustre cluster, do not rely on particular interface, it is possible to the application program of various language developments is accomplished seamless compatibility, improves the compatibility of the device and method of this video analysis.
4, in the embodiment of the present invention, frame computing unit is according to programming model MapReduce thinking, video file is repeatedly performed Map operation, obtain the frame coordinate of video file and the context data of correspondence, ensure the correct of the frame coordinate that gets and corresponding context data, improve method and the device accuracy to video analysis of this video analysis.
The contents such as the information between each unit in said apparatus is mutual, execution process, due to the inventive method embodiment based on same design, particular content referring to the narration in the inventive method embodiment, can repeat no more herein.
It should be noted that, in this article, the relational terms of such as first and second etc is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or equipment not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or equipment.When there is no more restriction, statement " including " key element limited, it is not excluded that there is also other same factor in including the process of described key element, method, article or equipment.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can be completed by the hardware that programmed instruction is relevant, aforesaid program can be stored in the storage medium of embodied on computer readable, this program upon execution, performs to include the step of said method embodiment;And aforesaid storage medium includes: in the various media that can store program code such as ROM, RAM, magnetic disc or CD.
Last it should be understood that the foregoing is only presently preferred embodiments of the present invention, it is merely to illustrate technical scheme, is not intended to limit protection scope of the present invention.All make within the spirit and principles in the present invention any amendment, equivalent replacement, improvement etc., be all contained in protection scope of the present invention.

Claims (10)

1. the method for a video analysis, it is characterised in that be applied to Lustre cluster, including:
Receive the video file of externally input, described video file is stored, and send the task message corresponding with described video file;
According to described task message, described video file is carried out frame calculating, getting frame coordinate;
According to described frame coordinate, utilize at least one server in described Lustre cluster, described video file is decoded, obtain corresponding frame data;
According to default analysis rule, it is analyzed described frame data processing.
2. method according to claim 1, it is characterised in that
Described task message includes: off-line task message or online task message;
Described according to described task message, described video file carries out frame calculating include: judge the type of described task message, if described task message is online task message, then immediately described video file is carried out frame calculating, if described task message is off-line task message, then according to this off-line task message position in task list, described video file is carried out frame calculating.
3. method according to claim 1, it is characterised in that
Described described video file being carried out frame calculating, getting frame coordinate includes:
According to programming model MapReduce thinking, described video file is repeatedly performed Map operation, obtains the frame coordinate of described video file and the context data of correspondence.
4. method according to claim 3, it is characterised in that
Described described video file is decoded, obtains corresponding frame data and include:
At least one frame of video that described video file includes is determined according to described frame coordinate, frame of video each described is carried out picture decoding, obtain the metadata that each frame of video is corresponding, according to the context data that each frame coordinate is corresponding, determine putting in order of each frame of video in described video file, according to described putting in order, the metadata that each frame of video is corresponding is combined, forms the frame data that described video file is corresponding.
5. the device of a video analysis, it is characterised in that be applied to Lustre cluster, including: memory element, frame computing unit, frame decoding unit and analytic unit;
Described memory element, for receiving the video file of externally input, stores described video file, and sends the task message corresponding with described video file to described frame computing unit;
Described frame computing unit, for the task message sent according to described memory element, carries out frame calculating, getting frame coordinate to described video file;
Described frame decoding unit, for the frame coordinate obtained according to described frame computing unit, utilizes at least one server in described Lustre cluster, described video file is decoded, and obtains corresponding frame data;
Described analytic unit, for according to predetermined analysis rule, the frame data that described frame decoding unit is obtained are analyzed processing.
6. device according to claim 5, it is characterised in that
Described memory element, for sending the off-line task message corresponding to described video file or online task message to described frame computing unit;
Described frame computing unit, for judging the type of task message that described memory element sends, if described task message is online task message, then immediately described video file is carried out frame calculating, if described task message is off-line task message, then according to this off-line task message position in task list, described video file is carried out frame calculating.
7. device according to claim 5, it is characterised in that
Described frame computing unit, for according to programming model MapReduce thinking, being repeatedly performed Map operation, obtain the frame coordinate of described video file and the context data of correspondence to described video file.
8. device according to claim 7, it is characterised in that
Described frame decoding unit, for the frame coordinate obtained according to described frame computing unit, determine at least one frame of video that described video file includes, frame of video each described is carried out picture decoding, obtain the metadata that each frame of video is corresponding, the context data that the frame coordinate that gets according to described frame computing unit is corresponding, determine putting in order of each frame of video in described video file, according to described putting in order, the metadata that each frame of video is corresponding is combined, forms the frame data that described video file is corresponding.
9. device according to claim 5, it is characterised in that
Described analytic unit includes: the data application server built by web server software Apache or Tomcat;
Described analytic unit, by user's space file system FUSE carry on described Lustre cluster.
10. according to described device arbitrary in claim 5 to 9, it is characterised in that
Described frame decoding unit, is further used for sending described frame data by portable operating system interface POSIX to described analytic unit.
CN201610131670.6A 2016-03-09 2016-03-09 Video analyzing method and video analyzing device Pending CN105791888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610131670.6A CN105791888A (en) 2016-03-09 2016-03-09 Video analyzing method and video analyzing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610131670.6A CN105791888A (en) 2016-03-09 2016-03-09 Video analyzing method and video analyzing device

Publications (1)

Publication Number Publication Date
CN105791888A true CN105791888A (en) 2016-07-20

Family

ID=56387132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610131670.6A Pending CN105791888A (en) 2016-03-09 2016-03-09 Video analyzing method and video analyzing device

Country Status (1)

Country Link
CN (1) CN105791888A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111506769A (en) * 2020-04-21 2020-08-07 浙江大华技术股份有限公司 Video file processing method and device, storage medium and electronic device
CN112541391A (en) * 2020-10-30 2021-03-23 四川天翼网络服务有限公司 Violation behavior identification method and system based on examination video analysis

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100125718A1 (en) * 2008-11-14 2010-05-20 D.E. Shaw Research, Llc Parallel analysis of time series data
CN102123279A (en) * 2010-12-28 2011-07-13 乐视网信息技术(北京)股份有限公司 Distributed real-time transcoding method and system
CN102510499A (en) * 2011-10-19 2012-06-20 清华大学 Video transcoding method based on image group in cloud environment
CN102638456A (en) * 2012-03-19 2012-08-15 杭州海康威视系统技术有限公司 Intelligent analysis method for mass real-time video code stream based on cloud computation and system thereof
CN102833580A (en) * 2012-09-19 2012-12-19 南京斯坦德通信股份有限公司 High-definition video application system and method based on infiniband
CN104853061A (en) * 2015-05-05 2015-08-19 中国人民解放军国防科学技术大学 Hadoop-based video processing method and system
CN104935951A (en) * 2015-06-29 2015-09-23 电子科技大学 Distributed video transcoding method
CN105357546A (en) * 2015-11-17 2016-02-24 国云科技股份有限公司 Cloud computing based video transcoding method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100125718A1 (en) * 2008-11-14 2010-05-20 D.E. Shaw Research, Llc Parallel analysis of time series data
CN102123279A (en) * 2010-12-28 2011-07-13 乐视网信息技术(北京)股份有限公司 Distributed real-time transcoding method and system
CN102510499A (en) * 2011-10-19 2012-06-20 清华大学 Video transcoding method based on image group in cloud environment
CN102638456A (en) * 2012-03-19 2012-08-15 杭州海康威视系统技术有限公司 Intelligent analysis method for mass real-time video code stream based on cloud computation and system thereof
CN102833580A (en) * 2012-09-19 2012-12-19 南京斯坦德通信股份有限公司 High-definition video application system and method based on infiniband
CN104853061A (en) * 2015-05-05 2015-08-19 中国人民解放军国防科学技术大学 Hadoop-based video processing method and system
CN104935951A (en) * 2015-06-29 2015-09-23 电子科技大学 Distributed video transcoding method
CN105357546A (en) * 2015-11-17 2016-02-24 国云科技股份有限公司 Cloud computing based video transcoding method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111506769A (en) * 2020-04-21 2020-08-07 浙江大华技术股份有限公司 Video file processing method and device, storage medium and electronic device
CN111506769B (en) * 2020-04-21 2023-08-29 浙江大华技术股份有限公司 Video file processing method and device, storage medium and electronic device
CN112541391A (en) * 2020-10-30 2021-03-23 四川天翼网络服务有限公司 Violation behavior identification method and system based on examination video analysis

Similar Documents

Publication Publication Date Title
CN109684047A (en) Event-handling method, device, equipment and computer storage medium
CN108327745B (en) Real-time train data analysis method and device
CN111523413B (en) Method and device for generating face image
CN111081017B (en) Vehicle information management system, method, computer device, and storage medium
US10389685B2 (en) Systems and methods for securely transferring selective datasets between terminals
CN113312361B (en) Track query method, device, equipment, storage medium and computer program product
CN107979506B (en) Flow acquisition and cloud display system, method, device and equipment
JP2022543180A (en) Visualization method and related device
CN113342704B (en) Data processing method, data processing equipment and computer readable storage medium
CN107798064A (en) Page processing method, electronic equipment and computer-readable recording medium
CN115240157A (en) Road scene data persistence method, device, equipment and computer readable medium
CN115563600A (en) Data auditing method and device, electronic equipment and storage medium
CN105791888A (en) Video analyzing method and video analyzing device
CN110599278B (en) Method, apparatus, and computer storage medium for aggregating device identifiers
CN110580171A (en) APP classification method, related device and product
CN114257640A (en) Cloud computing scheduling method and system
CN113536770A (en) Text analysis method, device and equipment based on artificial intelligence and storage medium
CN113408254A (en) Page form information filling method, device, equipment and readable medium
CN115002196B (en) Data processing method and device and vehicle end acquisition equipment
CN111062374A (en) Identification method, device, system, equipment and readable medium of identity card information
CN113726610B (en) Routing protocol-based UI (user interface) automatic test method, device, equipment and medium
CN109284833A (en) Method, equipment and the storage medium of characteristic are obtained for machine learning model
CN112631949B (en) Debugging method and device, computer equipment and storage medium
CN115037790A (en) Abnormal registration identification method, device, equipment and storage medium
WO2021003424A1 (en) Systems and methods for securely transferring selective datasets between terminals with multi-applications support

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160720