A kind of sound recording detecting system and method
Technical field
The present invention relates to communication technical field, relate in particular to a kind of sound recording detecting system and method.
Background technology
Usually the call center all needs seat is recorded, and listens voice or keeper that operator's service process is carried out the quality inspection operation to make things convenient for the operator to return.
In the way of recording of call center to seat, can adopt multiple mode to record, record as relay recording and subscribers feeder mode.Recording by sound card is exactly adopt the subscribers feeder mode a kind of, promptly adopts sound card on the seat machine, records talk between operator and the user by the recording module on the seat machine.
The structure of present recording system as shown in Figure 1, in Fig. 1, all there is special-purpose sound card to link to each other on the seat machine with the background queue machine, operator's earphone is inserted on the sound card, usually sound card has the mouth of two slotting earphones: one is to use (can listen also talkative) to the operator, and another is to use (can only listen) to the informateur.The mouth of auditing of sound card is connected by a connecting line with MIC (microphone) input port of sound card, the input port of the phonetic entry of sound card to sound card, by recording module sound card is recorded again.
The seat recording is recorded by sound card, and the sound card voice are imported by connecting line, and recording module is installed in the recording system, and recording module is recorded to sound card, and recording module uploads to voice on the file server after having recorded voice.
The shortcoming that the prior art exists is: when the sound card connecting line does not connect or do not connect, and operator or administrative staff do not know yet, can cause the voice recorded not record go up or, cause the operator to return and listen voice or keeper to have no idea operator's service process is carried out quality inspection for empty.
Whether whether therefore, it is successful to need a kind of method can detect recording operation, promptly detect the recording connecting line and connect in Recording Process.
Summary of the invention
In view of above-mentioned existing in prior technology problem, the purpose of this invention is to provide a kind of sound recording detecting system and method, one checkout gear is installed in the seat computer to link to each other with recording system, when recording system is recorded, whether this checkout gear is used to detect Recording Process phonetic entry, if there is not phonetic entry, then checkout gear gives a warning and points out customer inspection sound input connecting line, avoids recording empty voice document.
The objective of the invention is to be achieved through the following technical solutions:
The invention provides a kind of sound recording detecting system, this sound recording detecting system comprises a checkout gear, this checkout gear links to each other with recording system, described recording system comprises: sound card, sound card and recording module, wherein sound card is connected with sound card by the recording connecting line, and this connecting line arrives sound card to the phonetic entry of sound card; Recording module links to each other with sound card, is used for sound card is recorded; Described checkout gear links to each other with sound card, and whether be used for detecting the Recording Process sound card has phonetic entry, and sends the false alarm prompting when detecting no phonetic entry.
The present invention also provides a recording detecting method, and it comprises:
A, carry out the detection of audio-frequency information;
B, detected audio-frequency information is carried out sampling analysis, and relatively judged whether phonetic entry according to sampled value absolute value and certain threshold level, if the absolute value of described sampled value is always within the certain threshold level scope, then can determine not have in the sampling time phonetic entry, do not have phonetic entry within the appointed time, the connecting line of then can determining to record is unusual, is given a warning by checkout gear, the prompting connecting line is unusual, no phonetic entry.
Described steps A specifically comprises:
A1, carry out detecting operation, and continue to detect a stipulated time in when beginning recording.
Described steps A specifically comprises:
A2, checkout gear are in Recording Process, and every certain interval of time carries out one-time detection.
Described audio-frequency information is a pulse-code modulation PCM form, 44100 samplings of per second, monophony, 16 data.
Described step B also comprises:
If described sampled value absolute value has exceeded described certain threshold level scope, then can determine has phonetic entry within this sampling time, and the recording connecting line connects normal.
As seen from the above technical solution provided by the invention, the present invention has realized whether regularly detecting sound card has phonetic entry in the recording system Recording Process, has both judged that whether the recording connecting line connects normally, has avoided recording empty voice document.
Description of drawings
Fig. 1 is a prior art recording device schematic diagram;
Fig. 2 is a recording device schematic diagram of the present invention;
Fig. 3 is a recording detecting method operation process chart of the present invention.
Embodiment
Core concept of the present invention is a checkout gear to be installed link to each other with recording system in the seat computer, when recording system is recorded, whether this checkout gear is used for detecting Recording Process phonetic entry, if there is not phonetic entry, then checkout gear sounds a warning and points out customer inspection sound input connecting line, avoids recording empty voice document.
Recording system comprises described in the present invention: sound card, sound card, recording module.
The invention provides a kind of sound recording detecting system, comprise a recording system and checkout gear 23 with reference to this sound recording detecting system shown in Figure 2, this recording system comprises sound card 20, sound card 21, recording module 22.Wherein sound card 20 is used for linking to each other with the background queue machine, and this sound card 20 has the socket of two slotting earphones, and a socket is used for inserting operator's earphone, can receive voice and also can send voice, and another socket is used for the informateur to be used, and can only receive voice; Be connected by connecting line between sound card 20 and the sound card 21, an end of this connecting line inserts the mouth of auditing of sound card 20, and the other end inserts the MIC input port of sound card 21, and this connecting line is used for the phonetic entry of sound card 20 is arrived the input port of sound card 21; Recording module 22 links to each other with sound card 21, is used for sound card 21 is recorded, and the voice of having recorded are uploaded on the file server (not shown); Checkout gear 23 links to each other with sound card 21, and whether the input port that is used for detecting Recording Process sound card 21 has phonetic entry, and when not having phonetic entry, this checkout gear 23 sends the false alarm prompting.
The present invention also provides a kind of recording detecting method, and with reference to shown in Figure 3, this recording detecting method comprises:
Step 10: checkout gear begins to detect the input of voice;
Checkout gear begins detecting operation when the recording beginning, but one stipulated time of continuous detecting, it is 10 seconds that present embodiment is set this detection time, and every certain interval of time carries out one-time detection in Recording Process, and its time interval can be set as required.
Step 11: the waveln series A PI (application programming interfaces) that calls Win32;
This detection method is moved in the waveln of Win32 series A PI environment.
Step 12: sampled audio information;
Checkout gear is from sound card input equipment sampled audio information, the form of this audio-frequency information is PCM (pulse-code modulation) form, 44100 samplings of per second, monophony, 16 data, setting buffer length is 1 second, and then the application program per second can obtain the buffering area of 88200 bytes, and the inside is the result of this audio input device sampling in second.
Step 13: the sampled value analysis, judge that whether the audio sample value absolute value is greater than certain threshold value;
Whether the absolute value of sampled value of judging in the buffering area 44100 16 is greater than certain threshold value, and this threshold value can be set as required, and it is 500 that present embodiment is set this threshold value;
Step 14: if the absolute value of above-mentioned sampled value is always within threshold range, then can determine does not have phonetic entry in this 1 second, for the absolute value of avoiding the relatively quiet or sampled value that other situations cause of sound within threshold range, continued to detect 10 seconds, if all there is not phonetic entry within 10 seconds, then can determine not have phonetic entry, checkout gear gives a warning, point out no phonetic entry, it is unusual to judge that connecting line connects.
Step 15: if above-mentioned sampled value has exceeded threshold range, then can determine has phonetic entry within this second, and connecting line connects normal, can continue recording operation.
In sum, the present invention has realized whether regularly detecting sound card has phonetic entry in the recording system Recording Process, has both judged that whether the recording connecting line connects normally, has avoided recording empty voice document.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.