CN110087013B - Video chat method, mobile terminal and computer readable storage medium - Google Patents

Video chat method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN110087013B
CN110087013B CN201910313069.2A CN201910313069A CN110087013B CN 110087013 B CN110087013 B CN 110087013B CN 201910313069 A CN201910313069 A CN 201910313069A CN 110087013 B CN110087013 B CN 110087013B
Authority
CN
China
Prior art keywords
mobile terminal
video
camera
electronic device
display screen
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
CN201910313069.2A
Other languages
Chinese (zh)
Other versions
CN110087013A (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.)
Xu Jingsi
Original Assignee
Xu Jingsi
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 Xu Jingsi filed Critical Xu Jingsi
Priority to CN201910313069.2A priority Critical patent/CN110087013B/en
Publication of CN110087013A publication Critical patent/CN110087013A/en
Application granted granted Critical
Publication of CN110087013B publication Critical patent/CN110087013B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • 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
    • 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
    • H04N7/142Constructional details of the terminal equipment, e.g. arrangements of the camera and the display

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a video chatting method, which comprises the following steps: when a video chat request is received, judging whether a main display screen of the mobile terminal is in a condition of displaying an operation interface of a preset application program; if the main display screen of the mobile terminal is in the condition of displaying the running interface of the preset application program, judging whether the mobile terminal is connected with an electronic device with a camera function; when the mobile terminal is connected with an electronic device with a camera function, starting a camera of the electronic device to record video; and receiving the video and transmitting the video to the equipment initiating the video chat request. The application also provides a mobile terminal and a computer readable storage medium. By the method, under the condition that the main display screen of the mobile terminal is in the operation interface for displaying the preset application program, the camera of the electronic device can be simultaneously used for video chat, and the user experience is improved.

Description

Video chatting method, mobile terminal and computer readable storage medium
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a video chat method, a mobile terminal, and a computer-readable storage medium.
Background
With the rapid development of communication technology, users have higher and higher requirements on the appearance design and personalized design of mobile terminals, and the requirements on convenience in operation and capability of meeting the display requirements of large display screens are also required. Under the requirements, the mobile terminal with a full screen or a double-sided screen is produced. Present double-sided screen mobile terminal includes main display screen and vice display screen, and in order to realize that the main display screen is comprehensive screen, the main display screen of full-sided screen or double-sided screen does not all dispose the camera usually, just disposes the camera only to vice display screen.
Therefore, for a mobile terminal with a double-sided screen, when a video chat request is received, if a user uses a main display screen to play a game or watch a video, the mobile terminal can only be turned to a secondary display screen provided with a camera to play the video chat, and the user experience is affected because the game or the video watching in progress cannot be taken into consideration at the same time. Similarly, for a mobile terminal with a full screen, when a video chat request is received, the mobile terminal can only be turned to the side, which is provided with the camera, corresponding to the full screen for video chat, and the user is inconvenient to operate on the full screen and the user experience is also influenced.
Disclosure of Invention
The main objective of the present application is to provide a video chat method, a mobile terminal, and a computer-readable storage medium, which are connected to a camera of an electronic device of the mobile terminal, so that when a main display screen of the mobile terminal is in a state of displaying an operation interface of a preset application program, video chat can be performed simultaneously, and user experience is improved.
To achieve the above object, the present application provides a video chat method applied to a mobile terminal including a main display screen and a sub display screen, the sub display screen being configured with a camera, the video chat method including: when a video chat request is received, judging whether a main display screen of the mobile terminal is in a condition of displaying an operation interface of a preset application program; if the main display screen of the mobile terminal is in the condition of displaying the running interface of the preset application program, judging whether the mobile terminal is connected with an electronic device with a camera function; when the mobile terminal is connected with an electronic device with a camera function, starting a camera of the electronic device to record video; and receiving the video and transmitting the video to the equipment initiating the video chat request.
Optionally, after the step of determining whether the main display screen of the mobile terminal is in a condition of displaying an operation interface of a preset application program, the method further includes: if the main display screen of the mobile terminal is not under the condition of displaying the running interface of the preset application program, starting a camera of the mobile terminal to record video; and displaying a video chat interface on a secondary display screen of the mobile terminal.
Optionally, after the step of determining whether the mobile terminal is connected to an electronic device with a camera function, the method further includes: when the mobile terminal is not connected with an electronic device with a camera function, starting a camera of the mobile terminal to record video; and displaying a video chat interface on a secondary display screen of the mobile terminal.
Optionally, when the mobile terminal is connected to an electronic device with a camera function, the step of turning on the camera of the electronic device to record video includes: judging whether a camera of the electronic device faces the face direction of a user or not; and when the camera of the electronic device faces the face direction of the user, starting the camera of the electronic device to record the video.
Optionally, before the step of determining whether the camera of the electronic device faces the face direction of the user, the method further includes: and prompting the user to rotate a camera of the electronic device to a face direction facing the user.
Optionally, the video chat method further includes: and when the video chat is detected to be finished, closing the camera of the electronic device.
Optionally, the step of transmitting the video recording to the device initiating the video chat request includes: and transmitting the video and the sound collected by the mobile terminal to a device initiating the video chat request.
Optionally, the preset application is an application for playing a video or a game application.
The present application further provides a mobile terminal, the mobile terminal including: a touch screen including a main display screen and a sub display screen, the sub display screen configured with a camera; a processor; and the memory is connected with the processor and comprises a control instruction, and when the processor reads the control instruction, the mobile terminal is controlled to realize the video chat method.
The present application also provides a computer readable storage medium having one or more programs, which are executed by one or more processors, to implement the above-described video chat method.
The video chatting method, the mobile terminal and the computer readable storage medium provided by the application judge whether the main display screen of the mobile terminal is in the condition of displaying the running interface of the preset application program or not when receiving the video chatting request and judge whether the mobile terminal is connected with the electronic device with the camera function or not when the main display screen of the mobile terminal is in the condition of displaying the running interface of the preset application program, so that when the mobile terminal is connected with the electronic device with the camera function, the camera of the electronic device is started to record the video, the mobile terminal receives the video and transmits the video to the equipment initiating the video chatting request, thereby realizing the video chatting by using the camera of the electronic device when the main display screen of the mobile terminal is in the condition of displaying the running interface of the preset application program, and the user experience is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present application;
FIG. 2 is a schematic diagram of a communication network system of the mobile terminal shown in FIG. 1;
fig. 3 is a flowchart of a video chat method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The various components of the mobile terminal 100 are described in detail below with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 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 for applications of recognizing gestures of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometers and taps), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 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 107 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 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of 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 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation on or near the touch panel, the touch panel is transmitted to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. 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 108 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 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 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 for 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 109 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 110 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 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 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 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems, and the like.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Fig. 3 is a flowchart of an embodiment of a video chat method provided in the present application. Once the method of this embodiment is triggered by the user, the process in this embodiment automatically runs through the mobile terminal 100, where each step may be performed sequentially according to the sequence in the flowchart, or multiple steps may be performed simultaneously according to an actual situation, which is not limited herein. The video chat method provided by the application comprises the following steps:
step S310, when receiving a video chat request, determining whether a main display of the mobile terminal 100 is in a state of displaying an operation interface of a preset application;
step S330, if the main display of the mobile terminal 100 is in a state of displaying the running interface of the preset application, determining whether the mobile terminal 100 is connected to an electronic device with a camera function;
step S350, when the mobile terminal 100 is connected to an electronic device with a camera function, turning on a camera of the electronic device to record a video;
step S370, receiving the video and transmitting the video to the device initiating the video chat request.
Through the above embodiment, under the condition that the main display screen of the mobile terminal 100 is in the running interface for displaying the preset application program, the video chatting function can be realized by using the camera of the electronic device to record video, and the user experience is improved.
The above steps will be specifically described with reference to specific examples.
In step S310, when the video chat request is received, it is determined whether the main display of the mobile terminal 100 is in a state of displaying the running interface of the preset application.
Specifically, when the mobile terminal 100 receives a video chat request sent by another person (the other person may use a mobile terminal or a PC computer or other devices), it is determined whether a main display screen of the mobile terminal 100 is in a state of displaying an operation interface of a preset application program. The preset application program may be an application program for playing a video or a game application program. For example, when the mobile terminal 100 receives a video chat request sent by another person, it is determined whether a main display of the mobile terminal 100 is in a state of displaying a running interface for playing a video or a game.
In this embodiment, after step S310, the method may further include:
step S3101, if the main display of the mobile terminal 100 is not in the state of displaying the running interface of the preset application program, the camera of the mobile terminal 100 is turned on to record video;
in step S3102, a video chat interface is displayed on the sub display of the mobile terminal 100.
Specifically, the mobile terminal 100 may be configured with a dual screen, i.e., including a main display screen and a sub-display screen. The main display screen (front screen) is a full screen, and the main display screen is not provided with a camera. The secondary display (back screen) is configured with a camera, that is to say it is arranged on the same side of the mobile terminal as the camera of the mobile terminal 100. In this embodiment, when the mobile terminal 100 receives a video chat request sent by another person, it is first determined whether the full-screen of the mobile terminal 100 is in a state of displaying the running interface of the preset application, and if the main display screen of the mobile terminal 100 is not in a state of displaying the running interface of the game, the camera of the mobile terminal 100 is turned on to record video, and a video chat interface is displayed on the secondary display screen of the mobile terminal 100 to perform video chat.
In other embodiments, the mobile terminal 100 may also be configured as a single-sided screen, and the single-sided screen is a full-sided screen, that is, the camera of the mobile terminal 100 is configured on a side opposite to the full-sided screen. When the mobile terminal 100 receives a video chat request sent by another person, a camera of the mobile terminal 100 is started to record video, and a video chat interface is displayed on a full screen of the mobile terminal 100 to perform video chat.
In step S330, if the main display of the mobile terminal 100 is displaying the running interface of the preset application, it is determined whether the mobile terminal 100 is connected to an electronic device with a camera function.
Specifically, the electronic device may be a wearable electronic device having a camera function, such as a bracelet, a watch, or the like. Taking the mobile terminal 100 configured with a dual-sided screen as an example, when the mobile terminal 100 receives a video chat request sent by another person, if the main display screen of the mobile terminal 100 is in a running interface for displaying a game or playing a video, and the mobile terminal 100 is not connected to an electronic device with a camera function, the user may need to turn to the sub-display screen configured with a camera for video chat, which may seriously affect user experience and cannot give consideration to current game or video playing. Therefore, when the main display screen of the mobile terminal 100 is in a state of displaying the running interface of the preset application program, in order to improve user experience, the function of video chat is implemented without using the camera of the secondary display screen, and at this time, the mobile terminal 100 may implement the function of video chat by using an electronic device connected with the electronic device with the camera function. In other embodiments, the mobile terminal 100 may also be configured as a single-sided screen, and the single-sided screen is a full-sided screen, and when a video chat request is received and a user desires to perform an operation of another application on the full-sided screen of the mobile terminal 100, in order to improve user experience, the mobile terminal 100 may also implement a video chat function by using an electronic device connected with the mobile terminal 100 and having a camera function.
In this embodiment, if the main display of the mobile terminal 100 is displaying the operation interface of the preset application, it is determined whether an electronic device having a camera function is connected to the mobile terminal 100. In this embodiment, after step S330, the method may further include:
step S3301, when the mobile terminal is not connected with an electronic device with a camera function, a camera of the mobile terminal is started to record video;
and S3302, displaying a video chat interface on a secondary display screen of the mobile terminal.
Specifically, when the mobile terminal 100 is not connected to an electronic device with a camera function, the mobile terminal 100 cannot use the electronic device with the camera function to realize the video chat function, only the camera of the mobile terminal 100 can be turned on to record video, and a video chat interface is displayed on a secondary display screen of the mobile terminal 100 to perform video chat, so that the problem that a user cannot perform video chat normally is avoided.
In step S350, when an electronic device having a camera function is connected to the mobile terminal 100, a camera of the electronic device is turned on to record video.
Specifically, when the mobile terminal 100 is connected to an electronic device having a camera function, the camera of the electronic device is turned on, and the video can be recorded through the camera of the electronic device, so as to implement a video chat function. At this time, since the mobile terminal 100 can record video using the camera of the electronic device to realize the function of video chat, the user does not need to turn over the mobile terminal 100 so that the user faces the secondary display screen configured with the camera to record video, thereby realizing the function of video chat, and meanwhile, the main display screen of the mobile terminal 100 can maintain the running interface displaying the preset application program. That is, when the user watches a video or a game on the main display screen of the mobile terminal 100, the video chatting function can be implemented while recording video through the camera of the electronic device, thereby improving user experience.
It can be understood that, in the process of using the camera of the electronic device to record, the user may use the electronic device at night or in a dark situation, and if the user records, the user experience may be reduced. Therefore, after the camera of the electronic device is turned on, the brightness of light around the electronic device can be detected by the camera of the electronic device. When detecting light luminance around the electron device is less than and predetermines light luminance, open the night and take a photograph the mode automatically and carry out the video recording to improved the definition that the user carried out the video recording when light is darker, improved user experience. The preset light brightness may be a minimum light brightness preset before the electronic device leaves a factory and capable of normally using a video chat function of the electronic device.
In this embodiment, step S350 may be implemented by the following steps:
step S3501, judging whether a camera of the electronic device faces the face direction of a user;
step S3503, when the camera of the electronic device faces the face direction of the user, the camera of the electronic device is turned on to record video. The determination in step S350 may be performed in other manners, and is not limited specifically.
Specifically, in step S3501, it may be determined whether a camera of the electronic device is oriented towards a face of a user through a gravity sensor on the electronic device. Generally, the orientation of the camera of the electronic device is the orientation of the screen of the electronic device. Generally, when a user uses the electronic device, the tilt angle of the camera of the electronic device is between 0 ℃ and 90 ℃, and on the other hand, when the user uses the electronic device, the relative position of the face of the user and the electronic device may be different due to the difference between the height of the user and the wearing position of the electronic device. Therefore, before determining whether the camera of the electronic device faces the face direction of the user, the face direction of the user can be set in advance. In step S3503, when the camera of the electronic device faces a preset face direction of the user, the camera of the electronic device is turned on to record video. Only when the user makes the camera of the electronic device face the face direction of the user, the camera of the electronic device is started to record the video, so that the electric quantity of the electronic device is saved, and the intelligent degree of the electronic device is improved. In this embodiment, after step S3501, the method may further include:
step S35011, prompting the user to rotate a camera of the electronic device to a face orientation facing the user.
Specifically, when setting up user's face position, can indicate the user will electronic device's camera rotates to the orientation user's face position, for example, indicate the user will through sound or text message electronic device's camera rotates to vertical orientation user's position from the level towards the position of top to be convenient for gravity sensor to the judgement of face position.
In step S370, the video recording is received and transmitted to the device that initiated the video chat request.
Specifically, the mobile terminal 100 may receive the video recording and transmit the video recording to the device that initiated the video chat request. The apparatus may be embodied in various forms. For example, the devices described in the present invention may include devices having a video chat function, such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and fixed devices having a video chat function, such as a Digital TV, a desktop computer, and the like.
In this embodiment, step S370 may be implemented as follows:
step S3701, transmitting the video and the sound collected by the mobile terminal 100 to a device initiating the video chat request. The determination in step S370 may be performed in other manners, and is not limited specifically.
Specifically, in step S3701, a camera of the electronic device is used for recording to acquire a video stream including the user, an audio device of the mobile terminal 100 is used for recording to acquire sound information including the user, and the recording and the sound acquired by the mobile terminal 100 are integrated and transmitted to the device initiating the video chat request. In other embodiments, the video recording may be performed by a camera of the electronic device, the video stream and the sound information including the user are collected, and the video recording and the sound collected by the electronic device are transmitted to the device initiating the video chat request.
In this embodiment, after step S370, the method may further include:
step S3703, when the video chat is detected to be finished, closing the camera of the electronic device.
Specifically, when the end of the video chat is detected, the camera of the electronic device is closed, and the camera of the electronic device is closed, so that the electric quantity of the electronic device is saved. In this embodiment, since the video chat may be influenced by various factors, in order to avoid that the camera of the electronic device is turned off when the video call is not ended due to influence of other factors, the camera of the electronic device may be turned off when it is detected that the duration of the end of the video chat exceeds the preset duration. The preset time length can be preset, and the preset time length can be 5s and 10 s. Therefore, when the fact that the duration of the end of the video chat does not exceed the preset duration is detected, the camera of the electronic device is in an open state, and the video call function is prevented from being influenced by other factors when the video call is not ended and the camera of the electronic device is closed.
Through the above embodiment, when receiving a video chat request, determining whether the main display screen of the mobile terminal 100 is in a state of displaying an operation interface of a preset application, and when the main display screen of the mobile terminal is in a state of displaying the operation interface of the preset application, determining whether the mobile terminal 100 is connected with an electronic device having a camera function, so that when the mobile terminal 100 is connected with the electronic device having the camera function, the camera of the electronic device is turned on to record video, and then the mobile terminal 100 receives the video and transmits the video to the device initiating the video chat request, so that a user does not need to turn the mobile terminal 100 over to the sub display screen equipped with the camera to perform video chat when the main display screen of the mobile terminal 100 is in a state of displaying the operation interface of the preset application, the video chat is directly realized by using the camera of the electronic device, and the user experience is improved.
Fig. 4 is a schematic structural component diagram of the mobile terminal 100 according to an embodiment of the present application, where the mobile terminal 100 includes: a touch panel 1071, the touch panel 1071 including a main display screen and a sub display screen, the sub display screen being configured with a camera; a processor 110; the memory 109 is connected to the processor 110, the memory 109 contains a control instruction, and when the processor 110 reads the control instruction, the mobile terminal 100 is controlled to implement the following steps:
when a video chat request is received, judging whether a main display screen of the mobile terminal 100 is in a condition of displaying an operation interface of a preset application program; if the main display screen of the mobile terminal 100 is in a state of displaying the running interface of the preset application program, determining whether the mobile terminal 100 is connected with an electronic device with a camera function; when the mobile terminal 100 is connected with an electronic device with a camera function, starting a camera of the electronic device to record a video; and receiving the video and transmitting the video to the equipment initiating the video chat request.
Optionally, after the step of determining whether the main display of the mobile terminal 100 is in a condition of displaying an operation interface of a preset application program, the method further includes: if the main display screen of the mobile terminal is not in the condition of displaying the running interface of the preset application program, starting a camera of the mobile terminal 100 to record video; and displaying a video chat interface on a secondary display screen of the mobile terminal 100.
Optionally, after the step of determining whether the mobile terminal 100 is connected to an electronic device having a camera function, the method further includes: when the mobile terminal 100 is not connected with an electronic device with a camera function, starting a camera of the mobile terminal 100 to record video; and displaying a video chat interface on a secondary display screen of the mobile terminal 100.
Optionally, when the mobile terminal 100 is connected to an electronic device with a camera function, the step of turning on the camera of the electronic device to record video includes: judging whether a camera of the electronic device faces the face direction of a user or not; and when the camera of the electronic device faces the face direction of the user, starting the camera of the electronic device to record the video.
Optionally, before the step of determining whether the camera of the electronic device faces the face direction of the user, the method further includes: and prompting the user to rotate a camera of the electronic device to a face direction facing the user.
Optionally, the video chat method further includes: and when the video chat is detected to be finished, closing the camera of the electronic device.
Optionally, the step of transmitting the video recording to the device initiating the video chat request includes: and transmitting the video and the sound collected by the mobile terminal 100 to the device initiating the video chat request.
Optionally, the preset application program is an application program for playing a video or a game application program.
With the mobile terminal 100, when receiving a video chat request, determining whether the main display screen of the mobile terminal 100 is in a state of displaying an operation interface of a preset application program, and when the main display screen of the mobile terminal 100 is in a state of displaying the operation interface of the preset application program, determining whether the mobile terminal 100 is connected with an electronic device having a camera function, so that when the mobile terminal is connected with the electronic device having the camera function, the camera of the electronic device is turned on to record, and the mobile terminal 100 receives the video and transmits the video to a device initiating the video chat request, thereby implementing a video chat by using the camera of the electronic device when the main display screen of the mobile terminal 100 is in a state of displaying the operation interface of the preset application program, and the user experience is improved.
Embodiments of the present application also provide a computer-readable storage medium having one or more programs, where the one or more programs are executed by one or more processors to implement the following steps:
when a video chat request is received, judging whether a main display screen of the mobile terminal 100 is in a condition of displaying an operation interface of a preset application program; if the main display screen of the mobile terminal 100 is in a state of displaying the running interface of the preset application program, determining whether the mobile terminal 100 is connected with an electronic device with a camera function; when the mobile terminal 100 is connected with an electronic device with a camera function, starting a camera of the electronic device to record a video; and receiving the video and transmitting the video to the equipment initiating the video chat request.
Optionally, after the step of determining whether the main display of the mobile terminal 100 is in a condition of displaying an operation interface of a preset application program, the method further includes: if the main display screen of the mobile terminal 100 is not in the condition of displaying the running interface of the preset application program, starting a camera of the mobile terminal 100 to record video; and displaying a video chat interface on a secondary display screen of the mobile terminal 100.
Optionally, after the step of determining whether the mobile terminal 100 is connected to an electronic device having a camera function, the method further includes: when the mobile terminal 100 is not connected with an electronic device with a camera function, starting a camera of the mobile terminal 100 to record video; and displaying a video chat interface on the secondary display screen of the mobile terminal 100.
Optionally, when the mobile terminal 100 is connected to an electronic device with a camera function, the step of turning on the camera of the electronic device to record video includes: judging whether a camera of the electronic device faces the face direction of a user or not; and when the camera of the electronic device faces the face direction of the user, starting the camera of the electronic device to record the video.
Optionally, before the step of determining whether the camera of the electronic device faces the face direction of the user, the method further includes: and prompting the user to rotate a camera of the electronic device to a face direction facing the user.
Optionally, the video chat method further includes: and when the video chat is detected to be finished, closing the camera of the electronic device.
Optionally, the step of transmitting the video recording to the device initiating the video chat request includes: and transmitting the video and the sound collected by the mobile terminal to a device initiating the video chat request.
Optionally, the preset application program is an application program for playing a video or a game application program.
Through the computer readable storage medium, when receiving a video chat request, determining whether the main display screen of the mobile terminal 100 is in a state of displaying an operation interface of a preset application program, and when the main display screen of the mobile terminal 100 is in a state of displaying the operation interface of the preset application program, determining whether the mobile terminal 100 is connected with an electronic device having a camera function, so that when the mobile terminal 100 is connected with the electronic device having the camera function, a camera of the electronic device is turned on to record video, and the mobile terminal 100 receives the video and transmits the video to a device initiating the video chat request, thereby implementing video chat by using the camera of the electronic device when the main display screen of the mobile terminal 100 is in a state of displaying the operation interface of the preset application program, and the user experience is improved.
The embodiment of the application also provides a computer readable storage medium. The computer-readable storage medium herein stores one or more programs. Among other things, computer-readable storage media may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
The corresponding technical features in the above embodiments may be used with each other without causing contradiction in the schemes or without being implementable.
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.
The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the advantages and disadvantages of the embodiments.
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 application 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 application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A video chatting method applied to a mobile terminal including a main display screen and a sub display screen, the sub display screen being configured with a camera, the main display screen not being configured with the camera, the video chatting method comprising:
when a video chat request is received, judging whether a main display screen of the mobile terminal is in a condition of displaying an operation interface of a preset application program;
if the main display screen of the mobile terminal is not under the condition of displaying the running interface of the preset application program, starting a camera of the mobile terminal to record video;
if the main display screen of the mobile terminal is under the condition of displaying the running interface of the preset application program, judging whether the mobile terminal is connected with an electronic device with a camera function;
when the mobile terminal is connected with an electronic device with a camera function, starting a camera of the electronic device to record video; and
and receiving the video and transmitting the video to the equipment initiating the video chat request.
2. The video chat method according to claim 1, wherein after the step of starting the camera of the mobile terminal for recording, the method further comprises:
and displaying a video chat interface on a secondary display screen of the mobile terminal.
3. The video chatting method of claim 1, wherein after the step of determining whether the mobile terminal is connected to an electronic device having a camera function, further comprising:
when the mobile terminal is not connected with an electronic device with a camera function, starting a camera of the mobile terminal to record video; and
and displaying a video chat interface on a secondary display screen of the mobile terminal.
4. The video chatting method of claim 1, wherein the step of turning on a camera of an electronic device for recording when the electronic device having a camera function is connected to the mobile terminal comprises:
judging whether a camera of the electronic device faces the face direction of a user or not; and
and when the camera of the electronic device faces the face direction of the user, the camera of the electronic device is started to record.
5. The video chat method of claim 4, wherein the step of determining whether the camera of the electronic device is oriented towards the face of the user further comprises, before the step of determining whether the camera of the electronic device is oriented towards the face of the user:
and prompting the user to rotate a camera of the electronic device to a face direction facing the user.
6. The video chat method of claim 1, further comprising:
and when the video chat is detected to be finished, closing the camera of the electronic device.
7. The video chat method of claim 1, wherein the step of transmitting the video footage to a device that initiated the video chat request comprises:
and transmitting the video and the sound collected by the mobile terminal to a device initiating the video chat request.
8. The video chatting method of any one of claims 1 to 7, wherein the preset application is an application for playing a video or a game application.
9. A mobile terminal, characterized in that the mobile terminal comprises:
a touch screen comprising a primary display screen and a secondary display screen, the secondary display screen configured with a camera;
a processor; and
a memory connected to the processor, the memory containing control instructions, when the processor reads the control instructions, the memory controlling the mobile terminal to implement the video chat method of any of claims 1-8.
10. A computer-readable storage medium having one or more programs thereon for execution by one or more processors to perform the video chat method of any of claims 1-8.
CN201910313069.2A 2019-04-18 2019-04-18 Video chat method, mobile terminal and computer readable storage medium Active CN110087013B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910313069.2A CN110087013B (en) 2019-04-18 2019-04-18 Video chat method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910313069.2A CN110087013B (en) 2019-04-18 2019-04-18 Video chat method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110087013A CN110087013A (en) 2019-08-02
CN110087013B true CN110087013B (en) 2022-06-17

Family

ID=67415492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910313069.2A Active CN110087013B (en) 2019-04-18 2019-04-18 Video chat method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110087013B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112423092A (en) * 2019-08-23 2021-02-26 北京小米移动软件有限公司 Video recording method and video recording device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409774A (en) * 2007-10-12 2009-04-15 深圳Tcl工业研究院有限公司 Television set
CN109413358A (en) * 2017-08-18 2019-03-01 中兴通讯股份有限公司 Terminal video call display control method, device, terminal and storage medium

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100713511B1 (en) * 2005-10-07 2007-04-30 삼성전자주식회사 Method for performing video communication service in mobile communication terminal
JP5791837B1 (en) * 2015-02-18 2015-10-07 株式会社 ディー・エヌ・エー Server, program and method for providing video chat
CN105657324A (en) * 2015-12-31 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Method and device for processing video images, and terminals
CN111314444B (en) * 2016-06-30 2022-08-12 亳州鼎源科技信息有限公司 Information pushing and displaying method and device
CN106454194B (en) * 2016-09-14 2020-10-27 惠州Tcl移动通信有限公司 Video method and system based on VR equipment
CN106843688B (en) * 2017-01-19 2020-09-11 宇龙计算机通信科技(深圳)有限公司 Display screen switching method and device of intelligent terminal
CN106998377A (en) * 2017-06-02 2017-08-01 北京小米移动软件有限公司 Terminal device
CN108540596A (en) * 2018-03-08 2018-09-14 华勤通讯技术有限公司 A kind of terminal device
CN113630574B (en) * 2018-05-14 2023-09-29 聚好看科技股份有限公司 Video call method and terminal equipment
CN108900770B (en) * 2018-07-17 2021-01-22 广东小天才科技有限公司 Method and device for controlling rotation of camera, smart watch and mobile terminal
CN109218648B (en) * 2018-09-21 2021-01-22 维沃移动通信有限公司 Display control method and terminal equipment
CN109327672B (en) * 2018-12-11 2020-09-22 维沃移动通信有限公司 Video call method and terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409774A (en) * 2007-10-12 2009-04-15 深圳Tcl工业研究院有限公司 Television set
CN109413358A (en) * 2017-08-18 2019-03-01 中兴通讯股份有限公司 Terminal video call display control method, device, terminal and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
盘点那些史上造型奇葩的手机;张强;《计算机与网络》;20181026(第20期);全文 *
设计的生产力;陆亦琦;《中国广告》;20171115(第11期);全文 *

Also Published As

Publication number Publication date
CN110087013A (en) 2019-08-02

Similar Documents

Publication Publication Date Title
CN109710135A (en) Split screen display available control method, terminal and computer readable storage medium
CN112394896B (en) Reverse screen-throwing frame rate control method, device and computer readable storage medium
CN109068167B (en) Screen recording interaction method, mobile terminal, wearable device and storage medium
CN107807767B (en) Communication service processing method, terminal and computer readable storage medium
CN112667181A (en) Screen projection method, screen projection equipment, screen projection control system and storage medium
CN107635070B (en) Message reminding method, terminal and storage medium
CN109144441B (en) Screen adjusting method, terminal and computer readable storage medium
CN108958936B (en) Application program switching method, mobile terminal and computer readable storage medium
CN110401870B (en) Method for adjusting screen recording frame rate, terminal and computer readable storage medium
CN112631535A (en) Screen projection reverse control method and device, mobile terminal and storage medium
CN110064192A (en) Interface control method, mobile terminal and computer readable storage medium
CN107463255A (en) A kind of video broadcasting method, terminal and computer-readable recording medium
CN108563388B (en) Screen operation method, mobile terminal and computer-readable storage medium
CN107729104B (en) Display method, mobile terminal and computer storage medium
CN110381202B (en) Display adjustment method, mobile terminal and computer-readable storage medium
CN109117069B (en) Interface operation method, terminal and computer readable storage medium
CN110955397A (en) Method for setting frame rate of game terminal, game terminal and storage medium
CN112888084B (en) Full-band communication method and device and mobile terminal
CN107678622B (en) Application icon display method, terminal and storage medium
CN112604281A (en) Game visual field control method, mobile terminal and computer readable storage medium
CN110083294B (en) Screen capturing method, terminal and computer readable storage medium
CN112423211A (en) Multi-audio transmission control method, equipment and computer readable storage medium
CN112135045A (en) Video processing method, mobile terminal and computer storage medium
CN109067976B (en) Desktop automatic switching method, mobile terminal and computer readable storage medium
CN109151201B (en) Anti-addiction method, mobile terminal and computer storage medium

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
TA01 Transfer of patent application right

Effective date of registration: 20220527

Address after: 518000 room 1102, block a, building 38, phase IV and V, Shuian Xindu, Fengtian Road, Longgang District, Shenzhen City, Guangdong Province

Applicant after: Xu Jingsi

Address before: 518000 6-8 / F, 10-11 / F, 6 / F, 6-10 / F, C zone, Han's innovation building, No. 9018, Beihuan Avenue, high tech Zone, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant