The content of the invention
The purpose of the present invention is to overcome the deficiencies in the prior art, there is provided can switch transcription source in a kind of video calling
System and method, it can switch the transcription source that can not be recorded, and lift the Consumer's Experience of video calling, easy to operate, safely may be used
Lean on.
According to the technical scheme that the present invention is provided, the system that transcription source can be switched in the video calling, including video is logical
Words server and some video call terminals being connected with the video calling server;Connected on the video call terminal
There are some recording physical equipments, there are multiple recording channels, video calling between each recording physical equipment and video call terminal
A corresponding recording channel forms a transcription source between terminal and recording physical equipment, to cause video call terminal and one
Multiple is formed between recording physical equipment can carry out the transcription source of effective recording;
Pair current recording physical equipment being connected with video call terminal, detects the current recording source of current recording physical equipment,
If current recording source is abnormal, recording shape of the video call terminal according to remaining all transcription source of current recording physical equipment
State, one transcription source of selection carries out required recording as current recording source with the current recording source using selection.
The video calling server includes terminal AM access module, account management module and data service module, terminal
AM access module can receive the terminal logs in request of video call terminal, and account management module is connected with terminal AM access module, account number
Management module preserves the terminal account number and corresponding terminal logs in data for logging in video call terminal;Data service module is received
The video call data that video call terminal sends, and the data of required request can be sent to video call terminal.
The video call terminal includes that login module, video record sending module, audio recording sending module, video connect
Receive playing module, audio and receive playing module and transcription source abnormality detection and handover module;
Login module, can connect and sign in video calling server;Video record sending module, the video data that will be recorded sends
To video calling server, audio recording sending module sends to video calling server the voice data of recording, and video connects
The video data that playing module is received and plays the transmission of video calling server is received, audio receives playing module and receives and play sound
The video/audio that frequency telephony server sends;Transcription source abnormality detection and handover module, check whether current recording source is normal
Recording;If current recording source has abnormal, remaining transcription source in addition to current recording source is detected, and in the transcription source of detection
One transcription source of selection is used as current recording source.
The transcription source abnormality detection includes recording initialization module, abnormal recording detection module, recording with handover module
Source acquisition module, transcription source adaptation module and detection setup module.
A kind of method that transcription source can be switched in video calling, including video calling server and some with the video
The video call terminal of telephony server connection;Some recording physical equipments are connected with the video call terminal, each record
There are multiple recording channels between sound physical equipment and video call terminal, it is corresponding between video call terminal and recording physical equipment
One recording channel forms a transcription source, to enable that multiple is formed between video call terminal and a recording physical equipment to be entered
The transcription source of row effectively recording;
Pair current recording physical equipment being connected with video call terminal, detects the current recording source of current recording physical equipment,
If current recording source is abnormal, recording shape of the video call terminal according to remaining all transcription source of current recording physical equipment
State, one transcription source of selection carries out required recording as current recording source with the current recording source using selection.
The video calling server includes terminal AM access module, account management module and data service module, terminal
AM access module can receive the terminal logs in request of video call terminal, and account management module is connected with terminal AM access module, account number
Management module preserves the terminal account number and corresponding terminal logs in data for logging in video call terminal;Data service module is received
The video call data that video call terminal sends, and the data of required request can be sent to video call terminal.
The video call terminal includes that login module, video record sending module, audio recording sending module, video connect
Receive playing module, audio and receive playing module and transcription source abnormality detection and handover module;
Login module, can connect and sign in video calling server;Video record sending module, the video data that will be recorded sends
To video calling server, audio recording sending module sends to video calling server the voice data of recording, and video connects
The video data that playing module is received and plays the transmission of video calling server is received, audio receives playing module and receives and play sound
The video/audio that frequency telephony server sends;Transcription source abnormality detection and handover module, check whether current recording source is normal
Recording;If current recording source has abnormal, remaining transcription source in addition to current recording source is detected, and in the transcription source of detection
One transcription source of selection is used as current recording source.
Advantages of the present invention:Video call terminal is connected on video calling server, is connected with video call terminal
Recording physical equipment, pair current recording physical equipment being connected with video call terminal detects working as current recording physical equipment
Preceding transcription source, if current recording source is abnormal, remaining all transcription source of video call terminal according to current recording physical equipment
Recording state, one transcription source of selection carries out required recording as current recording source with the current recording source using selection,
So as to switch the transcription source that can not be recorded, the Consumer's Experience of video calling is lifted, it is easy to operate, it is safe and reliable.
Specific embodiment
With reference to specific drawings and Examples, the invention will be further described.
As shown in Figure 1:In order to be able to switch the transcription source of different recording, the Consumer's Experience of video calling, present invention bag are lifted
Include video calling server 101 and some video call terminals 111 being connected with the video calling server 101;It is described
Some recording physical equipments are connected with video call terminal 111, are had between each recording physical equipment and video call terminal 111
There are multiple recording channels, a corresponding recording channel forms a recording between video call terminal 111 and recording physical equipment
Source, to cause that multiple is formed between video call terminal 111 and a recording physical equipment can carry out the transcription source of effective recording;
Pair current recording physical equipment being connected with video call terminal 111, detects the current recording of current recording physical equipment
Source, if current recording source is abnormal, record of the video call terminal 111 according to remaining all transcription source of current recording physical equipment
Sound-like state, one transcription source of selection carries out required recording as current recording source with the current recording source using selection.
Specifically, video call terminal 111 can pass through the video call process needed for video calling server 101 is realized,
Video calling server 101 realizes the detailed process of the video calling of video call terminal 111 for those skilled in the art is ripe
Know, here is omitted.Recording physical equipment include microphone or the equipment with microphone, by physical equipment of recording be regarding
The necessary condition that frequency call terminal 111 is recorded, the number of physical equipment of generally, on video call terminal 111 recording
Amount can as needed carry out selection setting, and specially known to those skilled in the art, here is omitted.For being connected to
, there are multiple recording channels in the recording physical equipment on video call terminal 111, each recording channel correspondence video call terminal
The 111 a kind of forms for calling recording physical equipment, directly invoked recording physical equipment or other call the recording thing indirectly
The form of reason equipment, the concrete configuration relation between video call terminal 111 and recording physical equipment between multiple transcription sources is this skill
Known to the personnel of art field, here is omitted.
For the multiple transcription sources existed between recording physical equipment and video call terminal 111, one and only one recording
Source can drive recording physical equipment to be recorded, remaining transcription source conduct as current recording source by current recording source
Standby transcription source.When current recording source has abnormal, lead to not normally be recorded by physical equipment of recording, now,
Video call terminal 111 checks the recording state of standby transcription source, and the purpose for checking the recording state of standby transcription source is to avoid
Some standby transcription sources there is also abnormal conditions so that video call terminal 111 finds one and can carry out the standby of normal recording
Transcription source, so as to carry out required recording using the current recording source of selection, is carried out just as current recording source so as to can ensure that
Normal recording, the experience of lifting user video call.
Further, the video calling server 101 include terminal AM access module 102, account management module 103 and
Data service module 104, terminal AM access module 102 can receive the terminal logs in request of video call terminal 111, Account Administration mould
Block 103 is connected with terminal AM access module 102, account management module 103 preserve log in video call terminal 111 terminal account number with
And corresponding terminal logs in data;Data service module 104 receives the video call data that video call terminal 111 sends, and
The data of request needed for being sent to video call terminal 111.
In the embodiment of the present invention, terminal AM access module 102, account management module 103 and data service module 104 are specific
The course of work, and specific engagement process between video call terminal 111 is known to those skilled in the art, herein
Repeat no more.
Further, the video call terminal 111 includes login module 112, video record sending module 113, audio
Sending module 114, video reception playing module 115, audio is recorded to receive playing module 116 and transcription source abnormality detection and cut
Mold changing block 117;
Login module 112, can connect and sign in video calling server 101;Video record sending module 113, by regarding for recording
To video calling server 101, the voice data of recording is sent to video and led to frequency data is activation by audio recording sending module 114
Words server 101, video reception playing module 115 is received and plays the video data of the transmission of video calling server 101, audio
Receive the video/audio that playing module 116 is received and plays the transmission of voice-frequency telephony server 101;Transcription source abnormality detection with cut
Mold changing block 117, check current recording source whether normal recording;If current recording source has abnormal, detection removes current recording source
Remaining outer transcription source, and a transcription source is selected in the transcription source of detection as current recording source.
In the embodiment of the present invention, login module 112, video record sending module 113, audio recording sending module 114,
Specific work process is that here is omitted known to those skilled in the art.Video record sending module 113, audio recording
Sending module 114, it is connected with the data service module 104 in video calling server 101.
As shown in Fig. 2 the transcription source abnormality detection includes recording initialization module 201, abnormal record with handover module 117
Sound detection module 202, transcription source acquisition module 203, transcription source adaptation module 204 and detection setup module 205.
In the embodiment of the present invention, recording initialization module 201 has function of initializing, can detect whether recording is normal;It is different
Often recording detection module 202, mainly monitors whether current recording data are normal, and transcription source acquisition module 203 is mainly used in obtaining
The transcription source used of current recording physical equipment, transcription source adaptation module 204 is total from all transcription source He for obtaining, and excludes known
Abnormal transcription source, and select a suitable transcription source.Detection setup module 205 is mainly used in the abnormal recording inspection of user's modification
The configuration of survey.
According to the system in above-mentioned video calling, the method for obtaining that transcription source can be switched in video calling of the present invention, specifically
Ground:Including video calling server 101 and some video call terminals 111 being connected with the video calling server 101;
Some recording physical equipments are connected with the video call terminal 111, each record physical equipment and video call terminal 111
Between there are multiple recording channels, a corresponding recording channel forms one between video call terminal 111 and recording physical equipment
Transcription source, to cause that multiple is formed between video call terminal 111 and a recording physical equipment can carry out the recording of effective recording
Source;
Pair current recording physical equipment being connected with video call terminal 111, detects the current recording of current recording physical equipment
Source, if current recording source is abnormal, record of the video call terminal 111 according to remaining all transcription source of current recording physical equipment
Sound-like state, one transcription source of selection carries out required recording as current recording source with the current recording source using selection.
Specifically, specific matching relationship between video calling server 101 and video call terminal 111 etc. can join
According to above-mentioned explanation.Specific workflow is described in detail below.
As shown in figure 3, being the recording flow chart that is initialized of initialization module 201, specifically include:
Step 301, beginning;
Step 302, setting transcription source recording detection mark;
Step 303, removing have detected number of times;
Step 304, removing transcription source normally indicate;
Step 305, acquisition transcription source parameter, open transcription source;
Step 306, judge whether transcription source is opened successfully;It is to go to step 307;It is no, go to step 311;
Step 307, judge transcription source recording detection mark, if detection terminate;It is to go to step 310;It is no, go to step 308;
Step 308, the recording data of transcription source is obtained to buffering area;
Step 309, abnormal recording detection module is called, using recording data buffering area as parameter;Go to step 307;
Step 310, judge that transcription source normally indicates, whether current recording source can normal recording;It is to go to step 314;It is no, turn step
Rapid 311;
Step 311, call transcription source adaptation module, one different transcription source of selection as initialization transcription source parameter;
Step 312, the original transcription source of closing;
Step 313, judge whether that needs are exited;It is to go to step 314;It is no, go to step 302;
Step 314, end.
After the completion of initialization, it is necessary to the step of carrying out transcription source and detect, as shown in figure 4, specifically including following steps:
Step 401, beginning;
Step 402, reading recording data parameter buffer;
Number of times is detected the need in step 403, reading setting;
Step 404, judgement currently detected number of times, if more than or equal to need detection number of times.It is to go to step 408;It is no, turn step
Rapid 405;
Step 405, detect that number of times plus 1;
Step 406, judge recording data buffering area, if there are data to change.It is to go to step 407;It is no, go to step
410;
Step 407, set transcription source normally indicate, go to step 409;
Step 408, removing transcription source normally indicate;
Step 409, removing transcription source recording detection mark;
Step 410, end.
As shown in figure 5, be transcription source adaptation module 204 of the present invention according to the state of standby transcription source, it is determined that selection one
Standby transcription source specifically includes following steps as the process in current recording source:
Step 501, beginning;
Step 502, acquisition current recording source parameter;
Step 503, the transcription source list for obtaining terminal support;
Step 504, by known abnormal transcription source, from transcription source list delete;
Step 505, one transcription source of selection from available transcription source;
Step 506, the transcription source that will be chosen are used as current recording source parameter;
Step 507, end.
To detection setup module 205, specific working interface is referred to shown in Fig. 6, wherein, " 100 " in figure can be with
It is changed to other numerals.
As shown in fig. 7, for the brief flow that terminal abnormal transcription source of the invention detection is set is as follows:
Step 701, beginning;
Step 702, receive user and carry out the order that the detection of abnormal transcription source is set;
Step 703, the abnormal transcription source detection of display set interface, point out user to be operated;
Step 704, judge user whether perform setting operation.It is to go to step 705;It is no, go to step 707;
Step 705, judge set whether change.It is to go to step 706;It is no, go to step 707;
Step 706, the abnormal transcription source detection of preservation are set;
Step 707, hiding exception transcription source detection set interface;
Step 708, end.
Video call terminal of the present invention 111 is connected on video calling server 101, is connected on video call terminal 111
There is recording physical equipment, pair current recording physical equipment being connected with video call terminal 111 detects current recording physical equipment
Current recording source, if current recording source is abnormal, video call terminal 111 owns according to remaining of current recording physical equipment
The recording state of transcription source, one transcription source of selection is carried out required as current recording source with the current recording source using selection
Recording, so as to switch the transcription source that can not be recorded, lift the Consumer's Experience of video calling, it is easy to operate, it is safe and reliable.