CN103905277A - System detection method and device - Google Patents

System detection method and device Download PDF

Info

Publication number
CN103905277A
CN103905277A CN201410123974.9A CN201410123974A CN103905277A CN 103905277 A CN103905277 A CN 103905277A CN 201410123974 A CN201410123974 A CN 201410123974A CN 103905277 A CN103905277 A CN 103905277A
Authority
CN
China
Prior art keywords
described
signal
output
original
input signal
Prior art date
Application number
CN201410123974.9A
Other languages
Chinese (zh)
Other versions
CN103905277B (en
Inventor
惠卫锋
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201410123974.9A priority Critical patent/CN103905277B/en
Publication of CN103905277A publication Critical patent/CN103905277A/en
Application granted granted Critical
Publication of CN103905277B publication Critical patent/CN103905277B/en

Links

Abstract

The invention provides a system detection method and device, and relates to the field of communication. By means of the system detection method and device, a system can be detected in real time, and communication resources occupied by the system can be effectively reduced. The method includes the steps of firstly, inputting original input signals to an encoding and decoding system, and sampling the original input signals to obtain input sampling signals; secondly, obtaining original output signals encoded and decoded through multiple sets of encoding and decoding units in the encoding and decoding system, and sampling the original output signals according to the positions of the input sampling signals in the original input signals to obtain output sampling signals; thirdly, calculating the correlation between the input sampling signals and the output sampling signals, wherein the correlation represents the correlation degree of the output sampling signals and the input sampling signals; fourthly, confirming the quality of the encoding and decoding system according to the correlation. The system detection device is used for detecting the quality of the signal encoding and decoding system.

Description

A kind of system detecting method and device

Technical field

The present invention relates to the communications field, relate in particular to a kind of system detecting method and device.

Background technology

In telecommunication system, input signal carries out coding and decoding through coding/decoding system and obtains output signal, the quality of coding/decoding system is directly connected to the quality of signal, taking voice call signal as example, in prior art, mass of system is assessed and mainly contained two class methods, one class is by the subjective judgement to communication effect or the sampling of objective characteristics value, based on a large amount of statistics, the quality of voice signal is assessed, the sign path of the method test result is longer, thereby cannot locate in time, accurately fault point; Another kind of by inject test code streams in system, assess the quality of coding/decoding system according to numerical analysis method.So-called numerical analysis method refers to the method for utilizing the code stream numerical value of system output signal and system input signal to carry out mass of system assessment, and this method depends on code stream numerical value, therefore cannot be applicable to the coding/decoding system that damages of the natural destruction code stream numerical value of meeting.And, test code streams usually needs to utilize the resource section in free timeslot to transmit in the prior art, and in the time of the peak period of communication service, user may take all resource section, the stock number of idle gap is zero, test code streams does not have the resource section that can inject, now just cannot assess mass of system.

Summary of the invention

Embodiments of the invention provide a kind of system detecting method and device, utilize the correlation of output sampled signal and input sample signal can carry out mass of system detection to damaging coding/decoding system and lossless encoding/decoding system, and can effectively reduce system taking the communication resource based on this appraisal procedure that system is carried out to quality evaluation of utilizing signal self correlation.

For achieving the above object, embodiments of the invention adopt following technical scheme:

First aspect, provides a kind of system detecting method, comprising:

Original input signal inputted to coding/decoding system and described original input signal is sampled, obtaining input sample signal, described coding/decoding system comprises many group codec unit, and described codec unit is for carrying out Code And Decode to described original input signal;

Obtain the original output signal after the many groups codec unit encoding and decoding in described coding/decoding system, and sample to described original output signal in the position in described original input signal according to described input sample signal, obtains output sampled signal;

Calculate the correlation of described input sample signal and described output sampled signal, described correlation represents the degree of correlation of described output sampled signal and described input sample signal;

Determine the quality of described coding/decoding system according to described correlation.

In conjunction with first aspect, in the possible implementation of the first of first aspect, described described original input signal is sampled, obtain input sample signal, comprising:

In described original input signal, insert origin identification;

From the origin identification place moment described in described original input signal, obtain input signal in Preset Time section as described input sample signal;

Accordingly, described according to described input sample signal the position in described original input signal described original output signal is sampled, obtain output sampled signal, comprising:

Determine origin identification position described in described original output signal;

From the origin identification place moment described in described original output signal, obtain output signal in described Preset Time section as described output sampled signal.

In conjunction with first aspect, in the possible implementation of the second of first aspect, described described original input signal is sampled, obtain input sample signal, comprising:

In the time that described original input signal includes effective information section and invalid information section, in the default invalid information section of described original input signal, insert origin identification;

From the described origin identification place moment, in described original input signal, obtain the effective information section of the signal in Preset Time section as described input sample signal;

Accordingly, described according to described input sample signal the position in described original input signal described original output signal is sampled, obtain output sampled signal, comprising:

Determine origin identification position described in described original output signal;

From the described origin identification place moment, in described original output signal, obtain the effective information section of the output signal in described Preset Time section as described output sampled signal.

In conjunction with first aspect, in the third possible implementation of first aspect, described described original input signal is sampled, obtain input sample signal, comprising:

From described original input signal, obtain n characteristic point characteristic of correspondence and position respectively, described n is more than or equal to 2 integer, and described characteristic point is the point in described original input signal with notable feature;

From the 1st the characteristic point place moment of a described n characteristic point, in described original input signal, obtain input signal in Preset Time section as described input sample signal;

Accordingly, described according to described input sample signal the position in described original input signal described original output signal is sampled, obtain output sampled signal, comprising:

Judge and in described original output signal, whether have n the point with the relevant position of a described n characteristic point with individual features;

If there is n the point with the relevant position of a described n characteristic point with individual features in described original output signal,, from the 1st the some place moment of described n point, in described original output signal, obtain output signal in described Preset Time section as described output sampled signal.

In conjunction with first aspect, in the 4th kind of possible implementation of first aspect, described described original input signal is sampled, obtain input sample signal, comprising:

In the time that described original input signal includes effective information section and invalid information section, from the effective information section of described original input signal, obtain n characteristic point characteristic of correspondence and position respectively, described n is more than or equal to 2 integer, and described characteristic point is the point in described original input signal with notable feature;

From the 1st the characteristic point place moment of a described n characteristic point, in described original input signal, obtain the effective information section of the input signal in Preset Time section as described input sample signal;

Accordingly, described according to described input sample signal the position in described original input signal described original output signal is sampled, obtain output sampled signal, comprising:

Judge in the effective information section of described original output signal and whether have n the point with the relevant position of a described n characteristic point with individual features;

If there is n the point with the relevant position of a described n characteristic point with individual features in the effective information section of described original output signal,, from the 1st the some place moment of described n point, in described original output signal, obtain the effective information section of the output signal in described Preset Time section as described output sampled signal.

In conjunction with the possible implementation of the first of first aspect, first aspect to any one the possible implementation in the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation of first aspect,

The described correlation of calculating described coding/decoding system according to described input sample signal and described output sampled signal comprises:

Described input sample signal restoring is become to the input sample signal of Natural Sampling form;

Described output sampled signal is recovered to the output sampled signal of Natural Sampling form;

Calculate the described each group of correlation that codec unit is corresponding according to the output sampled signal of the described Natural Sampling form of the input sample signal of described Natural Sampling form and correspondence by relevance formula, the described relevance formula that described in every group, correlation P corresponding to codec unit meets is:

P = n Σ i = 1 n x i y i - Σ i = 1 n x i Σ i = 1 n y i n Σ i = 1 n x i 2 - ( Σ i = 1 n x i ) 2 · n Σ i = 1 n y i 2 - ( Σ i = 1 n y i ) 2 ;

Wherein, described x idescribed input sample signal { signal value corresponding to i group codec unit in x}; Described y ithat { in y}, i organizes signal value corresponding to codec unit to described output sampled signal, and described n represents total n group codec unit in described coding/decoding system;

Obtain the correlation of correlation minimum in correlation corresponding to described each group of codec unit as described coding/decoding system.

Second aspect, a kind of system detecting device, comprising:

Sampling unit, for original input signal being inputted to coding/decoding system and described original input signal being sampled, obtain input sample signal, described coding/decoding system comprises many group codec unit, and described codec unit is for carrying out Code And Decode to described original input signal;

Acquiring unit, for obtaining the original output signal after many groups codec unit encoding and decoding of described coding/decoding system, and according to described input sample signal, sample to described original output signal in the position in described original input signal, obtains output sampled signal;

Computing unit, for calculating the correlation of described input sample signal and described output sampled signal, described correlation represents the degree of correlation of described output sampled signal and described input sample signal;

Quality determining unit, for determining the quality of described coding/decoding system according to described correlation.

In conjunction with second aspect, in the possible implementation of the first of second aspect,

Described sampling unit specifically for:

In described original input signal, insert origin identification;

From the origin identification place moment described in described original input signal, obtain input signal in Preset Time section as described input sample signal;

Accordingly, described acquiring unit specifically for:

Determine origin identification position described in described original output signal;

From the origin identification place moment described in described original output signal, obtain output signal in described Preset Time section as described output sampled signal.

In conjunction with second aspect, in the possible implementation of the second of second aspect,

Described sampling unit specifically for:

In the time that described original input signal includes effective information section and invalid information section, in the default invalid information section of described original input signal, insert origin identification;

From the described origin identification place moment, in described original input signal, obtain the effective information section of the signal in Preset Time section as described input sample signal;

Accordingly, described acquiring unit specifically for:

Determine origin identification position described in described original output signal;

From the described origin identification place moment, in described original output signal, obtain the effective information section of the output signal in described Preset Time section as described output sampled signal.

In conjunction with second aspect, in the third possible implementation of second aspect,

Described sampling unit specifically for:

From described original input signal, obtain n characteristic point characteristic of correspondence and position respectively, described n is more than or equal to 2 integer, and described characteristic point is the point in described original input signal with notable feature;

From the 1st the characteristic point place moment of a described n characteristic point, in described original input signal, obtain input signal in Preset Time section as described input sample signal;

Accordingly, described acquiring unit specifically for:

Judge and in described original output signal, whether have n the point with the relevant position of a described n characteristic point with individual features;

If there is n the point with the relevant position of a described n characteristic point with individual features in described original output signal,, from the 1st the some place moment of described n point, in described original output signal, obtain output signal in described Preset Time section as described output sampled signal.

In conjunction with second aspect, in the 4th kind of possible implementation of second aspect,

Described sampling unit specifically for:

In the time that described original input signal includes effective information section and invalid information section, from the effective information section of described original input signal, obtain n characteristic point characteristic of correspondence and position respectively, described n is more than or equal to 2 integer, and described characteristic point is the point in described original input signal with notable feature;

From the 1st the characteristic point place moment of a described n characteristic point, in described original input signal, obtain the effective information section of the input signal in Preset Time section as described input sample signal;

Accordingly, described acquiring unit specifically for:

Judge in the effective information section of described original output signal and whether have n the point with the relevant position of a described n characteristic point with individual features;

If there is n the point with the relevant position of a described n characteristic point with individual features in the effective information section of described original output signal,, from the 1st the some place moment of described n point, in described original output signal, obtain the effective information section of the output signal in described Preset Time section as described output sampled signal.

In conjunction with the possible implementation of the first of second aspect, second aspect to any one the possible implementation in the 4th kind of possible implementation of second aspect, in the 5th kind of possible implementation of second aspect,

Described computing unit specifically for:

Described input sample signal restoring is become to the input sample signal of Natural Sampling form;

Described output sampled signal is recovered to the output sampled signal of Natural Sampling form;

Calculate the described each group of correlation that codec unit is corresponding according to the output sampled signal of the described Natural Sampling form of the input sample signal of described Natural Sampling form and correspondence by relevance formula, the described relevance formula that described in every group, correlation P corresponding to codec unit meets is:

P = n Σ i = 1 n x i y i - Σ i = 1 n x i Σ i = 1 n y i n Σ i = 1 n x i 2 - ( Σ i = 1 n x i ) 2 · n Σ i = 1 n y i 2 - ( Σ i = 1 n y i ) 2 ;

Wherein, described x idescribed input sample signal { signal value corresponding to i group codec unit in x}; Described y ithat { in y}, i organizes signal value corresponding to codec unit to described output sampled signal, and described n represents total n group codec unit in described coding/decoding system;

Obtain the correlation of correlation minimum in correlation corresponding to described each group of codec unit as described coding/decoding system.

The invention provides a kind of system detecting method and device, comprise: original input signal is inputted to coding/decoding system and described original input signal is sampled, obtain input sample signal, described coding/decoding system comprises many group codec unit, and described codec unit is for carrying out Code And Decode to described original input signal; Obtain the original output signal after the many groups codec unit encoding and decoding in described coding/decoding system, and sample to described original output signal in the position in described original input signal according to described input sample signal, obtains output sampled signal; Calculate the correlation of described input sample signal and described output sampled signal, described correlation represents the degree of correlation of described output sampled signal and described input sample signal; Determine the quality of described coding/decoding system according to described correlation.So, owing to having obtained input sample signal after over-sampling, the input sample signal that takies less signalling path can be transmitted by management channels, and without taking service channel, even therefore also can carry out real-time mass of system in the traffic peaks phase detects, and the similarity of utilizing relevance algorithms to pay close attention between analytic target due to the embodiment of the present invention quantizes assessment, not directly related with bit stream data, therefore the present invention program is no matter for damaging coding/decoding system or lossless encoding/decoding system can be suitable for, finally, because the embodiment of the present invention calculates a corresponding correlation for each the encoding and decoding level in coding/decoding system, therefore when mass of system can be directly targeted in the encoding and decoding level of correlation minimum while being defective, thereby realize the real-time detection of mass of system.

Brief description of the drawings

In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.

Fig. 1 provides a kind of flow chart of system detecting method for the embodiment of the present invention;

The structural representation of a kind of system detecting device that Fig. 2 provides for the embodiment of the present invention;

The structural representation of the another kind of system detecting device that Fig. 3 provides for the embodiment of the present invention.

Embodiment

Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.

The embodiment of the present invention provides a kind of system detecting method, is applied to system detecting device, as shown in Figure 1, comprising:

Step 101, original input signal is inputted to coding/decoding system and described original input signal is sampled, obtain input sample signal, described coding/decoding system comprises many group codec unit, and described codec unit is for carrying out Code And Decode to described original input signal.

System detecting device is sampled to original input signal, obtain input sample signal, this coding/decoding system comprises many group codec unit, and utilize these many group codec unit to carry out Code And Decode processing to this original input signal, wherein described in every group, codec unit comprises coding unit and the decoding unit corresponding with described coding unit.Original input signal is the signal of this coding/decoding system of input, comprises many group signals in this original input signal, and this many groups signal correspondence is carried out respectively Code And Decode processing by above-mentioned many group codec unit.

Step 102, obtain the original output signal after the many groups codec unit encoding and decoding in described coding/decoding system, and according to described input sample signal, sample to described original output signal in the position in described original input signal, obtains output sampled signal.

System detecting device is sampled to described original output signal the position in described original input signal according to described input sample signal, sampling is not herein really that original output signal is done to resampling, be actually be intended to find in original output signal with the correspondence position of the position of input sample signal in original input signal on output sampled signal.

Step 103, calculate the correlation of described input sample signal and described output sampled signal, described correlation represents the degree of correlation of described output sampled signal and described input sample signal.

In concrete implementation procedure, the correlation of calculating described coding/decoding system according to described input sample signal and described output sampled signal herein can realize in the following way:

System detecting device can become described input sample signal restoring the input sample signal of Natural Sampling form; And described output sampled signal is recovered to the output sampled signal of Natural Sampling form; Thereby calculate the described each group of correlation that codec unit is corresponding according to the output sampled signal of the described Natural Sampling form of the input sample signal of described Natural Sampling form and correspondence by relevance formula, the described relevance formula that described in every group, correlation P corresponding to codec unit meets is:

P = n Σ i = 1 n x i y i - Σ i = 1 n x i Σ i = 1 n y i n Σ i = 1 n x i 2 - ( Σ i = 1 n x i ) 2 · n Σ i = 1 n y i 2 - ( Σ i = 1 n y i ) 2 ;

Wherein, described x idescribed input sample signal { signal value corresponding to i group codec unit in x}; Described y idescribed output sampled signal { signal value corresponding to i group codec unit in y}, described n represents total n group codec unit in described coding/decoding system, obtains the correlation of correlation minimum in correlation corresponding to described each group of codec unit as described coding/decoding system.

Concrete, owing to comprising many group codec unit in described coding/decoding system, every group of corresponding encoding and decoding level of codec unit, the correlation that we calculate coding/decoding system is actually the correlation of calculating each encoding and decoding level in this coding/decoding system, the correlation of each encoding and decoding level is by above-mentioned formula, input state and the state output terminal of the signal that carries out encoding and decoding through this encoding and decoding level are reduced into Natural Sampling form, thereby the signal of Natural Sampling form is put into above-mentioned formula and is calculated the correlation of this corresponding encoding and decoding level, last each encoding and decoding level has an own corresponding correlation, in the correlation of all encoding and decoding level correspondences, select the correlation of minimum correlation as this coding/decoding system.

Step 104, determine the quality of described coding/decoding system according to described correlation.

Concrete, if the correlation of described system is more than or equal to the first predetermined threshold value, the quality of the encoding and decoding of definite described coding/decoding system is good; If the correlation of described system is less than the first predetermined threshold value and is more than or equal to described the second predetermined threshold value, determine the FAQ of the encoding and decoding of described coding/decoding system; If the correlation of described system is less than the second predetermined threshold value, the encoding and decoding of definite described coding/decoding system is off quality, what deserves to be explained is, due in lossy coding process, input sample signal is natural inconsistent with the code stream numerical value of output sampled signal, decide so the quality of this coding/decoding system is the similarity degree between the input signal before presentation code decoding and the output signal after coding and decoding, the correlation of system is exactly the similarity degree between the input signal before presentation code decoding and the output signal after coding and decoding.

In embodiments of the present invention, owing to having obtained input sample signal after over-sampling, the input sample signal that takies less signalling path can be transmitted by management channels, and without taking service channel, even therefore also can carry out real-time mass of system in the traffic peaks phase detects, and the similarity of utilizing relevance algorithms to pay close attention between analytic target due to the embodiment of the present invention quantizes assessment, not directly related with bit stream data, therefore the present invention program is no matter for damaging coding/decoding system or lossless encoding/decoding system can be suitable for, finally, because the embodiment of the present invention calculates a corresponding correlation for each the encoding and decoding level in coding/decoding system, therefore when mass of system can be directly targeted in the encoding and decoding level of correlation minimum while being defective, thereby realize the real-time detection of mass of system.

Original input signal described in the present embodiment can be vision signal, picture signal, audio signal or other signals, does not limit herein.The present embodiment provides 4 kinds of methods of obtaining input sample signal and corresponding output sampled signal, is respectively the first optional embodiment mode, the optional execution mode of the second, the third optional execution mode and the 4th kind of optional execution mode.

In the optional execution mode of the first, when original input signal and original output signal are the signals of signal energy marked change, described described original input signal is sampled, obtain input sample signal, can specifically comprise:

System detecting device can obtain input signal corresponding to each group codec unit in described original input signal; In input signal corresponding to codec unit described in every group, insert origin identification; From the origin identification place moment described in input signal corresponding to codec unit described in every group, obtain input signal in Preset Time section as described input sample signal.

Accordingly, describedly according to described input sample signal, described original output signal is sampled, obtains output sampled signal, can specifically comprise:

System detecting device can obtain output signal corresponding to each group codec unit in described original output signal; Determine origin identification position described in output signal corresponding to codec unit described in every group; From the origin identification place moment described in output signal corresponding to codec unit described in every group, obtain output signal in described Preset Time section as described output sampled signal.

So, system detecting device can, by origin identification in the position of original input signal with in the aligned in position of original output signal, get the output sampled signal corresponding with input sample signal more easily.

In the optional execution mode of the second, in the time that original input signal and original output signal can be divided into effective information section and invalid information section, effective information section herein refers to the signal segment that signal energy is changed significantly; Invalid signals section is the intermittent phase of signal, the signal segment that signal energy is faint.We can suppose that signal can be divided into x effective information section and y invalid information section, and wherein x and y are positive integer.

Described described original input signal is sampled, obtains input sample signal, can specifically comprise:

System detecting device can obtain input signal corresponding to each group codec unit in described original input signal, and described original input signal is the input signal of input coding/decoding system, forms by organizing input signal corresponding to codec unit more; In the time that described original input signal includes effective information section and invalid information section, in the default invalid information section of input signal corresponding to codec unit described in every group, insert origin identification, this default invalid information section can be artificial selection, the chosen distance invalid information section nearer than multiple effective information sections of comparatively dense as far as possible, and can get effective information section in Preset Time section; From the described origin identification place moment, in input signal corresponding to codec unit described in every group, obtain the effective information section of the input signal in Preset Time section as described input sample signal.

Describedly according to described input sample signal, described original output signal is sampled, obtains output sampled signal, can specifically comprise:

System detecting device can obtain output signal corresponding to each group codec unit in described original output signal, and described original output signal is that described original input signal carries out through each group codec unit in coding/decoding system the output signal that coding and decoding obtains; Determine origin identification position described in output signal corresponding to codec unit described in every group; From the described origin identification place moment, in output signal corresponding to codec unit described in every group, obtain the effective information section of the output signal in described Preset Time section as described output sampled signal.

So, because original input signal and original output signal are all divided into effective information section and invalid information section, system detecting device can be by origin identification by the position of the invalid information section of original input signal with in the aligned in position of the invalid information section of original output signal, get more easily the output sampled signal corresponding with input sample signal, this input sample signal and output sampled signal are all effective information sections, therefore, reduced the testing amount in system detects.

In the third optional execution mode, when original input signal and original output signal are the signals of signal energy marked change, described described original input signal is sampled, obtain input sample signal, can specifically comprise:

System detecting device can obtain input signal corresponding to each group codec unit in described original input signal; From input signal corresponding to codec unit described in every group, obtain n characteristic point characteristic of correspondence and position respectively, described n is more than or equal to 2 integer, and described characteristic point is the characteristic point of tool; From the 1st the characteristic point place moment of a described n characteristic point, in input signal corresponding to codec unit described in every group, obtain input signal in Preset Time section as described input sample signal, the input signal in described Preset Time section comprises a described n characteristic point.

Describedly according to described input sample signal, described original output signal is sampled, obtains output sampled signal, can specifically comprise:

System detecting device can obtain output signal corresponding to each group codec unit in described original output signal; Judge in output signal corresponding to codec unit described in every group and whether have n the point with the relevant position of a described n characteristic point with individual features; If there is n the point with the relevant position of a described n characteristic point with individual features described in every group in output signal corresponding to codec unit, from the 1st the some place moment of described n point, in output signal corresponding to codec unit described in every group, obtain output signal in described Preset Time section as described output sampled signal, the output signal in described Preset Time section comprises n the point with the relevant position of a described n characteristic point with individual features.

So, because original input signal and original output signal are all divided into effective information section and invalid information section, system detecting device in original output signal, find with input sample signal in character pair and position n the point one to one of n characteristic point, therefore, make to put and align one to one with character pair and the position of the 1st characteristic point in original output signal, get more easily the output sampled signal corresponding with input sample signal, therefore, reduce the testing amount in system detects, simultaneously, the method does not change original input signal and original output signal, reduce the interference to original input signal and original output signal.

In the 4th kind of optional execution mode, in the time that original input signal and original output signal can be divided into effective information section and invalid information section, effective information section herein refers to the signal segment that signal energy is changed significantly; Invalid signals section is the intermittent phase of signal, the signal segment that signal energy is faint, and we can suppose that signal can be divided into x effective information section and y invalid information section, wherein x and y are positive integer.

Described described original input signal is sampled, obtains input sample signal, can specifically comprise:

System detecting device can obtain input signal corresponding to each group codec unit in described original input signal; In the time that described original input signal includes effective information section and invalid information section, from the effective information section of input signal corresponding to codec unit described in every group, obtain n characteristic point characteristic of correspondence and position respectively, described n is more than or equal to 2 integer, and described characteristic point is the characteristic point of tool; From the 1st the characteristic point place moment of a described n characteristic point, in input signal corresponding to codec unit described in every group, obtain the effective information section of the input signal in Preset Time section as described input sample signal, what deserves to be explained is, the effective information section of the input signal of this Preset Time section comprises n characteristic point, and the effective information section of the input signal in described Preset Time section comprises a described n characteristic point.

Accordingly, describedly according to described input sample signal, described original output signal is sampled, obtains output sampled signal, can specifically comprise:

System detecting device can obtain output signal corresponding to each group codec unit in described original output signal; Judge in the effective information section of output signal corresponding to codec unit described in every group and whether have n the point with the relevant position of a described n characteristic point with individual features; If there is n the point with the relevant position of a described n characteristic point with individual features described in every group in the effective information section of output signal corresponding to codec unit, from the 1st the some place moment of described n point, in output signal corresponding to codec unit described in every group, obtain the effective information section of the output signal in described Preset Time section as described output sampled signal, the effective information section of the output signal in described Preset Time section comprises n the point with the relevant position of a described n characteristic point with individual features.

So, because original input signal and original output signal are all divided into effective information section and invalid information section, system detecting device in original output signal, find with input sample signal in there is n point of individual features with the relevant position of a described n characteristic point, therefore, make in original output signal n the point with the relevant position of a described n characteristic point with individual features to align with a described n characteristic point, thereby get more easily the output sampled signal corresponding with input sample signal, this input sample signal and output sampled signal are all effective information sections, therefore, reduce the testing amount in system detects, simultaneously, the method does not change original input signal and original output signal, reduce the interference to original input signal and original output signal.

The embodiment of the present invention provides a kind of system detecting method, be applied to system detecting device, the present embodiment is that audio signal is as example taking original input signal and original output signal, audio signal includes effective information section and invalid information section, audio signal can be analog signal or digital signal, if audio signal is analog signal, in order to ensure the effect of communication and the efficiency of communicating by letter, before audio signal is transmitted in coding/decoding system, to coding audio signal; If audio signal is digital signal, directly input as original input signal.The present embodiment supposes that this audio signal is analog signal, and coding/decoding system has m group codec unit, comprising:

Step 201, original input signal inputted to coding/decoding system and described original input signal is sampled, obtaining input sample signal.

The sample mode that the present embodiment supposing the system checkout gear obtains original input signal is the pcm encoder mode of 8 bits, pcm encoder main process is by speech, the analog signals such as image sample at regular intervals, make its discretization, sample value is quantized by layering unit's round simultaneously, sample value is represented to the amplitude of sampling pulse by one group of binary code simultaneously, what deserves to be explained is, make this original input signal must experience each codec unit in coding/decoding system the input time that staff can rule of thumb preset original input signal and carry out Code And Decode.

Owing to being taking audio signal as example herein, described original input signal is audio signal, and this original input signal can be divided into effective information section and invalid information section.In order to ensure that detecting effect approaches practical communication effect, system detecting device can be chosen emphatically effective information section as input sample signal.

In prior art, the transmission of original input signal is the mode that adopts multiplex communication, and time-division multiplex technology is that different signals was interweaved within the different time periods, along same transmission; Use again someway at receiving terminal, the signal extraction in each time period is out reduced into the communication technology of primary signal.This technology can be at same channel multiple signals, original input signal is to be combined by every group of output signal corresponding to codec unit in coding/decoding system, so checkout gear obtains each group codec unit correspondence in coding/decoding system and an output signal in original input signal, m group codec unit correspondence m output signal, and original input signal is interweaved in different time sections along same transmission by this m output signal.

Concrete, system detecting device obtains in original input signal has m to organize m input signal corresponding to codec unit.The present embodiment is organized input signal corresponding to codec unit as example taking p, 0<p<m.System detecting device can insert origin identification in the position near effective information section in the default invalid information section of this corresponding input signal, the position of this origin identification can be artificial selection, select near the invalid information section nearer than multiple effective information sections of comparatively dense as far as possible, and in Preset Time section, can get this effective information section.Under normal circumstances, origin identification is pulse vector, and this pulse vector can be pulse, high amplitude signal etc.; From this origin identification place moment, in this corresponding input signal, obtain the effective information section of the input signal in Preset Time section as input sample signal, m this input signal correspondence m input sample signal.What deserves to be explained is, every group of input sample signal corresponding to codec unit is all to obtain with identical method, using m input sample signal as m input sample signal.

Step 202, input sample signal restoring is become to the input sample signal of Natural Sampling form.

The input sample signal that the present embodiment is organized codec unit taking p is as example, input sample signal is decoded by the decoding process corresponding with the coded system of input sample signal, obtain the input sample signal of Natural Sampling form, this Natural Sampling form refers to the signal form of un-encoded reconciliation code conversion, suppose that input sample signal was the form of analog signal before Code And Decode, the input sample signal of Natural Sampling is also the form of analog signal so.The pcm encoder mode of employing 8 bits that the present embodiment transmits in coding/decoding system taking audio signal is example, and corresponding decoding process is PCM decoding process.What deserves to be explained is, the input sample signal of every group of codec unit is all the input sample signal that is recovered to Natural Sampling with identical decoding process.

Step 203, obtain the original output signal after the many groups codec unit encoding and decoding in described coding/decoding system, and according to described input sample signal, sample to described original output signal in the position in described original input signal, obtains output sampled signal.

System detecting device obtains m output signal corresponding with m group codec unit in original output signal, organize output signal corresponding to codec unit as example taking p, system detecting device is determined the described origin identification place moment of this correspondence output signal, and initial marking can be pulse, high amplitude signal etc.; From the origin identification place moment, in this corresponding output signal, obtain output signal in described Preset Time section as output sampled signal.What deserves to be explained is, every group of output sampled signal corresponding to codec unit is all to obtain with identical method, using described output sampled signal as output sampled signal.

Concrete, suppose that origin identification is pulse, according to the sequencing of output, the invalid information section of supposing this corresponding output signal has w section, judge in j invalid information section of output signal corresponding to p group codec unit and whether have pulse, this j is less than or equal to w, if there is pulse in j invalid information section of this correspondence output signal, can determine the moment of the origin identification of original output signal output, from the moment of pulse place, in this output signal, obtain Preset Time section output signal effective information section as output sampled signal, this Preset Time section is identical with the Preset Time section of input sample, if there is not pulse in j invalid information section of original output signal, continue to judge whether j+1 invalid information section exists pulse, until get output sampled signal, obtain m by above judgement single pulse method and organize m output sampled signal corresponding to codec unit, using described output sampled signal as output sampled signal.What deserves to be explained is, obtaining after original output signal, also need to remove all origin identification of inserting in input sample signal and original output signal, to avoid the interference of origin identification to input sample signal and output sampled signal.

Step 204, output sampled signal is recovered to the output sampled signal of Natural Sampling form.

The output sampled signal of organizing codec unit taking p, as example, is decoded output sampled signal by the decoding process corresponding with the coded system of output sampled signal, obtain the output sampled signal of Natural Sampling form.The pcm encoder mode of employing 8 bits that the present embodiment transmits in coding/decoding system taking audio signal is example, and corresponding decoding process is PCM decoding process.What deserves to be explained is, the output sampled signal of every group of codec unit is all the output sampled signal that is recovered to Natural Sampling with identical decoding process.

Step 205, calculate the described each group of correlation that codec unit is corresponding according to the output sampled signal of the input sample signal of described Natural Sampling form and corresponding described Natural Sampling form by relevance formula.

System detecting device according to the output sampled signal of the input sample signal of m Natural Sampling form and corresponding m Natural Sampling form by relevance formula respectively correspondence calculate, obtain described m group codec unit corresponding correlation respectively, described in every group, correlation P corresponding to codec unit meets described relevance formula and is:

P = n &Sigma; i = 1 n x i y i - &Sigma; i = 1 n x i &Sigma; i = 1 n y i n &Sigma; i = 1 n x i 2 - ( &Sigma; i = 1 n x i ) 2 &CenterDot; n &Sigma; i = 1 n y i 2 - ( &Sigma; i = 1 n y i ) 2 ;

Wherein, described x iinput sample signal { signal value corresponding to i group codec unit in x}; Described y ithat { in y}, i organizes signal value corresponding to codec unit to output sampled signal, and described n represents total n group codec unit in described coding/decoding system; Obtain the correlation of correlation minimum in correlation corresponding to described each group of codec unit as described coding/decoding system.

Step 206, determine the quality of described coding/decoding system according to described correlation.

In actual applications, thereby the relevance values of this system can be by comparing with predetermined threshold value the quality that judges this mass of system, and concrete, described predetermined threshold value can include but not limited to following: first threshold is 0.85, and Second Threshold is 0.7.If correlation P >=0.85 of this system, the quality of the encoding and decoding of definite coding/decoding system is good; If the correlation of this system 0.85 > P >=0.7, the FAQ of the encoding and decoding of definite coding/decoding system; If the correlation P < 0.7 of this system, the encoding and decoding of definite coding/decoding system is off quality.

What deserves to be explained is, if one or several correlation is less than Second Threshold in correlation corresponding to all groups of codec unit, staff can determine by this correlation the codec unit going wrong fast, circuit for this codec unit keeps in repair, and has reduced like this workload of maintenance after detecting.

What specify is, when original input signal and original output signal are vision signals, vision signal is signal energy marked change, input sample signal is, system detecting device can be in original input signal the optional position of input signal corresponding to every kind of codec unit insert origin identification, obtain the input signal that starts Preset Time section from this origin identification place moment; Output sampled signal be system detecting device can be in original output signal the origin identification of output signal inquiry input sample signal corresponding to every kind of codec unit, obtain the output signal of this Preset Time section in the origin identification place moment

So, because original input signal and original output signal are all divided into effective information section and invalid information section, system detecting device can be by origin identification by the position of the invalid information section of original input signal with in the aligned in position of the invalid information section of original output signal, get the output sampled signal corresponding with input sample signal, again according to the correlation of input sample signal and output sampled signal, determine the quality of coding/decoding system, instead of determine the quality of coding/decoding system according to the error rate that the recovery code stream in idling-resource and error detecting code flowmeter calculate, therefore while having reduced system detection, system communication resource takies, simultaneously because input sample signal and output sampled signal are all obtained from original input signal and original output signal, also ensured the real-time of definite detection.

In embodiments of the present invention, owing to having obtained input sample signal after over-sampling, the input sample signal that takies less signalling path can be transmitted by management channels, and without taking service channel, even therefore also can carry out real-time mass of system in the traffic peaks phase detects, and the similarity of utilizing relevance algorithms to pay close attention between analytic target due to the embodiment of the present invention quantizes assessment, not directly related with bit stream data, therefore the present invention program is no matter for damaging coding/decoding system or lossless encoding/decoding system can be suitable for, finally, because the embodiment of the present invention calculates a corresponding correlation for each the encoding and decoding level in coding/decoding system, therefore when mass of system can be directly targeted in the encoding and decoding level of correlation minimum while being defective, thereby realize the real-time detection of mass of system.

The embodiment of the present invention provides a kind of system detecting method, be applied to system detecting device, the present embodiment is that audio signal is as example taking original input signal and original output signal, audio signal can be divided into effective information section and invalid information section, audio signal can be analog signal or digital signal, if audio signal is analog signal, in order to ensure the effect of communication and the efficiency of communicating by letter, before audio signal is transmitted in coding/decoding system, to coding audio signal; If audio signal is digital signal, directly input as original input signal.The present embodiment supposes that this audio signal is analog signal, and coding/decoding system has m group codec unit, comprising:

Step 301, original input signal inputted to coding/decoding system and described original input signal is sampled, obtaining input sample signal.

The sample mode that the present embodiment supposing the system checkout gear obtains original input signal is the pcm encoder mode of 8 bits, pcm encoder main process is that the analog signal such as speech, image is sampled at regular intervals, make its discretization, sample value is quantized by layering unit's round simultaneously, sample value is represented to the amplitude of sampling pulse simultaneously by one group of binary code.What deserves to be explained is, make this original input signal must experience each codec unit in coding/decoding system the input time that staff can rule of thumb preset original input signal and carry out Code And Decode.

Owing to being taking audio signal as example herein, be that described original input signal is audio signal, this original input signal can be divided into effective information section and invalid information section, in order to ensure that detecting effect approaches practical communication effect, system detecting device can be chosen emphatically effective information section as input sample signal.

In prior art, the transmission of original input signal is the mode that adopts multiplex communication, and time-division multiplex technology is that different signals was interweaved within the different time periods, along same transmission; Use again someway at receiving terminal, the signal extraction in each time period is out reduced into the communication technology of primary signal.This technology can be at same channel multiple signals, original input signal is to be combined by every group of input signal corresponding to codec unit in coding/decoding system, so checkout gear obtains each group codec unit correspondence in coding/decoding system and an input signal in original input signal, m group codec unit correspondence m input signal, and original input signal is interweaved in different time sections along same transmission by this m input signal.

Concrete, system detecting device obtains in original input signal has m to organize m input signal corresponding to codec unit.Organize input signal corresponding to codec unit as example taking p, system detecting device can be arbitrarily or is obtained according to preset rules and in the effective information section of input signal corresponding to p group codec unit, obtain n characteristic point and distinguish characteristic of correspondence and position, this characteristic point can be the outstanding point of certain feature in effective information section, this characteristic point characteristic of correspondence can be the size of signal strength signal intensity corresponding on this aspect, and position corresponding to this characteristic point can be this point residing position in this input signal section.In concrete implementation procedure, this n characteristic point can be expressed as the outstanding point of some feature in input signal section, for example n maximum point, n minimum point, mixing of n-1 maximum and 1 minimum point etc., system detecting device can start in the 1st the characteristic point place moment from n characteristic point, the effective information section of obtaining the input signal in Preset Time section in this corresponding input signal is as input sample signal, this Preset Time section is to determine according to the time range at n characteristic point place, the effective information section of the input signal in this Preset Time section must comprise n characteristic point.What deserves to be explained is, the input sample signal of every group of codec unit is all to obtain with identical said method.

Step 302, input sample signal restoring is become to the input sample signal of Natural Sampling form.

The input sample signal that the present embodiment is organized codec unit taking p is as example, input sample signal is decoded by the decoding process corresponding with the coded system of input sample signal, obtain the input sample signal of Natural Sampling form, this Natural Sampling form refers to the signal form of un-encoded reconciliation code conversion, suppose that input sample signal was the form of analog signal before Code And Decode, the input sample signal of Natural Sampling is also the form of analog signal so.The pcm encoder mode of employing 8 bits that the present embodiment transmits in coding/decoding system taking audio signal is example, and corresponding decoding process is PCM decoding process.What deserves to be explained is, the input sample signal of every group of codec unit is all the input sample signal that is recovered to Natural Sampling with identical decoding process.

Step 303, obtain the original output signal after the many groups codec unit encoding and decoding in described coding/decoding system, and according to described input sample signal, sample to described original output signal in the position in described original input signal, obtains output sampled signal.

Supposing has m to organize codec unit in coding/decoding system, in output sampled signal, there is m the output signal corresponding with codec unit, organize output signal corresponding to codec unit as example taking p, system detecting device judges in the effective information section of output signal corresponding to every group of codec unit whether exist and n characteristic point characteristic of correspondence and position n point one to one respectively, if exist with n characteristic point and distinguish characteristic of correspondence and position n point one to one in the effective information section of output signal corresponding to every group of codec unit, from the 1st the some place moment of n point, the effective information section of obtaining the output signal in this Preset Time section in output signal corresponding to p group codec unit is as output sampled signal, what deserves to be explained is, the output sampled signal of every group of codec unit is all obtained with said method.

System detecting device judge in the effective information section of output signal corresponding to every group of codec unit, whether exist with n characteristic point respectively characteristic of correspondence and position one to one the method for n point have a lot.For example, the identical method of characteristic point feature, identical method of characteristic point position etc.The identical method of characteristic point that the present embodiment adopts.

Optionally, in the time adopting the identical method of characteristic point feature, system detecting device obtains n and n characteristic point feature point one to one, judges that whether the position of n characteristic point is corresponding one by one with the position of n point; If the position of n characteristic point is corresponding one by one with the position of n point, from the 1st the some place moment of n point, in output signal corresponding to this group codec unit, obtain the effective information section of the output signal in Preset Time section as output sampled signal, this Preset Time section is identical with the input sample time; If it is one corresponding to differ in the 1st position to n characteristic point and the position of a n Second Characteristic point, the 2nd to n+1 Second Characteristic point judged, repeat above process, until get output sampled signal.M the identical method of output signal use characteristic point feature obtained to m output sampled signal corresponding to m group codec unit, using this output sampled signal as output sampled signal.

Optionally, in the time adopting the identical method of characteristic point position, system detecting device obtains n and characteristic point position point one to one, judges that whether the feature of n characteristic point is corresponding one by one with the feature of n point; If the feature of n characteristic point is corresponding one by one with the feature of n point, from the 1st the some place moment of n point, in output signal corresponding to this group codec unit, obtain the effective information section of the output signal in Preset Time section as output sampled signal, this Preset Time section is identical with the input sample time; If it is one corresponding that the 1st feature to n characteristic point and the feature of n point differ, the 2nd to n+1 Second Characteristic point judged, repeat above process, until get output sampled signal.M the identical method in output signal use characteristic point position obtained to m output sampled signal corresponding to m group codec unit, using this output sampled signal as output sampled signal.

Step 304, output sampled signal is recovered to the output sampled signal of Natural Sampling form.

The output sampled signal of organizing codec unit taking the p of output sampled signal, as example, is decoded output sampled signal by the decoding process corresponding with the coded system of input sample signal, obtain the output sampled signal of Natural Sampling form.The pcm encoder mode of employing 8 bits that the present embodiment transmits in coding/decoding system taking audio signal is example, and corresponding decoding process is PCM decoding process.What deserves to be explained is, the output sampled signal of every group of codec unit of output sampled signal is all the output sampled signal that is recovered to Natural Sampling with identical decoding process.

Step 305, calculate the described each group of correlation that codec unit is corresponding according to the output sampled signal of the input sample signal of described Natural Sampling form and corresponding described Natural Sampling form by relevance formula.

System detecting device according to the output sampled signal of the input sample signal of m Natural Sampling form and corresponding m Natural Sampling form by relevance formula respectively correspondence calculate, obtain correlation corresponding to described m group codec unit, described in every group, correlation P corresponding to codec unit meets described relevance formula and is:

P = n &Sigma; i = 1 n x i y i - &Sigma; i = 1 n x i &Sigma; i = 1 n y i n &Sigma; i = 1 n x i 2 - ( &Sigma; i = 1 n x i ) 2 &CenterDot; n &Sigma; i = 1 n y i 2 - ( &Sigma; i = 1 n y i ) 2 ;

Wherein, described x iinput sample signal { signal value corresponding to i group codec unit in x}; Described y ithat { in y}, i organizes signal value corresponding to codec unit to output sampled signal, and described n represents total n group codec unit in described coding/decoding system; Obtain the correlation of correlation minimum in correlation corresponding to described each group of codec unit as described coding/decoding system.

Step 306, determine the quality of described coding/decoding system according to described correlation.

In actual applications, thereby the relevance values of this system can be by comparing with predetermined threshold value the quality that judges this mass of system, and concrete, described predetermined threshold value can include but not limited to following: first threshold is 0.85, and Second Threshold is 0.7.If correlation P >=0.85 of this system, the quality of the encoding and decoding of definite coding/decoding system is good; If the correlation of this system 0.85 > P >=0.7, the FAQ of the encoding and decoding of definite coding/decoding system; If the correlation P < 0.7 of this system, the encoding and decoding of definite coding/decoding system is off quality.

What deserves to be explained is, if one or several correlation is less than Second Threshold in correlation corresponding to all groups of codec unit, staff can determine by this correlation the codec unit going wrong fast, circuit for this codec unit keeps in repair, and has reduced like this workload of maintenance after detecting.

What specify is, when original input signal and original output signal are vision signals, vision signal is the signal of signal energy marked change, input sample signal is that system detecting device can obtain n characteristic point characteristic of correspondence and position respectively from input signal corresponding to every group of codec unit, from the 1st the characteristic point place moment of n characteristic point, in input signal corresponding to every group of codec unit, obtain the input signal in Preset Time section; If output sampled signal is to exist in output signal corresponding to every group of codec unit and n characteristic point characteristic of correspondence and the position individual point of n one to one respectively, system detecting device can, from the 1st the some place moment of described n point, obtain the output signal in described Preset Time section in output signal corresponding to codec unit described in every group.

So, system detecting device is searched and n characteristic point characteristic of correspondence and position n point one to one respectively in output signal corresponding to every group of codec unit of original output signal, thereby obtain output sampled signal, again according to the correlation of input sample signal and output sampled signal, determine the quality of coding/decoding system, instead of determine the quality of coding/decoding system according to the error rate that the recovery code stream in idling-resource and error detecting code flowmeter calculate, therefore while having reduced system detection, system communication resource takies, simultaneously because input sample signal and output sampled signal are all obtained from original input signal and original output signal, also ensured the real-time of definite detection.

In embodiments of the present invention, owing to having obtained input sample signal after over-sampling, the input sample signal that takies less signalling path can be transmitted by management channels, and without taking service channel, even therefore also can carry out real-time mass of system in the traffic peaks phase detects, and the similarity of utilizing relevance algorithms to pay close attention between analytic target due to the embodiment of the present invention quantizes assessment, not directly related with bit stream data, therefore the present invention program is no matter for damaging coding/decoding system or lossless encoding/decoding system can be suitable for, finally, because the embodiment of the present invention calculates a corresponding correlation for each the encoding and decoding level in coding/decoding system, therefore when mass of system can be directly targeted in the encoding and decoding level of correlation minimum while being defective, thereby realize the real-time detection of mass of system.

The embodiment of the present invention provides a kind of system detecting device 40, as shown in Figure 2, comprising:

Sampling unit 402, for original input signal being inputted to coding/decoding system and described original input signal being sampled, obtain input sample signal, described coding/decoding system comprises many group codec unit, and described codec unit is for carrying out Code And Decode to described original input signal.

Acquiring unit 404, for obtaining the original output signal after many groups codec unit encoding and decoding of described coding/decoding system, and according to described input sample signal, sample to described original output signal in the position in described original input signal, obtains output sampled signal.

Computing unit 406, for calculating the correlation of described input sample signal and described output sampled signal, described correlation represents the degree of correlation of described output sampled signal and described input sample signal.

Quality determining unit 408, for determining the quality of described coding/decoding system according to described correlation.

Described computing unit 406 can be specifically for:

Described input sample signal restoring is become to the input sample signal of Natural Sampling form;

Described output sampled signal is recovered to the output sampled signal of Natural Sampling form;

Calculate the described each group of correlation that codec unit is corresponding according to the output sampled signal of the described Natural Sampling form of the input sample signal of described Natural Sampling form and correspondence by relevance formula, the described relevance formula that described in every group, correlation P corresponding to codec unit meets is:

P = n &Sigma; i = 1 n x i y i - &Sigma; i = 1 n x i &Sigma; i = 1 n y i n &Sigma; i = 1 n x i 2 - ( &Sigma; i = 1 n x i ) 2 &CenterDot; n &Sigma; i = 1 n y i 2 - ( &Sigma; i = 1 n y i ) 2 ;

Wherein, described xi is described input sample signal { signal value corresponding to i group codec unit in x}; Described yi is that { in y}, i organizes signal value corresponding to codec unit to described output sampled signal, and described n represents total n group codec unit in described coding/decoding system;

Obtain the correlation of correlation minimum in correlation corresponding to described each group of codec unit as described coding/decoding system.

In embodiments of the present invention, because sampling unit 402 has obtained input sample signal after over-sampling, the input sample signal that takies less signalling path can be transmitted by management channels, and without taking service channel, even therefore also can carry out real-time mass of system in the traffic peaks phase detects, and the similarity of utilizing relevance algorithms to pay close attention between analytic target due to computing unit 406 quantizes assessment, not directly related with bit stream data, therefore the present invention program is no matter for damaging coding/decoding system or lossless encoding/decoding system can be suitable for, finally, because computing unit 406 of the present invention calculates a corresponding correlation for each the encoding and decoding level in coding/decoding system, therefore when mass of system can be directly targeted in the encoding and decoding level of correlation minimum while being defective, thereby realize the real-time detection of mass of system.

Original input signal described in the present embodiment can be vision signal, picture signal, audio signal or other signals, does not limit herein.For different signal sources, it is also different that sampling unit 402 obtains input sample signal according to the feature of original input signal.

Optionally, when original input signal is that signal energy changes the signal of highly significant, described sampling unit 402 specifically for:

In described original input signal, insert origin identification;

From the origin identification place moment described in described original input signal, obtain input signal in Preset Time section as described input sample signal;

Accordingly, described acquiring unit 404 specifically for:

Determine origin identification position described in described original output signal;

From the origin identification place moment described in described original output signal, obtain output signal in described Preset Time section as described output sampled signal.

So, system detecting device can, by origin identification in the position of original input signal with in the aligned in position of original output signal, get the output sampled signal corresponding with input sample signal more easily.

Optionally, when original input signal includes effective information section and invalid information section, described sampling unit 402 specifically for:

In the default invalid information section of described original input signal, insert origin identification;

From the described origin identification place moment, in described original input signal, obtain the effective information section of the signal in Preset Time section as described input sample signal;

Accordingly, described acquiring unit 404 specifically for:

Determine origin identification position described in described original output signal;

From the described origin identification place moment, in described original output signal, obtain the effective information section of the output signal in described Preset Time section as described output sampled signal.

So, because original input signal and original output signal are all divided into effective information section and invalid information section, system detecting device can be by origin identification by the position of the invalid information section of original input signal with in the aligned in position of the invalid information section of original output signal, get more easily the output sampled signal corresponding with input sample signal, this input sample signal and output sampled signal are all effective information sections, therefore, reduced the testing amount in system detects.

Optionally, when original input signal is that signal energy changes the signal of highly significant, described sampling unit 402 specifically for:

From described original input signal, obtain n characteristic point characteristic of correspondence and position respectively, described n is more than or equal to 2 integer, and described characteristic point is the point in described original input signal with notable feature;

From the 1st the characteristic point place moment of a described n characteristic point, in described original input signal, obtain input signal in Preset Time section as described input sample signal;

Accordingly, described acquiring unit 404 specifically for:

Judge and in described original output signal, whether have n the point with the relevant position of a described n characteristic point with individual features;

If there is n the point with the relevant position of a described n characteristic point with individual features in described original output signal,, from the 1st the some place moment of described n point, in described original output signal, obtain output signal in described Preset Time section as described output sampled signal.

So, because original input signal and original output signal are all divided into effective information section and invalid information section, system detecting device finds n the point with the relevant position of a described n characteristic point with individual features in original output signal, therefore, make in original output signal n the point with the relevant position of a described n characteristic point with individual features to align with a described n characteristic point, get more easily the output sampled signal corresponding with input sample signal, therefore, reduce the testing amount in system detects, simultaneously, the method does not change original input signal and original output signal, reduce the interference to original input signal and original output signal.

Optionally, when original input signal comprises effective section and invalid section, described sampling unit 402 specifically for:

From the effective information section of described original input signal, obtain n characteristic point characteristic of correspondence and position respectively, described n is more than or equal to 2 integer, and described characteristic point is the point in described original input signal with notable feature;

From the 1st the characteristic point place moment of a described n characteristic point, in described original input signal, obtain the effective information section of the input signal in Preset Time section as described input sample signal;

Accordingly, described acquiring unit 404 specifically for:

Judge in the effective information section of described original output signal and whether have n the point with the relevant position of a described n characteristic point with individual features;

If there is n the point with the relevant position of a described n characteristic point with individual features in the effective information section of described original output signal,, from the 1st the some place moment of described n point, in described original output signal, obtain the effective information section of the output signal in described Preset Time section as described output sampled signal.

So, because original input signal and original output signal are all divided into effective information section and invalid information section, system detecting device finds n the point with the relevant position of a described n characteristic point with individual features in original output signal, therefore, make in original output signal n the point with the relevant position of a described n characteristic point with individual features to align with a described n characteristic point, get more easily the output sampled signal corresponding with input sample signal, this input sample signal and output sampled signal are all effective information sections, therefore, reduce the testing amount in system detects, simultaneously, the method does not change original input signal and original output signal, reduce the interference of system testing process to original input signal and original output signal.

The embodiment of the present invention provides a kind of system detecting device 50, as shown in Figure 3, comprising:

Processor 501, for original input signal being inputted to coding/decoding system and described original input signal being sampled, obtain input sample signal, described coding/decoding system comprises many group codec unit, and described codec unit is for carrying out Code And Decode to described original input signal.

Described processor 501, also for for obtaining the original output signal after many groups codec unit encoding and decoding of described coding/decoding system, and according to described input sample signal, sample to described original output signal in the position in described original input signal, obtains output sampled signal.

Described processor 501, also, for calculating the correlation of described input sample signal and described output sampled signal, described correlation represents the degree of correlation of described output sampled signal and described input sample signal.

Described processor 501 specifically for:

Described input sample signal restoring is become to the input sample signal of Natural Sampling form;

Described output sampled signal is recovered to the output sampled signal of Natural Sampling form;

Calculate the described each group of correlation that codec unit is corresponding according to the output sampled signal of the described Natural Sampling form of the input sample signal of described Natural Sampling form and correspondence by relevance formula, the described relevance formula that described in every group, correlation P corresponding to codec unit meets is:

P = n &Sigma; i = 1 n x i y i - &Sigma; i = 1 n x i &Sigma; i = 1 n y i n &Sigma; i = 1 n x i 2 - ( &Sigma; i = 1 n x i ) 2 &CenterDot; n &Sigma; i = 1 n y i 2 - ( &Sigma; i = 1 n y i ) 2 ;

Wherein, described x idescribed input sample signal { signal value corresponding to i group codec unit in x}; Described y ithat { in y}, i organizes signal value corresponding to codec unit to described output sampled signal, and described n represents total n group codec unit in described coding/decoding system;

Obtain the correlation of correlation minimum in correlation corresponding to described each group of codec unit as described coding/decoding system.

Described processor 501, also for determining the quality of described coding/decoding system according to described correlation.

In embodiments of the present invention, owing to having obtained input sample signal after over-sampling, the input sample signal that takies less signalling path can be transmitted by management channels, and without taking service channel, even therefore also can carry out real-time mass of system in the traffic peaks phase detects, and the similarity of utilizing relevance algorithms to pay close attention between analytic target due to the embodiment of the present invention quantizes assessment, not directly related with bit stream data, therefore the present invention program is no matter for damaging coding/decoding system or lossless encoding/decoding system can be suitable for, finally, because the embodiment of the present invention calculates a corresponding correlation for each the encoding and decoding level in coding/decoding system, therefore when mass of system can be directly targeted in the encoding and decoding level of correlation minimum while being defective, thereby realize the real-time detection of mass of system.

Original input signal described in the present embodiment can be vision signal, picture signal, audio signal or other signals, does not limit herein.It is also different that described processor 501 obtains input sample signal according to the feature of original input signal.

Optionally, in the time that original input signal is the signal of signal energy marked change, described processor 501 specifically for:

In described original input signal, insert origin identification;

From the origin identification place moment described in described original input signal, obtain input signal in Preset Time section as described input sample signal;

Accordingly, described processor 501 also for:

Determine origin identification position described in described original output signal;

From the origin identification place moment described in described original output signal, obtain output signal in described Preset Time section as described output sampled signal.

So, system detecting device can, by origin identification in the position of original input signal with in the aligned in position of original output signal, get the output sampled signal corresponding with input sample signal more easily.

Optionally, in the time that original input signal can be divided into effective information section and invalid information section, described processor 501 specifically for:

In the default invalid information section of described original input signal, insert origin identification;

From the described origin identification place moment, in described original input signal, obtain the effective information section of the signal in Preset Time section as described input sample signal;

Accordingly, described processor 501 also for:

Determine origin identification position described in described original output signal;

From the described origin identification place moment, in described original output signal, obtain the effective information section of the output signal in described Preset Time section as described output sampled signal.

So, because original input signal and original output signal are all divided into effective information section and invalid information section, system detecting device can be by origin identification by the position of the invalid information section of original input signal with in the aligned in position of the invalid information section of original output signal, get more easily the output sampled signal corresponding with input sample signal, this input sample signal and output sampled signal are all effective information sections, therefore, reduced the testing amount in system detects.

Optionally, when original input signal is that signal energy changes the signal of highly significant, described processor 501 specifically for:

From described original input signal, obtain n characteristic point characteristic of correspondence and position respectively, described n is more than or equal to 2 integer, and described characteristic point is the point in described original input signal with notable feature;

From the 1st the characteristic point place moment of a described n characteristic point, in described original input signal, obtain input signal in Preset Time section as described input sample signal;

Accordingly, described processor 501 also for:

Judge and in described original output signal, whether have n the point with the relevant position of a described n characteristic point with individual features;

If there is n the point with the relevant position of a described n characteristic point with individual features in described original output signal,, from the 1st the some place moment of described n point, in described original output signal, obtain output signal in described Preset Time section as described output sampled signal.

So, because original input signal and original output signal are all divided into effective information section and invalid information section, system detecting device finds n the point with the relevant position of a described n characteristic point with individual features in original output signal, therefore, make in original output signal n the point with the relevant position of a described n characteristic point with individual features to align with a described n characteristic point, get more easily the output sampled signal corresponding with input sample signal, therefore, reduce the testing amount in system detects, simultaneously, the method does not change original input signal and original output signal, reduce the interference to original input signal and original output signal.

Optionally, in the time that original input signal can be divided into effective information section and invalid information section, described processor 501 specifically for:

From the effective information section of described original input signal, obtain n characteristic point characteristic of correspondence and position respectively, described n is more than or equal to 2 integer, and described characteristic point is the point in described original input signal with notable feature;

From the 1st the characteristic point place moment of a described n characteristic point, in described original input signal, obtain the effective information section of the input signal in Preset Time section as described input sample signal;

Accordingly, described processor 501 also for:

Judge in the effective information section of described original output signal and whether have n the point with the relevant position of a described n characteristic point with individual features;

If there is n the point with the relevant position of a described n characteristic point with individual features in the effective information section of described original output signal,, from the 1st the some place moment of described n point, in described original output signal, obtain the effective information section of the output signal in described Preset Time section as described output sampled signal.

So, because original input signal and original output signal are all divided into effective information section and invalid information section, system detecting device finds n the point with the relevant position of a described n characteristic point with individual features in original output signal, therefore, make in original output signal n the point with the relevant position of a described n characteristic point with individual features to align with a described n characteristic point, get more easily the output sampled signal corresponding with input sample signal, this input sample signal and output sampled signal are all effective information sections, therefore, reduce the testing amount in system detects, simultaneously, the method does not change original input signal and original output signal, reduce the interference of system testing process to original input signal and original output signal.

One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in a computer read/write memory medium, this program, in the time carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.

The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (12)

1. a system detecting method, is characterized in that, comprising:
Original input signal inputted to coding/decoding system and described original input signal is sampled, obtaining input sample signal, described coding/decoding system comprises many group codec unit, and described codec unit is for carrying out Code And Decode to described original input signal;
Obtain the original output signal after the many groups codec unit encoding and decoding in described coding/decoding system, and sample to described original output signal in the position in described original input signal according to described input sample signal, obtains output sampled signal;
Calculate the correlation of described input sample signal and described output sampled signal, described correlation represents the degree of correlation of described output sampled signal and described input sample signal;
Determine the quality of described coding/decoding system according to described correlation.
2. system detecting method according to claim 1, is characterized in that, described described original input signal is sampled, and obtains input sample signal, comprising:
In described original input signal, insert origin identification;
From the origin identification place moment described in described original input signal, obtain input signal in Preset Time section as described input sample signal;
Accordingly, described according to described input sample signal the position in described original input signal described original output signal is sampled, obtain output sampled signal, comprising:
Determine origin identification position described in described original output signal;
From the origin identification place moment described in described original output signal, obtain output signal in described Preset Time section as described output sampled signal.
3. system detecting method according to claim 1, is characterized in that, described described original input signal is sampled, and obtains input sample signal, comprising:
In the time that described original input signal includes effective information section and invalid information section, in the default invalid information section of described original input signal, insert origin identification;
From the described origin identification place moment, in described original input signal, obtain the effective information section of the signal in Preset Time section as described input sample signal;
Accordingly, described according to described input sample signal the position in described original input signal described original output signal is sampled, obtain output sampled signal, comprising:
Determine origin identification position described in described original output signal;
From the described origin identification place moment, in described original output signal, obtain the effective information section of the output signal in described Preset Time section as described output sampled signal.
4. system detecting method according to claim 1, is characterized in that, described described original input signal is sampled, and obtains input sample signal, comprising:
From described original input signal, obtain n characteristic point characteristic of correspondence and position respectively, described n is more than or equal to 2 integer, and described characteristic point is the point in described original input signal with notable feature;
From the 1st the characteristic point place moment of a described n characteristic point, in described original input signal, obtain input signal in Preset Time section as described input sample signal;
Accordingly, described according to described input sample signal the position in described original input signal described original output signal is sampled, obtain output sampled signal, comprising:
Judge and in described original output signal, whether have n the point with the relevant position of a described n characteristic point with individual features;
If there is n the point with the relevant position of a described n characteristic point with individual features in described original output signal,, from the 1st the some place moment of described n point, in described original output signal, obtain output signal in described Preset Time section as described output sampled signal.
5. system detecting method according to claim 1, is characterized in that, described described original input signal is sampled, and obtains input sample signal, comprising:
In the time that described original input signal includes effective information section and invalid information section, from the effective information section of described original input signal, obtain n characteristic point characteristic of correspondence and position respectively, described n is more than or equal to 2 integer, and described characteristic point is the point in described original input signal with notable feature;
From the 1st the characteristic point place moment of a described n characteristic point, in described original input signal, obtain the effective information section of the input signal in Preset Time section as described input sample signal;
Accordingly, described according to described input sample signal the position in described original input signal described original output signal is sampled, obtain output sampled signal, comprising:
Judge in the effective information section of described original output signal and whether have n the point with the relevant position of a described n characteristic point with individual features;
If there is n the point with the relevant position of a described n characteristic point with individual features in the effective information section of described original output signal,, from the 1st the some place moment of described n point, in described original output signal, obtain the effective information section of the output signal in described Preset Time section as described output sampled signal.
6. according to the system detecting method described in claim 1 to 5 any one claim, it is characterized in that, the described correlation of calculating described coding/decoding system according to described input sample signal and described output sampled signal comprises:
Described input sample signal restoring is become to the input sample signal of Natural Sampling form;
Described output sampled signal is recovered to the output sampled signal of Natural Sampling form;
Calculate the described each group of correlation that codec unit is corresponding according to the output sampled signal of the described Natural Sampling form of the input sample signal of described Natural Sampling form and correspondence by relevance formula, the described relevance formula that described in every group, correlation P corresponding to codec unit meets is:
P = n &Sigma; i = 1 n x i y i - &Sigma; i = 1 n x i &Sigma; i = 1 n y i n &Sigma; i = 1 n x i 2 - ( &Sigma; i = 1 n x i ) 2 &CenterDot; n &Sigma; i = 1 n y i 2 - ( &Sigma; i = 1 n y i ) 2 ;
Wherein, described x idescribed input sample signal { signal value corresponding to i group codec unit in x}; Described y ithat { in y}, i organizes signal value corresponding to codec unit to described output sampled signal, and described n represents total n group codec unit in described coding/decoding system;
Obtain the correlation of correlation minimum in correlation corresponding to described each group of codec unit as described coding/decoding system.
7. a system detecting device, is characterized in that, comprising:
Sampling unit, for original input signal being inputted to coding/decoding system and described original input signal being sampled, obtain input sample signal, described coding/decoding system comprises many group codec unit, and described codec unit is for carrying out Code And Decode to described original input signal;
Acquiring unit, for obtaining the original output signal after many groups codec unit encoding and decoding of described coding/decoding system, and according to described input sample signal, sample to described original output signal in the position in described original input signal, obtains output sampled signal;
Computing unit, for calculating the correlation of described input sample signal and described output sampled signal, described correlation represents the degree of correlation of described output sampled signal and described input sample signal;
Quality determining unit, for determining the quality of described coding/decoding system according to described correlation.
8. system detecting device according to claim 7, is characterized in that, described sampling unit specifically for:
In described original input signal, insert origin identification;
From the origin identification place moment described in described original input signal, obtain input signal in Preset Time section as described input sample signal;
Accordingly, described acquiring unit specifically for:
Determine origin identification position described in described original output signal;
From the origin identification place moment described in described original output signal, obtain output signal in described Preset Time section as described output sampled signal.
9. system detecting device according to claim 7, is characterized in that, described sampling unit specifically for:
In the time that described original input signal includes effective information section and invalid information section, in the default invalid information section of described original input signal, insert origin identification;
From the described origin identification place moment, in described original input signal, obtain the effective information section of the signal in Preset Time section as described input sample signal;
Accordingly, described acquiring unit specifically for:
Determine origin identification position described in described original output signal;
From the described origin identification place moment, in described original output signal, obtain the effective information section of the output signal in described Preset Time section as described output sampled signal.
10. system detecting device according to claim 7, is characterized in that, described sampling unit specifically for:
From described original input signal, obtain n characteristic point characteristic of correspondence and position respectively, described n is more than or equal to 2 integer, and described characteristic point is the point in described original input signal with notable feature;
From the 1st the characteristic point place moment of a described n characteristic point, in described original input signal, obtain input signal in Preset Time section as described input sample signal;
Accordingly, described acquiring unit specifically for:
Judge and in described original output signal, whether have n the point with the relevant position of a described n characteristic point with individual features;
If there is n the point with the relevant position of a described n characteristic point with individual features in described original output signal,, from the 1st the some place moment of described n point, in described original output signal, obtain output signal in described Preset Time section as described output sampled signal.
11. system detecting devices according to claim 7, is characterized in that, described sampling unit specifically for:
In the time that described original input signal includes effective information section and invalid information section, from the effective information section of described original input signal, obtain n characteristic point characteristic of correspondence and position respectively, described n is more than or equal to 2 integer, and described characteristic point is the point in described original input signal with notable feature;
From the 1st the characteristic point place moment of a described n characteristic point, in described original input signal, obtain the effective information section of the input signal in Preset Time section as described input sample signal;
Accordingly, described acquiring unit specifically for:
Judge in the effective information section of described original output signal and whether have n the point with the relevant position of a described n characteristic point with individual features;
If there is n the point with the relevant position of a described n characteristic point with individual features in the effective information section of described original output signal,, from the 1st the some place moment of described n point, in described original output signal, obtain the effective information section of the output signal in described Preset Time section as described output sampled signal.
12. according to the system detecting device described in claim 7 to 11 any one claim, it is characterized in that, described computing unit specifically for:
Described input sample signal restoring is become to the input sample signal of Natural Sampling form;
Described output sampled signal is recovered to the output sampled signal of Natural Sampling form;
Calculate the described each group of correlation that codec unit is corresponding according to the output sampled signal of the described Natural Sampling form of the input sample signal of described Natural Sampling form and correspondence by relevance formula, the described relevance formula that described in every group, correlation P corresponding to codec unit meets is:
P = n &Sigma; i = 1 n x i y i - &Sigma; i = 1 n x i &Sigma; i = 1 n y i n &Sigma; i = 1 n x i 2 - ( &Sigma; i = 1 n x i ) 2 &CenterDot; n &Sigma; i = 1 n y i 2 - ( &Sigma; i = 1 n y i ) 2 ;
Wherein, described x idescribed input sample signal { signal value corresponding to i group codec unit in x}; Described y ithat { in y}, i organizes signal value corresponding to codec unit to described output sampled signal, and described n represents total n group codec unit in described coding/decoding system;
Obtain the correlation of correlation minimum in correlation corresponding to described each group of codec unit as described coding/decoding system.
CN201410123974.9A 2014-03-28 2014-03-28 A kind of system detecting method and device CN103905277B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410123974.9A CN103905277B (en) 2014-03-28 2014-03-28 A kind of system detecting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410123974.9A CN103905277B (en) 2014-03-28 2014-03-28 A kind of system detecting method and device

Publications (2)

Publication Number Publication Date
CN103905277A true CN103905277A (en) 2014-07-02
CN103905277B CN103905277B (en) 2017-10-17

Family

ID=50996434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410123974.9A CN103905277B (en) 2014-03-28 2014-03-28 A kind of system detecting method and device

Country Status (1)

Country Link
CN (1) CN103905277B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1622639A (en) * 2004-12-13 2005-06-01 武汉大学 A method for testing signal-to-noise ratio of digital video coding-decoding system
US20070157274A1 (en) * 2005-12-23 2007-07-05 Hon Hai Precision Industry Co., Ltd. System and method for testing multimedia device
CN101089641A (en) * 2007-07-12 2007-12-19 北京中星微电子有限公司 Method system for implementing investigating audio-frequency equipment and audio-frequency equipment
CN101577705A (en) * 2008-05-08 2009-11-11 北京东华合创数码科技股份有限公司 Multi-core paralleled network traffic load balancing method and system
CN103155438A (en) * 2010-09-26 2013-06-12 Lg电子株式会社 Method and apparatus for efficient feedback in a wireless communication system that supports multiple antennas
CN103513226A (en) * 2012-06-15 2014-01-15 华为技术有限公司 Method and device for locating object

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1622639A (en) * 2004-12-13 2005-06-01 武汉大学 A method for testing signal-to-noise ratio of digital video coding-decoding system
US20070157274A1 (en) * 2005-12-23 2007-07-05 Hon Hai Precision Industry Co., Ltd. System and method for testing multimedia device
CN101089641A (en) * 2007-07-12 2007-12-19 北京中星微电子有限公司 Method system for implementing investigating audio-frequency equipment and audio-frequency equipment
CN101577705A (en) * 2008-05-08 2009-11-11 北京东华合创数码科技股份有限公司 Multi-core paralleled network traffic load balancing method and system
CN103155438A (en) * 2010-09-26 2013-06-12 Lg电子株式会社 Method and apparatus for efficient feedback in a wireless communication system that supports multiple antennas
CN103513226A (en) * 2012-06-15 2014-01-15 华为技术有限公司 Method and device for locating object

Also Published As

Publication number Publication date
CN103905277B (en) 2017-10-17

Similar Documents

Publication Publication Date Title
CN101305423B (en) Adaptive time/frequency-based audio encoding and decoding apparatuses and methods
CN1066879C (en) A method and an arrangement for frame detection quality estimation in the receiver of a radio communication system
US7768937B2 (en) Video quality assessment
CN1323532C (en) Method for error concealment apparatus
Martins et al. Feedback stabilization of uncertain systems in the presence of a direct link
CN107102220B (en) Recorder data processing method and processing device
CA1301339C (en) Parallel processing pitch detector
US20080215268A1 (en) Signal Outage Detection
KR20070011054A (en) Method and system for transmitting data based on two dimension barcode technology
CN101504710B (en) Method and equipment for security of intranet computer
CN100456638C (en) Treating method for sound frequency data and nondamage decoding method
CN103107815B (en) A kind of signal reconstruction method and apparatus
US20040013185A1 (en) Method and apparatus for identifying the encoding type of a central office codec
CN101512638B (en) Method and apparatus for encoding/decoding symbols carrying payload data for watermarking of an audio or video signal
CN100546381C (en) The color selection scheme that is used for digital video watermarking
CN1835591B (en) Method and apparatus for encoding and decoding symbols carrying payload data
Ren et al. AMR steganalysis based on the probability of same pulse position
EP2034737A3 (en) Coding and decoding apparatus
CN104090912A (en) Information pushing method and device
CN102460976B (en) For the method and apparatus of variable length code
CN101933086B (en) Method and apparatus for processing audio signal
US9953436B2 (en) Low delay low complexity lossless compression system
Miao et al. An approach of covert communication based on the adaptive steganography scheme on Voice over IP
CN1096619A (en) Intensity-stereo encoding in the transfer system and decoding
US20010007974A1 (en) Method and apparatus for eighth-rate random number generation for speech coders

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