The method of video pictures is controlled in video call system and video calling
Technical field
The present invention relates to video communication field, the implementation method of video pictures is controlled in especially a kind of video calling.
Background technique
With the development of communication, video calling is more more and more universal.The terminal device for being able to carry out video calling has very much, such as
Common computer, mobile phone, smart television, TV box etc..Situation this for TV box, is required connect on TV,
It just can be carried out video calling.This point is very different with other terminal devices.
If TV is in standby, when TV box is sent a telegram here, the undesigned operation of user, it is possible to logical into video
Speech phase.At this moment user is not intended to progress visual telephone still can bring very even if user carries out remedial measure in time to user
Big inconvenience or even trouble.
When user video is conversed, direct closing television sometimes, and forget to close video calling.At this moment user can think closing
Video calling, actually other side can still see the picture of user side.At this moment user is hidden if there is being not intended to other side to see
It is without permission to also bring along very big safety problem.
Summary of the invention
It is an object of the present invention to overcome the shortcomings of the prior art and provide control video in a kind of video calling to draw
The method in face, closing television, can also be with without closing video calling when user is not intended to be operated into video calling, or only
The video pictures for controlling user side, to bring new convenience and better security mechanism to user.The technology that the present invention uses
Scheme is:
A kind of video call system, including video calling server and video call terminal;
The module that video calling server includes has: terminal AM access module, account management module, data service module;
Terminal AM access module receives terminal logging request;
Account management module saves the data that terminal account and terminal log in;
Data service module receives the data that each terminal is sent, and the data of request are sent to terminal;
The module that video call terminal includes has: login module, video record sending module, audio recording sending module,
Video reception playing module, audio receive playing module, call mode control module;
Login module, for logging on to video calling server;
Video record sending module is responsible for recording, sends video data;
Video reception playing module is responsible for reception, playing video data;
Audio recording sending module is responsible for recording, sends audio data;
Audio receives playing module, is responsible for reception, playing audio-fequency data;
Call mode control module controls the recording and broadcasting of video and audio according to the mode of tv state and setting;
The call mode control module includes following submodule:
Tv state detection module, for detecting whether TV is in display state;
Video record control module controls closing or opening for video record;
Audio recording control module controls closing or opening for audio recording;
Mode treatment module handles the switch of video record, audio recording according to tv state and mode setting;
Mode setting module, for user setting general mode or control model;General mode does not control audio and video
Mode;Control model include audio frequency and video all control model, only control video mode, only control audio mode;
Tv state monitors module, is used for recursive call tv state detection module and mode treatment module.
A kind of method that video pictures are controlled in video calling, suitable for above-mentioned video call system, including following steps
It is rapid:
Firstly, when video calling starts,
Step 302, tv state detection module is opened;
Step 303, open mode processing module;
Step 304, it opens tv state and monitors module;
Step 305, video call function is opened;
Then, it follows the steps below:
Step 601, start;
Step 602, the mode of setting is obtained;
Step 603, whether mode treatment module judgment model is general mode;It is to go to step 612, it is no, go to step 604;
Step 604, tv state is obtained;Tv state is monitored module by tv state and is passed over;
Step 605, mode treatment module judges whether tv state is display state;It is to go to step 612, it is no, it goes to step
606;
Step 606, mode treatment module judges whether to control video according to mode;It is to go to step 607, it is no, it goes to step
608;
Step 607, video record is closed by video record control module, goes to step 609;
Step 608, video record is opened by video record control module;
Step 609, mode treatment module judges whether to control audio according to mode;It is to go to step 610, it is no, it goes to step
611;
Step 610, audio recording is closed by video record control module, goes to step 614;
Step 611, audio recording is opened by video record control module, goes to step 614;
Step 612, video record function is opened by video record control module;
Step 613, audio recording function is opened by video record control module;
Step 614, terminate.
Further, module is monitored by tv state and monitors tv state, comprising the following steps:
Step 501, start;
Step 502, judge whether video calling terminates;It is to go to step 506;It is no, go to step 503;
Step 503, tv state detection module is called, detection TV is in display state or non-display state;
Step 504, judge that TV shows whether state is changed;It is to go to step 505;It is no, go to step 2;
Step 505, invocation pattern processing module;Go to step 502;
Step 506, stop tv state and monitor module;
Step 507, stop mode processing module;
Step 508, terminate.
Further, mode setting is carried out by mode setting module, comprising the following steps:
Step 801, start;
Step 802, the order that user carries out mode setting is received;
Step 803, it shows set interface, user is prompted to operate;
Step 804, judge whether execution pattern setting operates user;It is to go to step 805;It is no, go to step 808;
Step 805, whether judgment model setting changes;It is to go to step 806, it is no, go to step 808;
Step 806, the mode of user setting is saved;
Step 807, invocation pattern processing module, according to the mode treatment of setting;
Step 808, set interface is hidden;
Step 809, terminate.
The present invention has the advantages that
Traditional video call system, when user video is conversed, direct closing television sometimes, and forget to close video logical
Words.At this moment user, which can think, closes video calling, and actually other side can still see the picture of user side.If at this moment user
There is the privacy behavior for being not intended to other side to see, also brings along very big safety problem.
And method provided by the invention, when user is not intended to be operated into video calling, or only closing television without
Video calling is closed, also can control the video pictures of user side, to bring new convenience and better safe machine to user
System.
Detailed description of the invention
Fig. 1 is each module relationship schematic diagram of video call system of the invention.
Fig. 2 is the submodule schematic diagram of call mode control module of the invention.
Fig. 3 is the brief flow diagram that video calling of the invention starts.
Fig. 4 is the brief flow diagram that video calling of the invention terminates.
Fig. 5 is the brief flow diagram of monitoring tv state of the invention.
Fig. 6 is the brief flow diagram of the mode treatment of video calling of the invention.
Fig. 7 is the interface schematic diagram of mode setting of the invention.
Fig. 8 is the brief flow diagram of mode setting of the invention.
Specific embodiment
Below with reference to specific drawings and examples, the invention will be further described.
As shown in Figure 1, the present invention provides a kind of video call system, including video calling server 101 and video calling
Terminal 111;Wherein, video call terminal can have multiple;
The module that video calling server 101 includes has: terminal AM access module 102, account management module 103, data clothes
Business module 104;
Terminal AM access module 102 receives terminal logging request;
Account management module 103 saves the data that terminal account and terminal log in;
Data service module 104 receives the data that each terminal is sent, and the data of request are sent to terminal;
Terminal in the present invention refers to video call terminal;
The module that video call terminal 111 includes has: login module 112, video record sending module 113, audio recording
Sending module 114, video reception playing module 115, audio receive playing module 116, call mode control module 117;
Login module 112, for logging on to video calling server;
Video record sending module 113 is responsible for recording, sends video data;
Video reception playing module 115 is responsible for reception, playing video data;
Audio recording sending module 114 is responsible for recording, sends audio data;
Audio receives playing module 116, is responsible for reception, playing audio-fequency data;
Call mode control module 117 controls the recording of video and audio and broadcasts according to the mode of tv state and setting
It puts;
As shown in Fig. 2, call mode control module 117 includes following submodule:
Tv state detection module 201, for detecting whether TV is in display state;
Video record control module 202 controls closing or opening for video record;
Audio recording control module 203 controls closing or opening for audio recording;
Mode treatment module 204 handles the switch of video record, audio recording according to tv state and mode setting;
Mode setting module 205, for user setting general mode or control model;General mode does not control audio and view
Frequency mode;Control model include audio frequency and video all control model, only control video mode, only control audio mode;
Tv state monitors module 206, is used for recursive call tv state detection module and mode treatment module;
As shown in figure 3, the brief process that video calling of the invention starts is as follows:
Step 301, start;
Step 302, tv state detection module is opened;
Step 303, open mode processing module;
Step 304, it opens tv state and monitors module;
Step 305, video call function is opened;
Step 306, terminate.
As shown in figure 4, the brief process that video calling of the invention terminates is as follows:
Step 401, start;
Step 402, stop tv state and monitor module;
Step 403, stop mode processing module;
Step 404, stop tv state detection module;
Step 405, terminate video call function;
Step 406, terminate.
As shown in figure 5, the brief process that tv state of the invention monitors module monitoring tv state is as follows:
Step 501, start;
Step 502, judge whether video calling terminates;It is to go to step 506;It is no, go to step 503;
Step 503, tv state detection module is called, detection TV is in display state or non-display state;
Step 504, judge that TV shows whether state is changed;It is to go to step 505;It is no, go to step 2;
Step 505, invocation pattern processing module;Go to step 502;
Step 506, stop tv state and monitor module;
Step 507, stop mode processing module;
Step 508, terminate.
As shown in fig. 6, in the present invention mode treatment module of core to the brief process of the mode treatment of video calling such as
Under:
Step 601, start;
Step 602, the mode of setting is obtained;
Step 603, whether mode treatment module judgment model is general mode;It is to go to step 612, it is no, go to step 604;
Step 604, tv state is obtained;Tv state is monitored module by tv state and is passed over;
Step 605, mode treatment module judges whether tv state is display state;It is to go to step 612, it is no, it goes to step
606;
Step 606, mode treatment module judges whether to control video according to mode;It is to go to step 607, it is no, it goes to step
608;
Step 607, video record is closed by video record control module, goes to step 609;
Step 608, video record is opened by video record control module;
Step 609, mode treatment module judges whether to control audio according to mode;It is to go to step 610, it is no, it goes to step
611;
Step 610, audio recording is closed by video record control module, goes to step 614;
Step 611, audio recording is opened by video record control module, goes to step 614;
Step 612, video record function is opened by video record control module;
Step 613, audio recording function is opened by video record control module;
Step 614, terminate.
As shown in fig. 7, the interface schematic diagram of the mode setting of invention is as follows:
It is seen from figure 7 that there are four types of control models altogether:
Audio frequency and video all controls;
Only control video;
Only control audio;
Do not control (i.e. general mode);
Circle (including black, white two kinds) in Fig. 7 indicates that one can only be selected in this four.Circle in Fig. 7 is black
Indicate currently selected, white expression is non-selected.
As shown in figure 8, the brief process of the mode setting of mode setting module is as follows:
Step 801, start;
Step 802, the order that user carries out mode setting is received;
Step 803, it shows set interface, user is prompted to operate;
Step 804, judge whether execution pattern setting operates user;It is to go to step 805;It is no, go to step 808;
Step 805, whether judgment model setting changes;It is to go to step 806, it is no, go to step 808;
Step 806, the mode of user setting is saved;
Step 807, invocation pattern processing module, according to the mode treatment of setting;
Step 808, set interface is hidden;
Step 809, terminate.