[go: up one dir, main page]

CN108235090B - Method and device for adjusting picture angle - Google Patents

Method and device for adjusting picture angle Download PDF

Info

Publication number
CN108235090B
CN108235090B CN201810058215.7A CN201810058215A CN108235090B CN 108235090 B CN108235090 B CN 108235090B CN 201810058215 A CN201810058215 A CN 201810058215A CN 108235090 B CN108235090 B CN 108235090B
Authority
CN
China
Prior art keywords
angle
equipment
rotation
picture
information
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
CN201810058215.7A
Other languages
Chinese (zh)
Other versions
CN108235090A (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.)
Guangzhou Qianjun Network Technology Co ltd
Original Assignee
Guangzhou Qianjun Network 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 Guangzhou Qianjun Network Technology Co ltd filed Critical Guangzhou Qianjun Network Technology Co ltd
Priority to CN201810058215.7A priority Critical patent/CN108235090B/en
Publication of CN108235090A publication Critical patent/CN108235090A/en
Application granted granted Critical
Publication of CN108235090B publication Critical patent/CN108235090B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a method for adjusting a picture angle, which is characterized in that after acquiring information that a main broadcasting terminal device rotates by a first angle along a first direction, the main broadcasting terminal device rotates a display picture by the first angle along a direction opposite to the first direction, so that the picture is kept still to be convenient for the main broadcasting to watch, and the rotated picture is pushed to a viewer terminal device. Correspondingly, when the spectator end equipment obtains the information that the spectator end equipment rotates the second angle along the second direction, the spectator end equipment rotates the display picture along the same direction of the second direction by the second angle, so that the spectator end equipment can obtain the picture displayed at the normal angle after rotating, and the spectator can watch the picture conveniently. By adopting the scheme, the anchor can randomly adjust the angle of the equipment in the live broadcasting process, the anchor and audiences cannot be influenced to watch, and the user experience is favorably improved.

Description

Method and device for adjusting picture angle
Technical Field
The present invention relates to the field of multimedia technologies, and in particular, to a method and an apparatus for adjusting a picture angle.
Background
Nowadays, the information presentation mode of the mobile internet is more and more diversified, wherein the information is transmitted more directly and really by a video and live broadcast mode than by other modes. With the continuous emergence of a large number of live broadcast products, the improvement of user experience becomes an important factor for the live broadcast products to occupy the market.
A great defect of the existing live broadcast products is that the real-time adjustment of the picture angle is not supported. When the user adjusts the terminal angle, for example, the terminal is rotated to switch between horizontal screen viewing (horizontal screen live broadcast) and vertical screen viewing (vertical screen live broadcast), the display picture cannot be adaptively adjusted accordingly, so that the user cannot comfortably view the display picture. Some live type products allow the user to set terminal angle information when opening the live broadcast, set up horizontal screen live broadcast or vertical screen live broadcast for example, then start live broadcast image acquisition and push stream on this basis, when user adjustment terminal angle, need withdraw from the live broadcast, reset the terminal angle, then start the live broadcast again, just can normally live broadcast. Because the existing live broadcast products do not support real-time adjustment of the picture angle, the user experience is poor.
Disclosure of Invention
Based on the defects and shortcomings of the prior art, the invention provides a method and a device for adjusting the picture angle, which can implement adjustment of the picture angle when the anchor adjusts the terminal angle, and improve user experience.
In order to achieve the purpose, the invention provides the following technical scheme:
a method for adjusting a picture angle is applied to anchor terminal equipment, and comprises the following steps:
acquiring first rotation angle information, wherein the first rotation angle information is information representing that the anchor terminal equipment rotates by a first angle along a first direction;
and rotating the display picture by a first angle along the direction opposite to the first direction according to the first rotation angle information.
Preferably, the method further comprises: and pushing the rotated display picture to the viewer side equipment.
Preferably, the acquiring the first rotation angle information includes: and acquiring first rotation angle information sent by the gravity sensor.
A method for adjusting a picture angle is applied to a viewer side device, and the method comprises the following steps:
receiving a display picture pushed by anchor terminal equipment, and displaying the display picture; the angle for displaying the display picture is the same as the angle for displaying the display picture by the anchor terminal equipment;
acquiring second rotation angle information, wherein the second rotation angle information is information representing that the equipment rotates by a second angle along a second direction;
and rotating the display picture by a second angle along the same direction as the second direction according to the second rotation angle information.
Preferably, the acquiring the second rotation angle information includes:
and acquiring second rotation angle information sent by the gravity sensor.
A device for adjusting picture angle is applied to anchor terminal equipment, and comprises:
the first information acquisition unit is used for acquiring first rotation angle information, wherein the first rotation angle information is information representing that the anchor terminal equipment rotates by a first angle along a first direction;
and the first processing unit is used for rotating the display picture by a first angle along the direction opposite to the first direction according to the first rotation angle information.
Preferably, the apparatus further comprises:
and the data pushing unit is used for pushing the rotated display picture to the viewer side equipment.
Preferably, when the first information acquiring unit acquires the first rotation angle information, the first information acquiring unit is specifically configured to: and acquiring first rotation angle information sent by the gravity sensor.
An apparatus for adjusting a picture angle, applied to a viewer side device, the apparatus comprising:
the data receiving unit is used for receiving a display picture pushed by the anchor terminal equipment and displaying the display picture; the angle for displaying the display picture is the same as the angle for displaying the display picture by the anchor terminal equipment;
the second information acquisition unit is used for acquiring second rotation angle information, and the second rotation angle information is information representing that the equipment rotates by a second angle along a second direction;
and the second processing unit is used for rotating the display picture by a second angle along the same direction as the second direction according to the second rotation angle information.
Preferably, when the second information acquiring unit acquires the second rotation angle information, the second information acquiring unit is specifically configured to:
and acquiring second rotation angle information sent by the gravity sensor.
The method for adjusting the picture angle can adjust the angle of the direct broadcasting picture in the reverse direction by acquiring the rotation angle information of the terminal equipment by the user in the direct broadcasting process, thereby keeping the picture at a normal angle all the time, being convenient for the main broadcasting to watch and being beneficial to improving the user experience.
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, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for adjusting an angle of a frame according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating another method for adjusting an angle of a frame according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for adjusting an angle of a display according to another embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an apparatus for adjusting an angle of a frame according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another apparatus for adjusting a frame angle according to an embodiment of the present invention.
Detailed Description
The technical scheme of the embodiment of the invention is suitable for the application scene of adjusting the display angle of the display page in the live broadcasting process. By adopting the technical scheme of the embodiment of the invention, the page angle can be adaptively adjusted in real time when the user rotates the terminal equipment, so that the user can freely change the angle of the terminal equipment on the premise of not influencing the normal angle display of the page.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a method for adjusting a picture angle, which is applied to anchor terminal equipment and is shown in figure 1, and the method comprises the following steps:
s101, obtaining first rotation angle information, wherein the first rotation angle information is information representing that the anchor terminal equipment rotates by a first angle along a first direction;
specifically, the obtaining of the first rotation angle information needs to be implemented by matching a gravity sensor of the anchor end device, that is, when the anchor rotates the anchor end device by an angle, the gravity sensor of the anchor end device senses and calculates the rotation angle and the direction of the anchor end device, and outputs the calculated rotation angle and direction, that is, outputs the first rotation angle information. It can be understood that, in the embodiment of the present invention, the rotation direction and the rotation angle information when the anchor adjusts the angle of the anchor device may be obtained by receiving the first rotation angle information sent by the gravity sensor of the anchor device.
And S102, rotating the display picture by a first angle along the direction opposite to the first direction according to the first rotation angle information.
Specifically, when the anchor terminal device senses that the angle of the anchor terminal device is rotated, if the angle of the displayed picture is not rotated, the displayed picture is also rotated along with the rotation of the anchor terminal device. For example, assume that the anchor at the initial time is to live a mobile phone in a vertical screen state, and when the anchor changes the mobile phone from a counterclockwise rotation of 90 degrees to a horizontal screen state for live broadcasting, because the existing live APP defaults to collect images in a vertical screen mode and perform stream pushing, if the display screen of the anchor terminal device is not processed, the screen displayed by the anchor terminal device is also the screen rotated counterclockwise by 90 degrees. Then the viewed picture is rotated 90 degrees counterclockwise for the anchor, and the inverted picture severely affects the anchor viewing.
In order to solve the above problem, an embodiment of the present invention sets that, when the first rotation angle information of the anchor device is acquired, the display screen of the anchor device is rotated by a first angle in a direction opposite to the first rotation direction, so that the display screen of the anchor device is adjusted to be displayed at a normal angle. Still by way of example, it is assumed that the anchor at the initial moment performs live broadcast in a vertical screen state of the mobile phone, and when the anchor changes from a counterclockwise rotation of 90 degrees to a horizontal screen state for direct broadcast, the display picture of the anchor terminal device will also rotate counterclockwise by 90 degrees in synchronization, at this time, the embodiment of the present invention rotates the display picture of the anchor terminal device by 90 degrees in a clockwise direction and displays the display picture, so that the picture displayed by the anchor terminal device is normal, and the picture displayed by the anchor terminal device at a vertical 90 degrees is consistent with the state of the anchor, which is convenient for the anchor to watch.
As can be seen from the above description, according to the technical scheme of the embodiment of the present invention, the angle of the display image is adaptively adjusted by recognizing the rotation of the user to the terminal and according to the rotation direction and angle of the user to rotate the terminal, so that the anchor can view the image at a comfortable angle. Based on the above scheme, the anchor can freely adjust the angle of the terminal equipment in the live broadcast process, and normal watching of the anchor is not influenced, so that the user experience is favorably improved.
The embodiment of the invention also discloses another method for adjusting the angle of the picture, which is applied to the equipment at the audience end and is shown in figure 2, and the method comprises the following steps:
s201, receiving a display picture pushed by anchor terminal equipment, and displaying the display picture; the angle for displaying the display picture is the same as the angle for displaying the display picture by the anchor terminal equipment;
specifically, when the audience equipment watches the anchor live broadcast through the live broadcast APP, the received picture is a display picture which is processed by the anchor equipment and pushed by the server. It can be understood that the picture displayed by the viewer side device is the same picture as the picture displayed on the main player side device, including the display angle. If the anchor terminal device is in a landscape state, the picture displayed by the anchor terminal device is the picture displayed in the landscape after the processing of the technical scheme of the embodiment of the invention. Correspondingly, after the picture is pushed to the audience equipment, the audience equipment displays the contents displayed on the horizontal screen no matter at what angle.
S202, obtaining second rotation angle information, wherein the second rotation angle information is information representing that the equipment rotates by a second angle along a second direction;
specifically, after the angle of the displayed picture is changed due to the rotation of the anchor device, the angle of the picture received and displayed by the viewer device is directly changed. At this time, the viewer may need to adjust the angle of the viewer-side device, such as a mobile phone, a tablet computer, etc., to adjust the screen angle.
The second rotation angle information indicates that the viewer rotates the viewer-side device by a second angle along a second direction. For example, if the viewer rotates the mobile phone in the vertical screen state by 90 degrees counterclockwise to make the mobile phone in the horizontal screen state, the rotation may be represented as rotating by plus 90 degrees, and correspondingly, if the viewer rotates the mobile phone in the vertical screen state by 90 degrees clockwise to make the mobile phone in the horizontal screen state, the rotation may be represented as rotating by minus 90 degrees. In practical application of the technical scheme of the embodiment of the invention, the positive direction and the negative direction of rotation can be freely set.
And S203, rotating the display picture by a second angle along the same direction as the second direction according to the second rotation angle information.
Specifically, according to the functions of common smart devices such as a mobile phone and a tablet, when a user rotates the angle of the device, a display picture can be automatically changed to adapt to the size of a screen. For example, when the user rotates the mobile phone from the vertical screen state to the horizontal screen state, the mobile phone will automatically adjust the display to the horizontal screen display, that is, the display is rotated by the same angle relative to the reverse direction of the direction in which the user rotates the mobile phone. For example, if the user rotates the mobile phone from the vertical screen state by 90 degrees counterclockwise to the horizontal screen state, the display screen needs to be rotated by 90 degrees clockwise to implement horizontal screen playing, which is suitable for the user to watch.
Based on the above-mentioned self-function of the spectator end device, when the spectator rotates the spectator end device along the second direction by a second angle, the picture will rotate along the reverse direction of the second direction by the second angle. Since the picture displayed by the viewer-side device is the picture after the rotation of the anchor side, the display picture needs to be rotated by a second angle along the second direction, so that the picture can be fixed and can not be automatically rotated.
Through the introduction, when the angle of the image is changed due to the angle adjustment of the anchor terminal, the viewer terminal device can sense the device angle adjustment of the user for the image angle change, and performs adaptive angle adjustment on the image according to the angle adjustment, so that the viewer can obtain the image displayed at a normal angle after adjusting the angle of the device. The technical scheme allows the anchor end to freely rotate the angle of the equipment without influencing the watching experience of the audience.
It can be understood that when the anchor is live through live broadcast products, specifically live through live broadcast APPs, such as pepper live broadcast, YY live broadcast, etc., the dynamic picture of the anchor can be seen in real time at the audience. The method comprises the steps that the anchor terminal equipment collects scene images of an anchor and the environment where the anchor is located, the collected images are displayed on a display screen of the anchor terminal equipment, meanwhile, the anchor terminal equipment pushes the displayed image images to audience terminal equipment through a server to be displayed, and the image content displayed by the audience terminal equipment is the same as the image content displayed by the anchor terminal equipment.
It should be noted that, under a normal condition, after the anchor terminal device collects an image in a vertical screen manner to form a display screen, the image information is pushed to the audience terminal device at a vertical screen angle, that is, when the audience terminal device displays the received display screen in a vertical screen manner, the display screen is a normal display screen.
When the anchor adjusts the angle of the anchor terminal device by rotating the anchor terminal device, the anchor terminal device acquires the image in a vertical screen mode by default, so that if the display angle of the display picture is not adjusted, the angle of the display picture of the anchor terminal device can also rotate by the same angle along with the change of the angle of the anchor terminal device, and the anchor terminal device is inconvenient to watch.
In order to solve the above problem, when the anchor terminal rotates the anchor terminal device, the anchor terminal can still view the picture displayed at the normal angle. At this time, the picture displayed on the anchor terminal device has a certain angle difference with respect to the anchor terminal device itself, that is, the picture is not strictly displayed on the anchor terminal device in a vertical screen manner. And because the anchor terminal equipment pushes the display page in a vertical screen mode by default, when the anchor rotates the anchor terminal equipment to adjust the picture angle, the picture pushed to the audience terminal equipment also has the same angle adjustment, and the picture displayed on the audience terminal equipment has certain angle difference relative to the audience terminal equipment per se, namely, the picture is not strictly displayed on the audience terminal equipment in a vertical screen mode, and the audience needs to adjust the display picture to be displayed at a normal angle by adjusting the angle of the audience terminal equipment.
As can be understood from the above description, the method for adjusting the picture angle provided in the embodiment of the present invention is actually a technical solution that needs to perform picture angle adjustment on the anchor device and the viewer device, respectively, so that the anchor device and the viewer device can still display the picture at a normal angle under the condition of arbitrarily adjusting the angle. That is to say, the method for adjusting the picture angle shown in fig. 1 and the method for adjusting the picture angle shown in fig. 2 are technical solutions having a corresponding relationship, and in an actual implementation process, the method needs to be implemented in the anchor device and the viewer device respectively so as to simultaneously implement the adjustment of the picture angle, so that both the anchor device and the viewer device can normally display the picture.
In particular, since the live broadcast process needs to be implemented based on live broadcast products such as live broadcast APPs, the technical scheme provided by the embodiment of the present invention is a technical scheme applied to live broadcast products such as live broadcast APPs. The live APP needs to be installed and run on intelligent terminal equipment such as a mobile phone, and therefore the technical scheme of the embodiment of the invention is a technical scheme which is based on terminal equipment and applied to live APP.
Fig. 3 shows a specific implementation procedure of the technical solution combining the methods for adjusting the picture angle shown in fig. 1 and fig. 2. Referring to fig. 3, a method for adjusting a picture angle disclosed in the embodiment of the present invention specifically includes:
when the anchor is in live broadcasting, the anchor end equipment can be adjusted at will to put the angle such as a mobile phone, a tablet computer and the like, for example, the anchor end equipment can be adjusted from a vertical screen live broadcasting state to a horizontal screen live broadcasting state, or the anchor end equipment can be adjusted to any angle for live broadcasting.
When the anchor rotates the anchor terminal device to adjust the angle of the anchor terminal device, the anchor terminal device executes step S301 to obtain first rotation angle information;
specifically, the first rotation angle information indicates that the anchor rotates the anchor end device by a first angle in a first direction. For example, if the anchor rotates the mobile phone in the vertical screen state by 90 degrees counterclockwise to make the mobile phone in the landscape screen state, the rotation may be represented as rotating by plus 90 degrees, and correspondingly, if the anchor rotates the mobile phone in the vertical screen state by 90 degrees clockwise to make the mobile phone in the landscape screen state, the rotation may be represented as rotating by minus 90 degrees. In practical application of the technical scheme of the embodiment of the invention, the positive direction and the negative direction of rotation can be freely set.
The obtaining of the first rotation angle information needs to be realized by matching a gravity sensor of the anchor end device, that is, when the anchor rotates the anchor end device by an angle, the gravity sensor of the anchor end device senses and calculates the rotation angle and the direction of the anchor end device, and outputs the calculated rotation angle and direction, that is, outputs the first rotation angle information. It can be understood that, in the embodiment of the present invention, the rotation direction and the rotation angle information when the anchor adjusts the angle of the anchor device may be obtained by receiving the first rotation angle information sent by the gravity sensor of the anchor device.
For example, when the technical solution of the embodiment of the present invention is applied to an IOS system device, the UIViewControllerRotation class inside the IOS system may detect a gravity change condition of the device by using a gravity sensor of the IOS device, and when receiving a notification of device rotation sent by the gravity sensor, calculate an angle and a direction of the current device rotation.
S302, the anchor terminal equipment rotates the display picture by a first angle along the direction opposite to the first rotation direction according to the acquired first rotation angle information;
specifically, when the anchor terminal device senses that the angle of the anchor terminal device is rotated, if the angle of the displayed picture is not rotated, the displayed picture is also rotated along with the rotation of the anchor terminal device. For example, assume that the anchor at the initial time is to live a mobile phone in a vertical screen state, and when the anchor changes the mobile phone from a counterclockwise rotation of 90 degrees to a horizontal screen state for live broadcasting, because the existing live APP defaults to collect images in a vertical screen mode and perform stream pushing, if the display screen of the anchor terminal device is not processed, the screen displayed by the anchor terminal device is also the screen rotated counterclockwise by 90 degrees. Then the viewed picture is rotated 90 degrees counterclockwise for the anchor, and the inverted picture severely affects the anchor viewing.
In order to solve the above problem, an embodiment of the present invention sets that, when the first rotation angle information of the anchor device is acquired, the display screen of the anchor device is rotated by a first angle in a direction opposite to the first rotation direction, so that the display screen of the anchor device is adjusted to be displayed at a normal angle. Still by way of example, it is assumed that the anchor at the initial moment performs live broadcast in a vertical screen state of the mobile phone, and when the anchor changes from a counterclockwise rotation of 90 degrees to a horizontal screen state for direct broadcast, the display picture of the anchor terminal device will also rotate counterclockwise by 90 degrees in synchronization, at this time, the embodiment of the present invention rotates the display picture of the anchor terminal device by 90 degrees in a clockwise direction and displays the display picture, so that the picture displayed by the anchor terminal device is normal, and the picture displayed by the anchor terminal device at a vertical 90 degrees is consistent with the state of the anchor, which is convenient for the anchor to watch.
The first rotation direction may be any rotation direction in a plane where a display screen of the anchor device is located, and the first angle may be an angle of any size. The above steps S301 and S302 are real-time processing procedures, that is, in the process of the anchor live broadcast, as long as the action of rotating the angle of the anchor device is executed, the anchor device immediately executes the above steps S301 and S302 to adjust the angle of the display screen, so that the anchor can arbitrarily adjust the angle of the anchor device without affecting the display angle of the screen without any perception.
S303, the anchor terminal equipment pushes the rotated display picture to audience terminal equipment;
specifically, if the anchor terminal device collects images in a vertical screen state, the images collected in the vertical screen state are directly displayed on the anchor terminal device, and meanwhile, a display picture is pushed to the audience terminal device. If the anchor terminal device does not acquire the image in the vertical screen state, that is, the anchor terminal device rotates by a certain angle, according to the technical scheme of the embodiment of the invention, the anchor terminal device adjusts the display picture of the anchor terminal device by the same angle in the reverse direction and then displays the adjusted display picture. However, the live APP is pushed in a vertical screen mode by default, so that the display image which is pushed to the viewer side and is adjusted by the same angle in the reverse direction is displayed.
For example, assuming that the anchor at the initial moment is to live the mobile phone in a vertical screen state, when the anchor changes the mobile phone from a counterclockwise rotation of 90 degrees to a horizontal screen state for live broadcasting, the display screen of the anchor device is also rotated by 90 degrees counterclockwise in synchronization, and at this time, according to the processing of the technical scheme of the embodiment of the present invention, the display screen of the anchor device is rotated by 90 degrees clockwise and displayed. Accordingly, the picture pushed to the viewer is also the picture rotated by 90 degrees in the counterclockwise direction.
It should be noted that the anchor device pushes the display image or the rotated display image to the viewer device, and actually, the display image is first sent to the server, and then the display image is pushed to the viewer device by the server in a broadcast manner. The server only plays a role of routing forwarding and does not process the live broadcast picture.
S304, receiving a display picture pushed by the anchor terminal equipment by the audience terminal equipment, and displaying the display picture;
specifically, when the audience equipment watches the anchor live broadcast through the live broadcast APP, the received picture is a display picture which is processed by the anchor equipment and pushed by the server. It can be understood that the picture displayed by the viewer side device is the same picture as the picture displayed on the main player side device, including the display angle. If the anchor terminal device is in a landscape state, the picture displayed by the anchor terminal device is the picture displayed in the landscape after the processing of the technical scheme of the embodiment of the invention. Correspondingly, after the picture is pushed to the audience equipment, the audience equipment displays the contents displayed on the horizontal screen no matter at what angle.
For example, if the anchor adjusts the mobile phone from a vertical screen state to a landscape screen state by rotating 90 degrees counterclockwise, the embodiment of the present invention rotates the picture displayed by the anchor device 90 degrees clockwise, so that the picture is suitable for being viewed on the landscape screen, and then pushes the rotated picture to the viewer device. At this time, the picture received by the viewer-side device is a picture rotated by 90 degrees clockwise, and even if the viewer-side device is in a vertical screen state, the displayed picture is a picture rotated by 90 degrees clockwise.
S305, acquiring second rotation angle information; the second rotation angle information is information representing that the equipment rotates by a second angle along a second direction;
specifically, after the angle of the displayed picture is changed due to the rotation of the anchor device, the angle of the picture received and displayed by the viewer device is directly changed. At this time, the viewer may need to adjust the angle of the viewer-side device, such as a mobile phone, a tablet computer, etc., to adjust the screen angle.
The second rotation angle information indicates that the viewer rotates the viewer-side device by a second angle along a second direction. For example, if the viewer rotates the mobile phone in the vertical screen state by 90 degrees counterclockwise to make the mobile phone in the horizontal screen state, the rotation may be represented as rotating by plus 90 degrees, and correspondingly, if the viewer rotates the mobile phone in the vertical screen state by 90 degrees clockwise to make the mobile phone in the horizontal screen state, the rotation may be represented as rotating by minus 90 degrees. In practical application of the technical scheme of the embodiment of the invention, the positive direction and the negative direction of rotation can be freely set.
Similarly, the obtaining of the second rotation angle information needs to be implemented by matching a gravity sensor of the viewer-side device, that is, when the viewer rotates the angle of the viewer-side device, the gravity sensor of the viewer-side device senses and calculates the rotation angle and the direction of the viewer-side device, and outputs the calculated rotation angle and direction, that is, outputs the second rotation angle information. It can be understood that, in the embodiment of the present invention, the rotation direction and the rotation angle information when the angle of the viewer-side device is adjusted by the viewer may be obtained by receiving the second rotation angle information sent by the gravity sensor of the viewer-side device.
S306, according to the second rotation angle information, rotating the display picture by a second angle along the same direction as the second direction.
Specifically, according to the functions of common smart devices such as a mobile phone and a tablet, when a user rotates the angle of the device, a display picture can be automatically changed to adapt to the size of a screen. For example, when the user rotates the mobile phone from the vertical screen state to the horizontal screen state, the mobile phone will automatically adjust the display to the horizontal screen display, that is, the display is rotated by the same angle relative to the reverse direction of the direction in which the user rotates the mobile phone. For example, if the user rotates the mobile phone from the vertical screen state by 90 degrees counterclockwise to the horizontal screen state, the display screen needs to be rotated by 90 degrees clockwise to implement horizontal screen playing, which is suitable for the user to watch.
Based on the above-mentioned self-function of the spectator end device, when the spectator rotates the spectator end device along the second direction by a second angle, the picture will rotate along the reverse direction of the second direction by the second angle. Since the picture displayed by the viewer-side device is the picture after the rotation of the anchor side, the display picture needs to be rotated by a second angle along the second direction, so that the picture can be fixed and can not be automatically rotated.
For example, if in the live broadcasting process, the anchor rotates the mobile phone from the vertical screen state to the horizontal screen state by 90 degrees counterclockwise, the embodiment of the present invention simultaneously rotates the display screen by 90 degrees clockwise, and pushes the display screen to the viewer side device. At this time, the picture seen by the viewer-side device in the vertical screen state is a picture rotated by 90 degrees clockwise. In order to obtain a proper viewing angle, the viewer needs to rotate the mobile phone by 90 degrees in the counterclockwise direction so as to adjust the picture to a picture at a normal angle, but since the mobile phone has a function of adjusting the picture angle according to the rotation of the mobile phone, the mobile phone can rotate the picture by 90 degrees in the clockwise direction, and the obtained picture is still a picture rotated by 90 degrees in the clockwise direction, and is still not suitable for viewing.
In order to solve the problem, when the user rotates the mobile phone, the embodiment of the invention simultaneously rotates the picture in the same direction and at the same angle as the direction of the mobile phone rotated by the user so as to counteract the rotation of the display picture with the self-contained function of the mobile phone. Still by way of example, when the user rotates the mobile phone by 90 degrees in the counterclockwise direction to adjust the picture to the picture at the normal angle, the mobile phone may rotate the picture by 90 degrees in the clockwise direction due to the function of adjusting the picture angle according to the rotation of the mobile phone, and at this time, the embodiment of the present invention performs the rotation of 90 degrees in the clockwise direction on the picture, that is, performs the same rotation as the rotation of the mobile phone, so that the obtained picture is the picture at the normal angle, and is suitable for the audience to watch.
As can be seen from the above description, according to the technical solution of the embodiment of the present invention, by identifying the rotation of the terminal by the user, and according to the rotation direction and angle of the terminal rotated by the user, the angle of the display image is adaptively adjusted, so that both the anchor side and the viewer side can view the image at a comfortable angle. Based on the scheme, the anchor can freely adjust the angle of the terminal equipment in the live broadcasting process, and the normal watching of the anchor and audiences cannot be influenced.
Fig. 4 is a schematic structural diagram of an apparatus for adjusting a picture angle, which is applied to a host device and includes:
a first information obtaining unit 100, configured to obtain first rotation angle information, where the first rotation angle information is information that indicates that the anchor equipment rotates by a first angle in a first direction;
the first processing unit 110 is configured to rotate the display screen by a first angle in a direction opposite to the first direction according to the first rotation angle information.
In another embodiment of the present invention, the apparatus further comprises: and the data pushing unit is used for pushing the rotated display picture to the viewer side equipment.
When the first information acquiring unit 100 acquires the first rotation angle information, the first information acquiring unit is specifically configured to: and acquiring first rotation angle information sent by the gravity sensor.
For details of the operation of each unit in the above embodiments, please refer to the contents of the corresponding method embodiments, which are not described herein again.
Fig. 5 is a schematic structural diagram of another apparatus for adjusting a picture according to an embodiment of the present invention, where the apparatus is applied to a viewer-side device, and includes:
the data receiving unit 200 is configured to receive a display screen pushed by an anchor device and display the display screen; the angle for displaying the display picture is the same as the angle for displaying the display picture by the anchor terminal equipment;
a second information obtaining unit 210, configured to obtain second rotation angle information, where the second rotation angle information is information that indicates that the device rotates by a second angle in a second direction;
and a second processing unit 220, configured to rotate the display screen by a second angle in the same direction as the second direction according to the second rotation angle information.
When the second information obtaining unit 210 obtains the second rotation angle information, the method is specifically configured to:
and acquiring second rotation angle information sent by the gravity sensor.
For details of the operation of each unit in the above embodiments, please refer to the contents of the corresponding method embodiments, which are not described herein again.
Finally, it should also be 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.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (4)

1. A method for adjusting a picture angle, the method comprising:
when the anchor terminal equipment rotates the anchor terminal equipment, the anchor terminal equipment receives an equipment rotation notification sent by an equipment sensor, and calculates to obtain first rotation angle information of the current rotation of the anchor terminal equipment based on information obtained by sensing of a gravity sensor, wherein the first rotation angle information is information representing that the anchor terminal equipment rotates by a first angle along a first direction;
the anchor terminal equipment rotates a display picture by a first angle along the direction opposite to the first direction according to the first rotation angle information;
the anchor terminal equipment pushes the rotated display picture to audience terminal equipment; so that the spectator end equipment can display the display picture at the same angle with the main broadcasting end without rotating;
the audience terminal equipment receives a display picture pushed by the anchor terminal equipment and displays the display picture; the angle for displaying the display picture is the same as the angle for displaying the display picture by the anchor terminal equipment;
the spectator end equipment receives an equipment rotation notification sent by the gravity sensor when spectators rotate the spectator end equipment, and calculates to obtain second rotation angle information of the current rotation of the equipment based on information obtained by the induction of the gravity sensor, wherein the second rotation angle information is information representing that the equipment rotates by a second angle along a second direction;
and the spectator end equipment automatically rotates the display picture by a second angle in the direction opposite to the second rotation direction, and then rotates the display picture by the second angle in the direction same as the second direction according to the second rotation angle information.
2. A method for adjusting a picture angle is applied to a viewer-side device, and the method comprises the following steps:
receiving a display picture pushed by anchor terminal equipment, and displaying the display picture; the angle for displaying the display picture is the same as the angle for displaying the display picture by the anchor terminal equipment;
when the audience rotates the audience terminal equipment, receiving an equipment rotation notification sent by a gravity sensor, and calculating to obtain second rotation angle information of the current rotation of the equipment based on information obtained by the induction of the gravity sensor, wherein the second rotation angle information is information representing that the equipment rotates by a second angle along a second direction;
and after the spectator end equipment automatically rotates the display picture by a second angle in the direction opposite to the second rotation direction, the display picture is rotated by the second angle in the direction same as the second direction according to the second rotation angle information.
3. An apparatus for adjusting an angle of a picture, the apparatus comprising: the system comprises a first information acquisition unit, a first processing unit and a data pushing unit which are arranged on the anchor terminal equipment, and a data receiving unit, a second information acquisition unit and a second processing unit which are arranged on the audience terminal equipment;
the first information acquisition unit is used for receiving an equipment rotation notification sent by an equipment sensor when the anchor rotates the anchor terminal equipment, and calculating to obtain first rotation angle information of the current rotation of the equipment based on information obtained by sensing of a gravity sensor, wherein the first rotation angle information is information representing that the anchor terminal equipment rotates by a first angle along a first direction;
the first processing unit is used for rotating the display picture by a first angle along the direction opposite to the first direction according to the first rotation angle information;
the data pushing unit is used for pushing the rotated display picture to the viewer-side equipment; so that the spectator end equipment can display the display picture at the same angle with the main broadcasting end without rotating;
the data receiving unit is used for receiving a display picture pushed by the anchor terminal equipment and displaying the display picture; the angle for displaying the display picture is the same as the angle for displaying the display picture by the anchor terminal equipment;
the second information acquisition unit is used for receiving an equipment rotation notification sent by the gravity sensor when the audience rotates the audience equipment, and calculating to obtain second rotation angle information of the current rotation of the equipment based on information obtained by the gravity sensor, wherein the second rotation angle information is information representing that the equipment rotates by a second angle along a second direction;
and the second processing unit is configured to, after the viewer-side device automatically rotates the display image by a second angle in a direction opposite to a second rotation direction, rotate the display image by the second angle in a direction the same as the second direction according to the second rotation angle information.
4. An apparatus for adjusting a picture angle, applied to a viewer side device, the apparatus comprising:
the data receiving unit is used for receiving a display picture pushed by the anchor terminal equipment and displaying the display picture; the angle for displaying the display picture is the same as the angle for displaying the display picture by the anchor terminal equipment;
the second information acquisition unit is used for receiving an equipment rotation notification sent by the gravity sensor when the audience rotates the audience equipment, and calculating to obtain second rotation angle information of the current rotation of the equipment based on information obtained by the gravity sensor, wherein the second rotation angle information is information representing that the equipment rotates by a second angle along a second direction;
and the second processing unit is used for rotating the display picture by a second angle along the direction same as the second direction according to the second rotation angle information after the spectator end equipment automatically rotates the display picture by the second angle along the reverse direction of the second rotation direction.
CN201810058215.7A 2018-01-22 2018-01-22 Method and device for adjusting picture angle Active CN108235090B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810058215.7A CN108235090B (en) 2018-01-22 2018-01-22 Method and device for adjusting picture angle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810058215.7A CN108235090B (en) 2018-01-22 2018-01-22 Method and device for adjusting picture angle

Publications (2)

Publication Number Publication Date
CN108235090A CN108235090A (en) 2018-06-29
CN108235090B true CN108235090B (en) 2021-09-17

Family

ID=62668158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810058215.7A Active CN108235090B (en) 2018-01-22 2018-01-22 Method and device for adjusting picture angle

Country Status (1)

Country Link
CN (1) CN108235090B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111246266A (en) * 2020-03-04 2020-06-05 海信视像科技股份有限公司 A display device and UI display method when rotated
CN113630639B (en) * 2020-05-07 2022-04-19 海信视像科技股份有限公司 Display device
CN113923460B (en) * 2020-07-09 2024-06-07 腾讯科技(深圳)有限公司 Video picture display method, device, equipment and storage medium
CN111901547B (en) * 2020-08-11 2023-04-18 深圳康佳电子科技有限公司 Rotary television and working method thereof
CN113900568B (en) * 2021-11-16 2024-09-10 创盛视联数码科技(北京)有限公司 Picture rotation method, electronic device and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201168A (en) * 2016-06-27 2016-12-07 乐视控股(北京)有限公司 Video playback picture display process, device and mobile terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050166230A1 (en) * 2003-03-18 2005-07-28 Gaydou Danny R. Systems and methods for providing transport control
CN100389589C (en) * 2003-12-15 2008-05-21 联想(北京)有限公司 A Method of Automatically Correcting the Display of Digital Photos
EP2811739B1 (en) * 2012-02-03 2021-11-24 Samsung SDS Co., Ltd. Terminal, image communication control server, and system and method for image communication using same
CN105959612A (en) * 2016-04-22 2016-09-21 惠州Tcl移动通信有限公司 Method and system for automatically correcting frame angle in mobile terminal video communication
KR101827427B1 (en) * 2016-06-20 2018-02-08 한국항공대학교산학협력단 Video signal transmitting apparatus and method thereof
CN106506554A (en) * 2016-12-29 2017-03-15 广州华多网络科技有限公司 The method of live coding, device, terminal, linkage encoder server and system
CN107147927B (en) * 2017-04-14 2020-04-03 北京小米移动软件有限公司 Live broadcast method and device based on live broadcast connection
CN107155114A (en) * 2017-06-22 2017-09-12 上海鋆创信息技术有限公司 A kind of video pictures method of adjustment and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201168A (en) * 2016-06-27 2016-12-07 乐视控股(北京)有限公司 Video playback picture display process, device and mobile terminal

Also Published As

Publication number Publication date
CN108235090A (en) 2018-06-29

Similar Documents

Publication Publication Date Title
CN108235090B (en) Method and device for adjusting picture angle
CN106454407B (en) Video live broadcasting method and device
CN110740338B (en) Bullet screen processing method and device, electronic equipment and storage medium
US20110229106A1 (en) System for playback of ultra high resolution video using multiple displays
US20060195523A1 (en) System and method of broadcasting full-screen video
TW201442507A (en) Method and apparatus for providing interactive augmented reality information corresponding to television programs
EP3100457B1 (en) Method and apparatus for synchronizing playbacks at two electronic devices
CN111050204A (en) Video clipping method and device, electronic equipment and storage medium
CN111147911A (en) Video clipping method and device, electronic equipment and storage medium
EP2863643A1 (en) Audio and video synchronization
CN103002234A (en) Television set capable of regulating resolution ratio automatically according to watching distance
US20120284740A1 (en) Method of surveying watching of image content, and broadcast receiving apparatus and server employing the same
CN113905268A (en) Black edge removing method for screen projection display of mobile terminal
JP2020508611A5 (en)
CN113542841A (en) Screen projection method and screen projection system
CN103747360A (en) Intelligent television video playing method and equipment
CN102695011A (en) Method and video player capable of automatically adjusting image according to watching angle of user
CN114222188A (en) Full-screen display method, device, device and storage medium based on rotating screen
CN111147883A (en) Live broadcast method, apparatus, head mounted display device and readable storage medium
CN210804375U (en) Mirror image screen projection switching device
WO2014050211A1 (en) Program, display device, television receiver, display method, and display system
US20140075569A1 (en) Display apparatus and display program
KR102199568B1 (en) Electric apparatus and operating method thereof
TW201740738A (en) Method and device for displaying multi-channel video
EP1699168A1 (en) System and method of broadcasting full-screen video

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