Video call method, mobile terminal, and computer-readable storage medium

By obtaining target layout information during video calls and adjusting the display of the message input window and video function sidebar, the problem of message input obstruction was solved, thus improving the user experience.

CN111010528BActive Publication Date: 2026-01-23SHANGHAI TRANSSION CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201911385886.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-25
Publication Date
2026-01-23
Estimated Expiration
2039-12-25

AI Technical Summary

Technical Problem

During a video call, when sending messages, the message input window and the video function sidebar obscure the video call display interface, resulting in a poor user experience.

Method used

Upon receiving a message sending request, obtain the target layout information, display the message input window according to the target layout information, and adjust the video call window and/or video function sidebar to avoid obscuring the video call window.

Benefits of technology

By optimizing the layout, the message input window and video function sidebar are prevented from obscuring the video call window, thus improving the user's interactive experience in video scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111010528B_ABST
    Figure CN111010528B_ABST
Patent Text Reader

Abstract

The application discloses a video call method. The video call method comprises the following steps: in a video call, when a message sending request is received, target layout information corresponding to the message sending request is acquired; a message input window is displayed according to the target layout information, and a video call window and / or a video function sidebar are adjusted. The application further discloses a mobile terminal and a computer readable storage medium. The application can solve the problem that the existing video call process is affected when a message is sent.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of video call, and in particular to a video call method, a mobile terminal and a computer readable storage medium. BACKGROUND

[0002] With the continuous development of Internet technology and mobile terminal technology, video call has gradually become the main way of communication for people. At present, video call can support multi-party video to facilitate voice and video communication among multiple people. In the process of video call, the video call display interface usually includes the video pictures of multiple parties and a video function sidebar (including beautifying, video basic functions, etc.). When the user needs to send a text message or transmit a file or picture, a corresponding message input window will be popped up, which will block the video call display interface, thereby causing poor video call experience of the user.

[0003] The above content is only used to assist in understanding the technical solutions of the present application and does not represent the acknowledgement of the above content as prior art. SUMMARY

[0004] The main purpose of the present application is to provide a video call method, a mobile terminal and a computer readable storage medium, which aims to solve the problem that sending a message in the process of existing video call will affect the user's video call experience.

[0005] To achieve the above purpose, the present application provides a video call method, which comprises:

[0006] In the video call, when a message sending request is received, the corresponding target layout information is obtained;

[0007] According to the target layout information, a message input window is displayed, and the video call window and / or the video function sidebar is adjusted.

[0008] Optionally, the step of obtaining the corresponding target layout information when the message sending request is received comprises:

[0009] When the message sending request is received, the corresponding message type and the current layout information are obtained;

[0010] According to the message type and the current layout information, the corresponding target layout information is determined.

[0011] Optionally, the video call method further comprises:

[0012] The transparency of the displayed message input window and / or the video function sidebar is reduced.

[0013] Optionally, the video call method further comprises:

[0014] detecting that the input of the message is completed, obtaining the to-be-sent message;

[0015] hiding the message input window, restoring the video call window and the video function sidebar to the layout state before adjustment, and displaying the to-be-sent message in the video function sidebar.

[0016] Optionally, the video call method further comprises:

[0017] when receiving a message sending instruction, sending the to-be-sent message, and restoring the video function sidebar to a normal state.

[0018] Optionally, before the step of obtaining the target layout information corresponding to the message sending request in the video call, the video call method further comprises:

[0019] obtaining the number of call parties of the video call, and obtaining the current display state of the mobile terminal;

[0020] determining a corresponding display mode according to the number of call parties and the current display state;

[0021] displaying the video call window and the video function sidebar according to the display mode.

[0022] Optionally, the video call method further comprises:

[0023] when detecting change information of the display state of the mobile terminal, adjusting the layout state of the mobile terminal according to the change information.

[0024] Optionally, the target layout information at least comprises size information and position information of the message input window, and further comprises at least one of the following: zoom information or position information of the video call window, zoom information, position information or function display information of the video function sidebar.

[0025] Optionally, the video call method further comprises:

[0026] when receiving a function operation instruction triggered based on the video function sidebar, determining a function operation interface according to the function operation instruction, and superimposing and displaying the function operation interface and the message input window.

[0027] Optionally, the step of displaying the message input window according to the target layout information comprises:

[0028] when the current display state of the mobile terminal is a landscape state, and the left display area of the video call window is larger than the right display area, displaying the message input window in the left display area of the video call window according to the target layout information; and / or,

[0029] when the current display state of the mobile terminal is a landscape state, and the left side display area of the video call window is less than or equal to the right side display area, displaying a message input window in the right side display area of the video call window according to the target layout information.

[0030] Optionally, the step of displaying the message input window according to the target layout information comprises at least one of the following:

[0031] when the current display state of the mobile terminal is a landscape state, and the mobile terminal is in a left hand holding state, displaying a message input window in the right side of the video call window according to the target layout information;

[0032] when the current display state of the mobile terminal is a landscape state, and the mobile terminal is in a right hand holding state, displaying a message input window in the left side of the video call window according to the target layout information;

[0033] when the current display state of the mobile terminal is a landscape state, and the mobile terminal is in a left hand holding state or a right hand holding state, displaying a message input window in the left side or the right side of the video call window according to the target layout information.

[0034] Optionally, the video call method further comprises:

[0035] when a splitting instruction of the message input window is received, splitting the message input window into at least a first sub-window and a second sub-window, and displaying the first sub-window and the second sub-window in positions not blocking the video call window and / or the video function sidebar.

[0036] In addition, to achieve the above object, the present application further provides a mobile terminal, comprising a memory, a processor and a video call program stored in the memory and executable on the processor, wherein the video call program, when executed by the processor, implements the steps of the video call method as described above.

[0037] In addition, to achieve the above object, the present application further provides a computer readable storage medium, wherein the computer readable storage medium stores a video call program, and the video call program, when executed by a processor, implements the steps of the video call method as described above.

[0038] This invention provides a video call method, a mobile terminal, and a computer-readable storage medium. During a video call, when a message sending request is received, corresponding target layout information is obtained; a message input window is displayed according to the target layout information, and the video call window and / or video function sidebar are adjusted. Through this method, during a video call, when the user needs to send a message, the target layout information can be obtained, and the video call display interface can be laid out according to the target layout information, i.e., a message input window is displayed, and the video call window and / or video function sidebar are adjusted to avoid the message input window and / or video function sidebar obscuring the video call window, or to reduce the negative user experience caused by the message input window and video function sidebar, thereby enhancing the user's interactive experience in video scenarios. Attached Figure Description

[0039] Figure 1 This is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiments of the present invention;

[0040] Figure 2 This is a flowchart illustrating the first embodiment of the video call method of the present invention;

[0041] Figure 3 This is a schematic diagram of a video call display interface involved in an embodiment of the present invention;

[0042] Figure 4 This is a schematic diagram of the video call display interface during message input, as described in an embodiment of the present invention.

[0043] Figure 5 This is a flowchart illustrating the second embodiment of the video call method of the present invention.

[0044] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0045] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.

[0046] In existing technologies, during video calls, the video call display interface typically includes video feeds from multiple parties and a video function sidebar (including beauty filters, basic video functions, etc.). When a user needs to send text messages or transfer files or images, a corresponding message input window pops up, which obscures the video call display interface, resulting in a poor video call experience for the user.

[0047] To address the aforementioned technical problems, this invention provides a video call method, a mobile terminal, and a computer-readable storage medium. During a video call, when a message sending request is received, corresponding target layout information is obtained; a message input window is displayed according to the target layout information, and the video call window and / or video function sidebar are adjusted. Through this method, during a video call, when the user needs to send a message, the target layout information can be obtained, and the video call display interface can be laid out according to the target layout information, i.e., a message input window is displayed, and the video call window and / or video function sidebar are adjusted. This avoids the message input window and video function sidebar obscuring the video call window, or reduces the negative user experience caused by the message input window and video function sidebar, thereby enhancing the user's interactive experience in video scenarios.

[0048] Reference Figure 1 , Figure 1 This is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiments of the present invention.

[0049] In this embodiment of the invention, the terminal can be a smartphone, or a mobile terminal device with video capabilities such as a tablet computer or a portable computer.

[0050] like Figure 1 As shown, the terminal may include: a processor 1001, such as a CPU (Central Processing Unit), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as Wireless-Fidelity, Wi-Fi). The memory 1005 may be high-speed RAM or stable non-volatile memory, such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0051] Optionally, the terminal may also include a camera, RF (Radio Frequency) circuitry, sensors, audio circuitry, Wi-Fi module, etc. Sensors may include light sensors, motion sensors, and other sensors. Specifically, light sensors may include ambient light sensors and proximity sensors. The ambient light sensor can adjust the display brightness according to the ambient light level, while the proximity sensor can turn off the display and / or backlight when the terminal is moved to the ear. As a type of motion sensor, a gravity accelerometer can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity, and can be used for applications that identify the mobile terminal's posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition functions (such as pedometers, taps), etc. Of course, the terminal may also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, which will not be elaborated here.

[0052] Those skilled in the art will understand that Figure 1 The terminal structure shown does not constitute a limitation on the terminal and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0053] like Figure 1 As shown, the memory 1005, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a video call program.

[0054] exist Figure 1 In the terminal shown, network interface 1004 is mainly used to connect to the backend server and communicate with it; user interface 1003 is mainly used to connect to the client and communicate with it; and processor 1001 can be used to call the video call program stored in memory 1005 and perform the following operations:

[0055] During a video call, when a message sending request is received, the corresponding target layout information is obtained;

[0056] Display the message input window according to the target layout information, and adjust the video call window and / or the video function sidebar.

[0057] Furthermore, the processor 1001 can call the video call program stored in the memory 1005 and also perform the following operations:

[0058] When a message sending request is received, the corresponding message type and current layout information are obtained;

[0059] The corresponding target layout information is determined based on the message type and the current layout information.

[0060] Furthermore, the processor 1001 can call the video call program stored in the memory 1005 and also perform the following operations:

[0061] Reduce the transparency of the display message input window and / or the video function sidebar.

[0062] Furthermore, the processor 1001 can call the video call program stored in the memory 1005 and also perform the following operations:

[0063] When message input is detected to be complete, retrieve the message to be sent;

[0064] Hide the message input window, restore the video call window and the video function sidebar to their original layout, and display the message to be sent in the video function sidebar.

[0065] Furthermore, the processor 1001 can call the video call program stored in the memory 1005 and also perform the following operations:

[0066] Upon receiving a message sending instruction, the message to be sent is sent, and the video function sidebar is restored to its normal state.

[0067] Furthermore, the processor 1001 can call the video call program stored in the memory 1005 and also perform the following operations:

[0068] Get the number of participants in the video call and get the current display status of the mobile terminal;

[0069] The corresponding display method is determined based on the number of callers and the current display status;

[0070] The video call window and video function sidebar are displayed according to the aforementioned display method.

[0071] Furthermore, the processor 1001 can call the video call program stored in the memory 1005 and also perform the following operations:

[0072] When a change in the display status of a mobile terminal is detected, the layout status of the mobile terminal is adjusted accordingly based on the change information.

[0073] Furthermore, the target layout information includes at least the size and position information of the message input window, and also includes at least one of the following: the scaling or position information of the video call window, and the scaling, position, or function display information of the video function sidebar.

[0074] Furthermore, the processor 1001 can call the video call program stored in the memory 1005 and also perform the following operations:

[0075] When a function operation instruction triggered by the video function sidebar is received, the function operation interface is determined according to the function operation instruction, and the function operation interface is displayed overlaid with the message input window.

[0076] Furthermore, the processor 1001 can call the video call program stored in the memory 1005 and also perform the following operations:

[0077] When the mobile terminal is currently in landscape mode, and the left display area of ​​the video call window is larger than the right display area, a message input window is displayed in the left display area of ​​the video call window according to the target layout information; and / or,

[0078] When the current display state of the mobile terminal is landscape mode, and the left display area of ​​the video call window is smaller than or equal to the right display area, a message input window is displayed in the right display area of ​​the video call window according to the target layout information.

[0079] Furthermore, the processor 1001 can call the video call program stored in the memory 1005 and also perform the following operations:

[0080] When the current display state of the mobile terminal is landscape mode and it is held in the left hand, a message input window is superimposed on the right side of the video call window according to the target layout information.

[0081] When the current display state of the mobile terminal is landscape mode and it is held in the right hand, a message input window is superimposed on the left side of the video call window according to the target layout information.

[0082] When the mobile terminal is currently in landscape mode and is held in the left or right hand, a message input window is overlaid on the left or right side of the video call window according to the target layout information.

[0083] Furthermore, the processor 1001 can call the video call program stored in the memory 1005 and also perform the following operations:

[0084] When a split instruction is received for the message input window, the message input window is split into at least a first sub-window and a second sub-window, which are displayed in positions that do not obstruct the video call window and / or the video function sidebar.

[0085] Based on the above hardware structure, various embodiments of the video call method of the present invention are proposed.

[0086] This invention provides a video call method.

[0087] Reference Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the video call method of the present invention.

[0088] In this embodiment, the video call method includes:

[0089] Step S10: During a video call, when a message sending request is received, obtain the corresponding target layout information;

[0090] In this embodiment, prior to step S10, the video call method further includes:

[0091] Step A: Obtain the number of participants in the video call and the current display status of the mobile terminal;

[0092] Step B: Determine the corresponding display method based on the number of callers and the current display status;

[0093] Step C: Display the video call window and the video function sidebar according to the display method described above.

[0094] The executing entity of this invention can be a mobile terminal device with video capabilities, such as a smartphone, tablet computer, or laptop computer. For ease of explanation, this embodiment uses a smartphone as an example.

[0095] In this embodiment, a user can initiate a video call request through video call software on their mobile phone. When the mobile phone receives the video call request, it can obtain the number of parties in the video call and the current display status of the mobile terminal. The number of parties is the number of users participating in the video call, and the current display status is whether the mobile terminal is currently in landscape or portrait display mode.

[0096] Then, based on the number of callers and the current display status, the corresponding display method is determined, and the video call window and video function sidebar are displayed accordingly. Specifically, a mapping relationship between different numbers of callers, display statuses, and corresponding display methods can be pre-defined, and the corresponding display method is determined based on this pre-defined mapping relationship, the number of callers, and the current display status. The video call window displays the avatars of the users participating in the video call, and its display methods can include, but are not limited to: separate window display, picture-in-picture display (shrinking one's own image window and fixing it in the corner of the other party's window to create a picture-in-picture effect), and of course, different arrangement display methods for different numbers of callers and the current display status. The video function sidebar displays some video functions, such as beauty filters, voice switching, mute, screenshot, message sending, and image / file addition—basic shortcut functions. It is usually displayed on the side of the mobile terminal screen, such as the left, right, top, or bottom. It can be understood that the video function sidebar can include one or more, displayed on different sides of the mobile terminal. Figure 3 This shows one way to display the video call window and the video function sidebar during a video call.

[0097] During a video call, when a user wants to send a text message, image, or file, a corresponding message sending request can be triggered, at which point the corresponding target layout information is obtained.

[0098] Specifically, step S10 includes:

[0099] Step a1: When a message sending request is received, obtain the corresponding message type and current layout information;

[0100] Step a2: Determine the corresponding target layout information based on the message type and the current layout information.

[0101] The process of obtaining target layout information is as follows: When a message sending request is received, the corresponding message type and current layout information are obtained, and then the corresponding target layout information is determined based on the message type and current layout information. The message type can include, but is not limited to, text messages, image messages, file messages, etc. The message type is used to determine the type of message input window. For example, when the message type is a text message, the corresponding message input window can be a keyboard window; when the message type is an image message, the corresponding message input window can be an image selection window, which can display the latest images in the album. The current layout information includes, but is not limited to, the size and position information of the current video call window, and the size and position information of the current video function sidebar. The target layout information includes at least the size and position information of the message input window, and also includes at least one of the following: the scaling or position information of the video call window, and the scaling, position, or function display information of the video function sidebar.

[0102] Of course, it is understandable that in specific implementation, in addition to obtaining message type and current layout information to determine target layout information, information such as the current display state (landscape / portrait state) and holding state of the mobile terminal can also be obtained to comprehensively determine target layout information. In other words, target layout information can be determined based on message type, current layout information and current display state, and also based on message type, current layout information, current display state and holding state.

[0103] Step S20: Display the message input window according to the target layout information, and adjust the video call window and / or the video function sidebar.

[0104] After obtaining the target layout information, a message input window is displayed according to the target layout information, and the video call window and / or video function sidebar are adjusted. The target layout information includes at least the size and position information of the message input window, and also includes at least one of the following: scaling or position information of the video call window, and scaling, position, or function display information of the video function sidebar. The function display information of the video function sidebar refers to the functions that the video function sidebar needs to display. When adjusting the layout, the message input window can be displayed according to its size and position information, and then the video call window and / or video function sidebar can be adjusted according to other information.

[0105] As a layout adjustment method, the target layout information includes at least the size and position information of the message input window, as well as the position information of the video function sidebar. In this case, after displaying the message input window according to its size and position, the video function sidebar can be moved to another position or hidden according to its position information, without changing the size and position of the video call window. For example, when the mobile terminal is in landscape mode, the message input window can be directly displayed in the lower right area without changing the size and position of the video call window, and the video function sidebar can be moved to the lower left area for display. Of course, this position information can be a hiding position to hide the video function sidebar; the hiding method can be direct hiding or displaying a hidden indicator that reappears when the user clicks it.

[0106] As another layout adjustment method, the target layout information includes at least the size and position information of the message input window, as well as the scaling and position information of the video call window, and the scaling and function information of the video function sidebar. In this case, after displaying the message input window based on its size and position information, the size and position of the video call window can be adjusted based on its scaling and position information, and the size and displayed functions of the video function sidebar can be adjusted based on its scaling and function information.

[0107] As another layout adjustment method, the target layout information includes at least the size and position information of the message input window, as well as the scaling and position information of the video call window and the video function sidebar. In this case, after displaying the message input window according to its size and position information, the size and position of the video call window can be adjusted according to its scaling and position information, and the size and position of the video function sidebar can be adjusted according to its scaling and position information. When the mobile terminal is in... Figure 3 In the current layout state, if a message sending request is received, the message input window can be displayed based on its size and position information (e.g., ...). Figure 4 The area below the video call window is then used to adjust its size and position based on the scaling and position information of the video call window. Similarly, the size and position of the video function sidebar are adjusted based on the scaling and position information of the video function sidebar. The final layout is as follows: Figure 4 The layout shown is as follows. By adjusting the size and position of the video call window and / or the video function sidebar, the message input window is made so that it does not overlap with the video call windows and the video function sidebar, thus preventing the video call window from being obscured and affecting the user's video experience.

[0108] Of course, it is understandable that in practice, the implementation is not limited to the three layout adjustment methods mentioned above, and can also be based on specific target layout information for display and adjustment.

[0109] Furthermore, the video call method may also include the following steps:

[0110] Reduce the transparency of the display message input window and / or the video function sidebar.

[0111] In this embodiment, while adjusting the video call window and / or the video function sidebar, the transparency of the message input window and / or the video function sidebar can be reduced to further prevent the message input window and / or the video function sidebar from obscuring the video call display interface, thereby further improving the user's video call experience.

[0112] This invention provides a video call method. During a video call, when a message sending request is received, corresponding target layout information is obtained. A message input window is displayed according to the target layout information, and the video call window and / or video function sidebar are adjusted. Through this method, during a video call, when a user needs to send a message, target layout information can be obtained, and the video call display interface can be laid out according to the target layout information, i.e., a message input window is displayed, and the video call window and / or video function sidebar are adjusted. This avoids the message input window and video function sidebar obscuring the video call window, or reduces the negative user experience caused by the message input window and video function sidebar, thereby enhancing the user's interactive experience in video scenarios.

[0113] Furthermore, referring to Figure 3 , Figure 3 This is a flowchart illustrating the second embodiment of the video call method of the present invention.

[0114] based on Figure 2 In the first embodiment shown, after step S20, the video call method further includes:

[0115] Step S30: When the completion of message input is detected, obtain the message to be sent;

[0116] In this embodiment, when the completion of message input is detected, i.e. when the user finishes inputting, the message to be sent can be obtained.

[0117] Step S40: Hide the message input window, restore the video call window and the video function sidebar to their original layout, and display the message to be sent in the video function sidebar.

[0118] The message input window is hidden. Simultaneously, the video call window and video function sidebar are restored to their previous layout, and the message to be sent is displayed in the video function sidebar. Restoring the video call window and video function sidebar to their previous layout means restoring them to their original size and position. When message input is complete, promptly restoring the video call window and video function sidebar to their previous layout ensures that the message input window does not occupy or obstruct the video call display interface.

[0119] Step S50: Upon receiving a message sending instruction, send the message to be sent and restore the video function sidebar to its normal state.

[0120] Upon receiving a message sending instruction, the message to be sent is sent, and the video function sidebar is restored to its normal state. This normal state is the default display state of the video function sidebar (including default display size, position, and displayed information).

[0121] Of course, it is understandable that in specific implementation, when the completion of message input is detected, the message input window can be transformed into a message display window, and then the message to be sent can be displayed in the message display window. Then, when a message sending instruction is received, the message to be sent can be sent, and the video call window and video function sidebar can be restored to their original layout.

[0122] Furthermore, based on the above embodiments, a third embodiment of the video call method of the present invention is proposed.

[0123] In this embodiment, the video call method further includes:

[0124] When a change in the display status of a mobile terminal is detected, the layout status of the mobile terminal is adjusted accordingly based on the change information.

[0125] In this embodiment, when a user rotates their phone during a video call, such as changing the phone from landscape to portrait mode or vice versa, the phone's layout needs to be adjusted accordingly to facilitate the video call. Specifically, upon detecting a change in the mobile terminal's display state, the layout is adjusted based on this change. The adjustment method is as follows: the changed display state is obtained based on the change information, then the current layout information is obtained, and finally, new layout information is determined based on the changed display state and the current layout information. The mobile terminal's layout is then adjusted accordingly based on this new layout information.

[0126] In this embodiment, when a change in the display status of the mobile terminal is detected, the layout status of the mobile terminal is adjusted accordingly based on the change information. This allows for timely adjustment of the layout status of the mobile terminal's video call display interface when the display status changes, so as not to affect the user's video call experience.

[0127] Furthermore, based on the first embodiment described above, a fourth embodiment of the video call method of the present invention is proposed.

[0128] In this embodiment, after step S20, the video call method further includes:

[0129] When a function operation instruction triggered by the video function sidebar is received, the function operation interface is determined according to the function operation instruction, and the function operation interface is displayed overlaid with the message input window.

[0130] In this embodiment, users can trigger corresponding function operation instructions by clicking a function program icon, such as the beauty function, in the video function sidebar. When the mobile terminal receives the function operation instruction triggered by the video function sidebar, it can first determine the function operation interface according to the function operation instruction, and then overlay the function operation interface with the message input window. This allows users to use other functions without affecting their video call experience.

[0131] Furthermore, based on the first embodiment described above, a fifth embodiment of the video call method of the present invention is proposed.

[0132] In this embodiment, the step "displaying the message input window according to the target layout information" may include:

[0133] Step b1: When the current display state of the mobile terminal is landscape mode, and the left display area of ​​the video call window is larger than the right display area, a message input window is displayed in the left display area of ​​the video call window according to the target layout information; and / or,

[0134] Step b2: When the current display state of the mobile terminal is landscape mode, and the left display area of ​​the video call window is smaller than or equal to the right display area, a message input window is displayed in the right display area of ​​the video call window according to the target layout information.

[0135] In this embodiment, when the target layout information is determined based on the message type, current layout information, and current display state, as one implementation, when displaying the message input window according to the target layout information, if the current display state of the mobile terminal is landscape mode and the left display area of ​​the video call window is larger than the right display area, the message input window is displayed in the left display area of ​​the video call window according to the target layout information; as another implementation, if the current display state of the mobile terminal is landscape mode and the left display area of ​​the video call window is smaller than or equal to the right display area, the message input window is displayed in the right display area of ​​the video call window according to the target layout information.

[0136] By using the above method, the message input window is displayed on the side of the mobile terminal screen with a larger blank area, which can minimize the obstruction of the video call window and avoid affecting the user's video call experience, thereby enhancing the user's interactive experience in video scenarios.

[0137] Furthermore, based on the first embodiment described above, a sixth embodiment of the video call method of the present invention is proposed.

[0138] In this embodiment, the step "displaying the message input window according to the target layout information" may further include:

[0139] Step b3: When the current display state of the mobile terminal is landscape mode and it is held in the left hand, a message input window is superimposed on the right side of the video call window according to the target layout information.

[0140] Step b4: When the current display state of the mobile terminal is landscape mode and it is held in the right hand, a message input window is superimposed on the left side of the video call window according to the target layout information.

[0141] Step b5: When the current display state of the mobile terminal is landscape mode and it is held in the left or right hand, a message input window is superimposed on the left side of the video call window according to the target layout information.

[0142] In this embodiment, when the target layout information is determined based on the message type, current layout information, current display state, and holding state, as an implementation method, when the message input window is displayed according to the target layout information, if the current display state of the mobile terminal is landscape mode and it is held in the left hand, the message input window can be superimposed on the right side of the video call window according to the target layout information, thereby avoiding the user's left hand from blocking the message input window, and at the same time, it can also facilitate the user to input in the message input window on the right side with their right hand.

[0143] As another implementation, when the current display state of the mobile terminal is landscape mode and it is held in the right hand, a message input window is superimposed on the left side of the video call window according to the target layout information. This can prevent the right hand from blocking the message input window when the user holds the phone in the right hand, and at the same time, it can make it easier for the user to input in the message input window on the left with their left hand.

[0144] As another implementation, when the mobile terminal is currently in landscape mode and is held by the left or right hand, a message input window is overlaid on the left or right side of the video call window according to the target layout information. Alternatively, the message input window can be overlaid on the corresponding side based on the user's input habits.

[0145] By using the above method, the display side of the message input window is determined and displayed based on the current display state and holding state of the mobile terminal. This minimizes the obstruction of the message input window due to holding, making it easier for users to input information and thus enhancing the user interaction experience in video scenarios.

[0146] Furthermore, based on the first embodiment described above, a seventh embodiment of the video call method of the present invention is proposed.

[0147] In this embodiment, after step S20, the video call method further includes:

[0148] When a split instruction is received for the message input window, the message input window is split into at least a first sub-window and a second sub-window, which are displayed in positions that do not obstruct the video call window and / or the video function sidebar.

[0149] In this embodiment, a split button can also be provided in the message input window. Users can split the message input window by clicking the split button. Specifically, when the mobile terminal receives a split instruction for the message input window, it can split the message input window into at least a first sub-window and a second sub-window, which are displayed in positions that do not obstruct the video call window and / or the video function sidebar, respectively. The number of sub-windows displayed can be determined based on the layout information of the mobile terminal.

[0150] In this embodiment, the message input window is split and displayed in a position that does not obscure the video call window and / or the video function sidebar, thereby avoiding the message input window and / or the video function sidebar from obscuring the video call window and further enhancing the user's interactive experience in video scenarios.

[0151] The present invention also provides a computer-readable storage medium storing a video call program, which, when executed by a processor, implements the steps of the video call method as described in any of the above embodiments.

[0152] The specific embodiments of the computer-readable storage medium of the present invention are basically the same as the embodiments of the video call method described above, and will not be repeated here.

[0153] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0154] The sequence numbers of the above embodiments of the present invention are for description only and do not represent the superiority or inferiority of the embodiments.

[0155] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0156] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.

Claims

1. A video call method, characterized in that, The video call method includes the following steps: During a video call, when a message sending request is received, the corresponding target layout information is obtained; Display the message input window according to the target layout information, and adjust the video call window and video function sidebar; When message input is detected to be complete, retrieve the message to be sent; Hide the message input window, restore the video call window and the video function sidebar to their original layout, and display the message to be sent in the video function sidebar. The step of obtaining the corresponding target layout information when a message sending request is received includes: When a message sending request is received, the corresponding message type and current layout information are obtained. The message type includes at least text messages, image messages, and file messages. The current layout information includes at least the size and position information of the current video call window and the size and position information of the current video function sidebar. The target layout information is determined based on the message type and the current layout information. The message type is used to determine the type of the message input window. The target layout information includes at least the size and position information of the message input window, and also includes at least one of the following: the scaling or position information of the video call window, and the scaling, position, or function display information of the video function sidebar.

2. The video call method as described in claim 1, characterized in that, The video call method also includes: Reduce the transparency of the display message input window and / or the video function sidebar.

3. The video call method as described in claim 1, characterized in that, The video call method also includes: Upon receiving a message sending instruction, the message to be sent is sent, and the video function sidebar is restored to its normal state.

4. The video call method according to any one of claims 1 to 3, characterized in that, Before the step of obtaining the corresponding target layout information when a message sending request is received during a video call, the video call method further includes: Get the number of participants in the video call and get the current display status of the mobile terminal; The corresponding display method is determined based on the number of callers and the current display status; The video call window and video function sidebar are displayed according to the aforementioned display method.

5. The video call method as described in any one of claims 1 to 3, characterized in that, The video call method also includes: When a change in the display status of a mobile terminal is detected, the layout status of the mobile terminal is adjusted accordingly based on the change information.

6. The video call method as described in claim 1, characterized in that, The video call method also includes: When a function operation instruction triggered by the video function sidebar is received, the function operation interface is determined according to the function operation instruction, and the function operation interface is displayed overlaid with the message input window.

7. The video call method as described in claim 1, characterized in that, The step of displaying the message input window based on the target layout information includes: When the mobile terminal is currently in landscape mode, and the left display area of ​​the video call window is larger than the right display area, a message input window is displayed in the left display area of ​​the video call window according to the target layout information; and / or, When the current display state of the mobile terminal is landscape mode, and the left display area of ​​the video call window is smaller than or equal to the right display area, a message input window is displayed in the right display area of ​​the video call window according to the target layout information.

8. The video call method as described in claim 1, characterized in that, The step of displaying the message input window according to the target layout information includes at least one of the following: When the mobile terminal is currently in landscape mode and is held in the left hand, a message input window is overlaid on the right side of the video call window according to the target layout information. When the current display state of the mobile terminal is landscape mode and it is held in the right hand, a message input window is superimposed on the left side of the video call window according to the target layout information. When the mobile terminal is currently in landscape mode and is held in the left or right hand, a message input window is overlaid on the left or right side of the video call window according to the target layout information.

9. The video call method as described in claim 1, characterized in that, The video call method also includes: When a split instruction is received for the message input window, the message input window is split into at least a first sub-window and a second sub-window, which are displayed in positions that do not obstruct the video call window and / or the video function sidebar.

10. A mobile terminal, characterized in that, The mobile terminal includes: a memory, a processor, and a video call program stored in the memory and executable on the processor, wherein the video call program, when executed by the processor, implements the steps of the video call method as described in any one of claims 1 to 9.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a video call program, which, when executed by a processor, implements the steps of the video call method as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Content sharing method in instant video call

    CN106843626A

  • Method for displaying customized keyboard, device and storage medium

    CN107608587A