Video telephone system and method for making video telephone
Technical Field
The invention relates to the technical field of communication, in particular to a method for automatically making a video call with a terminal in a conditional mode.
Background
With the development of communication, video telephony is more and more popular; there are many terminal devices capable of performing video telephony, such as common computers, mobile phones, smart televisions, television boxes, and the like.
For some special occasions or situations, such as the case of elderly people living alone, the elderly people living alone may not want to be disturbed; on the other hand, in case of an accident of the elderly living alone at home, children and children of the elderly living alone cannot timely learn the state of parents of the elderly living alone;
however, the existing terminals such as mobile phones can only communicate after the terminal user dials, and in case that the solitary old people lose mobility, the dangerous states of the solitary old people cannot be known by guardians or children in time.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provides a video telephone system and a method for making a video call. The technical scheme adopted by the invention is as follows:
a video telephony system comprising: a video telephony server and a video telephony terminal;
the video telephony server comprises:
the terminal access module is used for receiving a terminal login request;
the account management module is used for storing a terminal account and terminal login data;
the condition setting module is used for setting the function of actively dialing a video call by a terminal of an account and providing the user with condition setting;
the data service module receives data sent by each terminal and sends requested data to the terminal;
the video phone terminal includes:
the login module is used for logging in the video telephone server;
the video telephone module is used for carrying out video telephone;
the condition setting dialing module is used for automatically dialing the video telephone according to the condition setting;
the condition setting dialing module comprises the following sub-modules:
the terminal detection module is used for detecting whether the terminal has a human body induction function or not;
the human body sensing module is used for detecting whether human body activity information exists in a target range and recording transmission data;
a message receiving and sending module for receiving and sending messages with set conditions;
the condition dialing module is used for detecting whether the current state meets the condition setting or not and automatically dialing the specified account when the current state meets the condition setting;
and the condition setting module is used for setting conditions by a user.
A method for making video call is suitable for the video call system, and the core of the method is as follows: the user sets conditions according to needs; detecting whether the terminal has a human body induction function, and if so, starting a condition dialing module; whether the data of the human body induction module are met or not is judged by detecting the data of the human body induction module, and if the data are met, the terminal automatically makes a video call to the specified account.
Further, the air conditioner is provided with a fan,
the method for making the video call specifically comprises the following steps that the terminal makes the video call according to the set conditions:
step 401, start;
step 402, judging whether a human body induction function mark is set, if yes, turning to step 403; if not, go to step 410;
step 403, judging whether the login state is the login state, if so, turning to step 404; if not, go to step 410;
step 404, judging whether the terminal is in the video telephone, if yes, turning to step 403; if not, go to step 405;
the step has the function that when the user uses the terminal to perform the video call, the condition judgment is not needed to be performed and the video call is started;
step 405, reading condition settings;
step 406, reading data of the human body induction module;
step 407, judging whether the condition setting is met, if yes, turning to step 408; no go to step 403;
step 408, reading the designated dialing target account;
step 409, dialing a video call to a terminal of the target account; turning to step 403;
and step 410, ending.
Further, in the present invention,
the condition setting is that the human body sensing module detects that human body activity information exists in a target range within a set time.
Further, in the present invention,
before the terminal dials the video call according to the set condition, the method that the terminal logs in the server automatically is also included:
step 301, start;
step 302, clearing the human body induction function mark;
step 303, acquiring account information of the terminal;
step 304, obtaining server address information;
step 305, sending a login message to a server;
step 306, judging whether the login is successful, if so, turning to step 307; if not, go to step 312;
step 307, calling a terminal detection module to detect whether the terminal has a human body induction function;
step 308, judging whether the terminal has a human body induction function, if so, turning to step 309; if not, go to step 312;
step 309, initializing a human body induction module;
step 310, setting a human body induction function mark;
step 311, calling a condition dialing module to enter an execution state;
and step 312, ending.
Further, in the present invention,
the method for setting the dialing condition of the video telephone through the terminal comprises the following steps:
in step 601, the process starts,
step 602, receiving a command for setting a condition from a user;
step 603, displaying a condition setting interface and prompting a user to operate;
step 604, judging whether the user executes the condition setting operation, if yes, turning to step 605; if not, go to step 609;
step 605, judging whether the condition setting is changed, if so, turning to step 606; if not, go to step 609;
step 606, setting storage conditions according to the input of the user;
step 607, sending a message to the server to notify of a change in the condition setting;
step 608, calling a condition dialing module;
step 609, hiding the condition setting interface;
and step 610, ending.
Further, in the alternative, or in addition,
the method for setting the condition of video telephone dialing for one account number through a server comprises the following steps:
in step 701, the process begins with,
step 702, receiving a command of a user for setting conditions of an account;
step 703, judging whether the condition setting operation is allowed, if yes, turning to step 704; if not, go to step 709;
step 704, displaying a condition setting interface to prompt a user to operate;
step 705, judging whether the user executes the condition setting operation, if yes, turning to step 706; if not, go to step 710;
step 706, judging whether the condition setting is changed, if yes, turning to step 707; if not, go to step 710;
step 707, setting storage conditions according to the input of the user;
step 708, sending a message to the terminal to notify the change of the condition setting; the terminal receives the message of condition setting and makes corresponding condition setting; turning to step 710;
step 709, displaying an inoperable interface;
step 710, hiding a condition setting interface;
and step 711, ending.
The invention has the advantages that: according to the invention, when the condition is set, the terminal automatically dials the video telephone to the designated contact account, so that the dangerous state of the solitary old can be timely discovered by means of the video telephone system after the solitary old loses the action capability, and the occurrence of greater danger is prevented.
Drawings
FIG. 1 is a schematic diagram of the structure of the video telephone system according to the present invention.
Fig. 2 is a schematic structural diagram of a condition setting dialing module according to the present invention.
Fig. 3 is a flowchart of the terminal auto-login server according to the present invention.
FIG. 4 is a flow chart of the present invention for making video calls based on set conditions.
Fig. 5 is a schematic interface diagram of the terminal and the server for setting the dialing condition according to the present invention.
Fig. 6 is a flowchart of setting a dialing condition by a terminal according to the present invention.
Fig. 7 is a flowchart of setting the dialing condition by the server according to the present invention.
Detailed Description
The invention is further illustrated by the following specific figures and examples.
As shown in fig. 1, the video telephony system provided by the present invention includes: a video telephony server 101 and a video telephony terminal 111; in the invention, the server is specially used for a video telephone server, and the terminal is specially used for a video telephone terminal;
the video telephony server 101 includes:
a terminal access module 102, configured to receive a terminal login request;
the account management module 103 is used for storing a terminal account and terminal login data;
a condition setting module 104, configured to set a function of actively making a video call by a terminal of an account, and provide a user with condition setting;
a data service module 105, which receives data sent by each terminal and sends requested data to the terminal;
the video phone terminal 111 includes:
a login module 112 for logging in to the video telephony server;
a video telephony module 114 for performing video telephony;
a condition setting dialing module 113 for automatically dialing a video call according to the condition setting;
as shown in fig. 2, further, the condition setting dialing module 113 includes the following sub-modules:
a terminal detection module 201 for detecting whether the terminal has a human body induction function;
the human body induction module 202 is used for detecting whether human body activity information exists in a target range and recording transmission data;
a message receiving and transmitting module 203 for receiving and transmitting the message with the set condition;
the condition dialing module 204 is used for detecting whether the current state meets the condition setting or not, and automatically dialing the specified account when the current state meets the condition setting;
and a condition setting module 205 for the user to set conditions.
Based on the video telephone system, the invention provides a method for dialing a video telephone, which has the core idea that: the user sets conditions according to needs; detecting whether the terminal has a human body induction function, and if so, starting a condition dialing module; whether the data of the human body induction module are met or not is judged by detecting the data of the human body induction module, and if the data are met, the terminal automatically makes a video call to the specified account.
As shown in fig. 3, the method for the terminal to automatically log in the server includes the following processes:
step 301, start;
step 302, clearing the human body induction function mark;
step 303, acquiring account information of the terminal;
step 304, obtaining server address information;
step 305, sending a login message to a server;
step 306, judging whether the login is successful, if so, turning to step 307; if not, go to step 312;
step 307, calling a terminal detection module to detect whether the terminal has a human body induction function;
step 308, judging whether the terminal has a human body induction function, if so, turning to step 309; if not, go to step 312;
step 309, initializing a human body induction module;
step 310, setting a human body induction function mark;
step 311, calling a condition dialing module to enter an execution state;
and step 312, ending.
It should be noted that, under the condition of terminal networking, the terminal of the invention automatically logs in the server, so as to prevent the old people who lose mobility ability from being unable to log in the server;
as shown in fig. 4, the method for the terminal to make a video call according to the set conditions includes the following steps:
step 401, start;
step 402, judging whether a human body induction function mark is set, if yes, turning to step 403; if not, go to step 410;
step 403, judging whether the login state is the login state, if so, turning to step 404; if not, go to step 410;
step 404, judging whether the terminal is in the video telephone, if yes, turning to step 403; if not, go to step 405;
the step has the function that when the user uses the terminal to perform the video call, the condition judgment is not needed to be performed and the video call is started;
step 405, reading condition settings;
step 406, reading data of the human body induction module;
step 407, judging whether the condition setting is met, if yes, turning to step 408; no go to step 403;
step 408, reading the designated dialing target account;
step 409, dialing a video call to a terminal of the target account; turning to step 403;
and step 410, ending.
The condition setting can be that the human body induction module detects that human body activity information exists in a target range within a set time;
as shown in fig. 5, the present invention can perform condition setting for making a video call through a terminal or a server; in the condition setting interface of fig. 5, the setting time "20 hours" may be changed to other times according to the user's needs; the target account "lie four" in fig. 5 may also be modified to be a terminal account of another contact;
as shown in fig. 6, the method for setting the video call dialing condition through the terminal includes the following steps:
in step 601, the process starts,
step 602, receiving a command for setting a condition from a user;
step 603, displaying a condition setting interface and prompting a user to operate;
step 604, judging whether the user executes the condition setting operation, if yes, turning to step 605; if not, go to step 609;
step 605, judging whether the condition setting is changed, if so, turning to step 606; if not, go to step 609;
step 606, setting storage conditions according to the input of the user;
step 607, sending a message to the server to notify of a change in the condition setting;
step 608, calling a condition dialing module;
step 609, hiding the condition setting interface;
and step 610, ending.
Or as shown in fig. 7, the condition setting for making a video call to an account by a server includes the following steps:
in step 701, the process begins with,
step 702, receiving a command of a user for setting conditions of an account;
step 703, judging whether the condition setting operation is allowed, if yes, turning to step 704; if not, go to step 709;
step 704, displaying a condition setting interface to prompt a user to operate;
step 705, judging whether the user executes the condition setting operation, if yes, turning to step 706; if not, go to step 710;
step 706, judging whether the condition setting is changed, if yes, turning to step 707; if not, go to step 710;
step 707, setting storage conditions according to the input of the user;
step 708, sending a message to the terminal to notify the change of the condition setting; the terminal receives the message of condition setting and makes corresponding condition setting; turning to step 710;
step 709, displaying an inoperable interface;
step 710, hiding a condition setting interface;
and step 711, ending.