CN102945076B - A kind of display terminal image rotating method, device and a kind of display control program - Google Patents

A kind of display terminal image rotating method, device and a kind of display control program Download PDF

Info

Publication number
CN102945076B
CN102945076B CN201210401194.7A CN201210401194A CN102945076B CN 102945076 B CN102945076 B CN 102945076B CN 201210401194 A CN201210401194 A CN 201210401194A CN 102945076 B CN102945076 B CN 102945076B
Authority
CN
China
Prior art keywords
message
display terminal
display
image
mobile terminal
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
CN201210401194.7A
Other languages
Chinese (zh)
Other versions
CN102945076A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201210401194.7A priority Critical patent/CN102945076B/en
Publication of CN102945076A publication Critical patent/CN102945076A/en
Application granted granted Critical
Publication of CN102945076B publication Critical patent/CN102945076B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The present invention is applicable to image display technology field, it is provided that a kind of display terminal image rotating method, device and a kind of display control program, and described method includes: receive, by high-definition audio and video standard interface, the button triggering message that display terminal forwards;Resolve and judge that described button triggers whether message is to rotate order;When described button triggering message is for rotating order, the current angular of acquisition gravity sensor perception and described current angular and the difference of predetermined angle;The image of correspondence direction is demonstrated and by the output of high-definition audio and video standard interface to display terminal at interface of mobile terminal according to described difference.Technical solution of the present invention using the current angular of gravity sensor perception and the difference of a predetermined angle as the foundation of display image direction, system controls the display direction of image according to the angular range residing for this difference, this method realizes simple, only just can carry out image rotation on display terminal by remote controller.

Description

A kind of display terminal image rotating method, device and a kind of display control program
Technical field
The invention belongs to image display technology field, particularly relate to a kind of display terminal image rotating method, dress Put and a kind of display control program.
Background technology
Mobile terminal technology as a example by mobile phone was developed rapidly in recent years, RCP(Remote Control Protocol, remote control protocol) technology is widely used, and its effect is to be controlled by remote controller The selection of mobile terminal content shows with broadcasting and at display terminal (such as intelligent television).City now The intelligent television occurred on field supports MHL(Mobile High-Definition Link, high definition more and more Audio-visual standard interface) function, mobile terminal is connected by MHL interface with display terminal, mobile terminal Interface image just can show on display terminal, and according to RCP, remote controller just can be to movement Terminal operates, and demonstrates the image of correspondence at display terminal simultaneously.
A kind of scheme that RCP technology is the most frequently used at present is, opens picture in the terminal, and whole in display End shows, but reality can run into this situation, owing to picture display direction may in the terminal The most right, inverted image or 90 degree of deflections such as occur, now needs user in person to adjust the direction of mobile terminal, Gravity sensor in mobile terminal adjusts the direction of the picture of display according to the current angular perceived, and makes Obtain the picture that can demonstrate correct direction in display terminal, it is clear that this mode of operation is the most convenient, And display terminal side is lain in often due to mobile terminal, need subscriber station long at display terminal adnexa Time holds mobile terminal, is the most also unfavorable for that user watches the image at display terminal interface.
Summary of the invention
In view of the above problems, it is an object of the invention to provide a kind of display terminal image rotating method, device And one display control program, it is intended to solve in the display control program of existing RCP, it is achieved image rotation Mode of operation the most convenient, also influence whether that the technology of the image that user watches display terminal interface is asked simultaneously Topic.
On the one hand, described kind of display terminal image rotating method comprises the steps:
Receiving, by high-definition audio and video standard interface, the button triggering message that display terminal forwards, described button triggers Message is triggered by remote controller and generates and sends display terminal;
Resolve and judge that described button triggers whether message is to rotate order;
When described button trigger message for rotate order time, obtain gravity sensor perception current angular and Described current angular and the difference of predetermined angle;
The image of correspondence direction is demonstrated and by high-definition audio and video standard at interface of mobile terminal according to described difference Interface exports to display terminal.
On the other hand, described display terminal picture orbiting facility includes:
Message reception units, for receiving, by high-definition audio and video standard interface, the button triggering that display terminal forwards Message, described button triggers message and is generated and sent display terminal by remote controller triggering;
Message judging unit, is used for resolving and judge that described button triggers whether message is to rotate order;
Difference acquiring unit, for when described button triggers message for rotating order, obtaining gravity sensor The difference of the current angular of perception and described current angular and predetermined angle;
Image rotation output unit, for demonstrating correspondence direction according to described difference at interface of mobile terminal Image is also exported to display terminal by high-definition audio and video standard interface.
The third aspect, described display control program includes display terminal, remote controller and is built-in with gravity sensing The mobile terminal of device, described display terminal is connected by high-definition audio and video standard interface with mobile terminal, described distant Control device triggers the message described display terminal of control by generating button, and described mobile terminal uses said method control Make described display terminal and demonstrate rotation image.
The invention has the beneficial effects as follows: it is according to built-in gravity-feed tank that existing interface of mobile terminal epigraph rotates Answering device to realize, gravity sensor is in different positions according to mobile terminal, it is possible to export an angle parameter, When described angle parameter is positioned at different angular ranges, interface of mobile terminal will reveal whether corresponding angle side To image, therefore can realize image rotation, and technical solution of the present invention is after triggering and generating and rotate order, Current angular and the predetermined angular exported by gravity sensor asks poor through capable, using the difference that obtains as display The foundation of image direction, therefore can realize image rotation, such as turn left, turn right, on turn over or under turn over etc., Whole process only needs user to be controlled by remote controller, it is not necessary to operation mobile terminal, conveniently realizes image rotation.
Accompanying drawing explanation
Fig. 1 is the structure chart of display control program based on RCP;
Fig. 2 is the flow chart of the display terminal image rotating method that first embodiment of the invention provides;
Fig. 3 is the interaction figure of the display terminal image rotating method that second embodiment of the invention provides;
Fig. 4 is the block diagram of the display terminal picture orbiting facility that third embodiment of the invention provides.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and reality Execute example, the present invention is further elaborated.Only should be appreciated that specific embodiment described herein Only in order to explain the present invention, it is not intended to limit the present invention.
Embodiments providing a kind of display terminal image rotating method, the method is applied to base RCP's Display control program, it is achieved firstly the need of building hardware configuration before the embodiment of the present invention, as it is shown in figure 1, should Display control program includes display terminal 1, remote controller 2 and is built-in with the mobile terminal 3 of gravity sensor, It is connected by high-definition audio and video standard interface (HML) between described display terminal 1 and mobile terminal 3, described Remote controller 2 triggers the message described display terminal 1 of control by generating button, and concrete, display terminal 1 connects Being transmitted to mobile terminal 3 after receiving the button triggering message that remote controller 2 sends, mobile terminal 3 is according to described Button triggers message and performs respective operations, such as goes up page turning, lower page turning, return etc., the most described display Terminal 1 demonstrates the display picture identical with described mobile terminal.In order to technical side of the present invention is described Case, illustrates below by specific embodiment.
Embodiment one:
Fig. 2 shows the flow process of the display terminal image rotating method that first embodiment of the invention provides, in order to It is easy to illustrate to illustrate only the part relevant to the embodiment of the present invention.
Described in the present embodiment, method specifically includes:
Step S201, the button triggering message forwarded by high-definition audio and video standard interface reception display terminal, institute State button triggering message and generated and sent display terminal by remote controller triggering.
The present embodiment describes the image rotating method of display terminal with the angle of mobile terminal, in this step, Mobile terminal receives and comes from the button triggering message that display terminal forwards, display terminal and mobile terminal Between connected by HML interface so that display terminal can show that in the figure that described mobile terminal is identical Picture, can also be transmitted data or message by this interface simultaneously.Button described in this step triggers and disappears Breath is generated by remote controller, and when implementing, user is by clicking on the button on remote controller, and remote controller is given birth to automatically Becoming a button corresponding with this button to trigger message, according to infrared receiver principle, display terminal can receive Trigger message to this button, and be transmitted to mobile terminal.
Whether step S202, to resolve and judge that described button triggers message be to rotate order.
The button that the button triggering message that mobile terminal receives specifically is pressed with user is relevant, and this button triggers Message can be upper page turning order, lower page turning order, return command, rotation order etc., in this step, Mobile terminal needs to parse button and triggers the operational motion corresponding to message.
Step S203, when described button trigger message for rotate order time, obtain gravity sensor perception work as The difference of front angle and described current angular and predetermined angle.
In this step, mobile terminal is judged, when current button triggers message for rotating order, first to obtain movement The current angular of the gravity sensor perception of terminal built-in, concrete, owing to gravity sensor is in motionless position When being empty, can be with the angle in automatic sensing self-position direction Yu gravity direction, in this angle i.e. this step Described current angular, when described angle is in different value ranges, mobile terminal can demonstrate not Tongfang To image, in practical operation, user, by terminal in rotary moving, changes gravity sensor self-position Angle between direction and gravity direction, therefore can be in different scopes according to this angle and control image Display direction, it is achieved that screen overturn.After this step gets the current angular of gravity sensor perception, Trying to achieve the difference of this angle and a predetermined angle, described predetermined angle can be+90 ° ,-90 ° ,+180 ° Or-180 °, and report this difference to system, using this difference as the depending on of image display direction in mobile terminal According to.
Step S204, according to described difference interface of mobile terminal demonstrate correspondence direction image and by height Clear audio-visual standard interface exports to display terminal.
After getting the current angular difference with predetermined angle, mobile terminal demonstrates and described difference pair Answer the image in direction, owing to the inevitable described current angular of this difference is in different angular ranges, therefore moving The interface of dynamic terminal achieves the rotation of image, such as turn left, turn right, upper upset, lower upset etc., specifically The anglec of rotation relevant to described predetermined angle.As a kind of implementation, when described predetermined angle is according to respectively For+90 ° ,-90 ° ,+180 ° ,-180 ° time, can correspondence realize image left-hand rotation, right-hand rotation, upper upset, Lower upset.
Step S205, when described button trigger message be not rotate order time, perform described button trigger message Corresponding operation.
When mobile terminal judges that current button triggering message is other action commands, perform this button and trigger The operation that message is corresponding, such as page up, lower one page or return etc..
The present embodiment by using the current angular of gravity sensor perception and the difference of a predetermined angle as display The foundation of image direction, system controls the display direction of image according to the angular range residing for this difference, by It is necessarily in different angular ranges from described current angular, therefore at the interface of mobile terminal in described difference On achieve image rotation.This method realizes simple, only just can be carried out on display terminal by remote controller Image rotation.
Embodiment two:
Fig. 3 shows the interaction flow of the display terminal image rotating method that second embodiment of the invention provides, Illustrate only the part relevant to the embodiment of the present invention for convenience of description.
Described in the present embodiment, method specifically includes:
Step S301, remote controller are generated button triggering message by triggering;
Step S302, send described button trigger message;
Step S303, display terminal receive described button and trigger message;
Step S304, by described button triggering message be forwarded to mobile terminal;
Step S305, mobile terminal resolve and judge that described button triggers whether message is to rotate order;
Step S306, when described button trigger message for rotate order time, obtain gravity sensor perception work as The difference of front angle and described current angular and predetermined angle;
Step S307, demonstrate the image of correspondence direction at interface of mobile terminal according to described difference;
Step S308, by described image by HML interface export to display terminal;
Step S309, demonstrate described image in display terminal correspondence.
The present embodiment describes the display terminal image rotation described in the embodiment of the present invention with the angle of whole system Method, is first produced button by remote controller and triggers message, and be forwarded to mobile terminal by display terminal, mobile Terminal resolves described button and triggers message, when described button triggering message is for rotating order, obtains gravity The current angle value of induction apparatus perception and the difference of predetermined angle, on interface of mobile terminal, according to this difference Demonstrate the image of correspondence direction, demonstrate same image at display terminal simultaneously.Whole process is the completeest Become, it is not necessary to user's rotation process mobile terminal, it is achieved that by distant control remote controller, at display terminal Image is rotated on interface.
Embodiment three:
Fig. 4 shows the structure of the display terminal picture orbiting facility that third embodiment of the invention provides, in order to It is easy to illustrate to illustrate only the part relevant to the embodiment of the present invention.
The device that the present embodiment provides includes:
Message reception units 401, for receiving, by high-definition audio and video standard interface, the button that display terminal forwards Triggering message, described button triggers message and is generated and sent display terminal by remote controller triggering;
Message judging unit 402, is used for resolving and judge that described button triggers whether message is to rotate order;
Difference acquiring unit 403, for when described button triggers message for rotating order, obtaining gravity-feed tank Answer the difference of the current angular of device perception and described current angular and predetermined angle;
Image rotation output unit 404, for demonstrating counterparty according to described difference at interface of mobile terminal To image and by high-definition audio and video standard interface export to display terminal;
Message performance element 405, for when described button triggering message is not to rotate order, performing described Button triggers the operation that message is corresponding.
Each functional unit 401-405 correspondence respectively that the present embodiment provides achieves step in embodiment one S101-S105, each functional unit described is realized by the CPU being built in mobile terminal, and CPU is by holding The program module that each functional unit of row is corresponding realizes the judgement to external data, process, and final body is present The image of different directions is demonstrated, the image shown due to display terminal and described movement on interface of mobile terminal The image of terminal demonstration is identical, can realize the rotation of display terminal interface epigraph the most from another point of view.
It will appreciated by the skilled person that all or part of step realizing in above-described embodiment method The program that can be by completes to instruct relevant hardware, and described program can be stored in a computer In read/write memory medium, described storage medium, such as ROM/RAM, disk, CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this Any amendment, equivalent and the improvement etc. made within bright spirit and principle, should be included in the present invention Protection domain within.

Claims (5)

1. a display terminal image rotating method, the method is applied to display control based on remote control protocol System processed, including display terminal, remote controller and the mobile terminal being built-in with gravity sensor, described display Terminal is connected by high-definition audio and video standard interface with mobile terminal, and described remote controller disappears by generating button triggering Breath controls described display terminal, it is characterised in that described method includes:
Receiving, by high-definition audio and video standard interface, the button triggering message that display terminal forwards, described button triggers Message is triggered by remote controller and generates and sends display terminal;
Resolve and judge that described button triggers whether message is to rotate order;
When described button trigger message for rotate order time, obtain gravity sensor perception current angular and The difference of described current angular and predetermined angle, described difference is as the depending on of image display direction in mobile terminal According to;
The image of correspondence direction is demonstrated and by high-definition audio and video standard at interface of mobile terminal according to described difference Interface exports to display terminal;
When described button triggering message is not to rotate order, performs described button and trigger the operation that message is corresponding.
2. as claimed in claim 1 method, it is characterised in that described predetermined angle is+90 ° ,-90 °, + 180 ° or-180 °.
3. a display terminal picture orbiting facility, it is characterised in that described device includes:
Message reception units, for receiving, by high-definition audio and video standard interface, the button triggering that display terminal forwards Message, described button triggers message and is generated and sent display terminal by remote controller triggering;
Message judging unit, is used for resolving and judge that described button triggers whether message is to rotate order;
Difference acquiring unit, for when described button triggers message for rotating order, obtaining gravity sensor The difference of the current angular of perception and described current angular and predetermined angle, described difference is as mobile terminal The foundation of middle image display direction;
Image rotation output unit, for demonstrating correspondence direction according to described difference at interface of mobile terminal Image is also exported to display terminal by high-definition audio and video standard interface;
Message performance element, for when described button triggering message is not to rotate order, performing described button Trigger the operation that message is corresponding.
4. as claimed in claim 3 device, it is characterised in that described predetermined angle is+90 ° ,-90 °, + 180 ° or-180 °.
5. a display control program, described system includes display terminal, remote controller and is built-in with gravity-feed tank Answering the mobile terminal of device, described display terminal is connected by high-definition audio and video standard interface with mobile terminal, described Remote controller triggers the message described display terminal of control by generating button, it is characterised in that described mobile terminal Use method described in claim 1 or 2 to control described display terminal and demonstrate rotation image.
CN201210401194.7A 2012-10-19 2012-10-19 A kind of display terminal image rotating method, device and a kind of display control program Active CN102945076B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210401194.7A CN102945076B (en) 2012-10-19 2012-10-19 A kind of display terminal image rotating method, device and a kind of display control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210401194.7A CN102945076B (en) 2012-10-19 2012-10-19 A kind of display terminal image rotating method, device and a kind of display control program

Publications (2)

Publication Number Publication Date
CN102945076A CN102945076A (en) 2013-02-27
CN102945076B true CN102945076B (en) 2016-08-24

Family

ID=47728026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210401194.7A Active CN102945076B (en) 2012-10-19 2012-10-19 A kind of display terminal image rotating method, device and a kind of display control program

Country Status (1)

Country Link
CN (1) CN102945076B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475941B (en) * 2013-08-09 2018-01-12 深圳Tcl新技术有限公司 Picture rotation control method and device based on interactive device
CN103500054A (en) * 2013-09-24 2014-01-08 广东明创软件科技有限公司 Method for automatically adjusting application interface and mobile terminal thereof
CN105307005B (en) * 2014-07-30 2018-08-31 Tcl集团股份有限公司 A kind of remote control method and device
CN105809010A (en) * 2014-12-31 2016-07-27 北京握奇智能科技有限公司 Audio USBKey and use method thereof
CN104679148A (en) * 2015-03-21 2015-06-03 张本军 Portable display control terminal equipment based on MHL (mobile high-definition link) technology

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118488A (en) * 2009-12-30 2011-07-06 中兴通讯股份有限公司 Method and mobile terminal thereof applying gravity induction function
CN102520842A (en) * 2011-11-18 2012-06-27 广东欧珀移动通信有限公司 Horizontal-vertical screen switching rotation control method for hand-held devices
CN102609081A (en) * 2011-01-25 2012-07-25 深圳富泰宏精密工业有限公司 Game picture adjusting system and game picture adjusting method
WO2012108393A1 (en) * 2011-02-09 2012-08-16 ソニー株式会社 Electronic device, method for transmitting stereoscopic image information in electronic device, and method for receiving stereoscopic image information in electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9451331B2 (en) * 2011-01-15 2016-09-20 Lattice Semiconductor Corporation Proxy device operation in command and control network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118488A (en) * 2009-12-30 2011-07-06 中兴通讯股份有限公司 Method and mobile terminal thereof applying gravity induction function
CN102609081A (en) * 2011-01-25 2012-07-25 深圳富泰宏精密工业有限公司 Game picture adjusting system and game picture adjusting method
WO2012108393A1 (en) * 2011-02-09 2012-08-16 ソニー株式会社 Electronic device, method for transmitting stereoscopic image information in electronic device, and method for receiving stereoscopic image information in electronic device
CN102520842A (en) * 2011-11-18 2012-06-27 广东欧珀移动通信有限公司 Horizontal-vertical screen switching rotation control method for hand-held devices

Also Published As

Publication number Publication date
CN102945076A (en) 2013-02-27

Similar Documents

Publication Publication Date Title
US11343556B2 (en) Method of controlling a horizontal screen or vertical screen of television, device, and storage medium
US10922041B2 (en) Wireless screen transmission method, extension device, and wireless screen transmission system
US20220020339A1 (en) Display method and apparatus
CN102945076B (en) A kind of display terminal image rotating method, device and a kind of display control program
CN102826047B (en) Method and system for operating smart mobile phone through automobile touch screen
US9116658B2 (en) Mobile terminal, image display device mounted on vehicle and data processing method using the same
KR101842559B1 (en) Terminal, server, and terminal control method
CN107071035B (en) Mobile terminal remote control method and device and corresponding mobile terminal
CN103428489A (en) Sending device and method for sharing screen capture
CN103384294B (en) Method for adjusting visual angle of screen and mobile terminal of method
RU2609147C2 (en) Method and device for transmitting images
CN103167338A (en) System and method for input control of smart television based on mobile terminal
US20210191684A1 (en) Control method, control device, control system, electronic whiteboard, and mobile terminal
CN102981613A (en) Terminal and terminal control method
CN103491122A (en) Multiple screen display interactive system and airsharing method
CN114003322A (en) Method, equipment and device for displaying real scene space of house and storage medium
WO2023016107A1 (en) Remote interaction method, apparatus and system, and electronic device and storage medium
CN111414097A (en) Interaction method, interaction system and display equipment
CN103677553A (en) Method and device for achieving dynamic background
CN104516697A (en) Information processing method and electronic device
US20190052745A1 (en) Method For Presenting An Interface Of A Remote Controller In A Mobile Device
CN110874180A (en) Method and device for realizing functions of mouse and keyboard by using intelligent terminal
CN103780858A (en) Method and device for processing information, and electronic device
CN103686285A (en) Touch terminal and method for switching between Android system and Windows system
CN113170215A (en) Video live broadcast method, system and computer storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

CP03 Change of name, title or address