CN108235090A - A kind of method and device of adjustment picture angle - Google Patents

A kind of method and device of adjustment picture angle Download PDF

Info

Publication number
CN108235090A
CN108235090A CN201810058215.7A CN201810058215A CN108235090A CN 108235090 A CN108235090 A CN 108235090A CN 201810058215 A CN201810058215 A CN 201810058215A CN 108235090 A CN108235090 A CN 108235090A
Authority
CN
China
Prior art keywords
end equipment
picture
angle
main broadcaster
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.)
Granted
Application number
CN201810058215.7A
Other languages
Chinese (zh)
Other versions
CN108235090B (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 DEVELOPMENT Co Ltd
Original Assignee
GUANGZHOU QIANJUN NETWORK TECHNOLOGY DEVELOPMENT 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 DEVELOPMENT Co Ltd filed Critical GUANGZHOU QIANJUN NETWORK TECHNOLOGY DEVELOPMENT 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

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 present invention proposes a kind of method of adjustment picture angle, main broadcaster's end equipment is after obtaining main broadcaster's end equipment and being rotated in a first direction the information of first angle, display picture is rotated into first angle in the opposite direction along with first party, picture is remained stationary as in order to which main broadcaster watches, and postrotational picture is pushed to spectators' end equipment.Accordingly, spectators' end equipment is when acquisition spectators' end equipment rotates in a second direction the information of second angle, it will show that identical direction rotates second angle to picture in a second direction, make spectators' end equipment that can obtain the picture that normal angled show after rotation, convenient for spectators' viewing.It can make main broadcaster's random adjusting device angle during live streaming using the above scheme, main broadcaster and spectators' viewing not interfered with, conducive to user experience is promoted.

Description

A kind of method and device of adjustment picture angle
Technical field
The present invention relates to multimedia technology field more particularly to a kind of method and devices of adjustment picture angle.
Background technology
The information organization form of mobile Internet is more and more diversified now, wherein being transmitted by way of video, live streaming Information is than other manner transmission information more directly, really.As a large amount of live streaming product continues to bring out, improve user experience into In order to which an important factor for class product seizes market is broadcast live.
One very big deficiency of existing live streaming class product is not support real-time adjustment picture angle.When user adjusts Terminal point, such as when rotation terminal switching transverse screen viewing (transverse screen live streaming) and vertical screen viewing (vertical screen live streaming), display picture is not It can be adaptively adjusted therewith, user is caused not watched comfortably.Some live streaming class products allow user opening directly Sowing time sets terminal point information, such as sets transverse screen live streaming or vertical screen live streaming, then starts to be broadcast live on this basis Image Acquisition and plug-flow when user adjusts terminal point, need to exit live streaming, reset terminal point, then start again Live streaming, could normally be broadcast live.Since existing live streaming class product does not support real-time adjustment picture angle, user experience compared with Difference.
Invention content
The defects of based on the above-mentioned prior art and deficiency, the present invention propose a kind of method and device of adjustment picture angle, It can implement ground adjustment picture angle when main broadcaster adjusts terminal point, promote user experience.
In order to achieve the above object, the following technical solutions are proposed by the present invention:
A kind of method of adjustment picture angle, applied to main broadcaster's end equipment, the method includes:
The first rotation angle information is obtained, first rotation angle information is characterizes main broadcaster's end equipment along first party To the information of rotation first angle;
According to first rotation angle information, display picture is rotated first along direction opposite to the first direction Angle.
Preferably, the method further includes:The postrotational display picture is pushed into spectators' end equipment.
Preferably, the first rotation angle information of the acquisition, including:Obtain the first rotation angle that gravity sensor is sent Information.
A kind of method of adjustment picture angle, applied to spectators' end equipment, the method includes:
The display picture of main broadcaster's end equipment push is received, and shows the display picture;Wherein, the display picture is shown Angle and main broadcaster's end equipment show that the angle of the display picture is identical;
The second rotation angle information is obtained, second rotation angle information is rotated in a second direction to characterize the equipment The information of second angle;
According to second rotation angle information, display picture is rotated second along the direction identical with the second direction Angle.
Preferably, the second rotation angle information of the acquisition, including:
Obtain the second rotation angle information that gravity sensor is sent.
A kind of device of adjustment picture angle, applied to main broadcaster's end equipment, which includes:
First information acquiring unit, for obtaining the first rotation angle information, first rotation angle information is characterization Main broadcaster's end equipment is rotated in a first direction the information of first angle;
First processing units, for that according to first rotation angle information, will show picture edge and the first direction Opposite direction rotates first angle.
Preferably, described device further includes:
Data-pushing unit, for the postrotational display picture to be pushed to spectators' end equipment.
Preferably, when the first information acquiring unit obtains the first rotation angle information, it is specifically used for:Gravity is obtained to pass The first rotation angle information that sensor is sent.
A kind of device of adjustment picture angle, applied to spectators' end equipment, described device includes:
Data receipt unit for receiving the display picture of main broadcaster's end equipment push, and shows the display picture;Its In, show that the angle of the display picture and main broadcaster's end equipment show that the angle of the display picture is identical;
Second information acquisition unit, for obtaining the second rotation angle information, second rotation angle information is characterization The equipment rotates in a second direction the information of second angle;
Second processing unit, for that according to second rotation angle information, will show picture edge and the second direction Identical direction rotates second angle.
Preferably, when second information acquisition unit obtains the second rotation angle information, it is specifically used for:
Obtain the second rotation angle information that gravity sensor is sent.
The method of adjustment picture angle proposed by the present invention, can be during live streaming by obtaining user to terminal device Rotation angle information, to live streaming picture carry out reverse direction angle adjust, so as to keep picture always be in normal angle Degree is watched convenient for main broadcaster, conducive to user's impression is promoted.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention, for those of ordinary skill in the art, without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow diagram of the method for adjustment picture angle provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of the method for another adjustment picture angle provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of the method for another adjustment picture angle provided in an embodiment of the present invention;
Fig. 4 is a kind of structure diagram of the device of adjustment picture angle provided in an embodiment of the present invention;
Fig. 5 is the structure diagram of the device of another adjustment picture angle provided in an embodiment of the present invention.
Specific embodiment
Technical solution of the embodiment of the present invention is suitable for carrying out answering for angles of display adjustment to the display page during live streaming Use scene.Using technical solution of the embodiment of the present invention, the page can be adaptively adjusted in real time when user rotates terminal device Angle makes user that can freely change the angle of terminal device under the premise of not influencing page normal angled and showing.
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of method of adjustment picture angle, this method is applied to main broadcaster's end equipment, referring to Shown in Fig. 1, this method includes:
S101, the first rotation angle information is obtained, first rotation angle information is characterizes main broadcaster's end equipment edge First direction rotates the information of first angle;
Specifically, the realization of above-mentioned the first rotation angle information of acquisition, needs the gravity sensor of main broadcaster's end equipment to coordinate It realizes, i.e., when main broadcaster rotates the angle of main broadcaster's end equipment, the gravity sensor of main broadcaster's end equipment senses and calculate main broadcaster end The rotation angle of equipment and direction, and export the rotation angle being calculated and direction, that is, export the first above-mentioned rotation angle Information.It is appreciated that the first rotation angle that the embodiment of the present invention can be sent by receiving the gravity sensor of main broadcaster's end equipment Spend information, come obtain when main broadcaster adjust main broadcaster's end equipment angle when direction of rotation and rotation angle information.
S102, according to first rotation angle information, will show that picture is revolved along direction opposite to the first direction Turn first angle.
Specifically, when main broadcaster's end equipment senses that self-view rotates, if not carrying out angle to the picture of display Degree rotation, then show that picture can also be rotated with the rotation of main broadcaster's end equipment.For example, it is assumed that initial time main broadcaster be by Mobile phone vertical screen state is broadcast live, when mobile phone is rotated by 90 ° by main broadcaster counterclockwise to be become transverse screen state and be broadcast live, due to existing Live streaming APP acquiescence be that vertical screen mode acquires image and carries out plug-flow, therefore, if not to the display picture of main broadcaster's end equipment Handled, then the picture shown by main broadcaster's end equipment and counterclockwise be rotated by 90 ° after picture.So at this point for master For broadcasting, the picture watched is exactly to have rotated 90 degree counterclockwise, the picture upsided down, seriously affects main broadcaster's viewing.
To solve the above-mentioned problems, the embodiment of the present invention is set, when above-mentioned first rotation angle for getting main broadcaster's end equipment When spending information, the display picture of main broadcaster's end equipment is rotated into first angle along the direction opposite with above-mentioned first direction of rotation, with Just the display picture of main broadcaster's end equipment is adjusted to normal angled to show.Still with above-mentioned for example, assuming initial time main broadcaster It is to be broadcast live mobile phone vertical screen state, it is main when mobile phone is rotated by 90 ° by main broadcaster counterclockwise to be become transverse screen state and be broadcast live It broadcasts the display picture of end equipment and can also synchronize and be rotated by 90 ° counterclockwise, at this point, the embodiment of the present invention is by the display of main broadcaster's end equipment Picture is rotated in a clockwise direction 90 degree and shows again, the picture shown by such main broadcaster's end equipment be exactly it is normal, vertical 90 degree The picture of display is consistent with the state of main broadcaster, is watched convenient for main broadcaster.
By above-mentioned introduction as it can be seen that technical solution of the embodiment of the present invention is by identifying spinning movement of the user to terminal, root The direction of rotation of terminal is rotated according to user and angle carries out, and the angle for showing picture is adaptively adjusted, so as to make main broadcaster The picture of comfortable angle can be watched.Based on said program, main broadcaster can freely adjust the angle of terminal device during live streaming Degree, and do not interfere with main broadcaster and normally watch, conducive to user experience is promoted.
The embodiment of the invention also discloses the method for another adjustment picture angle, this method is applied to spectators' end equipment, Shown in Figure 2, this method includes:
S201, the display picture for receiving the push of main broadcaster's end equipment, and show the display picture;Wherein, it shows described aobvious Show that the angle of picture and main broadcaster's end equipment show that the angle of the display picture is identical;
Specifically, when spectators' end equipment watches main broadcaster's live streaming by the way that APP is broadcast live, the picture received is main broadcaster's end equipment After processing and pass through the display picture of server push.It is appreciated that the picture shown by spectators' end equipment, with main broadcaster's end equipment The picture of upper display is identical picture, including angles of display.Assuming that main broadcaster's end equipment is transverse screen state, then by this After the processing of inventive embodiments technical solution, the picture that main broadcaster's end equipment is shown is the picture of transverse screen display.Correspondingly, by the picture After pushing to spectators' end equipment, spectators' end equipment is whether placed in what angle, and what is shown on screen is all that transverse screen is shown The content shown.
S202, the second rotation angle information is obtained, second rotation angle information is characterizes the equipment along second party To the information of rotation second angle;
Specifically, since the rotation of main broadcaster's end equipment causes after showing picture angle variation, spectators' end equipment can be directly resulted in The picture angle for receiving and showing changes.At this point, spectators may need to adjust spectators' end equipment such as mobile phone, tablet electricity The angle of brain etc. carrys out adjustment picture angle.
Above-mentioned second rotation angle information represents that spectators calculate spectators' end equipment in a second direction and turns second angle.For example, Make mobile phone that can be then expressed as above-mentioned rotation in transverse screen state assuming that the mobile phone of vertical screen state is rotated by 90 ° by spectators counterclockwise Positive 90 degree are rotated, correspondingly, assuming that the mobile phone of vertical screen state is rotated clockwise 90 degree and mobile phone is made then may be used in transverse screen state by spectators Above-mentioned rotation to be expressed as to rotate minus 90 degree.In practical application technical solution of the embodiment of the present invention, rotation can be freely set The positive direction and negative direction turned.
S203, according to second rotation angle information, will show that picture is revolved along the direction identical with the second direction Turn second angle.
Specifically, according to the function of the common smart machine such as mobile phone, tablet, when user's slewing angle, display Picture can change automatically, to adapt to screen size.For example, when mobile phone is rotated to transverse screen state by user by vertical screen state When, display picture can be adjusted to transverse screen display by mobile phone automatically, and picture will be shown relative to the direction of user's rotating mobile Reverse direction rotates identical angle.For example, it is assumed that mobile phone is rotated by 90 ° into transverse screen state by user counterclockwise by vertical screen state, then It needs display picture rotating clockwise 90 degree, could realize that transverse screen plays, be watched suitable for user.
It is above-mentioned from functional based on spectators' end equipment, when spectators' end equipment is rotated second jiao by spectators along above-mentioned second direction When spending, picture can rotate second angle along the reverse direction of above-mentioned second direction.The picture shown due to spectators' end equipment is inherently It is the picture after being rotated at main broadcaster end, therefore, it is also desirable to second angle is rotated along above-mentioned second direction to display picture, Picture is enable to fix not occur to rotate automatically.
By above-mentioned introduction as it can be seen that when main broadcaster end adjusting device angle causes picture angle to change, viewer end is set It is standby to sense user for the done equipment angle adjustment of picture angle variation, and picture is fitted again according to angle adjustment The angle adjustment of answering property, to allow spectators after adjusting device angle, can obtain the picture that normal angled is shown.The skill Art scheme allows main broadcaster end that can rotate freely equipment angle without influencing spectators' viewing experience.
It is appreciated that when main broadcaster is by being broadcast live product, specifically by live streaming APP, such as Chinese prickly ash live streaming, YY live streaming progress During live streaming, the dynamic menu at main broadcaster end can be seen in real time in viewer end.Main broadcaster's end equipment carries out main broadcaster and its place environment Scene image acquires, and is shown in main broadcaster's end equipment and the image of acquisition is shown on screen, while main broadcaster's end equipment is by the picture of display Image is shown by server push to spectators' end equipment, also, the image content shown by spectators' end equipment and main broadcaster Image content shown by end equipment is identical.
It should be noted that under normal circumstances, after main broadcaster's end equipment acquires image formation display picture in a manner of vertical screen, When image information being pushed to the display picture of spectators' end equipment, the i.e. reception of spectators' end equipment vertical screen display with vertical screen angle, it is Normal display picture.
When main broadcaster adjusts the angle of main broadcaster's end equipment by rotating main broadcaster's end equipment, since main broadcaster's end equipment acquiescence is perpendicular Screen mode acquires image, so if if not carrying out the adjustment of angles of display to display picture, main broadcaster's end equipment shows picture Angle the rotation of equal angular can also occur with the angle change of main broadcaster's end equipment, can be brought to main broadcaster inconvenient to watch.
To solve the above-mentioned problems, make main broadcaster end that can still watch normal angled when rotating main broadcaster's end equipment and show Picture, the embodiment of the present invention is when getting rotation angle of main broadcaster's end equipment relative to vertical screen state, to main broadcaster's end equipment Shown picture carries out angle adjustment, and main broadcaster is allow to watch the picture that normal angled is shown.At this point, it is shown in main broadcaster's end equipment The picture shown relative to main broadcaster's end equipment in itself for, there are certain angle differences, i.e., are no longer strictly in main broadcaster's end equipment Upper vertical screen display.Again since main broadcaster's end equipment is that acquiescence pushes the display page in a manner of vertical screen, it is led when since main broadcaster rotates End equipment is broadcast during adjustment picture angle, and identical angle adjustment can also be occurred by being pushed to the picture of spectators' end equipment, be seen at this time The picture shown in many end equipments relative to spectators' end equipment in itself for, there is also certain angle differences, i.e., are no longer stringent Ground vertical screen display in spectators' end equipment, spectators need to adjust display picture to normal by adjusting the angle of spectators' end equipment Angle is shown.
The method of the adjustment picture angle of proposition of the embodiment of the present invention is appreciated that by above-mentioned introduction, is actually needed The technical solution of picture angle adjustment is carried out respectively in main broadcaster's end equipment and spectators' end equipment, to make main broadcaster's end equipment and sight Many end equipments can still show the picture of normal angled in the case of arbitrary adjustment angle degree.That is, shown in Fig. 1 The method of adjustment picture angle and the method for adjustment picture angle shown in Fig. 2 be the technical solution for having correspondence, During actual embodiment, need to implement so as to while realize the tune to picture angle respectively in main broadcaster's end equipment and spectators' end equipment It is whole, main broadcaster's end equipment and spectators' end equipment is made can normally to show picture.
It particularly points out, since live streaming process needs to realize as APP is broadcast live based on live streaming product, the embodiment of the present invention The technical solution of proposition is the technical solution for being applied to live streaming product as APP is broadcast live.And APP, which is broadcast live, needs the intelligence such as installation and mobile phone It can be run on terminal device, therefore, technical solution of the embodiment of the present invention is that terminal device is has relied on, applied to live streaming APP's Technical solution.
Fig. 3 shows the specific execution of the technical solution of the method with reference to above-mentioned Fig. 1 and adjustment picture angle shown in Fig. 2 Process.Shown in Figure 3, the method for adjustment picture angle disclosed by the embodiments of the present invention specifically includes:
Main broadcaster can arbitrarily adjust the placement angle of main broadcaster's end equipment such as mobile phone, tablet computer etc., such as can in live streaming Main broadcaster's end equipment is adjusted to transverse screen live state from vertical screen live state or can main broadcaster's end equipment be adjusted to arbitrary Angle is broadcast live.
When main broadcaster rotates main broadcaster's end equipment come when adjusting the angle of main broadcaster's end equipment, main broadcaster's end equipment perform step S301, Obtain the first rotation angle information;
Specifically, above-mentioned first rotation angle information, represents that main broadcaster's end equipment is rotated in a first direction first jiao by main broadcaster Degree.For example, it is assumed that the mobile phone of vertical screen state is rotated by 90 ° by main broadcaster counterclockwise makes mobile phone in transverse screen state, then it can be by above-mentioned rotation Turn to be expressed as rotating positive 90 degree, correspondingly, assuming that the mobile phone of vertical screen state is rotated clockwise 90 degree and mobile phone is made to be in transverse screen by main broadcaster Above-mentioned rotation can then be expressed as rotating minus 90 degree by state.It, can be certainly in practical application technical solution of the embodiment of the present invention By the positive direction and negative direction of setting rotation.
The realization of above-mentioned the first rotation angle information of acquisition needs the gravity sensor of main broadcaster's end equipment to coordinate and realizes, i.e., When main broadcaster rotates the angle of main broadcaster's end equipment, the gravity sensor sensing of main broadcaster's end equipment and the rotation for calculating main broadcaster's end equipment Gyration and direction, and export the rotation angle being calculated and direction, that is, export the first above-mentioned rotation angle information.It can be with Understand, the first rotation angle information that the embodiment of the present invention can be sent by receiving the gravity sensor of main broadcaster's end equipment is come Obtain the direction of rotation when the angle of main broadcaster's adjustment main broadcaster's end equipment and rotation angle information.
For example, when technical solution of the embodiment of the present invention is applied to IOS system equipments, IOS internal systems UIViewControllerRotation classes can utilize the Gravity changer situation of ios device gravity sensor detection device, when When receiving the notice of equipment rotation of gravity sensor transmission, the angle and direction that equipment currently rotates is calculated.
S302, main broadcaster's end equipment rotate display picture along with above-mentioned first according to the first rotation angle information of acquisition Side rotates first angle in the opposite direction;
Specifically, when main broadcaster's end equipment senses that self-view rotates, if not carrying out angle to the picture of display Degree rotation, then show that picture can also be rotated with the rotation of main broadcaster's end equipment.For example, it is assumed that initial time main broadcaster be by Mobile phone vertical screen state is broadcast live, when mobile phone is rotated by 90 ° by main broadcaster counterclockwise to be become transverse screen state and be broadcast live, due to existing Live streaming APP acquiescence be that vertical screen mode acquires image and carries out plug-flow, therefore, if not to the display picture of main broadcaster's end equipment Handled, then the picture shown by main broadcaster's end equipment and counterclockwise be rotated by 90 ° after picture.So at this point for master For broadcasting, the picture watched is exactly to have rotated 90 degree counterclockwise, the picture upsided down, seriously affects main broadcaster's viewing.
To solve the above-mentioned problems, the embodiment of the present invention is set, when above-mentioned first rotation angle for getting main broadcaster's end equipment When spending information, the display picture of main broadcaster's end equipment is rotated into first angle along the direction opposite with above-mentioned first direction of rotation, with Just the display picture of main broadcaster's end equipment is adjusted to normal angled to show.Still with above-mentioned for example, assuming initial time main broadcaster It is to be broadcast live mobile phone vertical screen state, it is main when mobile phone is rotated by 90 ° by main broadcaster counterclockwise to be become transverse screen state and be broadcast live It broadcasts the display picture of end equipment and can also synchronize and be rotated by 90 ° counterclockwise, at this point, the embodiment of the present invention is by the display of main broadcaster's end equipment Picture is rotated in a clockwise direction 90 degree and shows again, the picture shown by such main broadcaster's end equipment be exactly it is normal, vertical 90 degree The picture of display is consistent with the state of main broadcaster, is watched convenient for main broadcaster.
It should be noted that above-mentioned first direction of rotation can be appointing in plane where the display screen of main broadcaster's end equipment The direction of rotation of meaning, above-mentioned first angle can be the angle of arbitrary size.Above-mentioned steps S301 and step S302 is real-time Processing procedure, i.e., during main broadcaster is broadcast live, as long as performing the action of rotation main broadcaster's end equipment angle, then main broadcaster's end equipment is stood Above-mentioned steps S301 and S302 are performed, angle adjustment is carried out to display picture, to allow main broadcaster in the situation of unaware Under, the arbitrary angle for adjusting main broadcaster's end equipment, the angles of display without influencing picture.
Postrotational display picture is pushed to spectators' end equipment by S303, main broadcaster's end equipment;
Specifically, if main broadcaster's end equipment is vertical screen state acquisition image, directly the image of vertical screen state acquisition is existed Main broadcaster's end equipment is shown, while display picture is pushed to spectators' end equipment.If main broadcaster's end equipment is not vertical screen state Image is acquired, i.e. the rotation of certain angle has occurred in main broadcaster's end equipment, then technical solution according to embodiments of the present invention, Zhu Boduan Equipment is shown again after carrying out the adjustment of the similary angle of reverse direction to the display picture of main broadcaster's end equipment.But live streaming APP acquiescences It is vertical screen mode plug-flow, therefore, plug-flow is display picture after above-mentioned reverse direction adjusts similary angle to viewer end.
For example, it is assumed that initial time main broadcaster is to be broadcast live mobile phone vertical screen state, when main broadcaster rotates mobile phone counterclockwise 90 degree when becoming transverse screen state and being broadcast live, the display picture of main broadcaster's end equipment can also synchronize to be rotated by 90 ° counterclockwise, at this point, pressing According to the processing of technical solution of the embodiment of the present invention, the display picture of main broadcaster's end equipment is rotated in a clockwise direction 90 degree and is shown again Show.Correspondingly, plug-flow is also the picture being rotated in the counterclockwise direction after 90 degree to the picture of viewer end.
It should be noted that main broadcaster's end equipment will show that picture or postrotational display picture push to spectators' end equipment, Server is actually first sent to, then is pushed to spectators' end equipment in a broadcast manner by server.Server only plays road By the effect forwarded, live streaming picture can't be handled.
S304, spectators' end equipment receive the display picture of main broadcaster's end equipment push, and show the display picture;
Specifically, when spectators' end equipment watches main broadcaster's live streaming by the way that APP is broadcast live, the picture received is main broadcaster's end equipment After processing and pass through the display picture of server push.It is appreciated that the picture shown by spectators' end equipment, with main broadcaster's end equipment The picture of upper display is identical picture, including angles of display.Assuming that main broadcaster's end equipment is transverse screen state, then by this After the processing of inventive embodiments technical solution, the picture that main broadcaster's end equipment is shown is the picture of transverse screen display.Correspondingly, by the picture After pushing to spectators' end equipment, spectators' end equipment is whether placed in what angle, and what is shown on screen is all that transverse screen is shown The content shown.
For example, it is assumed that mobile phone is rotated by 90 ° by main broadcaster counterclockwise by vertical screen state is adjusted to transverse screen state, then the present invention is real It applies regular meeting and 90 degree of rotations clockwise is carried out to the picture that main broadcaster's end equipment is shown, picture is made to be watched suitable for transverse screen, it then will rotation Picture afterwards pushes to spectators' end equipment.At this point, the picture that spectators' end equipment is received is exactly the picture rotated clockwise after 90 degree Face, even if spectators' end equipment is vertical screen state, shown by picture be also the picture rotated clockwise after 90 degree.
S305, the second rotation angle information is obtained;Second rotation angle information is characterizes the equipment along second party To the information of rotation second angle;
Specifically, since the rotation of main broadcaster's end equipment causes after showing picture angle variation, spectators' end equipment can be directly resulted in The picture angle for receiving and showing changes.At this point, spectators may need to adjust spectators' end equipment such as mobile phone, tablet electricity The angle of brain etc. carrys out adjustment picture angle.
Above-mentioned second rotation angle information represents that spectators calculate spectators' end equipment in a second direction and turns second angle.For example, Make mobile phone that can be then expressed as above-mentioned rotation in transverse screen state assuming that the mobile phone of vertical screen state is rotated by 90 ° by spectators counterclockwise Positive 90 degree are rotated, correspondingly, assuming that the mobile phone of vertical screen state is rotated clockwise 90 degree and mobile phone is made then may be used in transverse screen state by spectators Above-mentioned rotation to be expressed as to rotate minus 90 degree.In practical application technical solution of the embodiment of the present invention, rotation can be freely set The positive direction and negative direction turned.
Likewise, the realization of above-mentioned the second rotation angle information of acquisition, needs the gravity sensor of spectators' end equipment to coordinate It realizes, i.e., when spectators rotate the angle of spectators' end equipment, the gravity sensor of spectators' end equipment senses and calculate viewer end The rotation angle of equipment and direction, and export the rotation angle being calculated and direction, that is, export the second above-mentioned rotation angle Information.It is appreciated that the second rotation angle that the embodiment of the present invention can be sent by receiving the gravity sensor of spectators' end equipment Spend information, come obtain when spectators adjust spectators' end equipment angle when direction of rotation and rotation angle information.
S306, according to second rotation angle information, will show that picture is revolved along the direction identical with the second direction Turn second angle.
Specifically, according to the function of the common smart machine such as mobile phone, tablet, when user's slewing angle, display Picture can change automatically, to adapt to screen size.For example, when mobile phone is rotated to transverse screen state by user by vertical screen state When, display picture can be adjusted to transverse screen display by mobile phone automatically, and picture will be shown relative to the direction of user's rotating mobile Reverse direction rotates identical angle.For example, it is assumed that mobile phone is rotated by 90 ° into transverse screen state by user counterclockwise by vertical screen state, then It needs display picture rotating clockwise 90 degree, could realize that transverse screen plays, be watched suitable for user.
It is above-mentioned from functional based on spectators' end equipment, when spectators' end equipment is rotated second jiao by spectators along above-mentioned second direction When spending, picture can rotate second angle along the reverse direction of above-mentioned second direction.The picture shown due to spectators' end equipment is inherently It is the picture after being rotated at main broadcaster end, therefore, it is also desirable to second angle is rotated along above-mentioned second direction to display picture, Picture is enable to fix not occur to rotate automatically.
For example, it is assumed that during live streaming, mobile phone is rotated by 90 ° into transverse screen state by main broadcaster counterclockwise by vertical screen state, then The embodiment of the present invention carries out 90 degree clockwise of rotation to display picture simultaneously, and pushes to spectators' end equipment.At this point, viewer end The picture that equipment is seen under vertical screen state is the picture rotated clockwise after 90 degree.In order to obtain suitable viewing angle, see Crowd needs mobile phone being rotated in the counterclockwise direction 90 degree so that picture to be adjusted to the picture of normal angled, but due to mobile phone certainly Band rotates the function of adjustment picture angle according to mobile phone, and picture can be rotated clockwise 90 degree by mobile phone at this time, and obtained picture is also It is to rotate clockwise 90 degree of picture, is still unsuitable for watching.
In order to solve this problem, the embodiment of the present invention in user's rotating mobile, while to picture revolve with user The rotation of the machine direction same direction, equal angular is changed hands, to be offseted with mobile phone function to the rotation of display picture.Still With above-mentioned for example, when mobile phone is rotated in the counterclockwise direction 90 degree so that picture to be adjusted to the picture of normal angled by user When, since mobile phone is according to the function of mobile phone rotation adjustment picture angle, picture can be rotated clockwise 90 degree by mobile phone, at this time The embodiment of the present invention is carrying out picture 90 degree of rotations clockwise, that is, performs the rotation identical with mobile phone rotation, obtain in this way Picture is exactly the picture of normal angled, is watched suitable for spectators.
By above-mentioned introduction as it can be seen that technical solution of the embodiment of the present invention is by identifying spinning movement of the user to terminal, root The direction of rotation of terminal is rotated according to user and angle carries out, and the angle for showing picture is adaptively adjusted, so as to make main broadcaster End and viewer end can watch the picture of comfortable angle.Based on said program, main broadcaster can freely adjust during live streaming The angle of terminal device, and do not interfere with the normal viewing of main broadcaster and spectators.
Fig. 4 is a kind of structure diagram of the device of adjustment picture angle disclosed by the embodiments of the present invention, the device application In main broadcaster's end equipment, including:
First information acquiring unit 100, for obtaining the first rotation angle information, first rotation angle information is table Levy the information that main broadcaster's end equipment is rotated in a first direction first angle;
First processing units 110, for that according to first rotation angle information, will show picture edge and the first party First angle is rotated in the opposite direction.
In another embodiment of the present invention, which further includes:Data-pushing unit, for will be postrotational described Display picture pushes to spectators' end equipment.
Wherein, when above-mentioned first information acquiring unit 100 obtains the first rotation angle information, it is specifically used for:Obtain gravity The first rotation angle information that sensor is sent.
The specific works content of each unit in above-described embodiment refers to the content of above-mentioned corresponding embodiment of the method, Details are not described herein again.
Fig. 5 is the structure diagram of the device of another adjustment picture disclosed by the embodiments of the present invention, which is applied to Spectators' end equipment, including:
Data receipt unit 200 for receiving the display picture of main broadcaster's end equipment push, and shows the display picture; Wherein, show that the angle of the display picture and main broadcaster's end equipment show that the angle of the display picture is identical;
Second information acquisition unit 210, for obtaining the second rotation angle information, second rotation angle information is table Levy the information that the equipment rotates in a second direction second angle;
Second processing unit 220, for that according to second rotation angle information, will show picture edge and the second party Second angle is rotated to identical direction.
Wherein, when above-mentioned second information acquisition unit 210 obtains the second rotation angle information, it is specifically used for:
Obtain the second rotation angle information that gravity sensor is sent.
The specific works content of each unit in above-described embodiment refers to the content of above-mentioned corresponding embodiment of the method, Details are not described herein again.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only include that A little elements, but also including other elements that are not explicitly listed or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except also there are other identical elements in the process, method, article or apparatus that includes the element.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other The difference of embodiment, just to refer each other for identical similar portion between each embodiment.
The foregoing description of the disclosed embodiments enables professional and technical personnel in the field to realize or use the present invention. A variety of modifications of these embodiments will be apparent for those skilled in the art, it is as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and the principles and novel features disclosed herein phase one The most wide range caused.

Claims (10)

  1. A kind of 1. method of adjustment picture angle, which is characterized in that applied to main broadcaster's end equipment, the method includes:
    The first rotation angle information is obtained, first rotation angle information is revolved along the first direction to characterize main broadcaster's end equipment Turn the information of first angle;
    According to first rotation angle information, display picture is rotated first jiao along direction opposite to the first direction Degree.
  2. 2. according to the method described in claim 1, it is characterized in that, the method further includes:By the postrotational display picture Face pushes to spectators' end equipment.
  3. 3. according to the method described in claim 1, it is characterized in that, it is described acquisition the first rotation angle information, including:Obtain weight The first rotation angle information that force snesor is sent.
  4. A kind of 4. method of adjustment picture angle, which is characterized in that applied to spectators' end equipment, the method includes:
    The display picture of main broadcaster's end equipment push is received, and shows the display picture;Wherein, the angle of the display picture is shown It spends and shows that the angle of the display picture is identical with main broadcaster's end equipment;
    The second rotation angle information is obtained, second rotation angle information rotates in a second direction second to characterize the equipment The information of angle;
    According to second rotation angle information, display picture is rotated second jiao along the direction identical with the second direction Degree.
  5. 5. according to the method described in claim 4, it is characterized in that, it is described acquisition the second rotation angle information, including:
    Obtain the second rotation angle information that gravity sensor is sent.
  6. 6. a kind of device of adjustment picture angle, which is characterized in that applied to main broadcaster's end equipment, which includes:
    First information acquiring unit, for obtaining the first rotation angle information, first rotation angle information is described in characterization Main broadcaster's end equipment is rotated in a first direction the information of first angle;
    First processing units, for according to first rotation angle information, will display picture along opposite to the first direction Direction rotate first angle.
  7. 7. device according to claim 6, which is characterized in that described device further includes:
    Data-pushing unit, for the postrotational display picture to be pushed to spectators' end equipment.
  8. 8. device according to claim 6, which is characterized in that the first information acquiring unit obtains the first rotation angle During information, it is specifically used for:Obtain the first rotation angle information that gravity sensor is sent.
  9. 9. a kind of device of adjustment picture angle, which is characterized in that applied to spectators' end equipment, described device includes:
    Data receipt unit for receiving the display picture of main broadcaster's end equipment push, and shows the display picture;Wherein, it shows Show that the angle of the display picture and main broadcaster's end equipment show that the angle of the display picture is identical;
    Second information acquisition unit, for obtaining the second rotation angle information, second rotation angle information is described in characterization Equipment rotates in a second direction the information of second angle;
    Second processing unit, for that according to second rotation angle information, will show that picture edge is identical with the second direction Direction rotate second angle.
  10. 10. according to the method described in claim 9, it is characterized in that, second information acquisition unit obtains the second rotation angle When spending information, it is specifically used for:
    Obtain the second rotation angle information that gravity sensor is sent.
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 true CN108235090A (en) 2018-06-29
CN108235090B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111246266A (en) * 2020-03-04 2020-06-05 海信视像科技股份有限公司 Display equipment and UI (user interface) display method during rotation
CN111901547A (en) * 2020-08-11 2020-11-06 深圳康佳电子科技有限公司 Rotary television and working method thereof
CN113630639A (en) * 2020-05-07 2021-11-09 海信视像科技股份有限公司 Display device
CN113900568A (en) * 2021-11-16 2022-01-07 创盛视联数码科技(北京)有限公司 Picture rotating method, electronic device and storage medium thereof
CN113923460A (en) * 2020-07-09 2022-01-11 腾讯科技(深圳)有限公司 Video picture display method, device, equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1630331A (en) * 2003-12-15 2005-06-22 联想(北京)有限公司 A method for automatically correcting digital photo display
CN104094593A (en) * 2012-02-03 2014-10-08 三星Sds株式会社 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
CN106201168A (en) * 2016-06-27 2016-12-07 乐视控股(北京)有限公司 Video playback picture display process, device and mobile terminal
CN106506554A (en) * 2016-12-29 2017-03-15 广州华多网络科技有限公司 The method of live coding, device, terminal, linkage encoder server and system
US20170245018A1 (en) * 2003-03-18 2017-08-24 Rovi Guides, Inc. Systems and methods for providing a transport control interface
CN107147927A (en) * 2017-04-14 2017-09-08 北京小米移动软件有限公司 Live broadcasting method and device based on live even wheat
CN107155114A (en) * 2017-06-22 2017-09-12 上海鋆创信息技术有限公司 A kind of video pictures method of adjustment and system
KR20180001606A (en) * 2016-06-20 2018-01-05 한국항공대학교산학협력단 Video signal transmitting apparatus and method thereof

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170245018A1 (en) * 2003-03-18 2017-08-24 Rovi Guides, Inc. Systems and methods for providing a transport control interface
CN1630331A (en) * 2003-12-15 2005-06-22 联想(北京)有限公司 A method for automatically correcting digital photo display
CN104094593A (en) * 2012-02-03 2014-10-08 三星Sds株式会社 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
KR20180001606A (en) * 2016-06-20 2018-01-05 한국항공대학교산학협력단 Video signal transmitting apparatus and method thereof
CN106201168A (en) * 2016-06-27 2016-12-07 乐视控股(北京)有限公司 Video playback picture display process, device and mobile terminal
CN106506554A (en) * 2016-12-29 2017-03-15 广州华多网络科技有限公司 The method of live coding, device, terminal, linkage encoder server and system
CN107147927A (en) * 2017-04-14 2017-09-08 北京小米移动软件有限公司 Live broadcasting method and device based on live even wheat
CN107155114A (en) * 2017-06-22 2017-09-12 上海鋆创信息技术有限公司 A kind of video pictures method of adjustment and system

Cited By (9)

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

Also Published As

Publication number Publication date
CN108235090B (en) 2021-09-17

Similar Documents

Publication Publication Date Title
CN108235090A (en) A kind of method and device of adjustment picture angle
US10607571B2 (en) Method and system for the distribution of synchronized video to an array of randomly positioned display devices acting as one aggregated display device
US9667364B2 (en) Broadcast seeding for peer-to-peer networks
CN108289159B (en) Terminal live broadcast special effect adding system and method and terminal live broadcast system
CN108900857B (en) Multi-view video stream processing method and device
TW201442507A (en) Method and apparatus for providing interactive augmented reality information corresponding to television programs
CN111417006A (en) Video screen projection method, device, terminal and storage medium
JP5982079B2 (en) Image transmission method, apparatus, program, and recording medium
CN103475823A (en) Display device and image processing method for same
CN106803984B (en) Method and device compatible with VR and television functions
CN105915938B (en) A kind of method, apparatus and system of foradownloaded video
CN105208443B (en) A kind of method, apparatus and system realized television sound volume and adjusted
CN101662611A (en) Template display method in video conference system
WO2014190655A1 (en) Application synchronization method, application server and terminal
WO2015021939A1 (en) Screen capture method, set top box and television equipment
CN104053062A (en) Electronic displays having paired canvases
CN111147911A (en) Video clipping method and device, electronic equipment and storage medium
CN109618178A (en) A kind of live broadcasting method, apparatus and system
CN111050204A (en) Video clipping method and device, electronic equipment and storage medium
US8277052B2 (en) Aspect-ratio independent, multimedia capture, editing, and presentation systems and methods thereof
CN110958464A (en) Live broadcast data processing method and device, server, terminal and storage medium
CN113542841A (en) Screen projection method and screen projection system
MX2012009222A (en) Internet television system.
JP2015213277A (en) Encoding method and encoding program
TWI615772B (en) Method for synchronously controlling displays

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