The method for controlling video pictures in video call system and video calling
Technical field
The present invention relates to controlling the implementation method of video pictures in video communication field, especially a kind of video calling.
Background technology
With the development of communication, video calling is increasingly popularized.The terminal device that video calling can be carried out has a lot, such as
Common computer, mobile phone, intelligent television, TV box etc..For this situation of TV box, required connect on TV,
Video calling can just be carried out.This point, is very different with other terminal devices.
If TV is in holding state, when TV box is sent a telegram here, the undesigned operation of user, it is possible to enter video and lead to
Speech phase.At this moment user is not intended to carry out visual telephone, even if user carries out remedial measure in time, still can bring very to user
Big inconvenient 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 are be not intended to that other side sees
It is to also bring along very big safety problem without permission.
Content of the invention
It is an object of the invention to overcoming the deficiencies in the prior art, there is provided in a kind of video calling, control video is drawn
The method in face, when user is not intended to be operated into video calling, or only closing television without close video calling, it is also possible to
The video pictures of control user side, so that bring new convenience and more preferable security mechanism to user.The technology that the present invention is adopted
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, receiving terminal logging request;
Account management module, preserves the data of terminal account and terminal logs in;
Data service module, receives the data that each terminal is sent, to the data that terminal sends request;
The module that video call terminal includes has:Login module, video record sending module, audio recording sending module, video
Playing module is received, audio frequency receives playing module, call mode control module;
Login module, for signing in 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 voice data;
Audio frequency receives playing module, is responsible for reception, playing audio-fequency data;
Call mode control module, according to tv state and the pattern for arranging, controls the recording and broadcasting of video and audio frequency;
Described call mode control module includes following submodule:
Whether tv state detection module, for detecting TV in dispaly state;
Video record control module, controls closing or the opening of video record;
Audio recording control module, controls closing or the opening of audio recording;
Mode treatment module, arranges according to tv state and pattern, processes video record, the switch of audio recording;
Pattern setup module, for user setup general mode or control model;General mode does not control Voice & Video pattern;
Control model includes audio frequency and video all control model, only control video mode, only control audio mode;
Tv state monitors module, for recursive call tv state detection module and mode treatment module.
A kind of method for controlling video pictures in video calling, it is adaptable to above-mentioned video call system, including following steps
Suddenly:
First, when video calling starts,
Step 302, opens tv state detection module;
Step 303, open mode processing module;
Step 304, opens tv state and monitors module;
Step 305, opens video call function;
Then, follow the steps below:
Step 601, starts;
Step 602, obtains the pattern for arranging;
Whether step 603, mode treatment module judgment model are general mode;It is to go to step 612, no, go to step 604;
Step 604, obtains tv state;Tv state is monitored module by tv state and is passed over;
Step 605, mode treatment module judge whether tv state is dispaly state;It is to go to step 612, no, go to step 606;
Step 606, mode treatment module judge whether to control video according to pattern;It is to go to step 607, no, go to step 608;
Step 607, closes video record by video record control module, goes to step 609;
Step 608, opens video record by video record control module;
Step 609, mode treatment module judge whether to control audio frequency according to pattern;It is to go to step 610, no, go to step 611;
Step 610, closes audio recording by video record control module, goes to step 614;
Step 611, opens audio recording by video record control module, goes to step 614;
Step 612, opens video record function by video record control module;
Step 613, opens audio recording function by video record control module;
Step 614, terminates.
Further, module is monitored by tv state and monitors tv state, comprised the following steps:
Step 501, starts;
Step 502, judges whether video calling terminates;It is to go to step 506;No, go to step 503;
Step 503, calls tv state detection module, and detection TV is in dispaly state or non-display state;
Step 504, judges whether TV dispaly state there occurs change;It is to go to step 505;No, go to step 2;
Step 505, invocation pattern processing module;Go to step 502;
Step 506, stops tv state and monitors module;
Step 507, stop mode processing module;
Step 508, terminates.
Further, row mode setting is entered by pattern setup module, is comprised the following steps:
Step 801, starts;
Step 802, receives the order that user enters row mode setting;
Step 803, shows and arranges interface, points out user to be operated;
Step 804, judges whether execution pattern arranges operation to user;It is to go to step 805;No, go to step 808;
Whether step 805, judgment model arrange and change;It is to go to step 806, no, go to step 808;
Step 806, preserves the pattern of user setup;
Step 807, invocation pattern processing module, according to the mode treatment for arranging;
Step 808, hides and arranges interface;
Step 809, terminates.
It is an advantage of the current invention that:
Traditional video call system, when user video is conversed, direct closing television sometimes, and forget to close video calling.This
When user can think and close video calling, actually other side can still see the picture of user side.At this moment user is not if there are
Wish the privacy behavior that other side sees, also bring along very big safety problem.
And the present invention provide method, when user is not intended to be operated into video calling, or only closing television without
Close video calling, it is also possible to control the video pictures of user side, so that new convenience and more preferable safe machine is brought to user
System.
Description of the drawings
Fig. 1 is each module relationship schematic diagram of the video call system of the present invention.
Fig. 2 is the submodule schematic diagram of the call mode control module of the present invention.
Fig. 3 is the brief schematic flow sheet that the video calling of the present invention starts.
Fig. 4 is the brief schematic flow sheet that the video calling of the present invention terminates.
Fig. 5 is the brief schematic flow sheet of the monitoring tv state of the present invention.
Fig. 6 is the brief schematic flow sheet of the mode treatment of the video calling of the present invention.
Fig. 7 is the interface schematic diagram that the pattern of the present invention is arranged.
Fig. 8 is the brief schematic flow sheet that the pattern of the present invention is arranged.
Specific embodiment
With reference to concrete 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, services mould
Block 104;
Terminal AM access module 102, receiving terminal logging request;
Account management module 103, preserves the data of terminal account and terminal logs in;
Data service module 104, receives the data that each terminal is sent, to the data that terminal sends request;
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 send
Module 114, video reception playing module 115, audio frequency receive playing module 116, call mode control module 117;
Login module 112, for signing in 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 voice data;
Audio frequency receives playing module 116, is responsible for reception, playing audio-fequency data;
Call mode control module 117, according to tv state and the pattern for arranging, controls the recording and broadcasting of video and audio frequency;
As shown in Fig. 2 call mode control module 117 includes following submodule:
Whether tv state detection module 201, for detecting TV in dispaly state;
Video record control module 202, controls closing or the opening of video record;
Audio recording control module 203, controls closing or the opening of audio recording;
Mode treatment module 204, arranges according to tv state and pattern, processes video record, the switch of audio recording;
Pattern setup module 205, for user setup general mode or control model;General mode does not control Voice & Video mould
Formula;Control model includes audio frequency and video all control model, only control video mode, only control audio mode;
Tv state monitors module 206, for recursive call tv state detection module and mode treatment module;
As shown in figure 3, the brief flow process that the video calling of the present invention starts is as follows:
Step 301, starts;
Step 302, opens tv state detection module;
Step 303, open mode processing module;
Step 304, opens tv state and monitors module;
Step 305, opens video call function;
Step 306, terminates.
As shown in figure 4, the brief flow process that the video calling of the present invention terminates is as follows:
Step 401, starts;
Step 402, stops tv state and monitors module;
Step 403, stop mode processing module;
Step 404, stops tv state detection module;
Step 405, terminates video call function;
Step 406, terminates.
As shown in figure 5, the brief flow process that the tv state of the present invention monitors module monitoring tv state is as follows:
Step 501, starts;
Step 502, judges whether video calling terminates;It is to go to step 506;No, go to step 503;
Step 503, calls tv state detection module, and detection TV is in dispaly state or non-display state;
Step 504, judges whether TV dispaly state there occurs change;It is to go to step 505;No, go to step 2;
Step 505, invocation pattern processing module;Go to step 502;
Step 506, stops tv state and monitors module;
Step 507, stop mode processing module;
Step 508, terminates.
As shown in fig. 6, in the present invention mode treatment module of core to the brief flow process of the mode treatment of video calling such as
Under:
Step 601, starts;
Step 602, obtains the pattern for arranging;
Whether step 603, mode treatment module judgment model are general mode;It is to go to step 612, no, go to step 604;
Step 604, obtains tv state;Tv state is monitored module by tv state and is passed over;
Step 605, mode treatment module judge whether tv state is dispaly state;It is to go to step 612, no, go to step 606;
Step 606, mode treatment module judge whether to control video according to pattern;It is to go to step 607, no, go to step 608;
Step 607, closes video record by video record control module, goes to step 609;
Step 608, opens video record by video record control module;
Step 609, mode treatment module judge whether to control audio frequency according to pattern;It is to go to step 610, no, go to step 611;
Step 610, closes audio recording by video record control module, goes to step 614;
Step 611, opens audio recording by video record control module, goes to step 614;
Step 612, opens video record function by video record control module;
Step 613, opens audio recording function by video record control module;
Step 614, terminates.
As shown in fig. 7, the interface schematic diagram that the pattern of invention is arranged is as follows:
It is seen from figure 7 that, have four kinds of control models:
Audio frequency and video is all controlled;
Video is only controlled;
Audio frequency is only controlled;
Do not control(That is general mode);
Circle in Fig. 7(Including black, white two kinds)Represent in this four, one can only be selected.Circle in Fig. 7, black expression
Currently selected, white expression is non-selected.
As shown in figure 8, the brief flow process that the pattern of pattern setup module is arranged is as follows:
Step 801, starts;
Step 802, receives the order that user enters row mode setting;
Step 803, shows and arranges interface, points out user to be operated;
Step 804, judges whether execution pattern arranges operation to user;It is to go to step 805;No, go to step 808;
Whether step 805, judgment model arrange and change;It is to go to step 806, no, go to step 808;
Step 806, preserves the pattern of user setup;
Step 807, invocation pattern processing module, according to the mode treatment for arranging;
Step 808, hides and arranges interface;
Step 809, terminates.