CN107360389B - Video communication method, device and terminal - Google Patents

Video communication method, device and terminal Download PDF

Info

Publication number
CN107360389B
CN107360389B CN201710736871.3A CN201710736871A CN107360389B CN 107360389 B CN107360389 B CN 107360389B CN 201710736871 A CN201710736871 A CN 201710736871A CN 107360389 B CN107360389 B CN 107360389B
Authority
CN
China
Prior art keywords
screen
sending end
video
mode
video communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710736871.3A
Other languages
Chinese (zh)
Other versions
CN107360389A (en
Inventor
朱俊敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201710736871.3A priority Critical patent/CN107360389B/en
Publication of CN107360389A publication Critical patent/CN107360389A/en
Application granted granted Critical
Publication of CN107360389B publication Critical patent/CN107360389B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/142Constructional details of the terminal equipment, e.g. arrangements of the camera and the display

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention provides a video communication method, a device and a terminal, wherein the method comprises the following steps: detecting whether a video communication signaling sent by a sending end is received or not, wherein the size of a screen of the receiving end is not larger than a preset value; if so, analyzing the video communication signaling to obtain a target screen mode of the sending end; determining a target display mode corresponding to the target screen mode according to the corresponding relation between the preset screen mode and the display mode; and receiving the video sent by the sending end, and displaying the received video in a screen according to a target display mode. By the scheme provided by the embodiment of the invention, the video transmitted from the transmitting end to the receiving end can be ensured to be completely displayed on the screen of the receiving end, and the use experience of a user is improved.

Description

Video communication method, device and terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a video communication method, a video communication apparatus, and a terminal.
Background
The video communication technology is a communication method for transmitting voice and images between terminals in real time based on the internet and a mobile network. The terminal can be a computer, a mobile phone, a flat panel, a television and the like.
However, the inventor finds that the prior art has at least the following problems in the process of implementing the invention: since the screen of the terminal is generally rectangular in shape with different heights and widths, the terminal screen can be considered to have different screen modes. For example, the terminal screen mode may be divided into, based on the length of the side parallel to the horizontal plane as the screen width and the length of the side perpendicular to the horizontal plane as the screen height when the terminal screen is placed: the horizontal screen mode with the screen width larger than the screen height and the vertical screen mode with the screen width smaller than the screen height. In addition, when the terminal screen displays contents, in order to provide a better subjective effect for a user, different screen modes correspond to different display modes, a horizontal screen mode generally corresponds to a horizontal display mode, and a vertical screen mode generally corresponds to a vertical display mode. The horizontal display mode refers to the condition that the width of the display interface is larger than the height of the display interface, and the vertical display mode refers to the condition that the height of the display interface is larger than the width of the display interface. The width of the display interface refers to the length of the side of the display interface parallel to the horizontal plane, and the height of the display interface refers to the length of the side of the display interface perpendicular to the horizontal plane.
In view of the above, in the process of video communication between two terminals, if the two terminals have different screen modes, the different display modes correspond to different display modes, so that the terminals cannot completely display the video transmitted by the other terminal on the screen.
Disclosure of Invention
The embodiment of the invention aims to provide a video communication method, a video communication device and a video communication terminal, so that in the process of carrying out video communication on two terminals with different screen modes, the two terminals can completely display videos transmitted by the other terminal in a screen of the two terminals. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a video communication method, which is applied to a receiving end, and the method includes:
detecting whether a video communication signaling sent by a sending end is received or not, wherein the size of a screen of the receiving end is not larger than a preset value;
if so, analyzing the video communication signaling to obtain a target screen mode of the sending end;
determining a target display mode corresponding to the target screen mode according to a preset corresponding relation between the screen mode and the display mode;
and receiving the video sent by the sending end, and displaying the received video in a screen according to the target display mode.
Optionally, before the displaying the received video in the target display manner on the screen, the method further includes:
acquiring the screen placement direction of the sending end and acquiring the screen placement direction of the sending end;
judging whether the screen placing direction of the sending end is the same as the screen placing direction of the sending end;
if so, executing the step of displaying the received video in the screen according to the target display mode.
Optionally, the analyzing the video communication signaling to obtain the target screen mode of the sending end includes:
analyzing the video communication signaling to obtain screen display information of the sending end, wherein the screen display information is determined by the screen placement direction of the sending end and the screen mode of the sending end;
analyzing the screen display information to obtain a target screen mode of the sending end;
the acquiring of the screen placement direction of the sending end includes:
and analyzing the screen display information to obtain the screen placement direction of the sending end.
Optionally, if it is determined that the screen placement direction of the sending end is different from the screen placement direction of the sending end, the method further includes:
rotating the received video by 180 degrees to obtain a rotated video;
and displaying the rotated video in a screen according to the target display mode.
In a second aspect, an embodiment of the present invention provides a video communication method, which is applied to a sending end, and the method includes:
acquiring a self screen mode as a target screen mode;
generating a video communication signaling carrying the target screen mode;
sending the video communication signaling to a receiving end so that the receiving end: and analyzing the video communication signaling to obtain the target screen mode, and displaying the video sent by the sending end according to a target display mode corresponding to the target screen mode.
Optionally, the method further includes:
monitoring whether the screen mode of the mobile terminal changes or not;
if so, executing the step of acquiring the screen mode of the user.
In a third aspect, an embodiment of the present invention provides a video communication apparatus, which is applied to a receiving end, where the apparatus includes:
the device comprises a detection module, a sending module and a receiving module, wherein the detection module is used for detecting whether a video communication signaling sent by a sending end is received or not, and the size of a screen of the receiving end is not larger than a preset value;
the analysis module is used for analyzing the video communication signaling to obtain a target screen mode of the sending end;
the determining module is used for determining a target display mode corresponding to the target screen mode according to the corresponding relation between the preset screen mode and the display mode;
and the first display module is used for receiving the video sent by the sending end and displaying the received video in a screen according to the target display mode.
Optionally, the apparatus further comprises:
a first obtaining module, configured to obtain a screen placement direction of the sending end and obtain a screen placement direction of the sending end before the received video is displayed on a screen according to the target display manner;
the judging module is used for judging whether the screen placing direction of the sending end is the same as the screen placing direction of the sending end;
and the first triggering module is used for triggering the first display module to execute the step of displaying the received video in the screen according to the target display mode if the judging module judges that the screen placing direction of the sending end is the same as the screen placing direction of the sending end.
Optionally, the parsing module is specifically configured to:
analyzing the video communication signaling to obtain screen display information of the sending end, wherein the screen display information is determined by the screen placement direction of the sending end and the screen mode of the sending end;
analyzing the screen display information to obtain a target screen mode of the sending end;
the first obtaining module is specifically configured to:
and analyzing the screen display information to obtain the screen placement direction of the sending end.
Optionally, the apparatus further comprises:
the rotation module is used for rotating the received video by 180 degrees to obtain a rotated video if the judgment module judges that the screen placing direction of the sending end is different from the screen placing direction of the sending end;
and the second display module is used for displaying the rotated video in a screen according to the target display mode.
In a fourth aspect, an embodiment of the present invention provides a video communication apparatus, which is applied to a sending end, where the apparatus includes:
the second acquisition module is used for acquiring the screen mode of the second acquisition module as a target screen mode;
the signaling generation module is used for generating a video communication signaling carrying the target screen mode;
a signaling sending module, configured to send the video communication signaling to a receiving end, so that the receiving end: and analyzing the video communication signaling to obtain the target screen mode, and displaying the video sent by the sending end according to a target display mode corresponding to the target screen mode.
Optionally, the apparatus further comprises:
the monitoring module is used for monitoring whether the screen mode of the monitoring module is changed;
and the second triggering module is used for triggering the second acquiring module to execute the step of acquiring the screen mode of the monitoring module if the monitoring module monitors that the screen mode of the monitoring module changes.
In a fifth aspect, an embodiment of the present invention provides a terminal, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 4 when executing a program stored in the memory.
In a sixth aspect, an embodiment of the present invention provides a terminal, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of claim 5 or 6 when executing a program stored in the memory.
In yet another aspect of the present invention, there is also provided a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to execute the video communication method according to the first aspect described above.
In yet another aspect of the present invention, there is also provided a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to execute the video communication method according to the second aspect described above.
In another aspect of the present invention, there is also provided a computer program product including instructions, which when run on a computer, causes the computer to perform the video communication method according to the first aspect.
In another aspect of the present invention, there is also provided a computer program product including instructions, which when run on a computer, causes the computer to execute the video communication method according to the second aspect.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, when the receiving end carries out video communication with the sending end, the receiving end detects whether the video communication signaling sent by the sending end is received or not, when the video communication signaling sent by the sending end is received, the video communication signaling is analyzed, so that the target screen mode of the sending end is obtained, the target display mode of the video sent by the sending end in the screen is determined according to the target screen mode, and finally the video sent by the sending end is displayed in the screen in the target display mode, so that the video sent by the sending end to the receiving end can be completely displayed in the screen of the receiving end, and the use experience of a user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
FIG. 1 is a schematic view of a video display during a video communication between a computer and a mobile phone in the prior art;
fig. 2 is a flowchart illustrating a video communication method applied to a receiving end according to an embodiment of the present invention;
fig. 3 is another schematic flowchart of a video communication method applied to a receiving end according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a video communication method applied to a sending end according to an embodiment of the present invention;
fig. 5 is another schematic flowchart of a video communication method applied to a transmitting end according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a video communication apparatus applied to a receiving end according to an embodiment of the present invention;
fig. 7 is another schematic structural diagram of a video communication apparatus applied to a receiving end according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a video communication apparatus applied to a transmitting end according to an embodiment of the present invention;
fig. 9 is another schematic structural diagram of a video communication apparatus applied to a transmitting end according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
In order to solve the technical problem that in the process of video communication between two terminals with different screen modes in the prior art, the terminal cannot completely display a video transmitted by the other terminal in a screen of the terminal, embodiments of the present invention provide a video communication method, an apparatus, and a terminal.
In order to more clearly and completely describe the embodiments of the present invention, the concepts related to the embodiments of the present invention will be described first.
Screen mode: the method can comprise a horizontal screen mode and a vertical screen mode, wherein the horizontal screen mode refers to a screen mode corresponding to the situation that the screen width is larger than the screen height; the vertical screen mode refers to a screen mode corresponding to the screen with the width smaller than the height of the screen. The screen width refers to the length of the side parallel to the horizontal plane when the terminal screen is placed, and the screen height refers to the length of the side perpendicular to the horizontal plane when the terminal screen is placed.
The screen placement direction: when the screen mode of the terminal is a horizontal screen mode or a vertical screen mode, the placing direction of the screen of the terminal can be a horizontal placing direction or a vertical placing direction. When the screen placing direction of the sending end is forward, the sending end is rotated 180 degrees in the clockwise direction or rotated 180 degrees in the anticlockwise direction in the plane where the screen of the sending end is located, and the screen placing direction of the sending end can be changed into reverse direction from the forward direction.
For example, when the screen mode of the mobile phone is the vertical screen mode, the home key of the mobile phone may be located below the screen of the mobile phone or above the screen of the mobile phone, and if the screen placement direction corresponding to the home key of the mobile phone located below the screen of the mobile phone is defined as the forward direction, the screen placement direction corresponding to the home key of the mobile phone located above the screen of the mobile phone is the reverse direction; when the screen mode of the mobile phone is a horizontal screen mode, the home key of the mobile phone can be positioned on the left side of the screen of the mobile phone; or the phone key is positioned on the right side of the screen of the mobile phone, if the corresponding screen placement direction is defined as the forward direction when the home key of the mobile phone is positioned on the left side of the screen of the mobile phone, then the corresponding screen placement direction is the reverse direction when the home key of the mobile phone is positioned on the right side of the screen of the mobile phone.
It should be emphasized that the forward direction and the reverse direction of the screen placement direction are opposite, and the absolute direction of the forward direction and the absolute direction of the reverse direction are not particularly limited in the embodiments of the present invention.
The display mode is as follows: the method for displaying the video sent by the opposite terminal on the screen of the terminal may include: a landscape display mode and a portrait display mode. The horizontal display mode refers to a display mode corresponding to the situation that the width of the display interface is larger than the height of the display interface, and the vertical display mode refers to a display mode corresponding to the situation that the width of the display interface is smaller than the height of the display interface. The width of the display interface refers to the length of the side of the display interface parallel to the horizontal plane, and the height of the display interface refers to the length of the side of the display interface perpendicular to the horizontal plane.
In the first aspect, a video communication method applied to a receiving end according to an embodiment of the present invention is described below. It should be noted that, in practical applications, in the process of video communication between the receiving end and the sending end, if the screen mode of the receiving end is different from that of the sending end, when the receiving end receives a video transmitted by the sending end, the video received by the sending end may not be completely displayed on its own screen.
For example, as shown in fig. 1, the screen mode of the computer is a horizontal screen mode, the screen mode of the mobile phone is a vertical screen mode, and during the video communication between the computer and the mobile phone, the display mode corresponding to the video transmitted to the mobile phone by the computer should be a horizontal display mode because the screen mode of the computer is a horizontal screen mode; since the screen mode of the mobile phone is the vertical screen mode, when the mobile phone receives the video transmitted from the computer, the mobile phone displays the received video in the mobile phone screen in the vertical display mode, so that the video transmitted to the mobile phone by the computer cannot be normally displayed in the mobile phone screen, and a dotted frame in fig. 1 is the video which cannot be normally displayed in the mobile phone screen, that is, the mobile phone cannot completely display the video transmitted from the computer in the mobile phone screen.
However, for the computer, even if the screen mode of the computer is different from that of the mobile phone, the screen size of the computer is far larger than that of the mobile phone due to the comparison between the screen size of the computer and that of the mobile phone, so that the computer can completely display the video transmitted by the mobile phone on the screen of the computer.
It should be emphasized that, in practical applications, the video communication method can be performed not only between terminals with large screen size difference, such as a mobile phone and a computer, but also between terminals with small screen size difference, such as a mobile phone and a mobile phone. When the mobile phone and the terminal with smaller screen size difference, such as the mobile phone, carry out video communication, if the screen modes of the two terminals are different, the two terminals cannot completely display the video transmitted by the other terminal in the screen of the two terminals.
To sum up, in practical applications, compared to a terminal with a larger screen such as a computer, the screen of the receiving end is smaller, that is, the screen size of the receiving end needs to satisfy the following conditions: the size of the screen of the receiving end is not larger than the preset value, and at this time, when the screen modes of the receiving end and the transmitting end are different, the receiving end cannot completely display the video transmitted by the transmitting end on the screen. The size of the screen of the sending end can be larger than a preset value or not larger than the preset value, and the method is reasonable. In addition, the embodiment of the present invention does not specifically limit the type of the receiving end.
As shown in fig. 2, a video communication method provided in an embodiment of the present invention is applied to a receiving end, and includes the following steps:
s201, detecting whether a video communication signaling sent by a sending end is received, if so, executing S202;
when a video communication connection is established between a receiving end and a sending end, or in the process of video communication between the receiving end and the sending end, in order to enable the receiving end to obtain a screen mode of the sending end, the sending end sends a video communication signaling carrying a self screen mode to the receiving end, therefore, when the video communication connection is established between the receiving end and the sending end, or in the process of video communication between the receiving end and the sending end, the receiving end detects whether the video communication signaling sent by the sending end is received, so that the screen mode of the sending end can be obtained by analyzing the video communication signaling in the subsequent steps. The screen mode is a horizontal screen mode or a vertical screen mode.
It should be noted that, when a video communication connection is established between a receiving end and a sending end, or during video communication between the receiving end and the sending end, in order to enable the receiving end to obtain a screen placement direction of the sending end, a video communication signaling may carry not only a screen mode of the sending end, but also the screen placement direction of the sending end.
It needs to be emphasized that the video communication signaling can respectively carry the screen mode and the screen placement direction of the sending end; alternatively, it is reasonable to carry the screen display information of the sending end in the video communication signaling, wherein the screen display information includes the screen mode and the screen placement direction.
For example, in the video communication signaling, the X-th bit represents the screen mode of the sending end, and the Y-th bit represents the screen placement direction of the sending end, where X and Y may be adjacent bits or non-adjacent bits, and at this time, the video communication signaling carries the screen mode of the sending end and the screen placement direction of the sending end respectively. Or, in the video communication signaling, two consecutive bits represent screen display information of the sending end, and the screen display information includes a screen mode and a screen placement direction of the sending end.
S202, analyzing the video communication signaling to obtain a target screen mode of a sending end;
if the receiving end receives a video communication signaling which is sent by the sending end and carries the screen mode of the sending end, the receiving end can directly analyze the video communication signaling to obtain a target screen mode of the sending end, namely, when the screen mode carried in the video communication signaling is a horizontal screen mode, the target screen mode is the horizontal screen mode; and when the screen mode carried in the video communication signaling is the vertical screen mode, the target screen mode is the vertical screen mode. So that the subsequent steps can determine the target display mode according to the target screen mode of the sending end.
Optionally, in an embodiment, parsing the video communication signaling to obtain a target screen mode of the sending end includes:
analyzing the video communication signaling to obtain screen display information of a sending end, wherein the screen display information is determined by a screen placing direction of the sending end and a screen mode of the sending end;
and analyzing the screen display information to obtain a target screen mode of the sending end.
In a video communication signaling sent from a sending end to a receiving end, when two continuous bits represent screen display information of the sending end, wherein the screen display information comprises a screen mode and a screen placement direction of the sending end, at the moment, the receiving end analyzes the video communication signaling to obtain the screen display information of the sending end, and then a target screen mode of the sending end can be obtained by analyzing the screen display information.
S203, determining a target display mode corresponding to the target screen mode according to the corresponding relation between the preset screen mode and the display mode;
in order to enable the receiving end to completely display the video transmitted to the receiving end by the transmitting end in the screen of the receiving end, the corresponding relation between the screen mode and the display mode is preset in the receiving end before the receiving end carries out video communication with the transmitting end. The corresponding relationship is as follows: when the screen mode is a horizontal screen mode, the corresponding display mode is a horizontal display mode; and when the screen mode is the vertical screen mode, the corresponding display mode is the vertical display mode.
Specifically, if the screen mode of sending end is horizontal screen mode, when explaining that the screen of sending end is placed, screen width is greater than the screen height, in order to show the video that the sending end sent in the screen of receiving end completely, then, the receiving end shows that the video's that the sending end sent display interface should be: the width of the display interface is larger than the height of the display interface, namely the display mode of the receiving end is a transverse display mode; correspondingly, if the screen mode of sending end is for erecting the screen mode, when explaining that the screen of sending end is placed, screen width is less than the screen height, in order to show the video that the sending end sent in the screen of receiving end completely, then, the receiving end shows that the video's that the sending end sent display interface should be: the width of the display interface is smaller than the height of the display interface, that is, the display mode of the receiving end should be a vertical display mode.
And after the receiving end obtains the target screen mode of the sending end, determining a target display mode corresponding to the target screen mode according to the preset corresponding relation between the screen mode and the display mode. If the target screen mode is a horizontal screen mode, the target display mode is a horizontal display mode; and if the target screen mode is the vertical mode, the target display mode is the vertical display mode.
And S204, receiving the video sent by the sending end, and displaying the received video in a screen according to a target display mode.
And after determining a target display mode corresponding to the target screen mode, the receiving end receives the video sent by the sending end and displays the received video in the screen according to the target display mode. If the target screen mode of the sending end is a horizontal screen mode, the receiving end displays the video sent by the sending end in a horizontal display mode on a screen of the receiving end; and if the target screen mode of the sending end is a vertical screen mode, the receiving end displays the video sent by the sending end in a vertical display mode on the screen of the sending end.
It should be noted that the step of "receiving the video transmitted by the transmitting end" may be performed after S203, or may be performed before S201. Specifically, the transmitting end may transmit video communication signaling to the receiving end when establishing a video communication connection with the receiving end, and at this time, the step of "receiving the video transmitted by the transmitting end" is performed after S203. Of course, the transmitting end may also transmit video communication signaling to the receiving end during video communication with the receiving end after establishing video communication with the receiving end, in which case the step of "receiving video transmitted by the transmitting end" is performed before S201. The execution sequence of the step of "receiving the video sent by the sending end" is not specifically limited in the present invention.
For example, the receiving end is a computer, the screen mode of the computer is a horizontal mode, the sending end is a mobile phone, and the screen mode of the mobile phone is a horizontal mode. When the computer is in video communication connection with the mobile phone, the computer receives a video communication signaling sent by the mobile phone and analyzes the video communication signaling to obtain that the screen mode of the mobile phone is a vertical screen mode, then receives a video sent by the mobile phone and displays the received video in the screen of the computer according to a vertical display mode, and at the moment, the computer and the mobile phone carry out video communication.
In the process of video communication between a computer and a mobile phone, if the screen mode of the mobile phone is converted from a vertical screen mode to a horizontal screen mode, the mobile phone sends a video communication signaling to the computer again, the computer analyzes the video communication signaling received again to obtain that the screen mode of the mobile phone is the horizontal screen mode, and when the video sent by the mobile phone is received again, the video received again is displayed on the screen of the computer in a horizontal display mode, so that the video sent by the mobile phone to the computer can be completely displayed on the screen of the computer.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, when the receiving end carries out video communication with the sending end, the receiving end detects whether the video communication signaling sent by the sending end is received or not, when the video communication signaling sent by the sending end is received, the video communication signaling is analyzed, so that the target screen mode of the sending end is obtained, the target display mode of the video sent by the sending end in the screen is determined according to the target screen mode, and finally the video sent by the sending end is displayed in the screen in the target display mode, so that the video sent by the sending end to the receiving end can be completely displayed in the screen of the receiving end, and the use experience of a user is improved.
As shown in fig. 3, a video communication method provided in an embodiment of the present invention is applied to a receiving end, and includes the following steps:
s301, detecting whether a video communication signaling sent by a sending end is received, and if so, executing S302;
s302, analyzing the video communication signaling to obtain a target screen mode of a sending end;
s303, determining a target display mode corresponding to the target screen mode according to the corresponding relation between the preset screen mode and the display mode;
s304, acquiring the screen placement direction of the sending end and acquiring the screen placement direction of the sending end;
s305, judging whether the screen placing direction of the sending end is the same as the screen placing direction of the sending end, if so, executing S306, and if not, executing S307;
s306, receiving the video sent by the sending end, and displaying the received video in a screen according to a target display mode;
s307, rotating the received video by 180 degrees to obtain a rotated video;
and S308, displaying the rotated video in a screen according to the target display mode.
In this embodiment, S301 to S303 are the same as S101 to S303 of the above embodiment, and S306 is the same as S204 of the above embodiment, which are not repeated herein.
S304, S305, S307, and S308 will be described in detail below.
S304, acquiring the screen placement direction of the sending end and acquiring the screen placement direction of the sending end;
s305, judging whether the screen placing direction of the sending end is the same as the screen placing direction of the sending end;
whether the screen placing direction of the receiving end is the same as that of the sending end has an important influence on whether a user of the receiving end can normally watch the video sent by the sending end. For example, taking a receiving end and a sending end both as mobile phones, a screen mode of the receiving end is a horizontal screen mode, a screen placing direction is a forward direction, a screen mode of the sending end is also a horizontal mode, but the screen placing direction is a reverse direction. After the receiving end receives the video communication signaling sent by the sending end, the video communication signaling is analyzed, the screen mode of the sending end is obtained to be a horizontal screen mode, when the receiving end receives the video sent by the sending end, the received video is displayed on a screen of the receiving end in a horizontal display mode, at the moment, although the receiving end can completely display the video sent by the sending end on the screen of the receiving end, for a user at the receiving end, a viewed video picture rotates 180 degrees relative to a normal visual angle, and therefore the viewing experience of the user can be reduced. Therefore, it is important to determine whether the screen placement directions of the receiving end and the sending end are the same.
It should be noted that, in order to determine whether the screen placement directions of the receiving end and the sending end are the same, the screen placement direction of the sending end and the screen placement direction of the sending end are first obtained.
Optionally, in an embodiment, the obtaining the screen placement direction of the sending end includes:
and analyzing the screen display information to obtain the screen placement direction of the sending end.
When the video communication signaling simultaneously carries the screen mode of the sending end and the screen placement direction of the sending end, and two continuous bits in the video communication signaling represent the screen display information of the sending end, the receiving end analyzes the video communication signaling to obtain the screen display information, the screen display information comprises the screen mode of the sending end and the screen placement direction of the sending end, and therefore the receiving end can obtain the screen placement direction of the sending end by analyzing the screen display information.
It should be noted that, when the video communication signaling carries the screen mode and the screen placement direction of the sending end respectively, it is reasonable that the receiving end can directly analyze the video communication signaling to obtain the screen placement direction of the sending end. When the receiving end determines that the screen placement direction of the sending end is the same as the screen placement direction of the receiving end, the user of the receiving end can normally watch the video sent by the sending end, and then S306 is executed.
When the receiving end determines that the screen placement direction of the transmitting end is different from the screen placement direction of the receiving end, the user of the receiving end cannot normally watch the video transmitted from the transmitting end, and at this time, S307 and S308 are executed.
S307, rotating the received video by 180 degrees to obtain a rotated video;
and S308, displaying the rotated video in a screen according to the target display mode.
Because the screen placing direction at the receiving end is different from the screen placing direction at the sending end, for the user at the receiving end, the viewed video image rotates 180 degrees relative to the normal visual angle, therefore, the screen placing direction at the receiving end is different from the screen placing direction of the receiving end, the receiving end rotates the received video 180 degrees, and the rotated video is displayed on the screen according to the target display mode, so that the user at the receiving end can normally watch the video sent by the sending end, and the user experience is improved.
Compared with the prior art, the technical scheme provided by the embodiment of the invention is that when the receiving end carries out video communication with the sending end, the receiving end detects whether the video communication signaling sent by the sending end is received or not, when the video communication signaling sent by the sending end is received, the video communication signaling is analyzed so as to obtain the target screen mode of the sending end, the target display mode of the video sent by the sending end in the screen is determined according to the target screen mode, whether the screen placing direction of the sending end is the same as the screen placing direction of the sending end is judged, if the screen placing direction is the same as the screen placing direction, the video sent by the sending end is directly displayed in the screen in the target display mode, if the screen placing direction is different, the video sent by the sending end is rotated by 180 degrees, and the rotated video is displayed in the screen in the target display mode, so that the video sent by the sending end to the receiving end, and the user can be ensured to normally watch the video sent by the sending end, and the use experience of the user is further improved.
In a second aspect, a video communication method applied to a transmitting end according to an embodiment of the present invention is described below.
It should be noted that, the video communication method is applied to the sending end, and in practical application, the sending end may be a mobile phone, a notebook, a tablet computer, and the like, where the sending ends can execute the video communication method provided in the embodiment of the present invention, and the type of the sending end is not specifically limited in the embodiment of the present invention.
As shown in fig. 4, a video communication method provided in the embodiment of the present invention is applied to a sending end, and includes the following steps:
s401, acquiring a self screen mode as a target screen mode;
when a sending end establishes video communication connection with a receiving end, or in the process of performing video communication connection with the receiving end, in order to enable the receiving end to know its own screen mode, a video communication signaling carrying the own screen mode needs to be sent to the receiving end, and therefore, the sending end needs to acquire the own screen mode so as to generate the video communication signaling according to the screen mode of the sending end in the subsequent steps.
S402, generating a video communication signaling carrying a target screen mode;
after the sending end obtains the screen mode of the sending end, a video communication signaling carrying the target screen mode is generated, so that the generated video communication signaling is sent to the receiving end in the subsequent steps, and the receiving end can know the screen mode of the sending end.
It should be noted that the video communication signaling may include not only the screen mode of the sending end, but also the screen placement direction of the sending end. The video communication signaling can respectively carry the screen mode and the screen placement direction of the sending end; alternatively, it is reasonable to carry the screen display information of the transmitting end in the video communication signaling, where the screen display information includes the screen mode and the screen placement direction.
S403, sending a video communication signaling to the receiving end, so that the receiving end: and analyzing the video communication signaling to obtain a target screen mode, and displaying the video sent by the sending end according to a target display mode corresponding to the target screen mode.
After a sending end generates a video communication signaling carrying a self screen mode, the video communication signaling is sent to a receiving end, so that the receiving end can obtain a target screen mode of the sending end by analyzing the video communication signaling, and a video sent by the sending end is displayed according to a target display mode corresponding to the target screen mode, and therefore the receiving end can completely display the video sent by the sending end on a screen of the receiving end.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, the sending end acquires the screen mode of the sending end as the target screen mode, generates the video communication signaling carrying the target screen mode, and then sends the video communication signaling to the receiving end, so that the receiving end can obtain the target screen mode of the sending end and display the video sent by the sending end according to the target display mode corresponding to the target screen mode, and the receiving end can completely display the video sent by the sending end in the screen.
As shown in fig. 5, a video communication method provided in the embodiment of the present invention is applied to a sending end, and includes the following steps:
s501, monitoring whether the screen mode of the mobile terminal changes or not, and if so, executing S502;
s502, acquiring a self screen mode as a target screen mode;
s503, generating a video communication signaling carrying the target screen mode;
s504, sending the video communication signaling to a receiving end, so that the receiving end: and analyzing the video communication signaling to obtain a target screen mode, and displaying the video sent by the sending end according to a target display mode corresponding to the target screen mode.
In this embodiment, S502 to S504 are the same as S401 to S403 in the above embodiment, and are not described herein again.
S501 will be described in detail below.
S501, monitoring whether the screen mode of the mobile terminal changes or not;
in order to ensure that the occupancy rate of network resources can be reduced on the premise that the receiving end can acquire the screen mode of the sending end in real time, the sending end does not always send the screen mode of the sending end to the receiving end, but sends a video communication signaling carrying the screen mode of the sending end to the receiving end when the sending end monitors that the screen mode of the sending end changes. Therefore, the sending end monitors whether the screen mode of the sending end changes or not, if the sending end monitors that the screen mode of the sending end changes, the target screen mode of the sending end is obtained, the video communication signaling carrying the target screen mode is generated, and then the video communication signaling is sent to the receiving end, so that the receiving end can sense that the screen mode of the sending end changes.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, the sending end acquires the screen mode of the sending end as the target screen mode, generates the video communication signaling carrying the target screen mode, and then sends the video communication signaling to the receiving end, so that the receiving end can obtain the target screen mode of the sending end and display the video sent by the sending end according to the target display mode corresponding to the target screen mode, and the receiving end can completely display the video sent by the sending end in the screen. Moreover, on the premise of ensuring that the receiving end can acquire the screen mode of the sending end in real time, the occupancy rate of network resources is reduced.
In a third aspect, an embodiment of the present invention further provides a video communication apparatus applied to a receiving end, and as shown in fig. 6, the apparatus may include:
the detecting module 610 is configured to detect whether a video communication signaling sent by a sending end is received, where a screen size of the receiving end is not greater than a preset value;
the analyzing module 620 is configured to analyze the video communication signaling to obtain a target screen mode of the sending end;
a determining module 630, configured to determine a target display mode corresponding to the target screen mode according to a preset correspondence between the screen mode and the display mode;
the first display module 640 is configured to receive the video sent by the sending end, and display the received video in a screen according to the target display mode.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, when the receiving end carries out video communication with the sending end, the receiving end detects whether the video communication signaling sent by the sending end is received or not, when the video communication signaling sent by the sending end is received, the video communication signaling is analyzed, so that the target screen mode of the sending end is obtained, the target display mode of the video sent by the sending end in the screen is determined according to the target screen mode, and finally the video sent by the sending end is displayed in the screen in the target display mode, so that the video sent by the sending end to the receiving end can be completely displayed in the screen of the receiving end, and the use experience of a user is improved.
Optionally, as shown in fig. 7, the apparatus further includes:
a first obtaining module 740, configured to obtain a screen placement direction of the sending end and obtain a screen placement direction of the sending end before the received video is displayed on a screen according to the target display manner;
the judging module 750 is configured to judge whether the screen placement direction of the sending end is the same as the screen placement direction of the sending end;
a first triggering module 760, configured to trigger the first display module to perform the step of displaying the received video on the screen according to the target display manner if the determining module determines that the screen placing direction of the sending end is the same as the screen placing direction of the sending end.
Optionally, the first obtaining module 740 is specifically configured to:
analyzing the target screen mode to obtain the screen placement direction of the sending end, wherein the target screen mode is determined by the screen placement direction of the sending end and the screen mode of the sending end;
alternatively, the first and second electrodes may be,
and obtaining the screen placement direction of the sending end from the analysis result of the video communication signaling.
Optionally, the apparatus further comprises:
a rotation module 780, configured to rotate the received video by 180 degrees to obtain a rotated video if the determination module determines that the screen placement direction of the sending end is different from the screen placement direction of the sending end;
and a second display module 790, configured to display the rotated video on a screen according to the target display manner.
Compared with the prior art, the technical scheme provided by the embodiment of the invention is that when the receiving end carries out video communication with the sending end, the receiving end detects whether the video communication signaling sent by the sending end is received or not, when the video communication signaling sent by the sending end is received, the video communication signaling is analyzed so as to obtain the target screen mode of the sending end, the target display mode of the video sent by the sending end in the screen is determined according to the target screen mode, whether the screen placing direction of the sending end is the same as the screen placing direction of the sending end is judged, if the screen placing direction is the same as the screen placing direction, the video sent by the sending end is directly displayed in the screen in the target display mode, if the screen placing direction is different, the video sent by the sending end is rotated by 180 degrees, and the rotated video is displayed in the screen in the target display mode, so that the video sent by the sending end to the receiving end, and the user can be ensured to normally watch the video sent by the sending end, and the use experience of the user is further improved.
In a fourth aspect, an embodiment of the present invention further provides a video communication apparatus applied to a sending end, and as shown in fig. 8, the apparatus may include:
a second obtaining module 810, configured to obtain a screen mode of the second obtaining module as a target screen mode;
a signaling generating module 820, configured to generate a video communication signaling carrying the target screen mode;
a signaling sending module 830, configured to send the video communication signaling to a receiving end, so that the receiving end: and analyzing the video communication signaling to obtain the target screen mode, and displaying the video sent by the sending end according to a target display mode corresponding to the target screen mode.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, the sending end acquires the screen mode of the sending end as the target screen mode, generates the video communication signaling carrying the target screen mode, and then sends the video communication signaling to the receiving end, so that the receiving end can obtain the target screen mode of the sending end and display the video sent by the sending end according to the target display mode corresponding to the target screen mode, and the receiving end can completely display the video sent by the sending end in the screen.
Optionally, as shown in fig. 9, the apparatus may further include:
a monitoring module 910, configured to monitor whether a screen mode of the monitoring module changes;
a second triggering module 920, configured to trigger the second obtaining module to execute the step of obtaining the screen mode of the monitoring module if the monitoring module monitors that the screen mode of the monitoring module changes.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, the sending end acquires the screen mode of the sending end as the target screen mode, generates the video communication signaling carrying the target screen mode, and then sends the video communication signaling to the receiving end, so that the receiving end can obtain the target screen mode of the sending end and display the video sent by the sending end according to the target display mode corresponding to the target screen mode, and the receiving end can completely display the video sent by the sending end in the screen. Moreover, on the premise of ensuring that the receiving end can acquire the screen mode of the sending end in real time, the occupancy rate of network resources is reduced.
The embodiment of the present invention further provides a terminal, as shown in fig. 10, including a processor 1001, a communication interface 1002, a memory 1003 and a communication bus 1004, where the processor 1001, the communication interface 1002 and the memory 1003 complete mutual communication through the communication bus 1004,
a memory 1003 for storing a computer program;
the processor 1001 is configured to implement the video communication method applied to the receiving end according to the embodiment of the present application when executing the program stored in the memory 1003.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a network Processor (Ne word Processor, NP), and the like; the integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, when the receiving end carries out video communication with the sending end, the receiving end detects whether the video communication signaling sent by the sending end is received or not, when the video communication signaling sent by the sending end is received, the video communication signaling is analyzed, so that the target screen mode of the sending end is obtained, the target display mode of the video sent by the sending end in the screen is determined according to the target screen mode, and finally the video sent by the sending end is displayed in the screen in the target display mode, so that the video sent by the sending end to the receiving end can be completely displayed in the screen of the receiving end, and the use experience of a user is improved.
Another terminal is further provided in the embodiment of the present invention, as shown in fig. 11, including a processor 1101, a communication interface 1102, a memory 1103 and a communication bus 1104, where the processor 1101, the communication interface 1102 and the memory 1103 complete mutual communication through the communication bus 1004,
a memory 1103 for storing a computer program;
the processor 1101 is configured to implement the video communication method applied to the transmitting end according to the embodiment of the present application when executing the program stored in the memory 1103.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a network Processor (Ne word Processor, NP), and the like; the integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, the sending end acquires the screen mode of the sending end as the target screen mode, generates the video communication signaling carrying the target screen mode, and then sends the video communication signaling to the receiving end, so that the receiving end can obtain the target screen mode of the sending end and display the video sent by the sending end according to the target display mode corresponding to the target screen mode, and the receiving end can completely display the video sent by the sending end in the screen.
In another embodiment of the present invention, a computer-readable storage medium is further provided, which stores instructions that, when executed on a computer, cause the computer to execute the video communication method applied to a receiving end according to the method embodiment.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, when the receiving end carries out video communication with the sending end, the receiving end detects whether the video communication signaling sent by the sending end is received or not, when the video communication signaling sent by the sending end is received, the video communication signaling is analyzed, so that the target screen mode of the sending end is obtained, the target display mode of the video sent by the sending end in the screen is determined according to the target screen mode, and finally the video sent by the sending end is displayed in the screen in the target display mode, so that the video sent by the sending end to the receiving end can be completely displayed in the screen of the receiving end, and the use experience of a user is improved.
In still another embodiment of the present invention, a computer-readable storage medium is further provided, which stores instructions that, when executed on a computer, cause the computer to perform the video communication method applied to the transmitting end according to the method embodiment.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, the sending end acquires the screen mode of the sending end as the target screen mode, generates the video communication signaling carrying the target screen mode, and then sends the video communication signaling to the receiving end, so that the receiving end can obtain the target screen mode of the sending end and display the video sent by the sending end according to the target display mode corresponding to the target screen mode, and the receiving end can completely display the video sent by the sending end in the screen.
In another embodiment of the present invention, a computer program product containing instructions is also provided, which when run on a computer causes the computer to execute the video communication method applied to a receiving end according to the method embodiment.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, when the receiving end carries out video communication with the sending end, the receiving end detects whether the video communication signaling sent by the sending end is received or not, when the video communication signaling sent by the sending end is received, the video communication signaling is analyzed, so that the target screen mode of the sending end is obtained, the target display mode of the video sent by the sending end in the screen is determined according to the target screen mode, and finally the video sent by the sending end is displayed in the screen in the target display mode, so that the video sent by the sending end to the receiving end can be completely displayed in the screen of the receiving end, and the use experience of a user is improved.
In still another embodiment of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the video communication method applied to the transmitting end according to the method embodiment.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, the sending end acquires the screen mode of the sending end as the target screen mode, generates the video communication signaling carrying the target screen mode, and then sends the video communication signaling to the receiving end, so that the receiving end can obtain the target screen mode of the sending end and display the video sent by the sending end according to the target display mode corresponding to the target screen mode, and the receiving end can completely display the video sent by the sending end in the screen.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the device, the terminal and the readable storage medium embodiments, since they are basically similar to the method embodiments, the description is simple, and the relevant points can be referred to the partial description of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (8)

1. A video communication method, applied to a receiving end, the method comprising:
when the video communication connection is established between the receiving end and the sending end, or in the process of video communication between the receiving end and the sending end, whether a video communication signaling sent by the sending end is received or not is detected, wherein the size of a screen of the receiving end is not larger than a preset value, the size of the screen of the sending end is larger than the preset value, the video communication signaling comprises the steps that when the sending end monitors that the screen mode of the sending end changes, the screen mode of the sending end is obtained to serve as a target screen mode, and a generated signaling carrying the target screen mode is generated;
if so, analyzing the video communication signaling to obtain a target screen mode of the sending end;
determining a target display mode corresponding to the target screen mode according to a preset corresponding relation between the screen mode and the display mode;
receiving a video sent by the sending end;
acquiring the screen placement direction of the sending end and acquiring the screen placement direction of the sending end;
judging whether the screen placing direction of the sending end is the same as the screen placing direction of the sending end;
if the screen placing direction of the sending end is judged to be the same as the screen placing direction of the sending end, displaying the received video in a screen according to the target display mode;
if the screen placing direction of the sending end is judged to be different from the screen placing direction of the sending end, rotating the received video by 180 degrees to obtain a rotated video; and displaying the rotated video in a screen according to the target display mode.
2. The method of claim 1,
the analyzing the video communication signaling to obtain the target screen mode of the sending end includes:
analyzing the video communication signaling to obtain screen display information of the sending end, wherein the screen display information is determined by the screen placement direction of the sending end and the screen mode of the sending end;
analyzing the screen display information to obtain a target screen mode of the sending end;
the acquiring of the screen placement direction of the sending end includes:
and analyzing the screen display information to obtain the screen placement direction of the sending end.
3. A video communication method, applied to a transmitting end, the method comprising:
when a video communication connection is established between a receiving end and a sending end, or in the video communication process between the receiving end and the sending end, the self screen mode is obtained and used as a target screen mode;
generating a video communication signaling carrying the target screen mode and the screen placement direction of the video communication signaling;
sending the video communication signaling to a receiving end so that the receiving end: obtaining the target screen mode and the screen placement direction of the sending end by analyzing the video communication signaling, obtaining the screen placement direction of the receiving end, and judging whether the screen placement direction of the sending end is the same as the screen placement direction of the sending end; if the target screen mode is the same as the target screen mode, displaying the video sent by the sending end according to the target display mode corresponding to the target screen mode; if not, rotating the video sent by the sending end by 180 degrees to obtain a rotated video; displaying the rotated video in a screen according to the target display mode; the screen size of the receiving end is not larger than a preset value, and the screen size of the sending end is larger than the preset value;
the method further comprises the following steps:
monitoring whether the screen mode of the mobile terminal changes or not;
if so, executing the step of acquiring the screen mode of the receiving end when the video communication connection is established between the receiving end and the sending end, or in the process of video communication between the receiving end and the sending end.
4. A video communication apparatus, applied to a receiving end, the apparatus comprising:
the video communication system comprises a detection module and a processing module, wherein the detection module is used for detecting whether a video communication signaling sent by a sending end is received or not when the video communication connection is established between a receiving end and the sending end or in the process of video communication between the receiving end and the sending end, the size of a screen of the receiving end is not larger than a preset value, the size of the screen of the sending end is larger than the preset value, the video communication signaling comprises the steps that when the sending end monitors that the screen mode of the sending end changes, the screen mode of the sending end is obtained as a target screen mode, and the generated signaling carrying the target screen mode;
the analysis module is used for analyzing the video communication signaling to obtain a target screen mode of the sending end;
the determining module is used for determining a target display mode corresponding to the target screen mode according to the corresponding relation between the preset screen mode and the display mode; the first display module is used for receiving the video sent by the sending end and displaying the received video in a screen according to the target display mode;
the device further comprises:
a first obtaining module, configured to obtain a screen placement direction of the sending end and obtain a screen placement direction of the sending end before the received video is displayed on a screen according to the target display manner;
the judging module is used for judging whether the screen placing direction of the sending end is the same as the screen placing direction of the sending end;
the first triggering module is used for triggering the first display module to execute the step of displaying the received video in the screen according to the target display mode if the judging module judges that the screen placing direction of the sending end is the same as the screen placing direction of the first display module;
the rotation module is used for rotating the received video by 180 degrees to obtain a rotated video if the judgment module judges that the screen placing direction of the sending end is different from the screen placing direction of the sending end;
and the second display module is used for displaying the rotated video in a screen according to the target display mode.
5. The apparatus of claim 4,
the analysis module is specifically configured to:
analyzing the video communication signaling to obtain screen display information of the sending end, wherein the screen display information is determined by the screen placement direction of the sending end and the screen mode of the sending end;
analyzing the screen display information to obtain a target screen mode of the sending end;
the first obtaining module is specifically configured to:
and analyzing the screen display information to obtain the screen placement direction of the sending end.
6. A video communication apparatus, applied to a transmitting end, the apparatus comprising:
the second acquisition module is used for acquiring a self screen mode as a target screen mode when a video communication connection is established between a receiving end and the sending end or in the video communication process between the receiving end and the sending end;
the signaling generation module is used for generating a video communication signaling carrying the target screen mode and the screen placement direction of the signaling generation module;
a signaling sending module, configured to send the video communication signaling to a receiving end, so that the receiving end: obtaining the target screen mode and the screen placement direction of the sending end by analyzing the video communication signaling, obtaining the screen placement direction of the receiving end, and judging whether the screen placement direction of the sending end is the same as the screen placement direction of the sending end; if the target screen mode is the same as the target screen mode, displaying the video sent by the sending end according to the target display mode corresponding to the target screen mode; if not, rotating the video sent by the sending end by 180 degrees to obtain a rotated video; displaying the rotated video in a screen according to the target display mode; the screen size of the receiving end is not larger than a preset value, and the screen size of the sending end is larger than the preset value;
the device further comprises:
the monitoring module is used for monitoring whether the screen mode of the monitoring module is changed;
and the second triggering module is used for triggering the second acquiring module to execute the step of acquiring the screen mode of the monitoring module when the video communication connection is established between the receiving end and the sending end or in the video communication process between the receiving end and the sending end if the monitoring module monitors that the screen mode of the monitoring module changes.
7. A terminal is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing the communication between the processor and the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-2 when executing a program stored in the memory.
8. A terminal is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing the communication between the processor and the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of claim 3 when executing a program stored in the memory.
CN201710736871.3A 2017-08-24 2017-08-24 Video communication method, device and terminal Active CN107360389B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710736871.3A CN107360389B (en) 2017-08-24 2017-08-24 Video communication method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710736871.3A CN107360389B (en) 2017-08-24 2017-08-24 Video communication method, device and terminal

Publications (2)

Publication Number Publication Date
CN107360389A CN107360389A (en) 2017-11-17
CN107360389B true CN107360389B (en) 2020-11-06

Family

ID=60290135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710736871.3A Active CN107360389B (en) 2017-08-24 2017-08-24 Video communication method, device and terminal

Country Status (1)

Country Link
CN (1) CN107360389B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109669512A (en) * 2018-10-30 2019-04-23 努比亚技术有限公司 A kind of display control method, Folding screen terminal and computer readable storage medium
CN111918014B (en) * 2019-05-10 2022-10-04 腾讯科技(深圳)有限公司 Method and device for displaying video image
CN112437243A (en) * 2020-11-20 2021-03-02 联想(北京)有限公司 Output control method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096011A (en) * 2011-11-08 2013-05-08 中国电信股份有限公司 Method and system of video communication negotiation and video terminal
CN103414890A (en) * 2013-07-08 2013-11-27 宇龙计算机通信科技(深圳)有限公司 Realization method of remote desktop and device thereof
CN103763505A (en) * 2013-12-31 2014-04-30 华为技术有限公司 Method and device suitable for screen direction switching in video call
CN103997519A (en) * 2014-05-14 2014-08-20 小米科技有限责任公司 Method and device for transmitting image
CN104581405A (en) * 2013-10-21 2015-04-29 中国移动通信集团公司 Display content processing method and equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101164819B1 (en) * 2004-11-15 2012-07-18 삼성전자주식회사 Display Apparatus And Control Method Thereof And Display System

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096011A (en) * 2011-11-08 2013-05-08 中国电信股份有限公司 Method and system of video communication negotiation and video terminal
CN103414890A (en) * 2013-07-08 2013-11-27 宇龙计算机通信科技(深圳)有限公司 Realization method of remote desktop and device thereof
CN104581405A (en) * 2013-10-21 2015-04-29 中国移动通信集团公司 Display content processing method and equipment
CN103763505A (en) * 2013-12-31 2014-04-30 华为技术有限公司 Method and device suitable for screen direction switching in video call
CN103997519A (en) * 2014-05-14 2014-08-20 小米科技有限责任公司 Method and device for transmitting image

Also Published As

Publication number Publication date
CN107360389A (en) 2017-11-17

Similar Documents

Publication Publication Date Title
CN108880921B (en) Webpage monitoring method and device, storage medium and server
US9864811B2 (en) Terminal device, system for providing picture and method for transmitting picture
CN107291412B (en) Wireless screen transmission method and system
CN107040494B (en) User account abnormity prevention method and system
CN107360389B (en) Video communication method, device and terminal
CN106339192B (en) Region sharing method, device and system
US20150070458A1 (en) System and method for video call
WO2022096017A1 (en) Content display method and apparatus
RU2609147C2 (en) Method and device for transmitting images
CN110139040B (en) Pan-tilt camera positioning method and device, pan-tilt camera, equipment and medium
CN106843700B (en) Screenshot method and device
US20220394333A1 (en) Video processing method and apparatus, storage medium, and electronic device
CN111222509B (en) Target detection method and device and electronic equipment
CN111327913B (en) Message processing method and device and electronic equipment
US20240168778A1 (en) Icon updating method and apparatus, and electronic device
CN112269959B (en) Control method and device for display content, readable medium and electronic equipment
JP2018531564A6 (en) Method, apparatus and system for obtaining video data and computer-readable storage medium
JP2018531564A (en) Method, apparatus and system for obtaining video data and computer-readable storage medium
CN114064593B (en) Document sharing method, device, equipment and medium
CN112131493A (en) Page first screen time determining method and device, electronic equipment and storage medium
CN110634173A (en) Picture mark information adding method and device, electronic equipment and readable medium
CN112261651B (en) Terminal control method, device, terminal and storage medium
CN111783010B (en) Webpage blank page monitoring method, device, terminal and storage medium
CN110876086A (en) Bullet screen generation adjusting method, device, equipment and storage medium
CN110569097B (en) Information display method and device

Legal Events

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