WO2021036420A1 - 视频通信方法、终端及存储介质 - Google Patents

视频通信方法、终端及存储介质 Download PDF

Info

Publication number
WO2021036420A1
WO2021036420A1 PCT/CN2020/096154 CN2020096154W WO2021036420A1 WO 2021036420 A1 WO2021036420 A1 WO 2021036420A1 CN 2020096154 W CN2020096154 W CN 2020096154W WO 2021036420 A1 WO2021036420 A1 WO 2021036420A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
camera
display window
screen
video communication
Prior art date
Application number
PCT/CN2020/096154
Other languages
English (en)
French (fr)
Inventor
龚娜
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to US17/638,059 priority Critical patent/US20220294974A1/en
Priority to EP20858309.6A priority patent/EP3975545A4/en
Publication of WO2021036420A1 publication Critical patent/WO2021036420A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • H04N23/661Transmitting camera control signals through networks, e.g. control via the Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/45Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/53Constructional details of electronic viewfinders, e.g. rotatable or detachable
    • H04N23/531Constructional details of electronic viewfinders, e.g. rotatable or detachable being rotatable or detachable
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/695Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/90Arrangement of cameras or camera modules, e.g. multiple cameras in TV studios or sports stadiums
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/75Circuitry for compensating brightness variation in the scene by influencing optical camera components

Definitions

  • the embodiments of the present application relate to, but are not limited to, the field of communication technology, and particularly relate to video communication methods, terminals, and storage media.
  • Video communication refers to communication services that deliver video information. Eyes are a main channel for people to obtain information from the outside world, and the need for visualization of communication is increasing. With the continuous popularization of mobile phones, tablet computers and other terminals, video communication has become more and more widely used in video chat, conference TV, remote video medical treatment, and remote video education.
  • the general terminal video communication can only transmit the video data collected by one camera at the local end to the opposite end, which cannot meet the user's communication needs based on the front and rear cameras of the terminal, and the user experience is poor.
  • the embodiments of the present application provide a video communication method, a terminal, and a storage medium, and aim to solve one of the technical problems in the related technology at least to a certain extent.
  • an embodiment of the present application provides a video communication method for a first terminal having a first front camera and a first rear camera, the first terminal is in communication connection with the second terminal, and the method includes: Collecting video data of the first front camera and the first rear camera; transmitting the video data of the first front camera and the first rear camera to the second terminal.
  • an embodiment of the present application provides a video communication method for a second terminal connected to a first terminal in communication.
  • the method includes: acquiring video data from a first front camera and a first rear camera from the first terminal. Camera video data; displaying a first display window and a second display window; the first display window is used to display the video data of the first front camera, and the second display window is used to display the first rear camera Video data.
  • inventions of the present application provide a video communication method for use in a video communication system.
  • the video communication system includes a first terminal and a second terminal.
  • the first terminal is in communication connection with the second terminal.
  • the terminal has a first front camera and a first rear camera, and the method includes: the first terminal executes the video communication method described in the first aspect; correspondingly, the second terminal executes the second aspect Video communication method.
  • an embodiment of the present application provides a terminal, including: a memory, a processor, and a computer program stored in the memory and capable of running on the processor.
  • the processor executes the program, it realizes: as described in the first aspect The video communication method described above; or, the video communication method described in the second aspect.
  • the embodiments of the present application provide a video communication system, including a first terminal and a second terminal;
  • the first terminal includes: a first memory, a first processor, and a A computer program running on a processor, and when the first processor executes the program, the video communication method as described in the first aspect is implemented;
  • the second terminal includes: a second memory, a second processor, and A computer program stored on the second memory and executable on the second processor, and the second processor implements the video communication method as described in the second aspect when the second processor executes the program.
  • embodiments of the present application provide a computer-readable storage medium that stores computer-executable instructions, and the computer-executable instructions are used to: execute the video communication method described in the first aspect; or, execute the video communication method described in the second aspect. Or implement the video communication method described in the third aspect.
  • Fig. 1 is a flowchart of a video communication method provided by an embodiment of the present application
  • FIG. 2 is a flowchart of a video communication method provided by another embodiment of the present application.
  • FIG. 3 is a flowchart of a video communication method provided by another embodiment of the present application.
  • FIG. 4 is a flowchart of a video communication method provided by another embodiment of the present application.
  • FIG. 5 is a flowchart of a video communication method provided by another embodiment of the present application.
  • FIG. 6 is a flowchart of a video communication method provided by another embodiment of the present application.
  • Figure 7a is a schematic diagram of the layout of a display window provided by an embodiment of the present application.
  • FIG. 7b is a schematic diagram of the layout of a display window provided by another embodiment of the present application.
  • FIG. 8 is a flowchart of a video communication method provided by another embodiment of the present application.
  • FIG. 9 is a flowchart of a video communication method provided by another embodiment of the present application.
  • FIG. 10 is a flowchart of a video communication method provided by another embodiment of the present application.
  • FIG. 11 is a flowchart of a video communication method provided by another embodiment of the present application.
  • FIG. 12 is a flowchart of a video communication method provided by another embodiment of the present application.
  • FIG. 13 is a flowchart of a video communication method provided by another embodiment of the present application.
  • FIG. 14a is a schematic diagram of the layout of a display window provided by another embodiment of the present application.
  • FIG. 14b is a schematic diagram of the layout of a display window provided by another embodiment of the present application.
  • FIG. 14c is a schematic diagram of the layout of a display window provided by another embodiment of the present application.
  • FIG. 15 is a flowchart of a video communication method provided by another embodiment of the present application.
  • FIG. 16 is a block diagram of internal modules of a first terminal according to an embodiment of the present application.
  • FIG. 17 is a block diagram of internal modules of a second terminal according to an embodiment of the present application.
  • General terminal video communication can only transmit the video data collected by one camera at the local end to the opposite end, which cannot meet the user's communication needs based on the front and rear cameras of the terminal, and the user experience is poor. For example, in today’s society, most parents are very busy and don’t have time to tutor their children’s homework, and communicate with their children. The general terminal video communication mode cannot allow parents to see their children’s views through the front-facing camera window. Dynamic, while tutoring the child's homework through the rear camera.
  • the embodiments of the present application provide a video communication method, a terminal, and a storage medium, which can simultaneously use the front camera and the rear camera of the terminal for video communication, thereby improving user experience.
  • the video data obtained by the front and rear cameras of the local end can be transmitted to the opposite end (such as the terminal held by the parent), and the opposite end can not only see the front of the local end.
  • both the first terminal and the second terminal may be mobile terminal devices or non-mobile terminal devices.
  • Mobile terminal devices can be mobile phones, tablets, laptops, handheld computers, vehicle-mounted terminal devices, wearable devices, ultra-mobile personal computers, netbooks or personal digital assistants, etc.; non-mobile terminal devices can be personal computers, televisions, teller machines, or Self-service machines and so on.
  • Video communication can be any video communication in which the communication content includes video data.
  • it can be a video call in which the communication content includes data communication such as video and voice, or it can be a video communication in which the communication content includes data communication such as video, voice, and files.
  • It may be a video communication in which the communication content only contains video data.
  • the first terminal and the second terminal may be a direct communication connection, such as a communication connection via WiFi or Bluetooth; or a third-party network communication connection, such as a mobile Internet (2G/3G/4G/5G, etc.) communication connection.
  • the input device of the first terminal or the second terminal may be a common input device such as a touch screen, a mouse, and a keyboard, or may be an intelligent input device such as a visual sensor and a sound sensor.
  • corresponding user operation instructions can be obtained by analyzing user operations on input devices such as touch screens, mice, keyboards, etc.; image recognition, voice recognition and other algorithms can also be used to analyze image, sound and other information to obtain corresponding user operation instructions.
  • the user operation may be a touch or click operation to trigger an entrance on the display interface of the first terminal.
  • an embodiment of the present application provides a video communication method for a first terminal.
  • the first terminal has a first front camera, a first rear camera, a first data collection module, and a first data transmission module, and the first terminal is in communication connection with the second terminal.
  • the first front camera may be a single camera or a camera group composed of multiple cameras; the first rear camera may be a single camera or a camera group composed of multiple cameras.
  • the first data collection module is mainly responsible for the data collection of the first terminal, including the video data collection of the first front camera and the first rear camera, and the first rotation angle information collection.
  • the first data transmission module is mainly responsible for establishing a communication connection with the second terminal, transmitting the data collected by the first data collecting module to the second terminal, and receiving data information from the second terminal.
  • the video communication method of Example 1A includes steps:
  • S1120 Transmit the video data of the first front camera and the first rear camera to the second terminal.
  • a communication link may be established between the first terminal and the second terminal, and when the video communication is started, the execution of steps S1110 and S1120 may be directly triggered; it may also be a single-camera video communication process to obtain the first user operation instruction, The execution of steps S1110 and S1120 is triggered according to the first user operation instruction.
  • a communication trigger entry (such as a selection button, a selection box, etc.) can be provided on the display interface of the first terminal, and the user operation can be obtained through the input device of the first terminal, and the first user operation can be obtained by analyzing the user operation. Instructions, and trigger execution of steps S1110 and S1120 according to the first user operation instruction.
  • the first data collection module can be used to collect the video data of the first front camera and the first rear camera; in step S1120, the first data transmission module can be used to connect the first front camera and the first rear camera. The video data is transmitted to the second terminal.
  • Example 1B the video communication method of Example 1B further includes the steps:
  • S1220 Adjust the camera parameters of the first front camera or the first rear camera according to the camera adjustment instruction; the camera parameters include at least one of the following parameters: focal length, aperture, fill light, etc.
  • the camera parameters of the front and/or rear cameras of the first terminal can be adjusted.
  • the first data transmission module may be used to receive a camera adjustment instruction from the second terminal.
  • the first terminal is a mobile phone held by the child
  • the second terminal is a mobile phone held by the parent.
  • the parent can see the child's movement through the first front-facing camera video data transmitted from the first terminal , And check the child’s homework through the first rear camera.
  • the parents find that the job image is not clear, they can input the desired definition value through the second terminal to configure the relevant parameters (aperture, focal length, etc.) of the first rear camera; or they can be provided on the display interface of the second terminal
  • the slide bar/adjustment knob adjusts the related parameters (aperture, focal length, etc.) of the first rear camera.
  • the second terminal converts the definition or operation input by the parent into camera adjustment instructions, and transmits the camera adjustment instructions to the first terminal; the first terminal receives the camera adjustment instructions, and changes the camera by calling the relevant interface of the first rear camera Related parameters (aperture, focal length, etc.), thereby changing the definition of the image displayed by the second terminal, so that parents can see the job image clearly.
  • the camera parameters include at least one of the following parameters: focal length, aperture, fill light, and so on. Users can set different camera parameters according to actual needs. For example, the user can adjust the sharpness of the image captured by the first front camera or the second front camera by adjusting the focus and/or aperture parameters, and adjust the first front camera or the second front camera by adjusting the fill light parameters. The intensity of the camera fill light.
  • the method before step S1210, the method further includes the following steps:
  • step S1200 may be to directly authorize the second terminal matching the associated user by pre-binding the associated user. For example, if the child’s mobile phone is the first terminal, and the parent’s mobile phone pre-binding associated with the first terminal is the second terminal, the first terminal can directly authorize the second terminal to adjust the camera parameters after verifying the identity information of the second terminal. Permissions. Step S1200 may also obtain the second user operation instruction, and grant the second terminal the authority to adjust the camera parameters according to the second user operation instruction. For example, when the first terminal and the second terminal start video communication or video communication, the authorization trigger entry can be provided on the display interface of the first terminal, and the user operation can be obtained through the input device of the first terminal, and the first terminal can be obtained by analyzing the user operation. 2.
  • a user operation instruction, and the execution of step S1200 is triggered according to the second user operation instruction.
  • the authorization trigger entry can be fixedly set in the display interface of the video communication, or can be dynamically popped up according to the authorization request from the second terminal; the authorization trigger entry can be in the form of a selection button, a selection box, etc.
  • the video communication method of Example 1C further includes the steps:
  • S1310 Transmit the first rotation angle information of the first terminal to the second terminal.
  • the first terminal can transmit the first rotation angle information to the second terminal, so that the second terminal can adjust the video image according to the first rotation angle.
  • the second terminal can perform appropriate algorithm processing based on the received first rotation angle information, combined with the detected second rotation angle information of the second terminal, so that the image is always on the second terminal no matter how the mobile phone is placed It is displayed in a forward direction, which dynamically and intelligently changes the orientation of the video screen displayed in the video window; it ensures that no matter how the first terminal and the second terminal rotate, the video screen always keeps the image displayed in the forward direction so as to be presented to the user.
  • the interface is more beautiful and flexible, which effectively improves the user experience.
  • the first rotation angle information may be collected through the first data collection module, and the first rotation angle information of the first terminal may be transmitted to the second terminal through the first data transmission module.
  • the first rotation angle may be 0 degrees, 90 degrees, 180 degrees, 270 degrees, and so on.
  • the first terminal may be a mobile phone.
  • the rotation angle of the first terminal is 0 degrees, the first front camera and the first rear camera are both vertical screen and forward shooting; when the rotation angle of the first terminal is 90 degrees When the first front camera and the first rear camera are both horizontal screen and forward shooting; when the rotation angle of the first terminal is 180 degrees, the first front camera and the first rear camera are both vertical screen and inverted Shooting; when the rotation angle of the first terminal is 270 degrees, the first front camera and the first rear camera are both landscape and reverse shooting.
  • the video communication method of Example 1D further includes the steps:
  • S1410 Obtain a first mode switching instruction, and according to the first mode switching instruction, switching the communication mode is: transmitting the video data of the first front camera or the first rear camera to the second terminal.
  • the video communication mode can be switched through step S1410.
  • the first terminal is a mobile phone held by a child
  • the second terminal is a mobile phone held by a parent.
  • the user of the first terminal can switch between online teaching mode and chat mode at will.
  • the online teaching mode corresponds to the video communication mode based on the front and rear cameras.
  • the first front camera and the first rear camera of the first terminal are turned on at the same time, and the video data of the first front camera and the first rear camera are collected. ; Transmit the video data of the first front camera and the first rear camera to the second terminal.
  • the chat mode corresponds to the single-camera-based video communication mode.
  • the first terminal only turns on the first front camera or only the first rear camera, and transmits the video data of the first front camera or the first rear camera to the Two terminal. If the user has completed the teaching and only needs a leisurely chat, the online teaching mode can be switched to the chat mode, so as to save data traffic and better conduct video chats.
  • the first mode switching instruction may be a third user operation instruction from the first terminal, or may be a switching instruction from the second terminal.
  • a switching trigger entry (such as a selection button, a selection box, etc.) can be provided on the display interface of the first terminal, and the user operation can be obtained through the input device of the first terminal, and the third user operation can be obtained by analyzing the user operation. Instruction, and trigger the execution mode switching action according to the third user operation instruction.
  • Example 1E further includes the steps:
  • S1510 Obtain a local switch control instruction, and control the switch state of the first front camera and/or the first rear camera according to the local switch control instruction;
  • S1520 Acquire a remote switch control instruction from the second terminal, and control the switch state of the first front camera and/or the first rear camera according to the remote switch control instruction.
  • the first terminal can turn off/on the camera by executing step S1510. For example, you can get the user's click on the relevant control button, parse the local switch control instruction, and call the close/open camera interface of the first front camera and/or the first rear camera to close/open the first front camera And/or the first rear camera.
  • the first terminal can turn off/on the camera by executing step S1520.
  • the first terminal can obtain the remote switch control instruction from the second terminal, and realize the closing/opening of the first front camera and/or the closing/opening camera interface of the first front camera and/or the first rear camera. Or the first rear camera.
  • the embodiments of the present application provide a video communication method for a second terminal.
  • the second terminal has a second data collection module, a second data transmission module, and a second display screen, and the second terminal is in communication connection with the first terminal.
  • the first terminal has a first front camera and a first rear camera.
  • the first front camera may be a single camera or a camera group composed of multiple cameras; the first rear camera may be a single camera or a camera group composed of multiple cameras.
  • the second data collection module is mainly responsible for the data collection of the second terminal, including camera adjustment instructions.
  • the second data transmission module is mainly responsible for establishing a communication connection with the first terminal, transmitting the data collected by the second data collecting module to the first terminal, and receiving data information from the first terminal.
  • the second terminal further includes a second front camera and a second rear camera.
  • the second front camera may be a single camera or a camera group composed of multiple cameras; the second rear camera may be a single camera or a camera group composed of multiple cameras.
  • the video communication method of Example 2A includes the steps:
  • S2110 Acquire video data of the first front camera and video data of the first rear camera from the first terminal;
  • S2120 Display a first display window and a second display window; the first display window is used to display video data of the first front camera, and the second display window is used to display video data of the first rear camera.
  • a communication link may be established between the first terminal and the second terminal, and when the video communication is started, the execution of steps S2110 and S2120 may be directly triggered; it may also be the acquisition of the fourth user operation instruction during the single-camera video communication process, The execution of steps S2110 and S2120 is triggered according to the fourth user operation instruction.
  • a communication trigger entry (such as a selection button, a selection box, etc.) can be provided on the display interface of the first terminal, and the user operation can be obtained through the input device of the second terminal, and the fourth user operation can be obtained by analyzing the user operation. Instructions, and trigger execution of steps S2110 and S2120 according to the fourth user operation instruction.
  • the second data transmission module may be used to obtain the first front camera video data and the first rear camera video data from the first terminal; in step S2120, the second display screen may be used to display the first display window and the second display window. 2. Display window.
  • step S2120 the first display window and the second display window are displayed on the display interface of the second terminal.
  • the first display window Display1 and the second display window Display2 can be displayed side by side (refer to FIG. 7a), superimposed display (refer to FIG. 7b), or other display modes.
  • the video communication method of Example 2B further includes the steps:
  • S2210 Send a camera adjustment instruction to the first terminal, so that the first terminal can adjust the camera parameters of the first front camera or the first rear camera.
  • the camera parameters include at least one of the following parameters: focal length, aperture, and fill light.
  • the second terminal sends a camera adjustment instruction to adjust the camera parameters of the front and/or rear cameras of the first terminal, so that The content displayed by the second terminal is clearer or displays more content.
  • the second data transmission module may be used to send a camera adjustment instruction to the first terminal.
  • the first terminal is a mobile phone held by the child
  • the second terminal is a mobile phone held by the parent.
  • the parent can see the child’s dynamics through the first display window of the second terminal, and through the second terminal. Display a window to view the child's homework.
  • the parents find that the job image is not clear, they can input the desired definition value through the second terminal to configure the relevant parameters (aperture, focal length, etc.) of the first rear camera; or they can be provided on the display interface of the second terminal
  • the slide bar/adjustment knob adjusts the related parameters (aperture, focal length, etc.) of the first rear camera.
  • the second terminal converts the definition or operation input by the parent into camera adjustment instructions, and transmits the camera adjustment instructions to the first terminal; the first terminal receives the camera adjustment instructions, and changes the camera by calling the relevant interface of the first rear camera Related parameters (aperture, focal length, etc.), thereby changing the clarity of the image displayed in the second display window, so that parents can see the job image clearly.
  • the camera parameters include at least one of the following parameters: focal length, aperture, fill light, and so on. Users can set different camera parameters according to actual needs. For example, the user can adjust the sharpness of the image captured by the first front camera or the second front camera by adjusting the focus and/or aperture parameters, and adjust the first front camera or the second front camera by adjusting the fill light parameters. The intensity of the camera fill light.
  • the method before step S2210, the method further includes the following steps:
  • step S2200 may be to pre-bind the associated user, and the second terminal matching the associated user directly obtains authorization. For example, if the child’s mobile phone is the first terminal, and the parent’s mobile phone pre-binding associated with the first terminal is the second terminal, then after the first terminal verifies the identity information of the second terminal, the second terminal directly obtains the authority to adjust camera parameters . Step S2200 may also obtain the second user operation instruction, and grant the second terminal the authority to adjust the camera parameters according to the second user operation instruction.
  • the authorization request trigger entry can be provided on the display interface of the first terminal, and the user operation can be obtained through the input device of the first terminal, and the result can be obtained by analyzing the user operation.
  • the fifth user operation instruction, and the authorization request is sent to the first terminal according to the fifth user operation instruction, and the authority to adjust the camera parameters of the first terminal is obtained according to the authorized operation of the first terminal.
  • the authorization request trigger entry can be fixedly set in the display interface of the second terminal video communication; the authorization request trigger entry can be in the form of a selection button, a selection box, etc.
  • the video communication method of Example 2C further includes the steps:
  • S2310 Acquire first rotation angle information from the first terminal and second rotation angle information from the second terminal;
  • S2320 Control the rotation angle of the first display window and/or the second display window according to the first rotation angle information and the second rotation angle information.
  • the second terminal displays the video image (such as a portrait) of the first terminal horizontally, in order to keep the picture always The forward direction is upward, and the first display window and/or the second display window of the second terminal also need to be rotated by 90 degrees.
  • the first terminal can transmit the first rotation angle information to the second terminal, and the second terminal adjusts the video image according to the first rotation angle information and the second rotation angle information.
  • the second terminal can perform appropriate algorithm processing based on the received first rotation angle information, combined with the detected second rotation angle information of the second terminal, so that no matter how the mobile phone is placed, the image is always on the second terminal It is displayed in the forward direction, thereby dynamically and intelligently changing the orientation of the video screen displayed in the first display window and/or the second display window; ensuring that no matter how the first terminal and the second terminal are rotated, the video screen always keeps the image in the forward direction It is displayed upwards, so that the interface presented to the user is more beautiful and flexible, thereby effectively improving the user experience.
  • the first rotation angle information from the first terminal may be acquired through the second data transmission module, and the second rotation angle information of the second terminal may be acquired through the second data acquisition module.
  • the first rotation angle may be 0 degrees, 90 degrees, 180 degrees, 270 degrees, and so on.
  • the first terminal may be a mobile phone.
  • the rotation angle of the first terminal is 0 degrees, the first front camera and the first rear camera are both vertical screen and forward shooting; when the rotation angle of the first terminal is 90 degrees When the first front camera and the first rear camera are both horizontal screen and forward shooting; when the rotation angle of the first terminal is 180 degrees, the first front camera and the first rear camera are both vertical screen and inverted Shooting; when the rotation angle of the first terminal is 270 degrees, the first front camera and the first rear camera are both landscape and reverse shooting.
  • the second rotation angle may be 0 degrees, 90 degrees, 180 degrees, 270 degrees, and so on.
  • the corresponding rotation angle of the first display window and/or the second display window can be obtained according to the control algorithm shown in Table 1 below:
  • the second terminal By acquiring the first rotation angle information from the first terminal and the second rotation angle information of the second terminal, it is convenient for the second terminal to adjust the video image according to the first rotation angle information and the second rotation angle information.
  • the video communication method of Example 2D further includes the steps:
  • S2411 Acquire video data of the first front camera or video data of the first rear camera from the first terminal;
  • S2413 Display the video data of the first front camera or the video data of the first rear camera from the first terminal in the first display window;
  • S2414 Display the second front camera video data or the second rear camera video data from the second terminal in the second display window.
  • the video communication mode can be switched through step S2410.
  • the first terminal is a mobile phone held by a child
  • the second terminal is a mobile phone held by a parent.
  • the user of the first terminal can switch between online teaching mode and chat mode at will.
  • the online teaching mode corresponds to the video communication mode based on the front and rear cameras.
  • the first front camera and the first rear camera of the first terminal are turned on at the same time, and the video data of the first front camera and the first rear camera are collected. ; Transmit the video data of the first front camera and the first rear camera to the second terminal, display the video data of the first front camera in the first display window of the second terminal, and display the video data of the first front camera in the second display window of the second terminal
  • the first rear camera video data is transmitted to the video data of the first front camera and the first rear camera to the second terminal, display the video data of the first front camera in the first display window of the second terminal.
  • the chat mode corresponds to the single-camera-based video communication mode.
  • the first terminal only turns on the first front camera or only the first rear camera, and transmits the video data of the first front camera or the first rear camera to the Two terminal. Display the video data of the first front camera in the first display window of the second terminal, and display the video data taken by the second front camera or the second rear camera in the second display window; or, in the second display window of the second terminal Display the video data of the first rear camera, and display the video data taken by the second front camera or the second rear camera in the first display window.
  • the online teaching mode can be switched to the chat mode, and the video stream of the second display window can be switched to the second front of the second terminal Set the video stream collected by the camera, so that the second display window can display the second front camera screen of the local end, so as to better conduct video chats and save data traffic.
  • the second mode switching instruction may be a switching instruction from the first terminal, or a sixth user operation instruction from the second terminal.
  • a switch trigger entry (such as a selection button, a selection box, etc.) can be provided on the display interface of the second terminal, and the user operation can be obtained through the input device of the second terminal, and the sixth user operation can be obtained by analyzing the user operation. Instruction, and trigger the execution mode switching action according to the sixth user operation instruction.
  • Example 2E further includes the steps:
  • S2510 Send a remote switch control instruction to the first terminal, so that the first terminal can control the switch state of the first front camera and/or the first rear camera.
  • the second terminal may implement step S2510 to remotely turn off/on the first front camera and/or the first rear camera.
  • the video communication method of Example 2F further includes the steps:
  • S2610 Obtain a custom display window control instruction, and control a display mode of the first display window and/or the second display window according to the custom display window control instruction.
  • the display mode includes at least one of the following display modes: the size, rotation angle, position, shape, etc. of the display window.
  • the display mode of the first display window and/or the second display window can be customized and edited by the user of the second terminal. Users can customize the size, rotation angle, position, shape, etc. of the display window according to their own preferences.
  • the custom display window control instruction in step S2610 can be a custom display window control instruction obtained by analyzing the user's operation on the input device of the second terminal. The user's operation can be a drag operation, a rotation operation, and a display window. Zoom operation, double-click operation, etc.
  • the display mode of the editing display window includes but is not limited to one or more of the following editing operations: moving the display window; rotating the display window; reducing or enlarging the display window; changing the shape of the display window .
  • the display window can be moved according to the movement distance and direction parameters of the user's drag operation on the display window; the display window can also be rotated according to the rotation angle and rotation direction parameters of the user's rotation operation on the display window;
  • the scale parameter of the window zoom operation to reduce or enlarge the display window; it can also change the shape of the display window according to the user's double-click operation on the display window.
  • the moving display window exceeds the boundary of the terminal display interface according to the moving distance and moving direction parameters of the user’s drag operation on the display window, the moving editing operation is stopped to avoid incomplete display of the display window and ensure that the display window is displayed. Completeness.
  • Example 2F is a flexible screen, and the video communication method of Example 2F further includes the steps:
  • S2720 Adjust the display mode of the first display window and the second display window according to the bending or folding parameter.
  • step S2710 may obtain the bending or folding parameters of the flexible screen through the second data collection module.
  • the flexible screen includes a first screen and a second screen.
  • the first screen and the second screen can be folded at any angle from 0 to 180 degrees.
  • Step S2720 includes the following sub-steps:
  • the first screen of the flexible screen may be appointed as the main screen 261, and the second screen may be appointed as the secondary screen 262.
  • the main screen 261 and the secondary screen 262 can be folded at any angle between 0 and 180 degrees. And can be rotated horizontally and vertically.
  • step S2721 the first display window Display1 and the second display window Display2 are only displayed on the main screen 261, referred to as single A mode for short, refer to FIG.
  • step S2722 when step S2722 is performed, the first display window Display1 and the second display window Display2 Both are displayed on the main screen 261 and the secondary screen 262, and the display content is the same, referred to as AA mode, refer to Figure 14b; when step S2723 is executed, the first display window Display1 is displayed on the main screen 261 alone, and the second display window Display2 is on the secondary screen 262 Shown separately, referred to as Big A mode for short, refer to Figure 14c.
  • the display modes of the first display window Display1 and the second display window Display2 can be switched to different modes such as single A mode, AA mode, and large A mode according to the folding angle of the flexible screen.
  • the embodiments of the present application provide a video communication method for use in a video communication system.
  • the video communication system includes a first terminal and a second terminal, and the first terminal is in communication connection with the second terminal.
  • the first terminal has a first front camera, a first rear camera, a first data collection module, a first data transmission module, and a first display screen.
  • the first front camera may be a single camera or a camera group composed of multiple cameras; the first rear camera may be a single camera or a camera group composed of multiple cameras.
  • the first data collection module is mainly responsible for the data collection of the first terminal, including the video data collection of the first front camera and the first rear camera, and the first rotation angle information collection.
  • the first data transmission module is mainly responsible for establishing a communication connection with the second terminal, transmitting the data collected by the first data collecting module to the second terminal, and receiving data information from the second terminal.
  • the second terminal has a second data collection module, a second data transmission module and a second display screen, and the second terminal is in communication connection with the first terminal.
  • the second data collection module is mainly responsible for the data collection of the second terminal, including camera adjustment instructions.
  • the second data transmission module is mainly responsible for establishing a communication connection with the first terminal, transmitting the data collected by the second data collecting module to the first terminal, and receiving data information from the first terminal.
  • the second terminal further includes a second front camera and a second rear camera.
  • the second front camera may be a single camera or a camera group composed of multiple cameras; the second rear camera may be a single camera or a camera group composed of multiple cameras.
  • Both the first display screen and the second display screen may be flexible screens.
  • the video communication method of Example 3A includes:
  • the first terminal executes the video communication method of the first aspect; correspondingly, the second terminal executes the video communication method of the second aspect.
  • the first terminal executes the video communication method as in Example 1A, and correspondingly, the second terminal executes the video communication method as in Example 2A; or, the first terminal executes the video communication method as in Example 1B, correspondingly, The second terminal executes the video communication method as in Example 2B; or, the first terminal executes the video communication method as in Example 1C, and correspondingly, the second terminal executes the video communication method as in Example 2C; or, the first terminal executes the video communication method as in Example 1D.
  • the second terminal executes the video communication method as in Example 2D; or, the first terminal executes the video communication method as in Example 1E, and correspondingly, the second terminal executes the video communication method as in Example 2E; or , The first terminal executes the video communication method as in any one of Examples 1A, 1B, 1C, 1D, and 1E, and correspondingly, the second terminal executes the video communication method as in Example 2F or 2G.
  • the status of the first terminal and the second terminal in the video relationship process can be exchanged, that is, video data can be sent to each other.
  • the first display screen can display two display windows. The two display windows are respectively used to display video data from the second front camera and the second rear camera.
  • the implementation method is similar to the video communication method of the second aspect described above. I won't repeat them here.
  • the first terminal is a mobile phone held by the child
  • the second terminal is a mobile phone held by the parent.
  • the parent can see the child’s dynamics through the first display window of the second terminal, and at the same time through the second terminal.
  • the child’s homework can be viewed through the display window, and the child can see the parent’s dynamics through the two display windows of the first terminal, and at the same time see the parent’s problem-solving steps and methods through the second rear camera of the second terminal.
  • This video communication The method is very conducive to teaching guidance.
  • an embodiment of the present application provides a terminal, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, which is implemented when the processor executes the program:
  • the terminal of Example 4A may be the first terminal that implements the video communication method as in the first aspect.
  • the first terminal has a first memory 120, a first processor 110, a first front camera 131, a first rear camera 132, a first data collection module 140, and a first data transmission The module 150 and the first display screen 160.
  • the output terminals of the first front camera 131 and the first rear camera 132 are both connected to the input terminal of the first data acquisition module 140, and the output terminal of the first data acquisition module 140 is connected to the input terminal of the first processor.
  • a processor 110 is connected to the first memory 120, the first processor 110 is connected to the first data transmission module 150, and the output terminal of the first processor 110 is connected to the input terminal of the first display screen 160.
  • the first front camera 131 may be a single camera or a camera group composed of multiple cameras; the first rear camera 132 may be a single camera or a camera group composed of multiple cameras.
  • the first data collection module 140 is mainly responsible for the data collection of the first terminal, including the video data collection of the first front camera 131 and the first rear camera 132, and the first rotation angle information collection.
  • the first data transmission module 150 is mainly responsible for establishing a communication connection with the second terminal, transmits the data collected by the first data collection module 140 to the second terminal, and receives data information from the second terminal.
  • the first display screen 160 may be a normal screen or a flexible screen.
  • a first computer program is stored in the first memory 120, and the first computer program can be run on the processor, and the processor implements the video communication method according to the first aspect described above when the processor executes the first computer program.
  • the terminal of Example 4B may be a second terminal that implements the video communication method as in the second aspect.
  • the second terminal has a second memory 220, a second processor 210, a second front camera 231, a second rear camera 232, a second data collection module 240, and a second data transmission Module 250 and second display screen 260.
  • the output terminals of the second front camera 231 and the second rear camera 232 are both connected to the input terminal of the second data acquisition module 240, and the output terminal of the second data acquisition module 240 is connected to the input terminal of the second processor.
  • the second processor 210 is connected to the second memory 220, the second processor 210 is connected to the second data transmission module 250, and the output terminal of the second processor 210 is connected to the input terminal of the second display screen 260.
  • the second front camera 231 may be a single camera or a camera group composed of multiple cameras; the second rear camera 232 may be a single camera or a camera group composed of multiple cameras.
  • the second data collection module 240 is mainly responsible for the data collection of the second terminal, including the video data collection of the second front camera 231 and the second rear camera 232, and the second rotation angle information collection.
  • the second data transmission module 250 is mainly responsible for establishing a communication connection with the first terminal, transmits the data collected by the second data collection module 240 to the first terminal, and receives data information from the first terminal.
  • the second display screen 260 may be a normal screen or a flexible screen.
  • a second computer program is stored on the second memory 220, and the second computer program can be run on the processor, and the processor implements the video communication method of the second aspect as described above when the processor executes the second computer program.
  • an embodiment of the present application provides a video communication system, including a first terminal and a second terminal;
  • the first terminal includes: a first memory, a first processor, and a computer program that is stored on the first memory and can run on the first processor, and the first processor implements the video communication method as in the first aspect when the program is executed;
  • the second terminal includes: a second memory, a second processor, and a computer program that is stored on the second memory and can run on the second processor.
  • the second processor executes the program to implement the video in the second aspect. Communication method.
  • the embodiments of the present application provide a computer-readable storage medium that stores computer-executable instructions, and the computer-executable instructions are used to:
  • the embodiment of the application includes: using a first terminal to collect video data of the first front camera and the first rear camera; transmitting the video data of the first front camera and the first rear camera To the second terminal; use the second terminal to obtain the first front camera video data and the first rear camera video data from the first terminal; display the first display window and the second display window; the first display window The second display window is used to display the video data of the first front camera, and the second display window is used to display the video data of the first rear camera.
  • the device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • computer storage medium includes volatile and non-volatile data implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data).
  • Information such as computer-readable instructions, data structures, program modules, or other data.
  • Computer storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or Any other medium used to store desired information and that can be accessed by a computer.
  • communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

视频通信方法、终端及存储介质,所述视频通信方法包括:利用第一终端采集所述第一前置摄像头和所述第一后置摄像头的视频数据(S1110);将所述第一前置摄像头和所述第一后置摄像头的视频数据传输给所述第二终端(S1120);利用第二终端获取来自第一终端的第一前置摄像头视频数据和第一后置摄像头视频数据(S2110);显示第一显示窗口和第二显示窗口;所述第一显示窗口用于显示所述第一前置摄像头视频数据,所述第二显示窗口用于显示所述第一后置摄像头视频数据(S2120)。

Description

视频通信方法、终端及存储介质
相关申请的交叉引用
本申请基于申请号为201910809639.7、申请日为2019年8月29日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本申请实施例涉及但不限于通信技术领域,尤其涉及视频通信方法、终端及存储介质。
背景技术
视频通信是指传递视频信息的通信服务。眼睛是人们获得外界信息的一种主要渠道,通信的可视化需求越来越高。随着手机、平板电脑等终端的不断普及,视频通信在视频聊天、会议电视、远程视频医疗、远程视频教育等方面得到越来越广泛的应用。
然而,一般的终端视频通信只能将本端一个摄像头采集的视频数据传递给对端,不能满足用户基于终端前后摄像头的通信需求,用户体验较差。
发明内容
本申请实施例提供了视频通信方法、终端及存储介质,旨在至少在一定程度上解决相关技术中的技术问题之一。
第一方面,本申请实施例提供了视频通信方法,用于具有第一前置摄像头和第一后置摄像头的第一终端,所述第一终端与第二终端通信连接,所述方法包括:采集所述第一前置摄像头和所述第一后置摄像头的视频数据;将所述第一前置摄像头和所述第一后置摄像头的视频数据传输给所述第二终端。
第二方面,本申请实施例提供了视频通信方法,用于与第一终端通信连接的第二终端,所述方法包括:获取来自第一终端的第一前置摄像头视频数据和第一后置摄像头视频数据;显示第一显示窗口和第二显示窗口;所述第一显示窗口用于显示所述第一前置摄像头视频数据,所述第二显示窗口用于显示所述第一后置摄像头视频数据。
第三方面,本申请实施例提供了视频通信方法,用于视频通信系统,所述视频通信系统包括第一终端和第二终端,所述第一终端与第二终端通信连接,所述第一终端具有第一前置摄像头和第一后置摄像头,所述方法包括:所述第一终端执行第一方面所述的视频通信方法;对应地,所述第二终端执行第二方面所述的视频通信方法。
第四方面,本申请实施例提供了终端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现:如第一方面所述的视频通信方法;或者,如第二方面所述的视频通信方法。
第五方面,本申请实施例提供了视频通信系统,包括第一终端和第二终端;所述第一终端包括:第一存储器、第一处理器及存储在第一存储器上并可在第一处理器上运行的计算机程序,所述第一处理器执行所述程序时实现如第一方面所述的视频通信方法;对应地,所述第二终端包括:第二存储器、第二处理器及存储在第二存储器上并可在第二处理器上运行的计算机程序,所述第二处理器执行所述程序时实现如第二方面所述的视频通信方法。
第六方面,本申请实施例提供了计算机可读存储介质,存储有计算机可执行指令,所 述计算机可执行指令用于:执行第一方面所述的视频通信方法;或者,执行第二方面所述的视频通信方法;或者,执行第三方面所述的视频通信方法。
本申请的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。
附图说明
附图用来提供对本申请技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本申请的技术方案,并不构成对本申请技术方案的限制。
图1是本申请一个实施例提供的视频通信方法的流程图;
图2是本申请另一实施例提供的视频通信方法的流程图;
图3是本申请另一实施例提供的视频通信方法的流程图;
图4是本申请另一实施例提供的视频通信方法的流程图;
图5是本申请另一实施例提供的视频通信方法的流程图;
图6是本申请另一实施例提供的视频通信方法的流程图;
图7a本申请一个实施例提供的显示窗口布局示意图;
图7b本申请另一个实施例提供的显示窗口布局示意图;
图8是本申请另一实施例提供的视频通信方法的流程图;
图9是本申请另一实施例提供的视频通信方法的流程图;
图10是本申请另一实施例提供的视频通信方法的流程图;
图11是本申请另一实施例提供的视频通信方法的流程图;
图12是本申请另一实施例提供的视频通信方法的流程图;
图13是本申请另一实施例提供的视频通信方法的流程图;
图14a是本申请另一个实施例提供的显示窗口布局示意图;
图14b是本申请另一个实施例提供的显示窗口布局示意图;
图14c是本申请另一个实施例提供的显示窗口布局示意图;
图15是本申请另一实施例提供的视频通信方法的流程图;
图16是本申请一实施例提供的第一终端内部模块框图;
图17是本申请一实施例提供的第二终端内部模块框图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。
需要说明的是,虽然在装置示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置中的模块划分,或流程图中的顺序执行所示出或描述的步骤。说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
一般的终端视频通信只能将本端一个摄像头采集的视频数据传递给对端,不能满足用户基于终端前后摄像头的通信需求,用户体验较差。例如,当今社会大部分家长都很忙,没时间辅导孩子作业,以及和孩子交流、沟通越来越少,一般的终端视频通信模式无法让家长一边通过传递过来的前置摄像头窗口看到小孩的动态,一边通过后置摄像头对孩子的 作业进行辅导。
基于此,本申请实施例提供了视频通信方法、终端及存储介质,能够实现同时利用终端的前置摄像头和后置摄像头进行视频通信,从而提升用户体验。例如,在一个教学示例场景中,可以将本端(如孩子所持终端)前置和后置摄像头获取的视频数据一起传送给对端(如家长所持终端),对端不仅可以看到本端的前置摄像头获取的图像,进行视频聊天,还可以看到本端后置摄像头获取的图像内容(书本、文件等),从而有利于进行在线教学辅导。
需要说明的是,下列多种实施例中,第一终端和第二终端均可以为移动终端设备,也可以为非移动终端设备。移动终端设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、超级移动个人计算机、上网本或者个人数字助理等;非移动终端设备可以为个人计算机、电视机、柜员机或者自助机等。视频通信可以是任何通信内容包含视频数据的视频通信,例如,可以是通信内容包含视频、语音等数据通信的视频通话,也可以是通信内容包含视频、语音、文件等数据通信的视频通信,也可以是通信内容仅包含视频数据的视频通信。第一终端与第二终端可以是直接通信连接,如通过WiFi连接、蓝牙进行通信连接;也可以是通过第三方网络通信连接,如通过移动互联网(2G/3G/4G/5G等)通信连接。
第一终端或第二终端的输入装置可以是触摸屏、鼠标、键盘等常见输入装置,也可以是视觉传感器、声音传感器等智能输入装置。对应地,可通过解析用户对触摸屏、鼠标、键盘等输入装置的操作,得到相应的用户操作指令;也可利用图像识别、语音识别等算法解析图像、声音等信息以得到相应的用户操作指令。用户操作可以是对第一终端显示界面触发入口的触摸、点击操作。
第一方面,本申请实施例提供用于第一终端的视频通信方法。
在一些实施例中,第一终端具有第一前置摄像头、第一后置摄像头、第一数据采集模块、第一数据传输模块,第一终端与第二终端通信连接。其中,第一前置摄像头可以是单个摄像头,也可以是多个摄像头组成的摄像头组;第一后置摄像头可以是单个摄像头,也可以是多个摄像头组成的摄像头组。第一数据采集模块主要负责第一终端的数据采集,包括第一前置摄像头、第一后置摄像头的视频数据采集,第一旋转角度信息采集等。第一数据传输模块主要负责与第二终端建立通信连接,将第一数据采集模块采集的数据传输给第二终端,并接收来自第二终端的数据信息。
示例1A
参照图1,示例1A的视频通信方法包括步骤:
S1110,采集第一前置摄像头和第一后置摄像头的视频数据;
S1120,将第一前置摄像头和第一后置摄像头的视频数据传输给第二终端。
在一些实施例中,可以在第一终端和第二终端建立通信链路,开始视频通信时,直接触发执行步骤S1110和S1120;也可以是单摄像头视频通信过程中,获取第一用户操作指令,根据第一用户操作指令触发执行步骤S1110和S1120。在一实施例中,可以在第一终端的显示界面上提供通信触发入口(如选择按钮、选择框等),并通过第一终端的输入装置获取用户操作,通过解析用户操作得到第一用户操作指令,并根据第一用户操作指令触发执行步骤S1110和S1120。步骤S1110中,可以利用第一数据采集模块采集第一前置摄像头和第一后置摄像头的视频数据;步骤S1120中,可以利用第一数据传输模块将第一前 置摄像头和第一后置摄像头的视频数据传输给第二终端。
根据本申请实施例提供的方案,能够实现同时利用终端的前置摄像头和后置摄像头进行视频通信,从而提升了用户体验。
示例1B
参照图2,相对于示例1A,示例1B的视频通信方法还包括步骤:
S1210,接收来自第二终端的摄像头调节指令;
S1220,根据摄像头调节指令调节第一前置摄像头或第一后置摄像头的摄像头参数;摄像头参数包括下列参数的至少一种:焦距、光圈、补光等。
在一些实施例中,在第一终端和第二终端进行视频通信过程中,接收来自第二终端的摄像头调节指令,就可以对第一终端的前置和/或后置摄像头的摄像头参数进行调节,使得第二终端显示的内容更加清晰或显示更多内容。步骤S1210中,可以利用第一数据传输模块接收来自第二终端的摄像头调节指令。
例如,在一个家庭远程教学应用场景中,第一终端为孩子手持的手机,第二终端为家长手持的手机,家长可以通过第一终端传递过来的第一前置摄像头视频数据看到小孩的动态,同时通过第一后置摄像头查看孩子的作业。当家长通过发现作业图像不清晰时,可以通过第二终端输入想要的清晰度数值,以配置第一后置摄像头的相关参数(光圈、焦距等);或者可以通过第二终端显示界面上提供的滑动条/调节旋钮调节调节第一后置摄像头的相关参数(光圈、焦距等)。第二终端将家长输入的清晰度或操作转换为摄像头调节指令,并将摄像头调节指令传送给第一终端;第一终端接收摄像头调节指令,并通过调用第一后置摄像头的相关接口,改变摄像头的相关参数(光圈、焦距等),从而改变第二终端显示图像的清晰度,进而使得家长可看清作业图像。
在一些实施例中,摄像头参数包括下列参数的至少一种:焦距、光圈、补光等。用户可根据实际需要设置不同的摄像头参数。例如,用户可通过调节焦距和/或光圈参数实现调节第一前置摄像头或第二前置摄像头所采集图像的清晰度,可通过调节补光参数实现调节第一前置摄像头或第二前置摄像头补光的强度。
在一些实施例中,步骤S1210之前还包括步骤:
S1200,授予第二终端调节摄像头参数的权限。
其中,步骤S1200可以是通过预绑定关联用户,对与关联用户匹配的第二终端直接授权。例如,孩子的手机为第一终端,与第一终端预绑定关联的家长的手机为第二终端,则第一终端在验证第二终端身份信息后,可直接授予第二终端调节摄像头参数的权限。步骤S1200也可以通过获取第二用户操作指令,根据第二用户操作指令授予第二终端调节摄像头参数的权限。例如,可以在第一终端和第二终端开始视频通信或视频通信过程中,在第一终端显示界面上提供授权触发入口,并通过第一终端的输入装置获取用户操作,通过解析用户操作得到第二用户操作指令,并根据第二用户操作指令触发执行步骤S1200。授权触发入口可以固定设置在视频通信的显示界面中,也可以根据来自第二终端的授权请求动态弹出;授权触发入口的形式可以是选择按钮、选择框等。
示例1C
参照图3,相对于示例1A或示例1B,示例1C的视频通信方法还包括步骤:
S1310,将第一终端的第一旋转角度信息传输给第二终端。
通过结合步骤S1310,第一终端可以将第一旋转角度信息传输给第二终端,便于第二 终端根据第一旋转角度调整视频画面。例如,第二终端可以根据接收到的第一旋转角度信息,结合检测到的第二终端的第二旋转角度信息,进行适当的算法处理,以达到无论手机如何放置,图像始终在第二终端上是正向朝上显示,从而动态、智能的改变视频窗口显示的视频画面朝向;保证了无论第一终端和第二终端如何旋转,视频画面永远始终保持图像正向朝上显示,以便呈现给用户的界面更美观、灵活,从而有效提升了用户体验。步骤S1310中,可以通过第一数据采集模块采集第一旋转角度信息,并通过第一数据传输模块将第一终端的第一旋转角度信息传输给第二终端。
在一些实施例中,第一旋转角度可以是0度、90度、180度、270度等。例如,第一终端可以是手机,当第一终端的旋转角度为0度时,第一前置摄像头和第一后置摄像头均为竖屏正向拍摄;当第一终端的旋转角度为90度时,第一前置摄像头和第一后置摄像头均为横屏正向拍摄;当第一终端的旋转角度为180度时,第一前置摄像头和第一后置摄像头均为竖屏倒向拍摄;当第一终端的旋转角度为270度时,第一前置摄像头和第一后置摄像头均为横屏倒向拍摄。通过将第一旋转角度信息传输给第二终端,可便于第二终端根据第一旋转角度调整视频画面。
示例1D
参照图4,相对于示例1A或示例1B或示例1C,示例1D的视频通信方法还包括步骤:
S1410,获取第一模式切换指令,根据第一模式切换指令,切换通信模式为:将第一前置摄像头或第一后置摄像头的视频数据传输给与第二终端。
在一些实施例中,可以通过步骤S1410进行视频通信的模式切换。例如,在一个家庭远程教学/聊天应用场景中,第一终端为孩子手持的手机,第二终端为家长手持的手机,第一终端用户可以在线教学模式和聊天模式之间任意切换。在线教学模式对应为基于前置和后置摄像头的视频通信模式,第一终端的第一前置摄像头和第一后置摄像头同时打开,采集第一前置摄像头和第一后置摄像头的视频数据;将第一前置摄像头和第一后置摄像头的视频数据传输给第二终端。聊天模式对应为基于单摄像头的视频通信模式,第一终端仅打开第一前置摄像头或仅打开第一后置摄像头,将第一前置摄像头或第一后置摄像头的视频数据传输给与第二终端。假如用户已经教学完成,只需要悠闲的聊天,则可以将在线教学模式切换成聊天模式,以便能够节省数据流量和更好地进行视频聊天。
其中,第一模式切换指令可以是来自第一终端的第三用户操作令,也可以是来自第二终端的切换指令。在一实施例中,可以在第一终端的显示界面上提供切换触发入口(如选择按钮、选择框等),并通过第一终端的输入装置获取用户操作,通过解析用户操作得到第三用户操作指令,并根据第三用户操作指令触发执行模式切换动作。
示例1E
参照图5,相对于示例1A或示例1B或示例1C或示例1D,示例1E的视频通信方法还包括步骤:
S1510,获取本地开关控制指令,根据本地开关控制指令控制第一前置摄像头和/或第一后置摄像头的开关状态;
或者,
S1520,获取来自第二终端的远程开关控制指令,根据远程开关控制指令控制第一前置摄像头和/或第一后置摄像头的开关状态。
在一些实施例中,第一终端可用通过执行步骤S1510来关闭/打开摄像头。例如,可以 获取用户点击相关控制按钮的操作,解析得到本地开关控制指令,通过调用第一前置摄像头和/或第一后置摄像头的关闭/打开摄像头接口,实现关闭/打开第一前置摄像头和/或第一后置摄像头。
在另一些实施例中,第一终端可用通过执行步骤S1520来关闭/打开摄像头。例如,第一终端可获取来自第二终端的远程开关控制指令,通过调用第一前置摄像头和/或第一后置摄像头的关闭/打开摄像头接口,实现关闭/打开第一前置摄像头和/或第一后置摄像头。
第二方面,本申请实施例提供用于第二终端的视频通信方法。
在一些实施例中,第二终端具有第二数据采集模块、第二数据传输模块和第二显示屏,第二终端与第一终端通信连接。第一终端具有第一前置摄像头和第一后置摄像头。其中,第一前置摄像头可以是单个摄像头,也可以是多个摄像头组成的摄像头组;第一后置摄像头可以是单个摄像头,也可以是多个摄像头组成的摄像头组。第二数据采集模块主要负责第二终端的数据采集,包括摄像头调节指令等。第二数据传输模块主要负责与第一终端建立通信连接,将第二数据采集模块采集的数据传输给第一终端,并接收来自第一终端的数据信息。在一些实施例中,第二终端还包括第二前置摄像头和第二后置摄像头。其中,第二前置摄像头可以是单个摄像头,也可以是多个摄像头组成的摄像头组;第二后置摄像头可以是单个摄像头,也可以是多个摄像头组成的摄像头组。
示例2A
参照图6,示例2A的视频通信方法包括步骤:
S2110,获取来自第一终端的第一前置摄像头视频数据和第一后置摄像头视频数据;
S2120,显示第一显示窗口和第二显示窗口;第一显示窗口用于显示第一前置摄像头视频数据,第二显示窗口用于显示第一后置摄像头视频数据。
在一些实施例中,可以在第一终端和第二终端建立通信链路,开始视频通信时,直接触发执行步骤S2110和S2120;也可以是单摄像头视频通信过程中,获取第四用户操作指令,根据第四用户操作指令触发执行步骤S2110和S2120。在一实施例中,可以在第一终端的显示界面上提供通信触发入口(如选择按钮、选择框等),并通过第二终端的输入装置获取用户操作,通过解析用户操作得到第四用户操作指令,并根据第四用户操作指令触发执行步骤S2110和S2120。步骤S2110中,可以利用第二数据传输模块获取来自第一终端的第一前置摄像头视频数据和第一后置摄像头视频数据;步骤S2120中,可以利用第二显示屏显示第一显示窗口和第二显示窗口。
在一些实施例中,步骤S2120中,在第二终端的显示界面上显示第一显示窗口和第二显示窗口。第一显示窗口Display1和第二显示窗口Display2可以是并排显示(参照图7a),也可以是叠加显示(参照图7b),也可以是其它显示方式。
根据本申请实施例提供的方案,能够实现同时利用第一终端的前置摄像头和后置摄像头进行视频通信,从而提升了用户体验。
示例2B
参照图8,相对于示例2A,示例2B的视频通信方法还包括步骤:
S2210,发送摄像头调节指令给第一终端,以供第一终端进行第一前置摄像头或第一后置摄像头的摄像头参数调节。摄像头参数包括下列参数的至少一种:焦距、光圈、补光。
在一些实施例中,在第一终端和第二终端进行视频通信过程中,第二终端发送摄像头调节指令,就可以对第一终端的前置和/或后置摄像头的摄像头参数进行调节,使得第二终 端显示的内容更加清晰或显示更多内容。步骤S2210中,可以利用第二数据传输模块发送摄像头调节指令给第一终端。
例如,在一个家庭远程教学应用场景中,第一终端为孩子手持的手机,第二终端为家长手持的手机,家长可以通过第二终端的第一显示窗口看到小孩的动态,同时通过第二显示窗口查看孩子的作业。当家长通过发现作业图像不清晰时,可以通过第二终端输入想要的清晰度数值,以配置第一后置摄像头的相关参数(光圈、焦距等);或者可以通过第二终端显示界面上提供的滑动条/调节旋钮调节调节第一后置摄像头的相关参数(光圈、焦距等)。第二终端将家长输入的清晰度或操作转换为摄像头调节指令,并将摄像头调节指令传送给第一终端;第一终端接收摄像头调节指令,并通过调用第一后置摄像头的相关接口,改变摄像头的相关参数(光圈、焦距等),从而改变第二显示窗口显示图像的清晰度,进而使得家长可看清作业图像。
在一些实施例中,摄像头参数包括下列参数的至少一种:焦距、光圈、补光等。用户可根据实际需要设置不同的摄像头参数。例如,用户可通过调节焦距和/或光圈参数实现调节第一前置摄像头或第二前置摄像头所采集图像的清晰度,可通过调节补光参数实现调节第一前置摄像头或第二前置摄像头补光的强度。
在一些实施例中,步骤S2210之前还包括步骤:
S2200,获取调节第一终端摄像头参数的权限。
其中,步骤S2200可以是通过预绑定关联用户,与关联用户匹配的第二终端直接获得授权。例如,孩子的手机为第一终端,与第一终端预绑定关联的家长的手机为第二终端,则第一终端在验证第二终端身份信息后,第二终端直接获得调节摄像头参数的权限。步骤S2200也可以通过获取第二用户操作指令,根据第二用户操作指令授予第二终端调节摄像头参数的权限。例如,可以在第一终端和第二终端开始视频通信或视频通信过程中,在第一终端显示界面上提供授权请求触发入口,并通过第一终端的输入装置获取用户操作,通过解析用户操作得到第五用户操作指令,并根据第五用户操作指令发送授权请求给到第一终端,并根据第一终端的授权操作获取调节第一终端摄像头参数的权限。授权请求触发入口可以固定设置在第二终端视频通信的显示界面中;授权请求触发入口的形式可以是选择按钮、选择框等。
示例2C
参照图9,相对于示例2A或示例2B,示例2C的视频通信方法还包括步骤:
S2310,获取来自第一终端的第一旋转角度信息和第二终端的第二旋转角度信息;
S2320,根据第一旋转角度信息和第二旋转角度信息,控制第一显示窗口和/或第二显示窗口的旋转角度。
在一些实施例中,如果第一终端旋转90度,第二终端旋转0度,如果不做任何处理,第二终端显示出第一终端的视频图像(如人像)就是横着的,为了让画面始终正向朝上,则第二终端的第一显示窗口和/或第二显示窗口也需要旋转90度。基于此,本示例通过结合步骤S2310和S2320,第一终端可以将第一旋转角度信息传输给第二终端,第二终端根据第一旋转角度信息和第二旋转角度信息调整视频画面。例如,第二终端可以根据接收到的第一旋转角度信息,结合检测到的第二终端的第二旋转角度信息,进行适当的算法处理,以达到无论手机如何放置,图像始终在第二终端上是正向朝上显示,从而动态、智能的改变第一显示窗口和/或第二显示窗口显示的视频画面朝向;保证了无论第一终端和第二终端 如何旋转,视频画面永远始终保持图像正向朝上显示,以便呈现给用户的界面更美观、灵活,从而有效提升了用户体验。步骤S2310中,可以通过第二数据传输模块获取来自第一终端的第一旋转角度信息,通过第二数据采集模块采集第二终端的第二旋转角度信息。
在一些实施例中,第一旋转角度可以是0度、90度、180度、270度等。例如,第一终端可以是手机,当第一终端的旋转角度为0度时,第一前置摄像头和第一后置摄像头均为竖屏正向拍摄;当第一终端的旋转角度为90度时,第一前置摄像头和第一后置摄像头均为横屏正向拍摄;当第一终端的旋转角度为180度时,第一前置摄像头和第一后置摄像头均为竖屏倒向拍摄;当第一终端的旋转角度为270度时,第一前置摄像头和第一后置摄像头均为横屏倒向拍摄。第二旋转角度可以是0度、90度、180度、270度等。对应的第一显示窗口和/或第二显示窗口旋转角度可按照下列表一所示的控制算法得出:
Figure PCTCN2020096154-appb-000001
表一:控制算法
通过获取来自第一终端的第一旋转角度信息和第二终端的第二旋转角度信息,可便于第二终端根据第一旋转角度信息和第二旋转角度信息调整视频画面。
示例2D
参照图10,相对于示例2A或示例2B或示例2C,示例2D的视频通信方法还包括步骤:
S2410,获取第二模式切换指令,根据第二模式切换指令,切换通信模式为:
S2411,获取来自第一终端的第一前置摄像头视频数据或第一后置摄像头视频数据;
S2412,获取来自第二终端的第二前置摄像头视频数据或第二后置摄像头视频数据;
S2413,在第一显示窗口显示来自第一终端的第一前置摄像头视频数据或第一后置摄像头视频数据;
S2414,在第二显示窗口显示来自第二终端的第二前置摄像头视频数据或第二后置摄像头视频数据。
在一些实施例中,可以通过步骤S2410进行视频通信的模式切换。例如,在一个家庭远程教学/聊天应用场景中,第一终端为孩子手持的手机,第二终端为家长手持的手机,第一终端用户可以在线教学模式和聊天模式之间任意切换。
在线教学模式对应为基于前置和后置摄像头的视频通信模式,第一终端的第一前置摄 像头和第一后置摄像头同时打开,采集第一前置摄像头和第一后置摄像头的视频数据;将第一前置摄像头和第一后置摄像头的视频数据传输给第二终端,在第二终端的第一显示窗口显示第一前置摄像头视频数据,在第二终端的第二显示窗口显示第一后置摄像头视频数据。
聊天模式对应为基于单摄像头的视频通信模式,第一终端仅打开第一前置摄像头或仅打开第一后置摄像头,将第一前置摄像头或第一后置摄像头的视频数据传输给与第二终端。在第二终端的第一显示窗口显示第一前置摄像头视频数据,在第二显示窗口显示第二前置摄像头或第二后置摄像头拍摄视频数据;或者,在第二终端的第二显示窗口显示第一后置摄像头视频数据,在第一显示窗口显示第二前置摄像头或第二后置摄像头拍摄视频数据。在一个家庭远程教学/聊天应用场景中,假如用户已经教学完成,只需要悠闲的聊天,则可以将在线教学模式切换成聊天模式,将第二显示窗口视频流切换成第二终端的第二前置摄像头采集的视频流,这样第二显示窗口就可以显示本端第二前置摄像头画面,以便能够更好的进行视频聊天和节省数据流量。
其中,第二模式切换指令可以是来自第一终端的切换指令,也可以是来自第二终端的第六用户操作指令。在一实施例中,可以在第二终端的显示界面上提供切换触发入口(如选择按钮、选择框等),并通过第二终端的输入装置获取用户操作,通过解析用户操作得到第六用户操作指令,并根据第六用户操作指令触发执行模式切换动作。
示例2E
参照图11,相对于示例2A或示例2B或示例2C或示例2D,示例2E的视频通信方法还包括步骤:
S2510,发送远程开关控制指令到第一终端,以供第一终端控制第一前置摄像头和/或第一后置摄像头的开关状态。
在一些实施例中,第二终端可用通过执行步骤S2510来实现远程关闭/打开第一前置摄像头和/或第一后置摄像头。
示例2F
参照图12,相对于示例2A或示例2B或示例2C或示例2D或示例2E,示例2F的视频通信方法还包括步骤:
S2610,获取自定义显示窗口控制指令,根据自定义显示窗口控制指令控制第一显示窗口和/或第二显示窗口的显示方式。显示方式包括下列显示方式的至少一种:显示窗口的大小、旋转角度、位置、形状等。
在一些实施例中,第一显示窗口和/或第二显示窗口的显示方式是可供第二终端的用户自定义编辑的。用户可以根据自己的喜好自定义显示窗口的大小、旋转角度、位置、形状等。步骤S2610中的自定义显示窗口控制指令可以是通过解析用户对第二终端的输入装置的操作,得到的自定义显示窗口控制指令,用户的操作可以是对显示窗口的拖动操作、旋转操作、缩放操作、双击操作等。编辑显示窗口(第一显示窗口或第二显示窗口)的显示方式包括但不限于以下编辑操作的一种或多种:移动显示窗口;旋转显示窗口;缩小或放大显示窗口;改变显示窗口的形状。例如,可根据用户对显示窗口拖动操作的移动距离和移动方向参数,移动显示窗口;也可根据用户对显示窗口旋转操作的旋转角度和旋转方向参数,旋转显示窗口;也可根据用户对显示窗口缩放操作的比例参数,缩小或放大显示窗口;也可根据用户对显示窗口的双击操作,改变显示窗口形状。在一些实施例中,当根据 用户对显示窗口拖动操作的移动距离和移动方向参数,移动显示窗口超出终端显示界面的边界,停止移动编辑操作,以避免显示窗口显示不完全,保证显示窗口显示的完整性。
示例2G
参照图13,相对于示例2A或示例2B或示例2C或示例2D或示例2E,示例2F中的第二显示屏为柔性屏幕,示例2F视频通信方法还包括步骤:
S2710,获取柔性屏幕的弯曲或折叠参数;
S2720,根据弯曲或折叠参数调整第一显示窗口和第二显示窗口的显示方式。
本示例通过结合步骤S2710和S2711,融合柔性屏幕可以进行任意的弯曲和折叠,并且可以横竖屏转换的特性,实现了显示窗口的显示方式随着屏幕的弯曲、折叠、旋转而智能动态的适配改变。在一些实施例中,步骤S2710可以通过第二数据采集模块获取柔性屏幕的弯曲或折叠参数。
在一些实施例中,柔性屏幕包括第一屏幕和第二屏幕,第一屏幕和第二屏幕之间可以进行0到180度的任意折叠,步骤S2720包括以下子步骤:
S2721,判断第一屏幕和第二屏幕折叠角度为0度时,在第一屏幕同时显示第一显示窗口和第二显示窗口;
S2722,判断第一屏幕和第二屏幕折叠角度为大于0度小于180度时,在第一屏幕同时显示第一显示窗口和第二显示窗口,在第二屏幕同时显示第一显示窗口和第二显示窗口;
S2723,判断第一屏幕和第二屏幕折叠角度为180度时,在第一屏幕显示第一显示窗口,在第二屏幕显示第二显示窗口。
在一些实施例中,为了便于理解,可以将柔性屏幕的第一屏幕约定为主屏261,第二屏幕约定为副屏262,主屏261和副屏262之间可以进行0~180度的任意折叠,并且可以横竖屏旋转。当执行步骤S2721时,第一显示窗口Display1和第二显示窗口Display2只显示在主屏261,简称为单A模式,参照图14a;当执行步骤S2722时,第一显示窗口Display1和第二显示窗口Display2均在主屏261和副屏262显示,且显示内容相同,简称为AA模式,参照图14b;当执行步骤S2723时,第一显示窗口Display1在主屏261单独显示,第二显示窗口Display2在副屏262单独显示,简称为大A模式,参照图14c。第一显示窗口Display1和第二显示窗口Display2显示方式根据柔性屏幕的折叠角度可以切换成单A模式、AA模式、大A模式等不同的模式。
第三方面,本申请实施例提供了视频通信方法,用于视频通信系统,视频通信系统包括第一终端和第二终端,第一终端与第二终端通信连接。
在一些实施例中,第一终端具有第一前置摄像头、第一后置摄像头、第一数据采集模块、第一数据传输模块和第一显示屏。其中,第一前置摄像头可以是单个摄像头,也可以是多个摄像头组成的摄像头组;第一后置摄像头可以是单个摄像头,也可以是多个摄像头组成的摄像头组。第一数据采集模块主要负责第一终端的数据采集,包括第一前置摄像头、第一后置摄像头的视频数据采集,第一旋转角度信息采集等。第一数据传输模块主要负责与第二终端建立通信连接,将第一数据采集模块采集的数据传输给第二终端,并接收来自第二终端的数据信息。第二终端具有第二数据采集模块、第二数据传输模块和第二显示屏,第二终端与第一终端通信连接。第二数据采集模块主要负责第二终端的数据采集,包括摄像头调节指令等。第二数据传输模块主要负责与第一终端建立通信连接,将第二数据采集模块采集的数据传输给第一终端,并接收来自第一终端的数据信息。在一实施例中,第二 终端还包括第二前置摄像头和第二后置摄像头。其中,第二前置摄像头可以是单个摄像头,也可以是多个摄像头组成的摄像头组;第二后置摄像头可以是单个摄像头,也可以是多个摄像头组成的摄像头组。第一显示屏和第二显示屏均可以是柔性屏幕。
示例3A
参照图15,示例3A的视频通信方法包括:
S3000,第一终端执行第一方面的视频通信方法;对应地,第二终端执行第二方面的视频通信方法。
在一些实施例中,第一终端执行如示例1A的视频通信方法,对应地,第二终端执行如示例2A的视频通信方法;或者,第一终端执行如示例1B的视频通信方法,对应地,第二终端执行如示例2B的视频通信方法;或者,第一终端执行如示例1C的视频通信方法,对应地,第二终端执行如示例2C的视频通信方法;或者,第一终端执行如示例1D的视频通信方法,对应地,第二终端执行如示例2D的视频通信方法;或者,第一终端执行如示例1E的视频通信方法,对应地,第二终端执行如示例2E的视频通信方法;或者,第一终端执行如示例1A、1B、1C、1D、1E任一个的视频通信方法,对应地,第二终端执行如示例2F或2G的视频通信方法。
在一些实施例中,第一终端和第二终端在视频关系过程中的地位可以互换,即可以互相发送视频数据。第一显示屏可以显示两个显示窗口,两个显示窗口分别用于显示来自第二前置摄像头和第二后置摄像头的视频数据,其实现方法与上述第二方面的视频通信方法类同,在此不做赘述。在一个家庭远程教学/聊天应用场景中,第一终端为孩子手持的手机,第二终端为家长手持的手机,家长可以通过第二终端的第一显示窗口看到小孩的动态,同时通过第二显示窗口查看孩子的作业,孩子可以通过第一终端的两个显示窗口分别看到家长的动态,同时通过第二终端的第二后置摄像头看到家长的解题步骤和方法,这种视频通信方式很有利于教学辅导。
第四方面,本申请实施例提供了终端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行程序时实现:
如第一方面的视频通信方法;
或者,
如第二方面的视频通信方法。
示例4A
示例4A的终端可以是实施如第一方面的视频通信方法的第一终端。
参照图16,在一些实施例中,第一终端具有第一存储器120、第一处理器110、第一前置摄像头131、第一后置摄像头132、第一数据采集模块140、第一数据传输模块150和第一显示屏160。第一前置摄像头131、第一后置摄像头132的输出端均与第一数据采集模块140的输入端连接,第一数据采集模块140的输出端与第一处处理器的输入端连接,第一处理器110与第一存储器120连接,第一处理器110与第一数据传输模块150连接,第一处理器110的输出端与第一显示屏160的输入端连接。其中,第一前置摄像头131可以是单个摄像头,也可以是多个摄像头组成的摄像头组;第一后置摄像头132可以是单个摄像头,也可以是多个摄像头组成的摄像头组。第一数据采集模块140主要负责第一终端的数据采集,包括第一前置摄像头131、第一后置摄像头132的视频数据采集,第一旋转角度信息采集等。第一数据传输模块150主要负责与第二终端建立通信连接,将第一数据 采集模块140采集的数据传输给第二终端,并接收来自第二终端的数据信息。第一显示屏160可以是普通屏幕,也可以是柔性屏幕。第一存储器120上存储有第一计算机程序,第一计算机程序可在处理器上运行,处理器执行第一计算机程序时实现如上述第一方面的视频通信方法。
示例4B
示例4B的终端可以是实施如第二方面的视频通信方法的第二终端。
参照图17,在一些实施例中,第二终端具有第二存储器220、第二处理器210、第二前置摄像头231、第二后置摄像头232、第二数据采集模块240、第二数据传输模块250和第二显示屏260。第二前置摄像头231、第二后置摄像头232的输出端均与第二数据采集模块240的输入端连接,第二数据采集模块240的输出端与第二处处理器的输入端连接,第二处理器210与第二存储器220连接,第二处理器210与第二数据传输模块250连接,第二处理器210的输出端与第二显示屏260的输入端连接。其中,第二前置摄像头231可以是单个摄像头,也可以是多个摄像头组成的摄像头组;第二后置摄像头232可以是单个摄像头,也可以是多个摄像头组成的摄像头组。第二数据采集模块240主要负责第二终端的数据采集,包括第二前置摄像头231、第二后置摄像头232的视频数据采集,第二旋转角度信息采集等。第二数据传输模块250主要负责与第一终端建立通信连接,将第二数据采集模块240采集的数据传输给第一终端,并接收来自第一终端的数据信息。第二显示屏260可以是普通屏幕,也可以是柔性屏幕。第二存储器220上存储有第二计算机程序,第二计算机程序可在处理器上运行,处理器执行第二计算机程序时实现如上述第二方面的视频通信方法。
第五方面,本申请实施例提供了视频通信系统,包括第一终端和第二终端;
第一终端包括:第一存储器、第一处理器及存储在第一存储器上并可在第一处理器上运行的计算机程序,第一处理器执行程序时实现如第一方面的视频通信方法;
对应地,第二终端包括:第二存储器、第二处理器及存储在第二存储器上并可在第二处理器上运行的计算机程序,第二处理器执行程序时实现如第二方面的视频通信方法。
第六方面,本申请实施例提供了计算机可读存储介质,存储有计算机可执行指令,计算机可执行指令用于:
执行第一方面的视频通信方法;
或者,
执行第二方面的视频通信方法;
或者,
执行第三方面的视频通信方法。
本申请实施例包括:利用第一终端采集所述第一前置摄像头和所述第一后置摄像头的视频数据;将所述第一前置摄像头和所述第一后置摄像头的视频数据传输给所述第二终端;利用第二终端获取来自第一终端的第一前置摄像头视频数据和第一后置摄像头视频数据;显示第一显示窗口和第二显示窗口;所述第一显示窗口用于显示所述第一前置摄像头视频数据,所述第二显示窗口用于显示所述第一后置摄像头视频数据。根据本申请实施例提供的方案,能够实现同时利用终端的前置摄像头和后置摄像头进行视频通信,从而提升了用户体验。
以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者 也可以不是物理上分开的,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统可以被实施为软件、固件、硬件及其适当的组合。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。
以上是对本申请的较佳实施进行了具体说明,但本申请并不局限于上述实施方式,熟悉本领域的技术人员在不违背本申请精神的前提下还可作出种种的等同变形或替换,这些等同的变形或替换均包含在本申请权利要求所限定的范围内。

Claims (16)

  1. 视频通信方法,用于具有第一前置摄像头和第一后置摄像头的第一终端,所述第一终端与第二终端通信连接,所述方法包括:
    采集所述第一前置摄像头和所述第一后置摄像头的视频数据;
    将所述第一前置摄像头和所述第一后置摄像头的视频数据传输给所述第二终端。
  2. 根据权利要求1所述的方法,还包括:
    接收来自所述第二终端的摄像头调节指令;
    根据所述摄像头调节指令调节所述第一前置摄像头或所述第一后置摄像头的摄像头参数。
  3. 根据权利要求2所述的方法,其中,所述摄像头参数包括下列参数的至少一种:焦距、光圈、补光。
  4. 根据权利要求1至3任一项所述的方法,还包括:
    将所述第一终端的第一旋转角度信息传输给所述第二终端。
  5. 根据权利要求1至3任一项所述的方法,还包括:
    获取第一模式切换指令,根据所述第一模式切换指令,切换通信模式为:将所述第一前置摄像头或所述第一后置摄像头的视频数据传输给与所述第二终端。
  6. 视频通信方法,用于与第一终端通信连接的第二终端,所述方法包括:
    获取来自第一终端的第一前置摄像头视频数据和第一后置摄像头视频数据;
    显示第一显示窗口和第二显示窗口;
    所述第一显示窗口用于显示所述第一前置摄像头视频数据,所述第二显示窗口用于显示所述第一后置摄像头视频数据。
  7. 根据权利要求6所述的方法,还包括:
    发送摄像头调节指令给第一终端,以供所述第一终端进行所述第一前置摄像头或所述第一后置摄像头的摄像头参数调节。
  8. 根据权利要求7所述的方法,其中,所述摄像头参数包括下列参数的至少一种:焦距、光圈、补光。
  9. 根据权利要求6至8任一项所述的方法,还包括:
    获取来自所述第一终端的第一旋转角度信息和第二终端的第二旋转角度信息;
    根据所述第一旋转角度信息和第二旋转角度信息,控制所述第一显示窗口和/或第二显示窗口的旋转角度。
  10. 根据权利要求6至8任一项所述的方法,还包括:
    获取第二模式切换指令,根据所述第二模式切换指令,切换通信模式为:
    获取来自第一终端的第一前置摄像头视频数据或第一后置摄像头视频数据;
    获取来自第二终端的第二前置摄像头视频数据或第二后置摄像头视频数据;
    在第一显示窗口显示来自第一终端的第一前置摄像头视频数据或第一后置摄像头视频数据;
    在第二显示窗口显示来自第二终端的第二前置摄像头视频数据或第二后置摄像头视频数据。
  11. 根据权利要求6至8任一项所述的方法,其中,所述第二终端具有柔性屏幕,所 述方法还包括:
    获取柔性屏幕的弯曲或折叠参数;
    根据所述弯曲或折叠参数调整所述第一显示窗口和所述第二显示窗口的显示方式。
  12. 根据权利要求11所述的方法,其中,所述柔性屏幕包括第一屏幕和第二屏幕,所述根据所述弯曲或折叠参数调整所述第一显示窗口和所述第二显示窗口的显示方式,包括:
    判断所述第一屏幕和所述第二屏幕折叠角度为0度时,在所述第一屏幕同时显示所述第一显示窗口和所述第二显示窗口;
    判断所述第一屏幕和所述第二屏幕折叠角度为大于0度小于180度时,在所述第一屏幕同时显示所述第一显示窗口和所述第二显示窗口,在所述第二屏幕同时显示所述第一显示窗口和所述第二显示窗口;
    判断所述第一屏幕和所述第二屏幕折叠角度为180度时,在所述第一屏幕显示所述第一显示窗口,在所述第二屏幕显示所述第二显示窗口。
  13. 视频通信方法,用于视频通信系统,所述视频通信系统包括第一终端和第二终端,所述第一终端与第二终端通信连接,所述第一终端具有第一前置摄像头和第一后置摄像头,所述方法包括:
    所述第一终端执行如权利要求1至5任一项所述的视频通信方法;所述第二终端执行如权利要求6至12任一项所述的视频通信方法。
  14. 终端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现:
    如权利要求1至5中任一项所述的视频通信方法;
    或者,
    如权利要求6至12任一项所述的视频通信方法。
  15. 视频通信系统,包括第一终端和第二终端;
    所述第一终端包括:第一存储器、第一处理器及存储在第一存储器上并可在第一处理器上运行的计算机程序,所述第一处理器执行所述程序时实现如权利要求1至5中任一项所述的视频通信方法;
    所述第二终端包括:第二存储器、第二处理器及存储在第二存储器上并可在第二处理器上运行的计算机程序,所述第二处理器执行所述程序时实现如权利要求6至12任一项所述的视频通信方法。
  16. 计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于:
    执行权利要求1至5中任一项所述的视频通信方法;
    或者,
    执行权利要求6至12任一项所述的视频通信方法;
    或者,
    执行权利要求13所述的视频通信方法。
PCT/CN2020/096154 2019-08-29 2020-06-15 视频通信方法、终端及存储介质 WO2021036420A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US17/638,059 US20220294974A1 (en) 2019-08-29 2020-06-15 Video communication method, terminal and storage medium
EP20858309.6A EP3975545A4 (en) 2019-08-29 2020-06-15 VIDEO COMMUNICATION METHOD, TERMINAL AND STORAGE MEDIA

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910809639.7A CN112449097A (zh) 2019-08-29 2019-08-29 视频通信方法、终端及存储介质
CN201910809639.7 2019-08-29

Publications (1)

Publication Number Publication Date
WO2021036420A1 true WO2021036420A1 (zh) 2021-03-04

Family

ID=74684109

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/096154 WO2021036420A1 (zh) 2019-08-29 2020-06-15 视频通信方法、终端及存储介质

Country Status (4)

Country Link
US (1) US20220294974A1 (zh)
EP (1) EP3975545A4 (zh)
CN (1) CN112449097A (zh)
WO (1) WO2021036420A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116095461A (zh) * 2022-05-25 2023-05-09 荣耀终端有限公司 录像方法和相关装置

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114040144A (zh) * 2021-12-01 2022-02-11 展讯通信(天津)有限公司 视频通话方法和电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2672704A1 (en) * 2012-06-08 2013-12-11 Samsung Electronics Co., Ltd Multiple channel communication using multiple cameras
CN106412443A (zh) * 2016-11-22 2017-02-15 维沃移动通信有限公司 一种拍摄方法及移动终端
CN107528938A (zh) * 2017-07-26 2017-12-29 维沃移动通信有限公司 一种视频通话方法、终端及计算机可读存储介质
CN108833821A (zh) * 2018-06-14 2018-11-16 深圳超多维科技有限公司 一种视频通话方法及移动终端
EP3506629A1 (en) * 2017-12-27 2019-07-03 Nokia Technologies Oy Multi-camera display

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8917632B2 (en) * 2010-04-07 2014-12-23 Apple Inc. Different rate controller configurations for different cameras of a mobile device
KR102537922B1 (ko) * 2015-09-11 2023-05-30 삼성전자 주식회사 디스플레이 사이의 각도를 측정하는 방법 및 이를 사용하는 전자 장치
CN107948364B (zh) * 2017-12-28 2021-02-05 努比亚技术有限公司 移动终端拍摄方法、移动终端及计算机可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2672704A1 (en) * 2012-06-08 2013-12-11 Samsung Electronics Co., Ltd Multiple channel communication using multiple cameras
CN106412443A (zh) * 2016-11-22 2017-02-15 维沃移动通信有限公司 一种拍摄方法及移动终端
CN107528938A (zh) * 2017-07-26 2017-12-29 维沃移动通信有限公司 一种视频通话方法、终端及计算机可读存储介质
EP3506629A1 (en) * 2017-12-27 2019-07-03 Nokia Technologies Oy Multi-camera display
CN108833821A (zh) * 2018-06-14 2018-11-16 深圳超多维科技有限公司 一种视频通话方法及移动终端

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3975545A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116095461A (zh) * 2022-05-25 2023-05-09 荣耀终端有限公司 录像方法和相关装置

Also Published As

Publication number Publication date
CN112449097A (zh) 2021-03-05
EP3975545A4 (en) 2022-07-13
US20220294974A1 (en) 2022-09-15
EP3975545A1 (en) 2022-03-30

Similar Documents

Publication Publication Date Title
CN107528938B (zh) 一种视频通话方法、终端及计算机可读存储介质
JP6353603B2 (ja) スマートホームデバイスの制御方法、装置、電子デバイス、プログラム及び記憶媒体
JP5358733B2 (ja) タッチスクリーン機能を変更するためのシステム及び方法
JP6488375B2 (ja) デバイス制御方法及び装置
WO2017161777A1 (zh) 全景直播方法及装置
US9661223B2 (en) Method and device for photographing including camera shake
WO2021051995A1 (zh) 拍照方法及终端
WO2017016146A1 (zh) 图像显示方法及装置
US20220295119A1 (en) Method and apparatus for interacting in live stream
WO2021036420A1 (zh) 视频通信方法、终端及存储介质
KR20110026727A (ko) 영상인식기법을 이용한 촬영 제어 기능을 구비한 이동단말 및 영상인식기법을 이용한 촬영 제어 시스템
US20210297595A1 (en) Method and apparatus for processing video data
CN104777991A (zh) 一种基于手机的远程互动投影系统
WO2015078336A1 (zh) 一种媒体拍摄方法及终端
WO2021237590A1 (zh) 图像采集方法、装置、设备及存储介质
CN111966314A (zh) 图像投屏方法、图像投屏装置、移动终端以及投屏设备
WO2022142944A1 (zh) 直播互动方法及装置
CN105282441A (zh) 拍照方法及装置
WO2019034045A1 (zh) 手持稳定器及其调节相机参数的方法
WO2016045323A1 (zh) 控制视频画面呈现的方法及装置
WO2018133388A1 (zh) 智能飞行设备的拍摄方法及智能飞行设备
WO2018018508A1 (zh) 控制播放的方法及装置
US20140368600A1 (en) Video call method and electronic device supporting the method
US20210243354A1 (en) Voice input apparatus, control method thereof, and storage medium for executing processing corresponding to voice instruction
WO2017166697A1 (zh) 一种显示图像数据的方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20858309

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020858309

Country of ref document: EP

Effective date: 20211224

NENP Non-entry into the national phase

Ref country code: DE