CN108259807B - Communication method, mobile terminal and computer readable storage medium - Google Patents

Communication method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN108259807B
CN108259807B CN201810089312.2A CN201810089312A CN108259807B CN 108259807 B CN108259807 B CN 108259807B CN 201810089312 A CN201810089312 A CN 201810089312A CN 108259807 B CN108259807 B CN 108259807B
Authority
CN
China
Prior art keywords
communication
video
video data
terminal
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810089312.2A
Other languages
Chinese (zh)
Other versions
CN108259807A (en
Inventor
李祥祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810089312.2A priority Critical patent/CN108259807B/en
Publication of CN108259807A publication Critical patent/CN108259807A/en
Application granted granted Critical
Publication of CN108259807B publication Critical patent/CN108259807B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a communication method, a mobile terminal and a computer readable storage medium, wherein the method comprises the following steps: when video communication is initiated, if the communication opposite terminal is determined to be a preset user, starting a camera and sending first video data shot by the camera to the communication opposite terminal in real time; in the video communication process, if the time that the first video data continuously do not contain the images of the local end user is detected to reach a first preset time length, the first video data is stopped being sent to the communication opposite end. The invention can improve the safety and privacy protection of user video communication and improve the user video communication experience.

Description

Communication method, mobile terminal and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a communication method, a mobile terminal, and a computer-readable storage medium.
Background
With the continuous development of mobile communication technology, mobile terminals such as mobile phones and tablet computers have been playing a very important role in people's daily life. Nowadays, through mobile terminal, people can carry out real-time video communication anytime and anywhere, have alleviateed people and have communicated the cost.
With the development of society, people pay more and more attention to personal privacy security. Although the existing video communication function can meet the video communication requirements of people, the video communication safety and privacy protection still have obvious loss, so that the user privacy cannot be effectively protected in the video communication, and the safety of the video communication is ensured.
Disclosure of Invention
The invention provides a communication method, a mobile terminal and a computer readable storage medium, which are used for solving the problem that the prior art cannot effectively protect the privacy of a user and ensure the safety of video communication in the video communication.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a communication method, where the method includes:
when video communication is initiated, if the communication opposite terminal is determined to be a preset user, starting a camera and sending first video data shot by the camera to the communication opposite terminal in real time;
in the video communication process, if the time that the first video data continuously do not contain the images of the local end user is detected to reach a first preset time length, the first video data is stopped being sent to the communication opposite end.
In a second aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes:
the first processing module is used for starting the camera and sending first video data shot by the camera to the communication opposite terminal in real time if the communication opposite terminal is determined to be a preset user when video communication is initiated;
and the second processing module is used for stopping sending the first video data to the opposite communication terminal if the time that the image of the local terminal is continuously not contained in the first video data reaches a first preset time length in the video communication process.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a computer program stored in the memory and executable on the processor, where the computer program implements the steps of the communication method when executed by the processor.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the communication method are implemented.
In the embodiment of the invention, when video communication is initiated, if the opposite communication terminal is determined to be a preset user, a camera is started and first video data shot by the camera is sent to the opposite communication terminal in real time; in the video communication process, if the time that the first video data continuously do not contain the images of the local terminal user is detected to reach the first preset time, the first video data is stopped being sent to the communication opposite terminal, the safety and privacy protection of the video communication of the user can be improved, and the video communication experience of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic flow chart illustrating a communication method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 3 is a second schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flow chart of a communication method according to an embodiment of the invention is shown.
The embodiment of the invention provides a communication method, which comprises the following steps:
step 101, when video communication is initiated, if the communication opposite end is determined to be a preset user, starting a camera and sending first video data shot by the camera to the communication opposite end in real time.
In this step, when the local terminal user initiates video communication to the communication opposite terminal, the opposite terminal user of the communication opposite terminal is verified and confirmed, and when the communication opposite terminal is determined to be a preset user, the camera is started to capture first video data and send the first video data to the communication opposite terminal in real time to perform video communication. The video communication is carried out after the communication opposite end is determined to be the preset user through the authentication of the communication opposite end, so that the safety of the video communication of the user can be improved.
Step 102, in the video communication process, if it is detected that the time that the image of the local end user is not continuously included in the first video data reaches a first preset time, the first video data is stopped being sent to the opposite communication end.
In this step, in the video communication process between the home terminal and the communication opposite terminal, if the home terminal detects that the time for continuously not including the image of the home terminal user in the first video data captured by the camera reaches a first preset time length, that is, the home terminal user is not in the capture range of the camera, it indicates that the home terminal user is currently in a leaving state, and in order to protect the privacy of the home terminal user, the transmission of the first video data to the communication opposite terminal is stopped, so that the user privacy protection in the video communication process can be enhanced, and the safety of the user privacy is ensured.
In the embodiment of the invention, when video communication is initiated, if the opposite communication terminal is determined to be a preset user, a camera is started and first video data shot by the camera is sent to the opposite communication terminal in real time; in the video communication process, if the time that the first video data continuously do not contain the images of the local terminal user is detected to reach the first preset time, the first video data is stopped being sent to the communication opposite terminal, the safety and privacy protection of the video communication of the user can be improved, and the video communication experience of the user is improved.
In a preferred embodiment of the present invention, in step 102, in the video communication process, if it is detected that the time during which the first video data does not include the image of the local end user reaches a first predetermined time duration, the step of stopping sending the first video data to the opposite communication end may further include the following steps: and sending the first preset file data to the communication opposite terminal while stopping sending the first video data to the communication opposite terminal.
In the embodiment of the invention, in the video communication process, when a local user is currently in a leaving state and stops sending first video data to a communication opposite end, in order to improve the interest of the communication opposite end in the waiting process and avoid the video interface of the communication opposite end from being too single, the local user sends first preset file data to the communication opposite end while stopping sending the first video data to the communication opposite end, so that the communication opposite end plays the first preset file data, wherein the first preset file data is preset file data, and the first preset file data can be pictures or videos.
In addition, in a preferred embodiment of the present invention, in step 102, in the video communication process, if it is detected that the time during which the image of the local end user is not continuously included in the first video data reaches a first predetermined time period, the step of stopping sending the first video data to the opposite communication end may further include the following steps: and stopping sending the first video data to the communication opposite terminal, stopping playing the second video data sent by the communication opposite terminal, and playing the first preset file data. If the local user is in a leaving state in the video communication process, the local stops sending the first video data to the communication opposite end, simultaneously stops playing the second video data sent by the communication opposite end, and plays the first preset file data, so that the privacy and the safety of the communication opposite end are protected, and the video interface of the local is prevented from being too single.
In addition, in a preferred embodiment of the present invention, in step 102, during the video communication, after the step of stopping sending the first video data to the opposite communication terminal if it is detected that the time during which the image of the local terminal is not continuously included in the first video data reaches the first predetermined time period, the method may further include the following steps: and if the first video data is detected to contain the image of the user at the home terminal again, sending prompt information returned again by the user to the communication opposite terminal. In the embodiment of the invention, after the time that the first video data does not contain the image of the home terminal in the persistence is detected to reach the first preset time, if the first video data contains the image of the home terminal again, the home terminal user returns to the shooting range of the camera, and at the moment, the prompt message returned again by the user is sent to the opposite communication terminal to remind the opposite communication terminal to continue to carry out communication video, so that the video communication smoothness of both communication sides can be improved, and the communication waiting time is reduced.
In addition, in a preferred embodiment of the present invention, in step 101, after the step of starting the camera and sending the first video data captured by the camera to the correspondent node in real time if it is determined that the correspondent node is the preset user, the method may further include the following steps: in the video communication process, if the time that the second video data sent by the communication opposite terminal continuously does not contain the opposite terminal user image is detected to reach a second preset time, the first video data is stopped being sent to the communication opposite terminal.
In the embodiment of the invention, in the video communication process, if the time that the second video data sent by the communication opposite terminal continuously does not contain the image of the opposite terminal user is detected to reach the second preset time length, the communication opposite terminal is in the leaving state at present, and the first video data is stopped being sent to the communication opposite terminal for protecting the privacy of the local terminal user, so that the user privacy protection in the video communication process can be enhanced, and the safety of the user privacy is ensured.
Further, in the video communication process, if it is detected that the time during which the image of the peer user is not continuously included in the second video data sent by the communication peer reaches a second predetermined time, the step of stopping sending the first video data to the communication peer may further include the following steps: and if the fact that the time that the second video data sent by the communication opposite terminal continuously does not contain the opposite terminal user image reaches a second preset time length is detected, sending the second preset file data to the communication opposite terminal. In the embodiment of the invention, if the communication opposite end is in a leaving state in the video communication process, the second preset file data is sent to the communication opposite end while the first video data is stopped being sent to the communication opposite end, so that the video interface of the communication opposite end is prevented from being too single, and the interestingness in the video communication process can be increased. In the embodiment of the present invention, the second preset file data is preset file data, and the second preset file data may be a picture or a video.
Further, in a preferred embodiment, after the step of stopping sending the first video data to the correspondent node if it is detected that the time during which the image of the correspondent node is not continuously included in the second video data sent by the correspondent node reaches a second predetermined time period, the method may further include: and if the second video data is detected to contain the image of the opposite-end user again, sending out prompt information returned by the opposite-end user again.
In addition, in a preferred embodiment of the present invention, in step 101, after the step of starting the camera and sending the first video data captured by the camera to the correspondent node in real time if it is determined that the correspondent node is the preset user, the method may further include the following steps: and if the first video data continuously does not contain the local user image and the second video data sent by the communication opposite terminal continuously does not contain the opposite terminal user image within the third preset time, closing the video communication with the communication opposite terminal.
In the embodiment of the invention, in the video communication process, if it is detected that the first video data does not continuously contain the image of the local end user within the third preset time, and the second video data sent by the opposite communication end does not continuously contain the image of the opposite end user, the two communication ends are in the leaving state, at this time, the video communication with the opposite communication end is closed, so that the privacy safety of the two communication ends is protected, meanwhile, the communication data transmission resource can be saved, and the power consumption is reduced.
In addition, in order to avoid that video communication is affected by the occurrence of some preset events in the video communication process, in a preferred embodiment of the present invention, in step 101, if it is determined that the opposite communication terminal is a preset user, after the step of starting the camera and sending the first video data captured by the camera to the opposite communication terminal in real time, the method may further include the following steps: and in the video communication process, if the occurrence of the preset event is detected, the operation corresponding to the preset event is forbidden to be executed.
In the embodiment of the invention, in the video communication process, if the occurrence of the preset event is detected, and the video communication is prevented from being influenced by the occurrence of the preset event, the operation corresponding to the preset event is forbidden to be executed. For example, the preset event may include, but is not limited to, an incoming call event and a short message event.
Further, in the embodiment of the present invention, in the video communication process, if the occurrence of the preset event is detected, the step of prohibiting the execution of the operation corresponding to the preset event may further include: and displaying prompt information related to the preset event on a video interface while prohibiting the execution of the operation corresponding to the preset event. In the embodiment of the invention, the operation corresponding to the preset event is forbidden to be executed, the video communication is prevented from being influenced by the preset event, and meanwhile, the prompt information related to the preset event is displayed on the local video interface so as to prompt the user, so that the user can know the occurrence of the preset event conveniently.
In addition, in order to increase the interest in the video communication of the user, in a preferred embodiment of the present invention, in step 101, after the step of starting the camera and sending the first video data captured by the camera to the opposite communication terminal in real time if the opposite communication terminal is determined to be the preset user, the method may further include the following steps: acquiring a preset background image; and replacing the environment image in the first video data with a preset background image.
In the embodiment of the invention, a user can preset a preset background image, and the environment image in the first video data shot by the camera is replaced by the preset background image in the video communication process, so that the interestingness of video communication can be improved, and in addition, the effect of protecting the privacy of the user can be achieved.
In addition, in a preferred embodiment of the present invention, in step 101, after the step of starting the camera and sending the first video data captured by the camera to the correspondent node in real time if it is determined that the correspondent node is the preset user, the method further includes the following steps: and sending a setting instruction to the communication opposite end so that the communication opposite end is in a preset state in the video communication process.
In the embodiment of the invention, when the video communication is carried out with the communication opposite end (including the stage of initiating the video communication), the communication opposite end can be in the preset state set by the user by sending the setting instruction to the communication opposite end, and the preset state can comprise the state of forbidding the running of preset application programs such as games, music and the like, so that the interest of the video communication of the user can be improved, and the smooth communication is ensured.
In the embodiment of the present invention, the communication peer may be authenticated in various ways, for example, based on a verification way that the pre-stored image information pre-stored by the peer is matched with the peer user image information currently captured by the communication peer, or based on the fingerprint verification information of the communication peer within a predetermined time.
The verification method for matching the pre-stored image information prestored in the local terminal with the image information of the user at the opposite terminal currently shot by the communication opposite terminal can be that verification matching is executed through the local terminal. Specifically, in a preferred embodiment of the present invention, in step 101, when initiating video communication, if it is determined that the communication peer is a preset user, the step of starting the camera and sending the first video data captured by the camera to the communication peer in real time may include the following steps: when video communication is initiated, receiving the image information of an opposite-end user shot by a communication opposite end currently; and if the image information of the opposite-end user is matched with the prestored image information, determining that the communication opposite end is a preset user, starting the camera and sending first video data shot by the camera to the communication opposite end in real time, wherein the prestored image information is the image information of the preset user corresponding to the communication opposite end.
In the embodiment of the invention, when the local terminal initiates video communication, the local terminal verifies the identity of the opposite communication terminal, namely, when the local terminal initiates the video communication, the local terminal sends a verification request to the opposite communication terminal and receives the currently shot image information of the opposite terminal user, which is sent by the opposite communication terminal based on the verification request; and then matching the image information of the opposite-end user with the pre-stored image information by the local end, if the matching is successful, determining that the communication opposite end is a preset user, starting a camera to shoot first video data, sending the first video data to the communication opposite end in real time, and carrying out video communication.
In addition, the verification method for matching the pre-stored image information prestored in the local terminal with the image information of the user at the opposite terminal currently shot by the communication opposite terminal can also be a verification matching method implemented by the communication opposite terminal. Specifically, in a preferred embodiment of the present invention, in step 101, when initiating video communication, if it is determined that the communication peer is a preset user, the step of starting the camera and sending the first video data captured by the camera to the communication peer in real time may include the following steps: when video communication is initiated, pre-stored image information is sent to a communication opposite terminal, and the pre-stored image information is pre-stored image information of a preset user corresponding to the communication opposite terminal; and if the matching success information sent by the communication opposite end is received, determining that the communication opposite end is a preset user, starting the camera and sending first video data shot by the camera to the communication opposite end in real time, wherein the matching success information represents that the pre-stored image information is matched with the image information of the opposite end user shot by the communication opposite end currently.
In the embodiment of the invention, when the local terminal initiates video communication, the opposite communication terminal executes self identity verification, namely, when initiating video communication, the local terminal sends prestored image information to the opposite communication terminal, the opposite communication terminal performs matching verification based on the prestored image information and the image information of the opposite terminal user shot currently, if the opposite communication terminal is successfully matched, the local terminal receives the matching success information sent by the opposite communication terminal, at the moment, the opposite communication terminal is determined to be a preset user, a camera is started to shoot first video data and send the first video data to the opposite communication terminal in real time, and video communication is performed.
According to the communication method provided by the embodiment of the invention, when video communication is initiated, if the opposite communication terminal is determined to be a preset user, a camera is started and first video data shot by the camera is sent to the opposite communication terminal in real time; in the video communication process, if the time that the first video data continuously do not contain the images of the local terminal user is detected to reach the first preset time, the first video data is stopped being sent to the communication opposite terminal, the safety and privacy protection of the video communication of the user can be improved, and the video communication experience of the user is improved.
Based on the method, the embodiment of the invention also provides the mobile terminal for realizing the method.
Referring to fig. 2, a schematic structural diagram of a mobile terminal according to an embodiment of the present invention is shown. An embodiment of the present invention provides a mobile terminal 200, where the mobile terminal 200 may include: a first processing module 210 and a second processing module 220.
The first processing module 210 is configured to, when initiating video communication, start a camera and send first video data captured by the camera to a communication peer in real time if it is determined that the communication peer is a preset user;
the second processing module 220 is configured to, in the video communication process, stop sending the first video data to the opposite communication terminal if it is detected that the time during which the image of the local terminal is not continuously included in the first video data reaches a first predetermined time.
In a preferred embodiment of the present invention, the second processing module 220 is further configured to:
and sending the first preset file data to the communication opposite terminal while stopping sending the first video data to the communication opposite terminal.
In a preferred embodiment of the present invention, the second processing module 220 is further configured to:
and stopping sending the first video data to the communication opposite terminal, stopping playing the second video data sent by the communication opposite terminal, and playing the first preset file data.
In addition, on the basis of fig. 2, please refer to fig. 3, which shows a second schematic structural diagram of the mobile terminal according to the embodiment of the present invention.
In a preferred embodiment of the present invention, the mobile terminal 200 may further include: the first transmitting module 230.
The first sending module 230 is configured to send, to the correspondent node, a prompt message returned by the user again if it is detected that the first video data includes the image of the user at the home node.
In a preferred embodiment of the present invention, the mobile terminal 200 may further include: a third processing module 240.
The third processing module 240 is configured to, in the video communication process, stop sending the first video data to the communication peer if it is detected that the time that the image of the peer user is not continuously included in the second video data sent by the communication peer reaches a second predetermined time length.
Further, the third processing module 240 may be further configured to:
and if the fact that the time that the second video data sent by the communication opposite terminal continuously does not contain the opposite terminal user image reaches a second preset time length is detected, sending the second preset file data to the communication opposite terminal.
In a preferred embodiment of the present invention, the mobile terminal 200 may further include: a fifth processing module 250.
A fifth processing module 250, configured to close video communication with the opposite communication terminal if it is detected that the first video data does not continuously include the home terminal user image and the second video data sent by the opposite communication terminal does not continuously include the opposite terminal user image within a third predetermined time period.
In a preferred embodiment of the present invention, the mobile terminal 200 may further include: a fourth processing module 260.
The fourth processing module 260 is configured to prohibit, during the video communication, the execution of an operation corresponding to the preset event if the preset event is detected to occur.
Further, in a preferred embodiment of the present invention, the fourth processing module 260 is further configured to:
and displaying prompt information related to the preset event on a video interface while prohibiting the execution of the operation corresponding to the preset event.
In a preferred embodiment of the present invention, the mobile terminal 200 may further include: an acquisition module 270 and a replacement module 280.
An obtaining module 270, configured to obtain a preset background image;
a replacing module 280, configured to replace the environment image in the first video data with a preset background image.
In a preferred embodiment of the present invention, the mobile terminal 200 may further include: a second sending module 290.
The second sending module 290 is configured to send a setting instruction to the opposite communication terminal, so that the opposite communication terminal is in a predetermined state in the video communication process.
In a preferred embodiment of the present invention, the first processing module 210 may include: the device comprises a receiving unit and a first processing unit.
The receiving unit is used for receiving the image information of the user at the opposite end shot by the communication opposite end at present when video communication is initiated;
the first processing unit is used for starting the camera and sending first video data shot by the camera to the communication opposite end in real time if the image information of the opposite end user is matched with the pre-stored image information, and the communication opposite end is determined to be a preset user, wherein the pre-stored image information is the image information of the preset user corresponding to the pre-stored communication opposite end.
In another preferred embodiment of the present invention, the first processing module 210 may include: a sending unit and a second processing unit.
The sending unit is used for sending pre-stored image information to the communication opposite end when video communication is initiated, wherein the pre-stored image information is image information of a pre-set user corresponding to the pre-stored communication opposite end;
and the second processing unit is used for starting the camera and sending the first video data shot by the camera to the communication opposite end in real time if the matching success information sent by the communication opposite end is received and the communication opposite end is determined to be a preset user, wherein the matching success information represents that the pre-stored image information is matched with the image information of the opposite end user shot by the communication opposite end currently.
The mobile terminal provided by the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiment of fig. 1, and is not described herein again in order to avoid repetition.
According to the mobile terminal provided by the embodiment of the invention, when video communication is initiated, if the communication opposite terminal is determined to be a preset user, the camera is started and first video data shot by the camera is sent to the communication opposite terminal in real time; in the video communication process, if the time that the first video data continuously do not contain the images of the local terminal user is detected to reach the first preset time, the first video data is stopped being sent to the communication opposite terminal, the safety and privacy protection of the video communication of the user can be improved, and the video communication experience of the user is improved.
Fig. 4 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 4 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 410 is configured to, when initiating video communication, start a camera and send first video data captured by the camera to a communication peer in real time if it is determined that the communication peer is a preset user; in the video communication process, if the time that the first video data continuously do not contain the images of the local end user is detected to reach a first preset time length, the first video data is stopped being sent to the communication opposite end.
In the embodiment of the invention, when video communication is initiated, if the opposite communication terminal is determined to be a preset user, a camera is started and first video data shot by the camera is sent to the opposite communication terminal in real time; in the video communication process, if the time that the first video data continuously do not contain the images of the local terminal user is detected to reach the first preset time, the first video data is stopped being sent to the communication opposite terminal, the safety and privacy protection of the video communication of the user can be improved, and the video communication experience of the user is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 402, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the mobile terminal 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The mobile terminal 400 also includes at least one sensor 405, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 4061 and/or the backlight when the mobile terminal 400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 408 is an interface through which an external device is connected to the mobile terminal 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 400 or may be used to transmit data between the mobile terminal 400 and external devices.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby integrally monitoring the mobile terminal. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The mobile terminal 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the mobile terminal 400 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 410, a memory 409, and a computer program stored in the memory 409 and capable of being executed on the processor 410, where the computer program, when executed by the processor 410, implements each process of the communication method embodiment, and can achieve the same technical effect, and details are not described here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the communication method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A method of communication, the method comprising:
when video communication is initiated, if a communication opposite terminal is determined to be a preset user, starting a camera and sending first video data shot by the camera to the communication opposite terminal in real time;
in the video communication process, if the fact that the time that the image of the local end user is not continuously contained in the first video data reaches a first preset time length is detected, the first video data is stopped being sent to the communication opposite end;
if the communication opposite terminal is determined to be the preset user, after the step of starting the camera and sending the first video data shot by the camera to the communication opposite terminal in real time, the method further comprises the following steps: and sending a setting instruction to the communication opposite end so as to enable the communication opposite end to be in a preset state in the video communication process, wherein the preset state is that an application program which may influence the video communication is set to be in a forbidden state.
2. The method according to claim 1, wherein the step of stopping sending the first video data to the correspondent node if the time for detecting that the first video data does not include the image of the home terminal in duration reaches a first predetermined time duration during the video communication further comprises:
and sending first preset file data to the communication opposite terminal while stopping sending the first video data to the communication opposite terminal.
3. The method according to claim 1, wherein after the step of starting a camera and sending first video data captured by the camera to the correspondent node in real time if the correspondent node is determined to be a preset user, the method further comprises:
in the video communication process, if the fact that the time that the image of the user at the opposite end is not continuously contained in the second video data sent by the communication opposite end reaches a second preset time length is detected, the first video data is stopped being sent to the communication opposite end.
4. The method according to claim 1, wherein after the step of starting a camera and sending first video data captured by the camera to the correspondent node in real time if the correspondent node is determined to be a preset user, the method further comprises:
in the video communication process, if the occurrence of a preset event is detected, the operation corresponding to the preset event is forbidden to be executed.
5. A mobile terminal, characterized in that the mobile terminal comprises:
the first processing module is used for starting a camera and sending first video data shot by the camera to a communication opposite terminal in real time if the communication opposite terminal is determined to be a preset user when video communication is initiated;
the second processing module is used for stopping sending the first video data to the communication opposite terminal if the time that the image of the local terminal is continuously not contained in the first video data is detected to reach a first preset time length in the video communication process;
the second sending module 290 is configured to send a setting instruction to the communication peer so that the communication peer is in a predetermined state in the video communication process, where the predetermined state is a state in which an application program that may affect video communication is set as a disabled state.
6. The mobile terminal of claim 5, wherein the second processing module is further configured to:
and sending first preset file data to the communication opposite terminal while stopping sending the first video data to the communication opposite terminal.
7. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
and the third processing module is used for stopping sending the first video data to the communication opposite terminal if the fact that the time that the image of the opposite terminal user is not continuously contained in the second video data sent by the communication opposite terminal reaches a second preset time length is detected in the video communication process.
8. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
and the fourth processing module is used for forbidding to execute the operation corresponding to the preset event if the preset event is detected to occur in the video communication process.
9. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the communication method according to any one of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the communication method according to one of claims 1 to 4.
CN201810089312.2A 2018-01-30 2018-01-30 Communication method, mobile terminal and computer readable storage medium Active CN108259807B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810089312.2A CN108259807B (en) 2018-01-30 2018-01-30 Communication method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810089312.2A CN108259807B (en) 2018-01-30 2018-01-30 Communication method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108259807A CN108259807A (en) 2018-07-06
CN108259807B true CN108259807B (en) 2020-10-20

Family

ID=62743094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810089312.2A Active CN108259807B (en) 2018-01-30 2018-01-30 Communication method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108259807B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110401806A (en) * 2019-06-21 2019-11-01 努比亚技术有限公司 A kind of video call method of mobile terminal, mobile terminal and storage medium
CN111787263A (en) * 2020-07-13 2020-10-16 睿魔智能科技(深圳)有限公司 Control method, system, storage medium and equipment for video communication

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101500133A (en) * 2009-02-27 2009-08-05 中兴通讯股份有限公司 Camera control method and system for visual user equipment
CN103780866A (en) * 2012-10-22 2014-05-07 联想移动通信科技有限公司 Video control device, method thereof and video terminal
CN105072374A (en) * 2015-07-29 2015-11-18 小米科技有限责任公司 Video communication method and device
CN106559591A (en) * 2015-09-30 2017-04-05 北京奇虎科技有限公司 The mobile phone terminal call method realized based on call forwarding and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601875A (en) * 2013-10-31 2015-05-06 华为技术有限公司 Video image processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101500133A (en) * 2009-02-27 2009-08-05 中兴通讯股份有限公司 Camera control method and system for visual user equipment
CN103780866A (en) * 2012-10-22 2014-05-07 联想移动通信科技有限公司 Video control device, method thereof and video terminal
CN105072374A (en) * 2015-07-29 2015-11-18 小米科技有限责任公司 Video communication method and device
CN106559591A (en) * 2015-09-30 2017-04-05 北京奇虎科技有限公司 The mobile phone terminal call method realized based on call forwarding and device

Also Published As

Publication number Publication date
CN108259807A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN108256308B (en) Face recognition unlocking control method and mobile terminal
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN109544172B (en) Display method and terminal equipment
CN111124706A (en) Application program sharing method and electronic equipment
CN111597540B (en) Login method of application program, electronic device and readable storage medium
CN108009031B (en) Application program control method and mobile terminal
CN111125680A (en) Permission setting method and terminal equipment
CN108196663B (en) Face recognition method and mobile terminal
CN108307048B (en) Message output method and device and mobile terminal
CN108259807B (en) Communication method, mobile terminal and computer readable storage medium
CN111159738B (en) Authority configuration method, application login method and device
CN110795746B (en) Information processing method and electronic equipment
CN110929238B (en) Information processing method and device
CN109451143B (en) Call method and mobile terminal
CN110113486B (en) Application icon moving method and terminal
CN109753776B (en) Information processing method and device and mobile terminal
CN109547330B (en) Information sharing method and device
CN109614827B (en) Control method of mobile terminal and mobile terminal
CN109660750B (en) Video call method and terminal
CN109164951B (en) Mobile terminal operation method and mobile terminal
CN108810276B (en) Face recognition method and mobile terminal
CN111131930A (en) Device resource control method, first electronic device, and computer-readable storage medium
CN109409068B (en) Operation execution method and terminal
CN111459323B (en) Control method, electronic device and medium
CN110795777B (en) Screen brightness adjusting method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant