[go: up one dir, main page]

CN104980750B - A kind of collection method of video code conversion daily record, apparatus and system - Google Patents

A kind of collection method of video code conversion daily record, apparatus and system Download PDF

Info

Publication number
CN104980750B
CN104980750B CN201510372410.3A CN201510372410A CN104980750B CN 104980750 B CN104980750 B CN 104980750B CN 201510372410 A CN201510372410 A CN 201510372410A CN 104980750 B CN104980750 B CN 104980750B
Authority
CN
China
Prior art keywords
daily record
code conversion
video code
transcoding
video
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.)
Active
Application number
CN201510372410.3A
Other languages
Chinese (zh)
Other versions
CN104980750A (en
Inventor
刘凤
陈赫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201510372410.3A priority Critical patent/CN104980750B/en
Publication of CN104980750A publication Critical patent/CN104980750A/en
Application granted granted Critical
Publication of CN104980750B publication Critical patent/CN104980750B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a kind of collection method of video code conversion daily record, apparatus and system, a kind of collection method of video code conversion daily record includes:The video code conversion daily record that transcoding server produces is put into local cache;Monitor whether transcoding server is carrying out video code conversion;If so, carry out following steps:From the video code conversion daily record in local cache, the partial video transcoding daily record for meeting preset condition is obtained;The partial video transcoding daily record of acquisition is sent in central memory;Otherwise, following steps are carried out:Video code conversion daily record in local cache is sent in central memory.Since in above process, when transcoding server carries out video code conversion, only the partial video transcoding daily record for meeting preset condition is sent in central memory.So technical scheme reduces the computing resource sent during video code conversion shared by video code conversion daily record compared with prior art, further, the efficiency that transcoding server carries out video code conversion is improved.

Description

A kind of collection method of video code conversion daily record, apparatus and system
Technical field
The present invention relates to Video Transcoding Technology field, more particularly to a kind of collection method of video code conversion daily record, device And system.
Background technology
With the development of internet science and technology, more and more people pass through the various videos of internet viewing.In internet video , it is necessary to carry out video code conversion by transcoding server during production, while substantial amounts of video code conversion daily record can be produced.This is regarded Frequency transcoding daily record have the function that it is important, such as:1. by the video code conversion daily record for analyzing anomalous video, it can be deduced that mistake is former Cause, is conducive to reparation problem;2. by analyzing the video code conversion daily record of normal video, can obtain respectively walking during video code conversion Rapid is time-consuming, the bottleneck of video code conversion service is found, further to optimize;3. can be timely by analyzing video code conversion daily record Ground finds the mistake during video production, and sends warning information to reduce loss etc..Therefore, the receipts of video code conversion daily record Collection has great importance.
At present, video code conversion daily record of the prior art is by collection system real-time collecting, as shown in Figure 1, existing The collection system of video code conversion daily record includes in technology:Multiple transcoding servers 101, central memory 102 and log processing collection Group 103.Wherein, the video code conversion daily record of generation is constantly sent to by transcoding server 101 while video code conversion is carried out In central memory 102, to facilitate log processing cluster 103 to carry out the video code conversion daily record stored in central memory 102 Calculating and statistical disposition.
Since the process that transcoding server carries out video code conversion and transmission video code conversion daily record in the prior art is same stepping Capable, and the process of video code conversion and the process of transmission video code conversion daily record are required to take in transcoding server and largely calculate Resource, causes to carry out the deficiency of computing resource during video code conversion, this carries out the efficiency of video code conversion by transcoding server is influenced.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of collection method of video code conversion daily record, apparatus and system, to subtract During few video code conversion, the computing resource shared by video code conversion daily record is sent.
To reach above-mentioned purpose, the embodiment of the invention discloses a kind of collection method of video code conversion daily record, applied to turning In code server, including step:
The video code conversion daily record that transcoding server produces is put into local cache;
Monitor whether transcoding server is carrying out video code conversion;
When monitoring transcoding server and carrying out video code conversion, following steps are carried out:
From the video code conversion daily record in local cache, the partial video transcoding daily record for meeting preset condition is obtained;
The partial video transcoding daily record of acquisition is sent in central memory;
When monitoring transcoding server and not carrying out video code conversion, following steps are carried out:
Video code conversion daily record in local cache is sent in central memory.
Wherein, in the video code conversion daily record from local cache, the partial video transcoding for meeting preset condition is obtained The step of daily record, can include:
Video code conversion daily record in local cache is divided into different classifications;
Obtain the video code conversion daily record of pre-set categories;
The step that the partial video transcoding daily record of acquisition is sent in central memory includes:
The video code conversion daily record of the pre-set categories of acquisition is sent in central memory.
The step partial video transcoding daily record of acquisition being sent in central memory, can include:
Extract the First Eigenvalue of the partial video transcoding daily record;
The First Eigenvalue is subjected to statistics calculating, obtains the first statistical result;
First statistical result is compressed processing, obtains the first handling result;
First handling result is sent in central memory.
The video code conversion daily record by local cache is sent to the step in central memory, can include:
Extract the Second Eigenvalue of the video code conversion daily record in local cache;
Statistics calculating is carried out to the Second Eigenvalue, obtains the second statistical result;
Second statistical result is compressed processing, obtains second processing result;
Video code conversion daily record in second processing result and local cache is sent in central memory.
The video code conversion daily record by second processing result and local cache is sent to the step in central memory, It can include:
Video code conversion daily record in local cache is compressed processing;
Video code conversion daily record in local cache after second processing result and compression processing is sent to central memory On.
The central memory can include multiple storage servers, and according to preset rules, the partial video of acquisition is turned Video code conversion daily record in code daily record and local cache is sent in identical or different storage server.
After the video code conversion daily record for producing transcoding server is put into local cache, it can also include:
According to the content of the video code conversion daily record of generation, whether the operation of monitor video transcoding is normal;
When video code conversion operation exception, pre-warning signal is exported.
The embodiment of the invention also discloses a kind of collection device of video code conversion daily record, applied in transcoding server, wraps Include:
Video code conversion log buffer unit:Video code conversion daily record for transcoding server to be produced is put into local cache;
Monitoring unit:For monitoring whether transcoding server is carrying out video code conversion;If so, triggering part video code conversion day Will obtaining unit and partial video transcoding daily record transmitting element;Otherwise, video code conversion daily record transmitting element is triggered;
Partial video transcoding daily record obtaining unit:For from the video code conversion daily record in local cache, obtaining and meeting in advance If the partial video transcoding daily record of condition;
Partial video transcoding daily record transmitting element:For the partial video transcoding daily record of acquisition to be sent to central memory On;
Video code conversion daily record transmitting element:For the video code conversion daily record in local cache to be sent to central memory On.
Wherein, the partial video transcoding daily record obtaining unit can include:
Category division subelement:For the video code conversion daily record in local cache to be divided into different classifications;
The daily record of partial video transcoding obtains subelement:For obtaining the video code conversion daily record of pre-set categories;
The partial video transcoding daily record transmitting element includes:
Partial video transcoding daily record transmission sub-unit:Used in the video code conversion daily record of the pre-set categories of acquisition to be sent to Feel on reservoir.
The partial video transcoding daily record transmitting element can include:
The First Eigenvalue extracts subelement:For extracting the First Eigenvalue of the partial video transcoding daily record;
First statistical result obtains subelement:For the First Eigenvalue to be carried out statistics calculating, the first statistics is obtained As a result;
First handling result obtains subelement:For first statistical result to be compressed processing, obtain at first Manage result;
First transmission sub-unit:For the first handling result to be sent to central memory.
The video code conversion daily record transmitting element can include:
Second Eigenvalue extracts subelement:For extracting the Second Eigenvalue of the video code conversion daily record in local cache;
Second statistical result obtains subelement:For carrying out statistics calculating to the Second Eigenvalue, the second statistics is obtained As a result;
Second processing result obtains subelement:For second statistical result to be compressed processing, obtain at second Manage result;
Second transmission sub-unit:For the video code conversion daily record in second processing result and local cache to be sent to center On memory.
Second transmission sub-unit can include:
Compress subelement:For the video code conversion daily record in local cache to be compressed processing;
Transmission sub-unit:For the video code conversion daily record in the local cache after second processing result and compression processing to be sent out It is sent in central memory.
Described device can also include:
Prewarning unit:For the content of the video code conversion daily record according to generation, whether the operation of monitor video transcoding is normal; When video code conversion operation exception, pre-warning signal is exported.
The embodiment of the invention also discloses a kind of collection system of video code conversion daily record, including multiple transcoding servers are with Feel reservoir;
Wherein, each transcoding server, the video code conversion daily record being put into local cache for itself to be produced carry out Pretreatment:When monitoring the transcoding server and carrying out video code conversion, from the video code conversion daily record in the local cache, Obtain the partial video transcoding daily record for meeting preset condition;The partial video transcoding daily record of acquisition is sent to central memory On;When monitoring transcoding server and not carrying out video code conversion, the video code conversion daily record in the local cache is sent Onto central memory;
Central memory is used to store the video code conversion daily record that each transcoding server is sent.
Wherein, the central memory can provide user's query interface, be regarded for user to what is stored in central memory Frequency transcoding daily record is inquired about.
The central memory can include multiple storage servers, and each transcoding server will be obtained according to preset rules Video code conversion daily record in the daily record of partial video transcoding and local cache that obtain is sent in identical or different storage server.
The technical solution that the embodiment of the present invention is provided, the video code conversion daily record that transcoding server produces is put into local slow Deposit.Monitor whether transcoding server is carrying out video code conversion.If so, carry out following steps:From the video code conversion in local cache In daily record, the partial video transcoding daily record for meeting preset condition is obtained;The partial video transcoding daily record of acquisition is sent to center On memory.Otherwise, following steps are carried out:Video code conversion daily record in local cache is sent in central memory.Due to In above process, when transcoding server carries out video code conversion, only the partial video transcoding daily record for meeting preset condition is sent out It is sent in central memory, just sends the video code conversion daily record in local cache when transcoding server does not carry out video code conversion Onto central memory.Regarded so technical scheme reduces to send during video code conversion compared with prior art Computing resource shared by frequency transcoding daily record, further, improves the efficiency that transcoding server carries out video code conversion.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of existing structure diagram of the collection system of video code conversion daily record;
Fig. 2 is a kind of implementing procedure figure of the collection method of video code conversion daily record of the embodiment of the present invention;
Fig. 3 is a kind of structure diagram of the collection device of video code conversion daily record of the embodiment of the present invention;
Fig. 4 is a kind of structure diagram of the collection system of video code conversion daily record of the embodiment of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work Embodiment, belongs to the scope of protection of the invention.
As shown in Fig. 2, a kind of collection method of video code conversion daily record provided in an embodiment of the present invention, this method can wrap Include:
Step S201, local cache is put into by the video code conversion daily record that transcoding server produces;
Specific description once is done to the implementation process of technical scheme below.First, transcoding server into Substantial amounts of video code conversion daily record will be produced during row video code conversion, and the video code conversion daily record that transcoding server is produced is put Enter local cache.Wherein, the method for the video code conversion daily record that transcoding server produces being put into local cache belongs to the prior art, Which is not described herein again.
Whether step S202, monitoring transcoding server are carrying out video code conversion;Regarded when monitoring transcoding server During frequency transcoding, then step S203 and step S204 is performed, otherwise perform step S205.
Step S203, from the video code conversion daily record in local cache, obtains the partial video transcoding for meeting preset condition Daily record;
Step S204, the partial video transcoding daily record of acquisition is sent in central memory;
First, the partial video transcoding daily record for meeting preset condition is obtained from the video code conversion daily record in local cache. Further, the partial video transcoding daily record of acquisition is sent in central memory, so that the part transcoding day of above-mentioned acquisition Will is stored in central memory.Wherein, the partial video transcoding daily record that preset condition is met in step S203 can be abnormal Video code conversion daily record or video code conversion daily record in key sentence etc..
In a kind of embodiment of the present invention, step S203 can include:
Video code conversion daily record in local cache is divided into different classifications;
Obtain the video code conversion daily record of pre-set categories.
Correspondingly, step S204 can include:
The video code conversion daily record of the pre-set categories of acquisition is sent in central memory.
Wherein, when the video code conversion daily record in local cache divides classification, there can be a variety of dividing modes.For example, Video code conversion daily record in local cache can be divided into video daily record, audio daily record etc. classification;Local it will can also delay Video code conversion daily record in depositing is divided into normal video code conversion daily record and abnormal video code conversion daily record, local will can also delay The sentence of video code conversion daily record in depositing is divided into key sentence and non-key sentence.
After the video code conversion daily record division classification in local cache, further, the video of pre-set categories is obtained Transcoding daily record, and the video code conversion daily record of the pre-set categories is sent in central memory.Such as when regarding in local cache When frequency transcoding daily record is divided into video daily record and audio daily record, in this step, video daily record can be only selected to be sent to center Memory;, can be only in this step or the video code conversion daily record in local cache is when being divided into normal daily record and abnormal log Abnormal log is sent to central memory.
In another embodiment of the present invention, step S204 can include:
Extract the First Eigenvalue of the partial video transcoding daily record;
The First Eigenvalue is subjected to statistics calculating, obtains the first statistical result;
First statistical result is compressed processing, obtains the first handling result;
First handling result is sent in central memory.
Wherein, in specific implementation, above-mentioned the First Eigenvalue can be specifically the centre word of partial video transcoding daily record, Can be the information such as the success rate of video code conversion.
Step S205, the video code conversion daily record in local cache is sent in central memory.
During the present invention is embodied, step S205 can include:
Extract the Second Eigenvalue of the video code conversion daily record in local cache;
Statistics calculating is carried out to the Second Eigenvalue, obtains the second statistical result;
Second statistical result is compressed processing, obtains second processing result;
Video code conversion daily record in second processing result and local cache is sent in central memory.
Wherein, in specific implementation, above-mentioned Second Eigenvalue can be the center of the video code conversion daily record in local cache The time-consuming information of each step of word or video code conversion, it is, of course, also possible to be the information such as the success rate of video code conversion.
It should be noted that in the present invention is embodied, the first statistical result and/or the second statistics can not also be tied Fruit is compressed processing, and directly the first statistical result and/or the second statistical result are sent in central memory.In addition, this The First Eigenvalue and Second Eigenvalue in invention can be the important sentences of corresponding video code conversion daily record or corresponding Video code conversion daily record centre word, can also be that each step in reflecting video transcoding process takes the video code conversion day of situation Will etc..
In a kind of embodiment of the present invention, the video code conversion by second processing result and local cache The step that daily record is sent in central memory can include:
Video code conversion daily record in local cache is compressed processing;
Video code conversion daily record in local cache after second processing result and compression processing is sent to central memory On.
In fact, in the prior art, by log processing cluster 103 come to storing the video code conversion to central memory 102 Daily record carries out characteristics extraction and statistics and compression processing.And in the embodiment of the present invention, can be by transcoding server in the free time When, above-mentioned processing is carried out to the video code conversion daily record in local cache.So as to it improve the resource utilization of transcoding server. Wherein, it is above-mentioned that the First Eigenvalue and Second Eigenvalue are extracted, counted and to the first statistical result, the second statistics knot The process that video code conversion daily record in fruit and local cache is compressed processing can be with prior art log processing cluster 103 Processing procedure is identical, and which is not described herein again.
In addition, during the present invention is embodied, the central memory that is previously mentioned in above-mentioned steps can include more A storage server, according to preset rules, the video code conversion daily record in the daily record of partial video transcoding and local cache by acquisition It is sent in identical or different storage server.Wherein, preset rules can make an appointment, for example, can appoint in advance It is fixed that first handling result is put into a storage server, and by the video code conversion in second processing result and local cache Daily record is put into another storage server.
It should be further stated that:The partial video transcoding daily record to being obtained in step S203 is realized in the above process With the calculating and processing of the video code conversion daily record in local cache, this collection system with video code conversion daily record of the prior art (shown in Figure 1) is compared, and takes full advantage of the computing resource of transcoding server, calculating when particularly transcoding server is idle Resource, and special log processing cluster need not be purchased.
In a kind of embodiment of the present invention, local is put into the video code conversion daily record for producing transcoding server After caching, it can also include:
According to the content of the video code conversion daily record of generation, whether the operation of monitor video transcoding is normal;
When video code conversion operation exception, pre-warning signal is exported.
Due to, when analyzing video code conversion operation exception, outputing pre-warning signal in time in the above process.For example, it was discovered that When taking beyond being expected of a certain step of video code conversion process, exports pre-warning signal;Or find what transcoding server produced When the error rate of video code conversion daily record exceeds designated value, output pre-warning signal etc..This is conducive to remind staff right in time Abnormal conditions are dealt with, and reduce loss.
The technical solution that the embodiment of the present invention is provided, the video code conversion daily record that transcoding server produces is put into local slow Deposit.Monitor whether transcoding server is carrying out video code conversion.If so, carry out following steps:From the video code conversion in local cache In daily record, the partial video transcoding daily record for meeting preset condition is obtained;The partial video transcoding daily record of acquisition is sent to center On memory.Otherwise, following steps are carried out:Video code conversion daily record in local cache is sent in central memory.Due to In above process, when transcoding server carries out video code conversion, only the partial video transcoding daily record for meeting preset condition is sent out It is sent in central memory, just sends the video code conversion daily record in local cache when transcoding server does not carry out video code conversion Onto central memory.Regarded so technical scheme reduces to send during video code conversion compared with prior art Computing resource shared by frequency transcoding daily record, further, improves the efficiency that transcoding server carries out video code conversion.
Relative to above method embodiment, the present invention also provides a kind of collection device of video code conversion daily record, referring to Fig. 3 Shown, which can include:
Video code conversion log buffer unit 301:Video code conversion daily record for transcoding server to be produced is put into local slow Deposit;
Monitoring unit 302:For monitoring whether transcoding server is carrying out video code conversion;If so, triggering part video turns Code daily record obtaining unit and partial video transcoding daily record transmitting element;Otherwise, video code conversion daily record transmitting element is triggered;
Partial video transcoding daily record obtaining unit 303:For from the video code conversion daily record in local cache, being met The partial video transcoding daily record of preset condition;
Partial video transcoding daily record transmitting element 304:For feeling during the partial video transcoding daily record of acquisition is sent to On reservoir;
Video code conversion daily record transmitting element 305:For the video code conversion daily record in local cache to be sent to central store On device.
Wherein, the collection device of above-mentioned video code conversion daily record, can operate on transcoding server that there is daily record to receive Collect certain software and/or hardware of function, such as can be log collector.
In a kind of embodiment of the present invention,
The partial video transcoding daily record obtaining unit 303 can include:
Category division subelement:For the video code conversion daily record in local cache to be divided into different classifications;
The daily record of partial video transcoding obtains subelement:For obtaining the video code conversion daily record of pre-set categories;
The partial video transcoding daily record transmitting element 304 can include:
Partial video transcoding daily record transmission sub-unit:Used in the video code conversion daily record of the pre-set categories of acquisition to be sent to Feel on reservoir.
In a kind of embodiment of the present invention, the partial video transcoding daily record transmitting element 304 can include:
The First Eigenvalue extracts subelement:For extracting the First Eigenvalue of the partial video transcoding daily record;
First statistical result obtains subelement:For the First Eigenvalue to be carried out statistics calculating, the first statistics is obtained As a result;
First handling result obtains subelement:For first statistical result to be compressed processing, obtain at first Manage result;
First transmission sub-unit:For the first handling result to be sent to central memory.
In a kind of embodiment of the present invention, the video code conversion daily record transmitting element 305 can include:
Second Eigenvalue extracts subelement:For extracting the Second Eigenvalue of the video code conversion daily record in local cache;
Second statistical result obtains subelement:For carrying out statistics calculating to the Second Eigenvalue, the second statistics is obtained As a result;
Second processing result obtains subelement:For second statistical result to be compressed processing, obtain at second Manage result;
Second transmission sub-unit:For the video code conversion daily record in second processing result and local cache to be sent to center On memory.
In a kind of embodiment of the present invention, second transmission sub-unit can include:
Compress subelement:For the video code conversion daily record in local cache to be compressed processing;
Transmission sub-unit:For the video code conversion daily record in the local cache after second processing result and compression processing to be sent out It is sent in central memory.
In a kind of embodiment of the present invention, the collection device of the video code conversion daily record in above-described embodiment, also It can include:
Prewarning unit:For the content of the video code conversion daily record according to generation, whether the operation of monitor video transcoding is normal; When video code conversion operation exception, pre-warning signal is exported.
The technical solution that the embodiment of the present invention is provided, the video code conversion daily record that transcoding server produces is put into local slow Deposit.Monitor whether transcoding server is carrying out video code conversion.If so, carry out following steps:From the video code conversion in local cache In daily record, the partial video transcoding daily record for meeting preset condition is obtained;The partial video transcoding daily record of acquisition is sent to center On memory.Otherwise, following steps are carried out:Video code conversion daily record in local cache is sent in central memory.Due to In above process, when transcoding server carries out video code conversion, only the partial video transcoding daily record for meeting preset condition is sent out It is sent in central memory, just sends the video code conversion daily record in local cache when transcoding server does not carry out video code conversion Onto central memory.Regarded so technical scheme reduces to send during video code conversion compared with prior art Computing resource shared by frequency transcoding daily record, further, improves the efficiency that transcoding server carries out video code conversion.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented The function of each unit can be realized in same or multiple softwares and/or hardware during invention.
The embodiment of the present invention also provides a kind of collection system of video code conversion daily record, and shown in Figure 4, which can wrap Include including multiple transcoding servers 401 and central memory 402;
Wherein, each transcoding server 401, for the video code conversion daily record being put into local cache that produces itself into Row pretreatment:When monitoring the transcoding server 401 and carrying out video code conversion, from the video code conversion day in the local cache In will, the partial video transcoding daily record for meeting preset condition is obtained;Feel during the partial video transcoding daily record of acquisition is sent to On reservoir 402;When monitoring transcoding server 401 and not carrying out video code conversion, the video in the local cache is turned Code daily record is sent in central memory 402;
Central memory 402 is used to store the video code conversion daily record that each transcoding server 401 is sent.
In a kind of embodiment of the present invention, the central memory 402 provides user's query interface, for user The video code conversion daily record stored in central memory 402 is inquired about.
In a kind of embodiment of the present invention, the central memory 402 includes multiple storage servers, each According to preset rules, the video code conversion daily record in the daily record of partial video transcoding and local cache by acquisition is sent transcoding server Into identical or different storage server.Wherein, the preset rules being previously mentioned in preset rules and embodiment of the method herein Identical, which is not described herein again.Further, it is to be understood that:, can also be in transcoding server in the present invention is embodied Rule is established between central memory.For example, the partial video transcoding daily record that specified transcoding server can be obtained and Video code conversion in local cache is sent in a storage server, wherein, the number for the transcoding server specified is one It is or multiple;Video code conversion in the daily record of partial video transcoding and local cache that remaining transcoding server obtains is sent to separately In one storage server.
In the present invention is embodied, the collection system of the video code conversion daily record in above-described embodiment can also include:Day Will handles cluster, and the video code conversion daily record which is used to store central memory 402 is further to be handled. For example, log processing cluster can be analyzed and calculated to the storage video code conversion daily record in central memory 402, and then Each step is time-consuming when going out transcoding service, to be further optimized to transcoding service.Wherein, above-mentioned log processing cluster It can be located in above-mentioned central memory, can also be independently of above-mentioned central memory.In log processing cluster independently of above-mentioned During central memory, the interface for user's inquiry log processing cluster handling result is provided with the log processing cluster.
The technical solution that the embodiment of the present invention is provided, the video code conversion daily record that transcoding server produces is put into local slow Deposit.Monitor whether transcoding server is carrying out video code conversion.If so, carry out following steps:From the video code conversion in local cache In daily record, the partial video transcoding daily record for meeting preset condition is obtained;The partial video transcoding daily record of acquisition is sent to center On memory.Otherwise, following steps are carried out:Video code conversion daily record in local cache is sent in central memory.Due to In above process, when transcoding server carries out video code conversion, only the partial video transcoding daily record for meeting preset condition is sent out It is sent in central memory, just sends the video code conversion daily record in local cache when transcoding server does not carry out video code conversion Onto central memory.Regarded so technical scheme reduces to send during video code conversion compared with prior art Computing resource shared by frequency transcoding daily record, further, improves the efficiency that transcoding server carries out video code conversion.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can Realized by the mode of software plus required general hardware platform.Based on such understanding, technical scheme essence On the part that contributes in other words to the prior art can be embodied in the form of software product, the computer software product It can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are used so that a computer equipment (can be personal computer, server, either network equipment etc.) performs some of each embodiment of the present invention or embodiment Method described in part.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those Element, but also including other elements that are not explicitly listed, or further include as this process, method, article or equipment Intrinsic key element.
Each embodiment in this specification is described using relevant mode, identical similar portion between each embodiment Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for system For applying example, since it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method Part explanation.Apparatus and system embodiment described above is only schematical, wherein described be used as separation unit The unit that part illustrates may or may not be physically separate, can be as the component that unit is shown or also may be used Not to be physical location, you can with positioned at a place, or can also be distributed in multiple network unit.Can be according to reality Need to select some or all of module therein to realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not In the case of making the creative labor, you can to understand and implement.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (16)

  1. A kind of 1. collection method of video code conversion daily record, it is characterised in that applied in transcoding server, including step:
    The video code conversion daily record that transcoding server produces is put into local cache;
    Monitor whether transcoding server is carrying out video code conversion;
    When monitoring transcoding server and carrying out video code conversion, following steps are carried out:
    From the video code conversion daily record in local cache, the partial video transcoding daily record for meeting preset condition is obtained;
    The partial video transcoding daily record of acquisition is sent in central memory;
    When monitoring transcoding server and not carrying out video code conversion, following steps are carried out:
    Video code conversion daily record in local cache is sent in central memory.
  2. 2. according to the method described in claim 1, it is characterized in that,
    In the video code conversion daily record from local cache, the step of meeting the partial video transcoding daily record of preset condition is obtained Including:
    Video code conversion daily record in local cache is divided into different classifications;
    Obtain the video code conversion daily record of pre-set categories;
    The step that the partial video transcoding daily record of acquisition is sent in central memory includes:
    The video code conversion daily record of the pre-set categories of acquisition is sent in central memory.
  3. 3. according to the method described in claim 1, it is characterized in that, described be sent to the partial video transcoding daily record of acquisition The step felt on reservoir includes:
    Extract the First Eigenvalue of the partial video transcoding daily record;
    The First Eigenvalue is subjected to statistics calculating, obtains the first statistical result;
    First statistical result is compressed processing, obtains the first handling result;
    First handling result is sent in central memory.
  4. 4. according to the method described in claim 3, it is characterized in that, the video code conversion daily record by local cache is sent to Step in central memory includes:
    Extract the Second Eigenvalue of the video code conversion daily record in local cache;
    Statistics calculating is carried out to the Second Eigenvalue, obtains the second statistical result;
    Second statistical result is compressed processing, obtains second processing result;
    Video code conversion daily record in second processing result and local cache is sent in central memory.
  5. 5. the according to the method described in claim 4, it is characterized in that, video by second processing result and local cache The step that transcoding daily record is sent in central memory includes:
    Video code conversion daily record in local cache is compressed processing;
    Video code conversion daily record in local cache after second processing result and compression processing is sent in central memory.
  6. 6. according to the method described in claim 4, it is characterized in that, the central memory includes multiple storage servers, root According to preset rules, the video code conversion daily record in the daily record of partial video transcoding and local cache by acquisition is sent to identical or different Storage server in.
  7. 7. according to the method described in claim 1, it is characterized in that, it is put into the video code conversion daily record for producing transcoding server After local cache, further include:
    According to the content of the video code conversion daily record of generation, whether the operation of monitor video transcoding is normal;
    When video code conversion operation exception, pre-warning signal is exported.
  8. A kind of 8. collection device of video code conversion daily record, it is characterised in that applied in transcoding server, including:
    Video code conversion log buffer unit:Video code conversion daily record for transcoding server to be produced is put into local cache;
    Monitoring unit:For monitoring whether transcoding server is carrying out video code conversion;If so, triggering part video code conversion daily record obtains Obtain unit and partial video transcoding daily record transmitting element;Otherwise, video code conversion daily record transmitting element is triggered;
    Partial video transcoding daily record obtaining unit:Meet default bar for from the video code conversion daily record in local cache, obtaining The partial video transcoding daily record of part;
    Partial video transcoding daily record transmitting element:For the partial video transcoding daily record of acquisition to be sent to central memory;
    Video code conversion daily record transmitting element:For the video code conversion daily record in local cache to be sent to central memory.
  9. 9. device according to claim 8, it is characterised in that
    The partial video transcoding daily record obtaining unit includes:
    Category division subelement:For the video code conversion daily record in local cache to be divided into different classifications;
    The daily record of partial video transcoding obtains subelement:For obtaining the video code conversion daily record of pre-set categories;
    The partial video transcoding daily record transmitting element includes:
    Partial video transcoding daily record transmission sub-unit:For feeling during the video code conversion daily record of the pre-set categories of acquisition is sent to On reservoir.
  10. 10. device according to claim 8, it is characterised in that the partial video transcoding daily record transmitting element includes:
    The First Eigenvalue extracts subelement:For extracting the First Eigenvalue of the partial video transcoding daily record;
    First statistical result obtains subelement:For the First Eigenvalue to be carried out statistics calculating, the first statistical result is obtained;
    First handling result obtains subelement:For first statistical result to be compressed processing, the first processing knot is obtained Fruit;
    First transmission sub-unit:For the first handling result to be sent to central memory.
  11. 11. device according to claim 10, it is characterised in that the video code conversion daily record transmitting element includes:
    Second Eigenvalue extracts subelement:For extracting the Second Eigenvalue of the video code conversion daily record in local cache;
    Second statistical result obtains subelement:For carrying out statistics calculating to the Second Eigenvalue, the second statistical result is obtained;
    Second processing result obtains subelement:For second statistical result to be compressed processing, second processing knot is obtained Fruit;
    Second transmission sub-unit:For the video code conversion daily record in second processing result and local cache to be sent to central store On device.
  12. 12. according to the devices described in claim 11, it is characterised in that second transmission sub-unit includes:
    Compress subelement:For the video code conversion daily record in local cache to be compressed processing;
    Transmission sub-unit:For the video code conversion daily record in the local cache after second processing result and compression processing to be sent to In central memory.
  13. 13. device according to claim 8, it is characterised in that further include:
    Prewarning unit:For the content of the video code conversion daily record according to generation, whether the operation of monitor video transcoding is normal;When regarding During frequency transcoding operation exception, pre-warning signal is exported.
  14. 14. a kind of collection system of video code conversion daily record, it is characterised in that including multiple transcoding servers and central memory;
    Wherein, each transcoding server, the video code conversion daily record being put into local cache for itself to be produced are located in advance Reason:When monitoring the transcoding server and carrying out video code conversion, from the video code conversion daily record in the local cache, obtain Meet the partial video transcoding daily record of preset condition;The partial video transcoding daily record of acquisition is sent in central memory;When Transcoding server is monitored not when carrying out video code conversion, the video code conversion daily record in the local cache is sent to center On memory;
    Central memory is used to store the video code conversion daily record that each transcoding server is sent.
  15. 15. system according to claim 14, it is characterised in that the central memory provides user's query interface, supplies User inquires about the video code conversion daily record stored in central memory.
  16. 16. system according to claim 14, it is characterised in that the central memory includes multiple storage servers, Each transcoding server is according to preset rules, the video code conversion daily record in the daily record of partial video transcoding and local cache by acquisition It is sent in identical or different storage server.
CN201510372410.3A 2015-06-30 2015-06-30 A kind of collection method of video code conversion daily record, apparatus and system Active CN104980750B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510372410.3A CN104980750B (en) 2015-06-30 2015-06-30 A kind of collection method of video code conversion daily record, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510372410.3A CN104980750B (en) 2015-06-30 2015-06-30 A kind of collection method of video code conversion daily record, apparatus and system

Publications (2)

Publication Number Publication Date
CN104980750A CN104980750A (en) 2015-10-14
CN104980750B true CN104980750B (en) 2018-04-20

Family

ID=54276772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510372410.3A Active CN104980750B (en) 2015-06-30 2015-06-30 A kind of collection method of video code conversion daily record, apparatus and system

Country Status (1)

Country Link
CN (1) CN104980750B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898554A (en) * 2015-12-18 2016-08-24 乐视云计算有限公司 Real-time transcoding monitoring method and real-time transcoding system
CN105868009A (en) * 2016-03-23 2016-08-17 乐视控股(北京)有限公司 Live streaming software transcoding task management method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6662218B2 (en) * 1996-06-03 2003-12-09 Webtv Networks, Inc. Method of transcoding documents in a network environment using a proxy server
CN101667932A (en) * 2009-09-30 2010-03-10 中兴通讯股份有限公司 Method of network element equipment log management and device
CN103209087A (en) * 2012-01-17 2013-07-17 深圳市腾讯计算机系统有限公司 Distributed log statistical processing method and system
CN103702137A (en) * 2013-12-23 2014-04-02 乐视网信息技术(北京)股份有限公司 Method and system for generating statistic data during transcoding task processing
CN104202201A (en) * 2014-09-16 2014-12-10 广州金山网络科技有限公司 Log processing method and device and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6662218B2 (en) * 1996-06-03 2003-12-09 Webtv Networks, Inc. Method of transcoding documents in a network environment using a proxy server
CN101667932A (en) * 2009-09-30 2010-03-10 中兴通讯股份有限公司 Method of network element equipment log management and device
CN103209087A (en) * 2012-01-17 2013-07-17 深圳市腾讯计算机系统有限公司 Distributed log statistical processing method and system
CN103702137A (en) * 2013-12-23 2014-04-02 乐视网信息技术(北京)股份有限公司 Method and system for generating statistic data during transcoding task processing
CN104202201A (en) * 2014-09-16 2014-12-10 广州金山网络科技有限公司 Log processing method and device and terminal

Also Published As

Publication number Publication date
CN104980750A (en) 2015-10-14

Similar Documents

Publication Publication Date Title
CN111368089B (en) A business processing method and device based on knowledge graph
CN104639374B (en) A kind of application deployment management system
CN101853287B (en) Data compression quick retrieval file system and method thereof
CN104462121B (en) Data processing method, apparatus and system
US8179799B2 (en) Method for partitioning network flows based on their time information
CN107104840A (en) A kind of daily record monitoring method, apparatus and system
CN110555028A (en) data display method and device
CN102056351B (en) Push service system and method
GB2509240A (en) Transaction record data storage and retrieval
CN108460094A (en) The method and system of storage statistical data
CN106484709A (en) A kind of auditing method of daily record data and audit device
CN105119752A (en) Distributed log acquisition method, device and system
CN112632129A (en) Code stream data management method, device and storage medium
CN113868248A (en) Indicator data pre-aggregation method
CN102929961A (en) Data processing method and device thereof based on building quick data staging channel
CN111191247A (en) Database security audit system
CN106649687A (en) Method and device for on-line analysis and processing of large data
CN107092683A (en) A kind of log processing system and method
CN104980750B (en) A kind of collection method of video code conversion daily record, apparatus and system
CN117251414B (en) Data storage and processing method based on heterogeneous technology
CN106951360A (en) Data statistics integrity degree computational methods and system
CN107580259A (en) A kind of verifying video content method and system
CN105786945B (en) An efficient processing method of electricity consumption information data based on data channel
CN105530327B (en) A kind of DNS key message processing method and system
CN118193503A (en) Hierarchical management system for server center data

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