WO2017124650A1 - Method and device for adjusting display orientation of image - Google Patents

Method and device for adjusting display orientation of image Download PDF

Info

Publication number
WO2017124650A1
WO2017124650A1 PCT/CN2016/078894 CN2016078894W WO2017124650A1 WO 2017124650 A1 WO2017124650 A1 WO 2017124650A1 CN 2016078894 W CN2016078894 W CN 2016078894W WO 2017124650 A1 WO2017124650 A1 WO 2017124650A1
Authority
WO
WIPO (PCT)
Prior art keywords
orientation
image
pressure signal
adjusting
display
Prior art date
Application number
PCT/CN2016/078894
Other languages
French (fr)
Chinese (zh)
Inventor
赵云
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017124650A1 publication Critical patent/WO2017124650A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Definitions

  • the present invention relates to the field of communications, and in particular to a method and apparatus for adjusting the display orientation of an image.
  • the embodiment of the invention provides a method and a device for adjusting the display orientation of an image, so as to at least solve the technical problem that the user views the terminal inconvenience caused by the terminal adopting a fixed image display direction or a single adjustment manner.
  • a method for adjusting a display orientation of an image comprising: receiving a pressure signal pressing the terminal; and adjusting a display orientation of an image on the display interface of the terminal according to the received pressure signal.
  • adjusting the display orientation of the image of the terminal display interface according to the received pressure signal comprises: determining whether a pressure value of the received pressure signal exceeds a first threshold and/or a pressing time Whether the second threshold is exceeded; if the determination result is YES, the display orientation of the image is adjusted according to the received pressure signal.
  • adjusting the display orientation of the image on the terminal display interface according to the received pressure signal comprises: determining an indication orientation indicated by the pressure signal; and adjusting the display orientation of the image to the indication Orientation.
  • determining the indication orientation indicated by the pressure signal comprises: determining a compression position of pressing the pressure signal Determining, taking the center of the image as an origin, the orientation of the first ray formed by the origin and the pressing position is the indication orientation; and/or adjusting the display orientation of the image to the
  • the indicating orientation includes adjusting an orientation of a central axis of the image set in advance to the indicated orientation.
  • adjusting the orientation of the central axis of the image that is set in advance to the indication orientation comprises: adjusting a positive direction of a central axis of the terminal display interface that is set in advance to the indication orientation.
  • an apparatus for adjusting a display orientation of an image comprising: a receiving module configured to receive a pressure signal of the pressing terminal; and an adjusting module configured to adjust the terminal according to the received pressure signal Displays the display orientation of the image on the interface.
  • the adjusting module includes: a determining unit, configured to determine whether the received pressure value of the pressure signal exceeds a first threshold and/or a pressing time exceeds a second threshold; the first adjusting unit is configured to be at When the determination result of the determination unit is YES, the display orientation of the image is adjusted according to the received pressure signal.
  • the adjustment module comprises: a first determining unit configured to determine an indication orientation indicated by the pressure signal; and a second adjustment unit configured to adjust the display orientation of the image to the indicated orientation.
  • the first determining unit includes: a second determining unit configured to determine a pressing position for pressing the pressure signal; and a third determining unit configured to determine that the center of the image is an origin, from the origin An orientation of the first ray formed with the pressing position is the indication orientation; and/or the second adjustment unit includes: a third adjustment unit configured to adjust an orientation of a central axis of the image set in advance To the indicated orientation.
  • the third adjusting unit comprises: a fourth adjusting unit, configured to adjust a positive direction of a central axis of the terminal display interface set in advance to the indicated orientation.
  • a method for receiving a pressure signal of a pressing terminal; and adjusting a display orientation of an image on the display interface of the terminal according to the received pressure signal may be performed on the display interface of the terminal according to the received pressure signal of the pressing terminal.
  • the display orientation of the image is flexibly adjusted, and the technical problem that the user views the terminal inconvenience caused by the fixed image display direction or a single adjustment mode of the terminal in the related art is solved, thereby realizing the display of the image on the display interface of the terminal.
  • the flexible adjustment of the orientation improves the user experience.
  • FIG. 1 is a flowchart of a method of adjusting a display orientation of an image according to an embodiment of the present invention
  • FIG. 2 is a block diagram showing the structure of an apparatus for adjusting the display orientation of an image according to an embodiment of the present invention
  • FIG. 3 is a block diagram 1 of a configuration of an adjustment module 24 in an apparatus for adjusting an orientation of an image according to an embodiment of the present invention
  • FIG. 4 is a structural block diagram 2 of an adjustment module 24 in an apparatus for adjusting an orientation of an image according to an embodiment of the present invention
  • FIG. 5 is a structural block diagram of a first determining unit 42 and a second adjusting unit 44 in an adjusting device for displaying a display orientation of an image according to an embodiment of the present invention
  • FIG. 6 is a structural block diagram of a third adjusting unit 56 in an adjusting device for displaying a display orientation of an image according to an embodiment of the present invention
  • FIG. 7 is a functional diagram of a hardware portion of an adjustment device for displaying a display orientation of an image according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of calculation of an indication orientation of display orientation adjustment of an image according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for adjusting the display orientation of an image according to an embodiment of the present invention. As shown in FIG. 1, the flow includes the following steps:
  • Step S102 receiving a pressure signal pressing the terminal
  • Step S104 adjusting the display orientation of the image on the display interface of the terminal according to the received pressure signal.
  • the executor of the action in the above embodiment may be a terminal (for example, a smart watch or a mobile phone).
  • the terminal is a smart watch and the image is a dial on a smart watch.
  • the dial of the smart watch it is necessary to realize a 360-degree rotation of the dial image, and a way to realize the rotation of the watch dial is in the watch.
  • the gravity sensor is set, but the watch is worn on the hand. Generally, the watch is lying on the arm when viewing. Therefore, it is not feasible to use the gravity sensor to adjust the display direction of the dial on the watch.
  • the display orientation of the image on the display interface of the terminal can be flexibly adjusted according to the received pressure signal of the pressing terminal, which solves the problem that the terminal adopts a fixed image display direction or a single adjustment mode in the related art.
  • the user can view the technical problem of the inconvenience of the terminal, and the display direction of the image on the terminal interface can be improved at any time without changing the appearance of the terminal, thereby improving the user experience.
  • step S104 it may be determined whether the pressure value of the received pressure signal exceeds a first threshold and/or the pressing time exceeds a second threshold. In the case where the determination result is YES, the display orientation of the image is adjusted according to the received pressure signal.
  • the condition for pressing the signal is only one implementation, and the pressing signal can also be set to satisfy other conditions.
  • adjusting the display orientation of the image on the terminal display interface according to the received pressure signal in step S104 may include: determining an indication orientation of the pressure signal indication; and adjusting the display orientation of the image to the indication orientation.
  • Determining the indication orientation of the pressure signal indication may be implemented in various manners.
  • the pressure value of the pressure signal may be preset to a corresponding relationship according to the adjustment angle, so that according to the magnitude of the pressure value of the received pressure signal, it may be determined that the inverse is required.
  • the correspondence relationship between the pressing position of the pressure signal and the adjustment direction and the adjustment angle may be set in advance, so that the direction and angle to be adjusted can be determined according to the pressed position of the received pressure signal.
  • determining the indication orientation of the pressure signal indication may include: determining a pressing position of pressing the pressure signal; determining an orientation of the first ray formed by the origin and the pressing position with the center of the image in the terminal as an origin To indicate the orientation.
  • the method may include: adjusting the orientation of the central axis of the preset image to the indicated orientation.
  • the method may include: adjusting the positive direction of the central axis of the preset terminal display interface to the indicated orientation.
  • the positive direction of the central axis may be a six o'clock direction, and the positive direction of the central axis of the preset terminal display interface is adjusted to indicate the orientation, thereby achieving The adjustment of the display orientation of the image on the interface improves the adjustment efficiency.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • an apparatus for adjusting the display orientation of the image is further provided, and the apparatus is configured to implement the above-described embodiments and preferred embodiments, and the description thereof has been omitted.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 2 is a structural block diagram of an apparatus for adjusting the display orientation of an image according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes a receiving module 22 and an adjusting module 24, which will be described below.
  • the receiving module 22 is configured to receive a pressure signal of the pressing terminal; the adjusting module 24 is connected to the receiving module 22, and is configured to adjust a display orientation of the image on the terminal display interface according to the received pressure signal.
  • FIG. 3 is a block diagram showing the structure of the adjustment module 24 in the apparatus for adjusting the display orientation of an image according to an embodiment of the present invention.
  • the adjustment module 24 includes a determination unit 32 and a first adjustment unit 34. The adjustment module 24 is described.
  • the determining unit 32 is configured to determine whether the pressure value of the received pressure signal exceeds a first threshold and/or the pressing time is Whether the second threshold is exceeded or not; the first adjusting unit 34 is connected to the determining unit 32, and is configured to adjust the display orientation of the image according to the received pressure signal if the determination result of the determining unit 32 is YES.
  • FIG. 4 is a block diagram 2 of a configuration of an adjustment module 24 in an apparatus for adjusting an orientation of an image according to an embodiment of the present invention.
  • the adjustment module 24 includes a first determining unit 42 and a second adjusting unit 44. The adjustment module 24 will be described.
  • the first determining unit 42 is configured to determine the indicated orientation indicated by the pressure signal; the second adjusting unit 44 is coupled to the first determining unit 42 and configured to adjust the display orientation of the image to the indicated orientation.
  • FIG. 5 is a structural block diagram of the first determining unit 42 and the second adjusting unit 44 in the adjusting device for displaying the orientation of the image according to the embodiment of the present invention.
  • the first determining unit 42 includes the second determining unit 52.
  • the third determining unit 54, the second adjusting unit 44 includes a third adjusting unit 56, and the first determining unit 42 and the second adjusting unit 44 will be described below.
  • the first determining unit 42 includes: a second determining unit 52 configured to determine a pressing position of the pressing pressure signal; a third determining unit 54, connected to the second determining unit 52, configured to determine that the center of the image is the origin, from the origin The orientation of the first ray formed with the pressed position is the indicated orientation; and/or the second adjustment unit 44 includes a third adjustment unit 56 configured to adjust the orientation of the central axis of the preset image to the indicated orientation.
  • FIG. 6 is a structural block diagram of a third adjusting unit 56 in an apparatus for adjusting the display orientation of an image according to an embodiment of the present invention. As shown in FIG. 6, the third adjusting unit 56 includes a fourth adjusting unit 62. The three adjustment unit 56 will be described.
  • the fourth adjustment unit 62 is configured to adjust the positive direction of the central axis of the terminal display interface set in advance to the indication orientation.
  • the implementation of the apparatus for adjusting the display orientation of the image of the embodiment of the present invention includes two basic elements, one is a hardware module, and the other is a software system.
  • the hardware module the pressure sensor, can recognize the pressing force of the user's hand or other things touching, and separates the pressure-sensitive operation from the ordinary light touch operation, and can transmit the event response of the hard pressing to the software. system.
  • Apple currently uses force touch technology on iWatch, which uses a pressure-sensitive screen to change the current interaction of touch screens—touch and long press. Since the keys of the smart watch design are not as good as the mobile phone, there is no convenient mobile phone when interacting. The pressure sensing screen will bring a new convenient interaction mode to the user's interactive experience.
  • the software part is based on the method of adjusting the display orientation of the image, and includes the following steps:
  • Step 1 The trigger mechanism, the dial rotation of the smart watch requires a specific trigger mechanism, the trigger mechanism can avoid misoperation, and the operation is as simple and convenient as possible. Because we feel that the dial orientation is not suitable when watching, then we want to be able to adjust immediately, rather than entering a specific interface setting. You can press the screen hard with your finger (or something else). When the pressure sensor under the screen detects that the pressure is greater than a certain set value for a certain period of time (to prevent misoperation caused by the collision), the system will enter the adjustment dial display direction mode. Adjust a fixed point of the dial, such as the six o'clock direction, to where the current finger is pressed. When the finger touching the screen is relaxed until the pressure is less than a certain threshold, the system will exit the adjustment dial display direction mode.
  • a fixed point of the dial such as the six o'clock direction
  • Step 2 Adjust the display direction of the dial.
  • the device receives the event response that satisfies the trigger mechanism, that is, the pressure sensor detects that the pressure is greater than a certain set value for a certain period of time
  • the software system enters the dial adjustment mode.
  • Adjust a fixed direction of the dial such as the six o'clock direction, to where the current finger is pressed.
  • the offset between the screen and the reference coordinates is adjusted by calculating the angle ⁇ between the current finger touching the screen and the reference direction (such as the six o'clock direction).
  • the fixed point of the dial (such as the six o'clock direction) is changed to the place where the current finger is pressed hard to adjust the display direction of the dial.
  • the hardware portion may be a pressure sensitive screen, and the pressure sensitive screen may include a touch position sensing module 72.
  • the pressure magnitude sensing module 74 (the touch location sensing module 72 and the pressure magnitude sensing module 74 correspond to the receiving module 22 described above) and the information processing transmission module 76.
  • the pressure sensing screen has the functions of touch position sensing and pressure sensing, and can transmit the sensed touch position and pressure to the motherboard and processor of the terminal for processing.
  • the pressure sensitive screen may be a sensor that can be pressed and pressed in the middle of the touch screen and the liquid crystal display (LCD).
  • the signal of the sensor can be transmitted to the main board and the center of the smart device through the information transmission processing module.
  • the processor performs processing, and the software side can receive the event response and coordinate information of the forced pressing.
  • the underlying system of the software monitors the pressure of the pressure sensor in real time. When the pressure is greater than a certain set value and remains for a period of time, and the touch screen can monitor the touch to meet the trigger response condition, the underlying software reports the event to the system.
  • the coordinates of the center of the watch are O(X0, Y0)
  • the coordinates of a contact point on the finger are A (X1, Y1)
  • the coordinates of the current contact point of the finger are B (X2, Y2).
  • the angle ⁇ of rotation can be calculated from the product of the number of vectors:
  • a pressure sensor is used to add an interaction mode without changing the appearance of the watch, so that the watch dial display direction can be adjusted at any time when the watch is watched, without adding other buttons or entering a specific
  • the setting interface enhances the user experience.
  • the pressure sensing devices of the above embodiments and alternative embodiments may use a pressure sensitive screen, or other pressure sensing technologies such as infrared, bioelectric, and the like.
  • the trigger mechanism in addition to using a continuous press for a certain period of time and reaching a certain pressure value, can also use speech recognition, or a specific setting interface.
  • the embodiment of the invention provides a basic operation mode for pressing hard, and solves the problem that the arm needs to maintain a certain posture when the terminal is worn by the terminal such as the smart watch for a long time, which is easy to cause fatigue.
  • the display direction of the displayed image (such as the dial) can be adjusted in any interface and situation, no special hardware system is needed, as long as the machine supporting the pressure sensitive screen can be realized by software, the independence is strong, the cost is low, and the effect is obtained. it is good.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • Embodiments of the present invention also provide a storage medium.
  • the storage medium may be configured to store program code set to perform the following steps:
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • the processor executes the above-mentioned S1-S2 according to the stored program code in the storage medium.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the method and apparatus for adjusting the display orientation of an image provided by the embodiment of the present invention have the following beneficial effects: solving the user viewing terminal caused by the terminal adopting a fixed image display direction or a single adjustment mode in the related art.
  • the technical problem of image inconvenience further realizes flexible adjustment of the display orientation of the image on the display interface of the terminal, thereby improving the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method and device for adjusting a display orientation of an image, wherein the method comprises: receiving a pressure signal from a pressing of a terminal (S102); adjusting a display orientation of an image in a display interface of the terminal according to the received pressure signal (S104). Through the method and device, display orientation of an image on a display interface of a terminal can be flexibly adjusted according to the received terminal pressure signal, and the technical issue in the prior art in which it is inconvenient for users to view terminal images due to a fixed image display direction, or a single adjustment mode adopted by a terminal, can be resolved. The present invention enables flexible adjustment of the display orientation of an image in a terminal display, improving user experience.

Description

图像的显示方位的调整方法及装置Method and device for adjusting display orientation of image 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种图像的显示方位的调整方法及装置。The present invention relates to the field of communications, and in particular to a method and apparatus for adjusting the display orientation of an image.
背景技术Background technique
随着科技的发展,具有重力感应的终端越来越多,例如智能手机、智能手表等。以智能手表为例,目前智能手表不仅仅只提供时间,还会提供许多其他的功能,如接听电话、闹钟等。但是,表盘显示方向都是固定的,当用户自己看手表时,由于手表戴在手上,需要调整手臂使表盘显示方向能更好的供人观看,而这需要手臂一直保持一种姿势,时间长了会引起酸痛。在给对面的人观看时,由于手表固定在手臂上,相对他人来说表盘是反方向的,不便于观看。为了便于他人观看,需要佩戴者调整手臂并且观看者需要侧身。同时,当用户将手表佩戴在不同的手臂(左手佩戴或右手佩戴)时,为了使观看时方便,需要调整手表的佩戴方向,这将导致电源(power)键朝里或朝外。power键位置的变化,对于不同习惯的人会带来一定的不便。当将手表取下观看时,需要竖立着观看,而有时候放在桌面上观看时,最好是利用表带做支撑横立着观看。With the development of technology, there are more and more terminals with gravity sensing, such as smart phones and smart watches. Take smart watches as an example. At present, smart watches not only provide time, but also provide many other functions, such as answering calls, alarm clocks, etc. However, the dial display direction is fixed. When the user watches the watch, because the watch is worn on the hand, the arm needs to be adjusted so that the dial display direction can be better for people to watch, and this requires the arm to maintain a posture all the time. Long will cause soreness. When the opposite person is watching, since the watch is fixed on the arm, the dial is opposite to the other person and is not convenient for viewing. In order to facilitate the viewing of others, the wearer needs to adjust the arm and the viewer needs to be sideways. At the same time, when the user wears the watch in a different arm (left-handed or right-handed), in order to make it convenient to watch, it is necessary to adjust the wearing direction of the watch, which will cause the power button to face inward or outward. Changes in the position of the power button can cause some inconvenience to people with different habits. When the watch is removed for viewing, it needs to be erected for viewing, and sometimes when viewed on a tabletop, it is best to use the strap as a support to stand horizontally.
目前类似的调整屏幕方向的是,在终端或智能手表上,利用重力传感器来识别终端或智能手表在横向还是纵向,通过识别出的方向来调整终端或智能手表屏幕的方向(横向或者纵向)。但是这种单一的调整方式并不能够解决上述各种情况下的观看不便的问题。At present, similarly adjusting the screen orientation is to use a gravity sensor to identify whether the terminal or the smart watch is in the horizontal or vertical direction on the terminal or the smart watch, and adjust the direction of the terminal or the smart watch screen (horizontal or vertical) by the recognized direction. However, this single adjustment method does not solve the problem of inconvenient viewing in the above various situations.
针对相关技术中终端采取固定的图像显示方向或单一的调整方式而导致的用户观看终端不便的技术问题,目前尚未提出解决方案。A technical solution to the inconvenience of a user viewing a terminal caused by a fixed image display direction or a single adjustment mode of a terminal in the related art has not been proposed yet.
发明内容Summary of the invention
本发明实施例提供了一种图像的显示方位的调整方法及装置,以至少解决相关技术中终端采取固定的图像显示方向或单一的调整方式而导致的用户观看终端不便的技术问题。The embodiment of the invention provides a method and a device for adjusting the display orientation of an image, so as to at least solve the technical problem that the user views the terminal inconvenience caused by the terminal adopting a fixed image display direction or a single adjustment manner.
根据本发明的一个实施例,提供了一种图像的显示方位的调整方法,包括:接收按压终端的压力信号;根据接收到的所述压力信号调整终端显示界面上的图像的显示方位。According to an embodiment of the present invention, a method for adjusting a display orientation of an image is provided, comprising: receiving a pressure signal pressing the terminal; and adjusting a display orientation of an image on the display interface of the terminal according to the received pressure signal.
可选地,根据接收到的所述压力信号调整所述终端显示界面的所述图像的所述显示方位包括:判断接收到的所述压力信号的压力值是否超过第一阈值和/或按压时间是否超过第二阈值;在判断结果为是的情况下,根据接收到的所述压力信号调整所述图像的所述显示方位。Optionally, adjusting the display orientation of the image of the terminal display interface according to the received pressure signal comprises: determining whether a pressure value of the received pressure signal exceeds a first threshold and/or a pressing time Whether the second threshold is exceeded; if the determination result is YES, the display orientation of the image is adjusted according to the received pressure signal.
可选地,根据接收到的所述压力信号调整所述终端显示界面上的图像的显示方位包括:确定所述压力信号指示的指示方位;将所述图像的所述显示方位调整至所述指示方位。Optionally, adjusting the display orientation of the image on the terminal display interface according to the received pressure signal comprises: determining an indication orientation indicated by the pressure signal; and adjusting the display orientation of the image to the indication Orientation.
可选地,确定所述压力信号指示的所述指示方位包括:确定按压所述压力信号的按压位 置;确定以所述图像的中心为原点,由所述原点与所述按压位置形成的第一射线的方位为所述指示方位;和/或,将所述图像的所述显示方位调整至所述指示方位包括:将预先设置的所述图像的中轴线的方位调整至所述指示方位。Optionally, determining the indication orientation indicated by the pressure signal comprises: determining a compression position of pressing the pressure signal Determining, taking the center of the image as an origin, the orientation of the first ray formed by the origin and the pressing position is the indication orientation; and/or adjusting the display orientation of the image to the The indicating orientation includes adjusting an orientation of a central axis of the image set in advance to the indicated orientation.
可选地,将预先设置的所述图像的中轴线的方位调整至所述指示方位包括:将预先设置的所述终端显示界面的中轴线的正方向调整为所述指示方位。Optionally, adjusting the orientation of the central axis of the image that is set in advance to the indication orientation comprises: adjusting a positive direction of a central axis of the terminal display interface that is set in advance to the indication orientation.
根据本发明的另一实施例,提供了一种图像的显示方位的调整装置,包括:接收模块,设置为接收按压终端的压力信号;调整模块,设置为根据接收到的所述压力信号调整终端显示界面上的图像的显示方位。According to another embodiment of the present invention, there is provided an apparatus for adjusting a display orientation of an image, comprising: a receiving module configured to receive a pressure signal of the pressing terminal; and an adjusting module configured to adjust the terminal according to the received pressure signal Displays the display orientation of the image on the interface.
可选地,所述调整模块包括:判断单元,设置为判断接收到的所述压力信号的压力值是否超过第一阈值和/或按压时间是否超过第二阈值;第一调整单元,设置为在所述判断单元的判断结果为是的情况下,根据接收到的所述压力信号调整所述图像的所述显示方位。Optionally, the adjusting module includes: a determining unit, configured to determine whether the received pressure value of the pressure signal exceeds a first threshold and/or a pressing time exceeds a second threshold; the first adjusting unit is configured to be at When the determination result of the determination unit is YES, the display orientation of the image is adjusted according to the received pressure signal.
可选地,所述调整模块包括:第一确定单元,设置为确定所述压力信号指示的指示方位;第二调整单元,设置为将所述图像的所述显示方位调整至所述指示方位。Optionally, the adjustment module comprises: a first determining unit configured to determine an indication orientation indicated by the pressure signal; and a second adjustment unit configured to adjust the display orientation of the image to the indicated orientation.
可选地,所述第一确定单元包括:第二确定单元,设置为确定按压所述压力信号的按压位置;第三确定单元,设置为确定以所述图像的中心为原点,由所述原点与所述按压位置形成的第一射线的方位为所述指示方位;和/或,所述第二调整单元包括:第三调整单元,设置为将预先设置的所述图像的中轴线的方位调整至所述指示方位。Optionally, the first determining unit includes: a second determining unit configured to determine a pressing position for pressing the pressure signal; and a third determining unit configured to determine that the center of the image is an origin, from the origin An orientation of the first ray formed with the pressing position is the indication orientation; and/or the second adjustment unit includes: a third adjustment unit configured to adjust an orientation of a central axis of the image set in advance To the indicated orientation.
可选地,所述第三调整单元包括:第四调整单元,设置为将预先设置的所述终端显示界面的中轴线的正方向调整为所述指示方位。Optionally, the third adjusting unit comprises: a fourth adjusting unit, configured to adjust a positive direction of a central axis of the terminal display interface set in advance to the indicated orientation.
通过本发明实施例,采用接收按压终端的压力信号;根据接收到的压力信号调整终端显示界面上的图像的显示方位的方法,可以根据接收到的按压终端的压力信号,对终端的显示界面上的图像的显示方位进行灵活调整,解决了相关技术中终端采取固定的图像显示方向或单一的调整方式而导致的用户观看终端不便的技术问题,进而实现了对终端的显示界面上的图像的显示方位的灵活调整,提高了用户的体验度。According to the embodiment of the present invention, a method for receiving a pressure signal of a pressing terminal; and adjusting a display orientation of an image on the display interface of the terminal according to the received pressure signal may be performed on the display interface of the terminal according to the received pressure signal of the pressing terminal. The display orientation of the image is flexibly adjusted, and the technical problem that the user views the terminal inconvenience caused by the fixed image display direction or a single adjustment mode of the terminal in the related art is solved, thereby realizing the display of the image on the display interface of the terminal. The flexible adjustment of the orientation improves the user experience.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的图像的显示方位的调整方法的流程图;1 is a flowchart of a method of adjusting a display orientation of an image according to an embodiment of the present invention;
图2是根据本发明实施例的图像的显示方位的调整装置的结构框图;2 is a block diagram showing the structure of an apparatus for adjusting the display orientation of an image according to an embodiment of the present invention;
图3是根据本发明实施例的图像的显示方位的调整装置中调整模块24的结构框图一;3 is a block diagram 1 of a configuration of an adjustment module 24 in an apparatus for adjusting an orientation of an image according to an embodiment of the present invention;
图4是根据本发明实施例的图像的显示方位的调整装置中调整模块24的结构框图二; 4 is a structural block diagram 2 of an adjustment module 24 in an apparatus for adjusting an orientation of an image according to an embodiment of the present invention;
图5是根据本发明实施例的图像的显示方位的调整装置中第一确定单元42和第二调整单元44的结构框图;5 is a structural block diagram of a first determining unit 42 and a second adjusting unit 44 in an adjusting device for displaying a display orientation of an image according to an embodiment of the present invention;
图6是根据本发明实施例的图像的显示方位的调整装置中第三调整单元56的结构框图;6 is a structural block diagram of a third adjusting unit 56 in an adjusting device for displaying a display orientation of an image according to an embodiment of the present invention;
图7是根据本发明实施例的图像的显示方位的调整装置的硬件部分的功能示意图;7 is a functional diagram of a hardware portion of an adjustment device for displaying a display orientation of an image according to an embodiment of the present invention;
图8是根据本发明实施例的图像的显示方位调整的指示方位的计算示意图。FIG. 8 is a schematic diagram of calculation of an indication orientation of display orientation adjustment of an image according to an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种图像的显示方位的调整方法,图1是根据本发明实施例的图像的显示方位的调整方法的流程图,如图1所示,该流程包括如下步骤:In this embodiment, a method for adjusting the display orientation of an image is provided. FIG. 1 is a flowchart of a method for adjusting the display orientation of an image according to an embodiment of the present invention. As shown in FIG. 1, the flow includes the following steps:
步骤S102,接收按压终端的压力信号;Step S102, receiving a pressure signal pressing the terminal;
步骤S104,根据接收到的压力信号调整终端显示界面上的图像的显示方位。Step S104, adjusting the display orientation of the image on the display interface of the terminal according to the received pressure signal.
其中,上述实施例中的动作的执行者可以是终端(例如,智能手表、手机)。The executor of the action in the above embodiment may be a terminal (for example, a smart watch or a mobile phone).
下面以终端为智能手表、图像为智能手表上的表盘为例进行说明,在对智能手表的表盘进行观看时,需要实现表盘图像的360度旋转,一种实现手表表盘旋转的方式是在手表中设置重力传感器,但是,手表是戴在手上的,一般观看的时候是手表平躺在手臂上的,所以,在手表上使用重力传感器调整表盘显示方向是不可行的。The following is an example in which the terminal is a smart watch and the image is a dial on a smart watch. When viewing the dial of the smart watch, it is necessary to realize a 360-degree rotation of the dial image, and a way to realize the rotation of the watch dial is in the watch. The gravity sensor is set, but the watch is worn on the hand. Generally, the watch is lying on the arm when viewing. Therefore, it is not feasible to use the gravity sensor to adjust the display direction of the dial on the watch.
通过上述步骤,可以根据接收到的按压终端的压力信号,对终端的显示界面上的图像的显示方位进行灵活调整,解决了相关技术中终端采取固定的图像显示方向或单一的调整方式而导致的用户观看终端不便的技术问题,在不改变终端外观的条件下,任何时候都可以对终端界面上的图像的显示方向,提高了用户的体验度。Through the above steps, the display orientation of the image on the display interface of the terminal can be flexibly adjusted according to the received pressure signal of the pressing terminal, which solves the problem that the terminal adopts a fixed image display direction or a single adjustment mode in the related art. The user can view the technical problem of the inconvenience of the terminal, and the display direction of the image on the terminal interface can be improved at any time without changing the appearance of the terminal, thereby improving the user experience.
在步骤S104中根据接收到的压力信号调整终端显示界面上的图像的显示方位时,当因为用户意外操作,而导致终端接收到按压信号时,进行终端显示界面上的图像的显示方位的调整时不必要的,消耗了终端电量,因此,在一个可选的实施例中,在步骤S104中,可以判断接收到的压力信号的压力值是否超过第一阈值和/或按压时间是否超过第二阈值;在判断结果为是的情况下,根据接收到的压力信号调整所述图像的显示方位。在该可选实施例中,通过判断接收的按压信号是否满足预定条件,例如压力值条件和/或按压时间条件,有效的避免了因用户误操作而导致的不必要的调整,节省了终端能耗。在该可选实施例中,按压信号的条件只是一种实施情况,也可以设置该按压信号满足其他条件。 When the display orientation of the image on the terminal display interface is adjusted according to the received pressure signal in step S104, when the terminal receives the pressing signal due to the user's accidental operation, the display orientation of the image on the terminal display interface is adjusted. Unnecessary, the terminal power is consumed. Therefore, in an optional embodiment, in step S104, it may be determined whether the pressure value of the received pressure signal exceeds a first threshold and/or the pressing time exceeds a second threshold. In the case where the determination result is YES, the display orientation of the image is adjusted according to the received pressure signal. In the optional embodiment, by determining whether the received pressing signal satisfies a predetermined condition, such as a pressure value condition and/or a pressing time condition, unnecessary adjustment caused by user misoperation is effectively avoided, and the terminal can be saved. Consumption. In this alternative embodiment, the condition for pressing the signal is only one implementation, and the pressing signal can also be set to satisfy other conditions.
在一个可选的实施例中,步骤S104中根据接收到的压力信号调整终端显示界面上的图像的显示方位可以包括:确定压力信号指示的指示方位;将图像的显示方位调整至指示方位。In an optional embodiment, adjusting the display orientation of the image on the terminal display interface according to the received pressure signal in step S104 may include: determining an indication orientation of the pressure signal indication; and adjusting the display orientation of the image to the indication orientation.
确定压力信号指示的指示方位可以有多种实现方式,例如,可以根据将压力信号的压力值与调整角度预设一个对应关系,从而根据接收的压力信号的压力值的大小,可以确定是需要逆时针或者顺时针调整终端界面中的图像显示方向。又例如,可以预先设置压力信号的按压位置与调整方向及调整角度的对应关系,从而根据接收的压力信号的按压位置,可以确定出需要调整的方向和角度。在一个可选的实施例中,确定压力信号指示的指示方位可以包括:确定按压该压力信号的按压位置;确定以终端中图像的中心为原点,由原点与按压位置形成的第一射线的方位为指示方位。Determining the indication orientation of the pressure signal indication may be implemented in various manners. For example, the pressure value of the pressure signal may be preset to a corresponding relationship according to the adjustment angle, so that according to the magnitude of the pressure value of the received pressure signal, it may be determined that the inverse is required. Adjust the image display orientation in the terminal interface clockwise or clockwise. For example, the correspondence relationship between the pressing position of the pressure signal and the adjustment direction and the adjustment angle may be set in advance, so that the direction and angle to be adjusted can be determined according to the pressed position of the received pressure signal. In an optional embodiment, determining the indication orientation of the pressure signal indication may include: determining a pressing position of pressing the pressure signal; determining an orientation of the first ray formed by the origin and the pressing position with the center of the image in the terminal as an origin To indicate the orientation.
将图像的所述显示方位调整至指示方位也有多种实现方式,在一个可选的实施例中,可以包括:将预先设置的图像的中轴线的方位调整至指示方位。There are also various implementations for adjusting the display orientation of the image to the indicated orientation. In an alternative embodiment, the method may include: adjusting the orientation of the central axis of the preset image to the indicated orientation.
将预先设置的图像的中轴线的方位调整至指示方位也有多种实现方式,在一个可选的实施例中,可以包括:将预先设置的终端显示界面的中轴线的正方向调整为指示方位。在该可选的实施例中,以智能手表为例,中轴线的正方向可以为六点钟方向,通过将预先设置的终端显示界面的中轴线的正方向调整为指示方位,就可以实现对界面上的图像的显示方向的调整,提高了调整效率。There are also various implementations for adjusting the orientation of the central axis of the pre-set image to the indicated orientation. In an alternative embodiment, the method may include: adjusting the positive direction of the central axis of the preset terminal display interface to the indicated orientation. In the optional embodiment, taking the smart watch as an example, the positive direction of the central axis may be a six o'clock direction, and the positive direction of the central axis of the preset terminal display interface is adjusted to indicate the orientation, thereby achieving The adjustment of the display orientation of the image on the interface improves the adjustment efficiency.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
在本实施例中还提供了一种图像的显示方位的调整装置,该装置设置为实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, an apparatus for adjusting the display orientation of the image is further provided, and the apparatus is configured to implement the above-described embodiments and preferred embodiments, and the description thereof has been omitted. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的图像的显示方位的调整装置的结构框图,如图2所示,该装置包括接收模块22和调整模块24,下面对该装置进行说明。2 is a structural block diagram of an apparatus for adjusting the display orientation of an image according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes a receiving module 22 and an adjusting module 24, which will be described below.
接收模块22,设置为接收按压终端的压力信号;调整模块24,连接至上述接收模块22,设置为根据接收到的压力信号调整终端显示界面上的图像的显示方位。The receiving module 22 is configured to receive a pressure signal of the pressing terminal; the adjusting module 24 is connected to the receiving module 22, and is configured to adjust a display orientation of the image on the terminal display interface according to the received pressure signal.
图3是根据本发明实施例的图像的显示方位的调整装置中调整模块24的结构框图一,如图3所示,该调整模块24包括判断单元32和第一调整单元34,下面对该调整模块24进行说明。FIG. 3 is a block diagram showing the structure of the adjustment module 24 in the apparatus for adjusting the display orientation of an image according to an embodiment of the present invention. As shown in FIG. 3, the adjustment module 24 includes a determination unit 32 and a first adjustment unit 34. The adjustment module 24 is described.
判断单元32,设置为判断接收到的压力信号的压力值是否超过第一阈值和/或按压时间是 否超过第二阈值;第一调整单元34,连接至上述判断单元32,设置为在判断单元32的判断结果为是的情况下,根据接收到的压力信号调整图像的所述显示方位。The determining unit 32 is configured to determine whether the pressure value of the received pressure signal exceeds a first threshold and/or the pressing time is Whether the second threshold is exceeded or not; the first adjusting unit 34 is connected to the determining unit 32, and is configured to adjust the display orientation of the image according to the received pressure signal if the determination result of the determining unit 32 is YES.
图4是根据本发明实施例的图像的显示方位的调整装置中调整模块24的结构框图二,如图4所示,该调整模块24包括第一确定单元42和第二调整单元44,下面对该调整模块24进行说明。4 is a block diagram 2 of a configuration of an adjustment module 24 in an apparatus for adjusting an orientation of an image according to an embodiment of the present invention. As shown in FIG. 4, the adjustment module 24 includes a first determining unit 42 and a second adjusting unit 44. The adjustment module 24 will be described.
第一确定单元42,设置为确定压力信号指示的指示方位;第二调整单元44,连接至上述第一确定单元42,设置为将图像的所述显示方位调整至指示方位。The first determining unit 42 is configured to determine the indicated orientation indicated by the pressure signal; the second adjusting unit 44 is coupled to the first determining unit 42 and configured to adjust the display orientation of the image to the indicated orientation.
图5是根据本发明实施例的图像的显示方位的调整装置中第一确定单元42和第二调整单元44的结构框图,如图5所示,该第一确定单元42包括第二确定单元52和第三确定单元54,第二调整单元44包括第三调整单元56,下面对该第一确定单元42和第二调整单元44进行说明。FIG. 5 is a structural block diagram of the first determining unit 42 and the second adjusting unit 44 in the adjusting device for displaying the orientation of the image according to the embodiment of the present invention. As shown in FIG. 5, the first determining unit 42 includes the second determining unit 52. And the third determining unit 54, the second adjusting unit 44 includes a third adjusting unit 56, and the first determining unit 42 and the second adjusting unit 44 will be described below.
第一确定单元42包括:第二确定单元52,设置为确定按压压力信号的按压位置;第三确定单元54,连接至上述第二确定单元52,设置为确定以图像的中心为原点,由原点与按压位置形成的第一射线的方位为指示方位;和/或,第二调整单元44包括:第三调整单元56,设置为将预先设置的图像的中轴线的方位调整至指示方位。The first determining unit 42 includes: a second determining unit 52 configured to determine a pressing position of the pressing pressure signal; a third determining unit 54, connected to the second determining unit 52, configured to determine that the center of the image is the origin, from the origin The orientation of the first ray formed with the pressed position is the indicated orientation; and/or the second adjustment unit 44 includes a third adjustment unit 56 configured to adjust the orientation of the central axis of the preset image to the indicated orientation.
图6是根据本发明实施例的图像的显示方位的调整装置中第三调整单元56的结构框图,如图6所示,该第三调整单元56包括第四调整单元62,下面对该第三调整单元56进行说明。FIG. 6 is a structural block diagram of a third adjusting unit 56 in an apparatus for adjusting the display orientation of an image according to an embodiment of the present invention. As shown in FIG. 6, the third adjusting unit 56 includes a fourth adjusting unit 62. The three adjustment unit 56 will be described.
第四调整单元62,设置为将预先设置的终端显示界面的中轴线的正方向调整为指示方位。The fourth adjustment unit 62 is configured to adjust the positive direction of the central axis of the terminal display interface set in advance to the indication orientation.
下面以终端为智能手表为例,对本发明实施例的图像的显示方位的调整方法及装置进行说明。Hereinafter, a method and an apparatus for adjusting the display orientation of an image according to an embodiment of the present invention will be described by taking a terminal as a smart watch as an example.
本发明实施例的图像的显示方位的调整装置的实现,包括两个基本要素,一是硬件模块,而是软件系统。The implementation of the apparatus for adjusting the display orientation of the image of the embodiment of the present invention includes two basic elements, one is a hardware module, and the other is a software system.
硬件模块即压力传感器,能够识别用户的手或者其他接触的东西的按压力的大小,并将这种有一定压力的操作与普通轻触操作区分开,并且可以将用力按压的事件响应传递到软件系统。The hardware module, the pressure sensor, can recognize the pressing force of the user's hand or other things touching, and separates the pressure-sensitive operation from the ordinary light touch operation, and can transmit the event response of the hard pressing to the software. system.
例如,目前苹果公司在iWatch上采用压力触摸(force touch)技术,其主要是采用一种压力感应屏来改变目前触摸屏的现有的交互方式——轻触和长按。由于智能手表设计的按键不如手机多,所以交互时没有手机方便。而压力传感屏会给用户的交互体验带来一种新的方便交互方式。For example, Apple currently uses force touch technology on iWatch, which uses a pressure-sensitive screen to change the current interaction of touch screens—touch and long press. Since the keys of the smart watch design are not as good as the mobile phone, there is no convenient mobile phone when interacting. The pressure sensing screen will bring a new convenient interaction mode to the user's interactive experience.
软件部分以图像的显示方位的调整方法为基础,包括以下步骤:The software part is based on the method of adjusting the display orientation of the image, and includes the following steps:
步骤一、触发机制,智能手表的表盘旋转需要特定的触发机制,该触发机制能够避免误操作,同时操作要尽可能简单方便。因为在观看时我们觉得表盘方位不太适合,那么我们希望立刻能调整,而不是进入特定的界面设置。可以通过手指(或者其他东西)用力按压屏幕, 当屏幕下的压力传感器检测到压力大于某一设定的值,并持续一定的时间(防止碰撞造成的误操作),那么系统就会进入调整表盘显示方向模式。并将表盘的一个固定点,如六点钟方向,调整到当前手指用力按压的地方。当接触屏幕的手指放松到压力小于一定的阈值时,系统就会退出调整表盘显示方向模式。Step 1. The trigger mechanism, the dial rotation of the smart watch requires a specific trigger mechanism, the trigger mechanism can avoid misoperation, and the operation is as simple and convenient as possible. Because we feel that the dial orientation is not suitable when watching, then we want to be able to adjust immediately, rather than entering a specific interface setting. You can press the screen hard with your finger (or something else). When the pressure sensor under the screen detects that the pressure is greater than a certain set value for a certain period of time (to prevent misoperation caused by the collision), the system will enter the adjustment dial display direction mode. Adjust a fixed point of the dial, such as the six o'clock direction, to where the current finger is pressed. When the finger touching the screen is relaxed until the pressure is less than a certain threshold, the system will exit the adjustment dial display direction mode.
步骤二、调整表盘显示方向,当满足设备收到满足触发机制的事件响应时,即压力传感器检测到压力大于某一设定的值并持续一定的时间,软件系统会进入表盘调整模式。并将表盘的一个固定方向,如六点钟方向,调整到当前手指用力按压的地方。通过计算当前手指接触屏幕的地方与基准方向(如六点钟方向)的夹角θ,来调整屏幕与基准坐标的偏移量。使表盘的固定点(如六点钟方向)变到当前手指用力按压的地方,实现表盘显示方向的调整。Step 2: Adjust the display direction of the dial. When the device receives the event response that satisfies the trigger mechanism, that is, the pressure sensor detects that the pressure is greater than a certain set value for a certain period of time, the software system enters the dial adjustment mode. Adjust a fixed direction of the dial, such as the six o'clock direction, to where the current finger is pressed. The offset between the screen and the reference coordinates is adjusted by calculating the angle θ between the current finger touching the screen and the reference direction (such as the six o'clock direction). The fixed point of the dial (such as the six o'clock direction) is changed to the place where the current finger is pressed hard to adjust the display direction of the dial.
图7是根据本发明实施例的图像的显示方位的调整装置的硬件部分的功能示意图,如图7所示,该硬件部分可以为压感屏,该压感屏可以包括触摸位置感应模块72、压力大小感应模块74(触摸位置感应模块72和压力大小感应模块74相当于上述接收模块22)和信息处理传输模块76。压感屏具有触摸位置感应、压力大小感应的功能,并能够实现将感应到的触摸位置及压力大小传输到终端的主板和处理器进行处理。7 is a functional diagram of a hardware portion of an apparatus for adjusting an orientation of an image according to an embodiment of the present invention. As shown in FIG. 7, the hardware portion may be a pressure sensitive screen, and the pressure sensitive screen may include a touch position sensing module 72. The pressure magnitude sensing module 74 (the touch location sensing module 72 and the pressure magnitude sensing module 74 correspond to the receiving module 22 described above) and the information processing transmission module 76. The pressure sensing screen has the functions of touch position sensing and pressure sensing, and can transmit the sensed touch position and pressure to the motherboard and processor of the terminal for processing.
该压感屏可以为,在触摸屏和液晶显示屏(Liquid Crystal Display,简称为LCD)的中间加入可以检测用力按下的传感器,传感器的信号可以通过信息传输处理模块传输到智能设备的主板和中央处理器进行处理,软件侧可以收到用力按压的事件响应以及坐标信息等。The pressure sensitive screen may be a sensor that can be pressed and pressed in the middle of the touch screen and the liquid crystal display (LCD). The signal of the sensor can be transmitted to the main board and the center of the smart device through the information transmission processing module. The processor performs processing, and the software side can receive the event response and coordinate information of the forced pressing.
软件的底层系统实时监听压力传感器的压力大小,当压力大于某个设定的值并保持一段时间,同时触摸屏能监测到有触摸,满足触发响应的条件,那么底层软件将事件上报系统。系统进入表盘显示方向调整模式。图8是根据本发明实施例的图像的显示方位调整的指示方位的计算示意图,如图8所示,系统开始根据触摸位置来判断当前接触位置A与基准位置B的角度,并同时根据接触点的坐标在基准点的左边还是右边,来调整表盘显示方向偏移量的方向(向左偏移或向右偏移)。The underlying system of the software monitors the pressure of the pressure sensor in real time. When the pressure is greater than a certain set value and remains for a period of time, and the touch screen can monitor the touch to meet the trigger response condition, the underlying software reports the event to the system. The system enters the dial to display the direction adjustment mode. 8 is a schematic diagram of calculation of an indication orientation of display orientation adjustment of an image according to an embodiment of the present invention. As shown in FIG. 8, the system starts to determine the angle of the current contact position A and the reference position B according to the touch position, and simultaneously according to the contact point. The coordinates are on the left or right side of the reference point to adjust the direction in which the dial displays the direction offset (offset to the left or to the right).
下面结合图8,对接触点位置与基准点位置角度的计算进行说明。Next, the calculation of the contact point position and the reference point position angle will be described with reference to FIG.
在本实施例中,设手表圆心的坐标为O(X0,Y0),手指上一个接触点坐标为A(X1,Y1),手指当前的接触点坐标为B(X2,Y2)。那么向量
Figure PCTCN2016078894-appb-000001
Figure PCTCN2016078894-appb-000002
In this embodiment, the coordinates of the center of the watch are O(X0, Y0), the coordinates of a contact point on the finger are A (X1, Y1), and the coordinates of the current contact point of the finger are B (X2, Y2). Then vector
Figure PCTCN2016078894-appb-000001
Figure PCTCN2016078894-appb-000002
从A点移动到B点,旋转的夹角θ可以通过向量的数量积来计算:Moving from point A to point B, the angle θ of rotation can be calculated from the product of the number of vectors:
Figure PCTCN2016078894-appb-000003
Figure PCTCN2016078894-appb-000003
得到旋转的夹角θ之后,需要由A点向左还是向右旋转,即判断A点在B点的左右两个方向中的哪个方向。当A点的横坐标小于基准点B的横坐标时,即X1<X2,那个偏移量向左偏移;反之向右偏移。两者相等时即X1=X2,那个可以根据A点与圆心点O的纵坐标来判断是夹角是0度还是180度。当Y1>Y0时为180度,当Y1<Y0时为0度。如果碰到极端情况A点正好与O点重合时就不会调整表盘(这种概率极小,一般用户会在表盘靠边缘的地方按 压)。After the angle θ of the rotation is obtained, it is necessary to rotate left or right from the point A, that is, which of the left and right directions of the point A is determined. When the abscissa of point A is smaller than the abscissa of the reference point B, that is, X1 < X2, that offset is shifted to the left; otherwise, it is shifted to the right. When the two are equal, X1=X2, which can be judged according to the ordinate of point A and the center point O, whether the angle is 0 degrees or 180 degrees. It is 180 degrees when Y1>Y0, and 0 degree when Y1<Y0. If you encounter an extreme situation, point A just coincides with point O. The dial will not be adjusted (this probability is very small, the average user will press at the edge of the dial) Pressure).
在本发明实施例中,采用压力传感器,在不改变手表的外观下新增一种交互方式,可以实现在观看手表的任何时候都可以调整手表表盘显示方向,而不需要增加其他按键或者进入特定的设置界面,提高用户体验。In the embodiment of the present invention, a pressure sensor is used to add an interaction mode without changing the appearance of the watch, so that the watch dial display direction can be adjusted at any time when the watch is watched, without adding other buttons or entering a specific The setting interface enhances the user experience.
需要指出的是,上述各实施例及可选实施例的压感设备可以使用压感屏,也可以使用其他类似红外,生物电等传感器实现的压力感应技术。触发机制,除了采用持续按压一定时间并达到一定的压力值,还可以采用语音识别,或者特定的设置界面等。It should be noted that the pressure sensing devices of the above embodiments and alternative embodiments may use a pressure sensitive screen, or other pressure sensing technologies such as infrared, bioelectric, and the like. The trigger mechanism, in addition to using a continuous press for a certain period of time and reaching a certain pressure value, can also use speech recognition, or a specific setting interface.
本发明实施例提供了关于用力按压的一种基础操作方式,解决了因为智能手表等终端佩戴时给自己和他人长时间在观看时手臂需要保持一定的姿势,容易产生疲劳。同时可以在任何界面和情况下都可以调整界面上显示图像(例如表盘)的显示方向,无需特殊的硬件系统,只要支持压感屏的机器都可以通过软件实现,独立性强,成本低,收效好。The embodiment of the invention provides a basic operation mode for pressing hard, and solves the problem that the arm needs to maintain a certain posture when the terminal is worn by the terminal such as the smart watch for a long time, which is easy to cause fatigue. At the same time, the display direction of the displayed image (such as the dial) can be adjusted in any interface and situation, no special hardware system is needed, as long as the machine supporting the pressure sensitive screen can be realized by software, the independence is strong, the cost is low, and the effect is obtained. it is good.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储设置为执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the storage medium may be configured to store program code set to perform the following steps:
S1,接收按压终端的压力信号;S1, receiving a pressure signal pressing the terminal;
S2,根据接收到的压力信号调整终端显示界面上的图像的显示方位。S2, adjusting the display orientation of the image on the display interface of the terminal according to the received pressure signal.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in the embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM). A variety of media that can store program code, such as a hard disk, a disk, or an optical disk.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行上述S1-S2。Optionally, in the embodiment, the processor executes the above-mentioned S1-S2 according to the stored program code in the storage medium.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员 来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and is to those skilled in the art. Many variations and modifications of the invention are possible. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种图像的显示方位的调整方法及装置,具有以下有益效果:解决了相关技术中终端采取固定的图像显示方向或单一的调整方式而导致的用户观看终端图像不便的技术问题,进而实现了对终端的显示界面上的图像的显示方位的灵活调整,提高了用户的体验度。 As described above, the method and apparatus for adjusting the display orientation of an image provided by the embodiment of the present invention have the following beneficial effects: solving the user viewing terminal caused by the terminal adopting a fixed image display direction or a single adjustment mode in the related art. The technical problem of image inconvenience further realizes flexible adjustment of the display orientation of the image on the display interface of the terminal, thereby improving the user experience.

Claims (10)

  1. 一种图像的显示方位的调整方法,包括:A method for adjusting the display orientation of an image, comprising:
    接收按压终端的压力信号;Receiving a pressure signal pressing the terminal;
    根据接收到的所述压力信号调整终端显示界面上的图像的显示方位。Adjusting the display orientation of the image on the terminal display interface according to the received pressure signal.
  2. 根据权利要求1所述的方法,其中,根据接收到的所述压力信号调整所述终端显示界面的所述图像的所述显示方位包括:The method of claim 1, wherein adjusting the display orientation of the image of the terminal display interface according to the received pressure signal comprises:
    判断接收到的所述压力信号的压力值是否超过第一阈值和/或按压时间是否超过第二阈值;Determining whether the received pressure value of the pressure signal exceeds a first threshold and/or a pressing time exceeds a second threshold;
    在判断结果为是的情况下,根据接收到的所述压力信号调整所述图像的所述显示方位。In the case where the determination result is YES, the display orientation of the image is adjusted based on the received pressure signal.
  3. 根据权利要求1所述的方法,其中,根据接收到的所述压力信号调整所述终端显示界面上的图像的显示方位包括:The method of claim 1, wherein adjusting the display orientation of the image on the terminal display interface according to the received pressure signal comprises:
    确定所述压力信号指示的指示方位;Determining an indication orientation indicated by the pressure signal;
    将所述图像的所述显示方位调整至所述指示方位。Adjusting the display orientation of the image to the indicated orientation.
  4. 根据权利要求3所述的方法,其中,The method of claim 3, wherein
    确定所述压力信号指示的所述指示方位包括:确定按压所述压力信号的按压位置;确定以所述图像的中心为原点,由所述原点与所述按压位置形成的第一射线的方位为所述指示方位;和/或,Determining the indication orientation indicated by the pressure signal comprises: determining a pressing position of pressing the pressure signal; determining, by using a center of the image as an origin, an orientation of a first ray formed by the origin and the pressing position is The indicated orientation; and/or,
    将所述图像的所述显示方位调整至所述指示方位包括:将预先设置的所述图像的中轴线的方位调整至所述指示方位。Adjusting the display orientation of the image to the indication orientation includes adjusting an orientation of a central axis of the image set in advance to the indication orientation.
  5. 根据权利要求4所述的方法,其中,将预先设置的所述图像的中轴线的方位调整至所述指示方位包括:The method according to claim 4, wherein adjusting the orientation of the central axis of the image set in advance to the indication orientation comprises:
    将预先设置的所述终端显示界面的中轴线的正方向调整为所述指示方位。The positive direction of the central axis of the terminal display interface set in advance is adjusted to the indicated orientation.
  6. 一种图像的显示方位的调整装置,包括:An apparatus for adjusting the display orientation of an image, comprising:
    接收模块,设置为接收按压终端的压力信号;a receiving module configured to receive a pressure signal of the pressing terminal;
    调整模块,设置为根据接收到的所述压力信号调整终端显示界面上的图像的显示方位。The adjustment module is configured to adjust a display orientation of the image on the terminal display interface according to the received pressure signal.
  7. 根据权利要求6所述的装置,其中,所述调整模块包括:The apparatus of claim 6 wherein said adjustment module comprises:
    判断单元,设置为判断接收到的所述压力信号的压力值是否超过第一阈值和/或按压时间是否超过第二阈值; a determining unit, configured to determine whether the received pressure value of the pressure signal exceeds a first threshold and/or a pressing time exceeds a second threshold;
    第一调整单元,设置为在所述判断单元的判断结果为是的情况下,根据接收到的所述压力信号调整所述图像的所述显示方位。The first adjustment unit is configured to adjust the display orientation of the image according to the received pressure signal if the determination result of the determination unit is YES.
  8. 根据权利要求6所述的装置,其中,所述调整模块包括:The apparatus of claim 6 wherein said adjustment module comprises:
    第一确定单元,设置为确定所述压力信号指示的指示方位;a first determining unit, configured to determine an indication orientation indicated by the pressure signal;
    第二调整单元,设置为将所述图像的所述显示方位调整至所述指示方位。a second adjustment unit configured to adjust the display orientation of the image to the indicated orientation.
  9. 根据权利要求8所述的装置,其中,The device according to claim 8, wherein
    所述第一确定单元包括:第二确定单元,设置为确定按压所述压力信号的按压位置;第三确定单元,设置为确定以所述图像的中心为原点,由所述原点与所述按压位置形成的第一射线的方位为所述指示方位;和/或,The first determining unit includes: a second determining unit configured to determine a pressing position for pressing the pressure signal; and a third determining unit configured to determine that the center of the image is an origin, the origin and the pressing The orientation of the first ray formed by the location is the indicated orientation; and/or,
    所述第二调整单元包括:第三调整单元,设置为将预先设置的所述图像的中轴线的方位调整至所述指示方位。The second adjustment unit includes a third adjustment unit configured to adjust an orientation of a central axis of the image set in advance to the indication orientation.
  10. 根据权利要求9所述的装置,其中,所述第三调整单元包括:The apparatus of claim 9, wherein the third adjustment unit comprises:
    第四调整单元,设置为将预先设置的所述终端显示界面的中轴线的正方向调整为所述指示方位。 The fourth adjusting unit is configured to adjust a positive direction of the central axis of the terminal display interface set in advance to the indicated orientation.
PCT/CN2016/078894 2016-01-18 2016-04-08 Method and device for adjusting display orientation of image WO2017124650A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610031400.8 2016-01-18
CN201610031400.8A CN106980451A (en) 2016-01-18 2016-01-18 The method of adjustment and device of the display orientation of image

Publications (1)

Publication Number Publication Date
WO2017124650A1 true WO2017124650A1 (en) 2017-07-27

Family

ID=59340864

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/078894 WO2017124650A1 (en) 2016-01-18 2016-04-08 Method and device for adjusting display orientation of image

Country Status (2)

Country Link
CN (1) CN106980451A (en)
WO (1) WO2017124650A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096210B (en) * 2019-04-29 2022-03-18 努比亚技术有限公司 Information processing method and device and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130314356A1 (en) * 2011-01-27 2013-11-28 Kyocera Corporation Electronic device
CN104965635A (en) * 2015-06-16 2015-10-07 努比亚技术有限公司 Information adjusting method and terminal device
CN105159640A (en) * 2015-08-28 2015-12-16 小米科技有限责任公司 Display interface rotation method and device, and mobile terminal
CN105224223A (en) * 2015-09-09 2016-01-06 魅族科技(中国)有限公司 Photographic method and terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010257051A (en) * 2009-04-22 2010-11-11 Funai Electric Co Ltd Rotary input device and electronic equipment
CN103324395B (en) * 2012-03-21 2016-05-04 宇龙计算机通信科技(深圳)有限公司 A kind of touch-screen clock application menu display methods and terminal
CN105094619B (en) * 2015-08-27 2017-08-08 广东欧珀移动通信有限公司 A kind of picture upset control method and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130314356A1 (en) * 2011-01-27 2013-11-28 Kyocera Corporation Electronic device
CN104965635A (en) * 2015-06-16 2015-10-07 努比亚技术有限公司 Information adjusting method and terminal device
CN105159640A (en) * 2015-08-28 2015-12-16 小米科技有限责任公司 Display interface rotation method and device, and mobile terminal
CN105224223A (en) * 2015-09-09 2016-01-06 魅族科技(中国)有限公司 Photographic method and terminal

Also Published As

Publication number Publication date
CN106980451A (en) 2017-07-25

Similar Documents

Publication Publication Date Title
US11150696B2 (en) Enhanced application preview mode
EP3231354B1 (en) Smart belt
EP3341819B1 (en) Flexible electronic device and operating method thereof
US9586147B2 (en) Coordinating device interaction to enhance user experience
CN109308205B (en) Display adaptation method, device, equipment and storage medium of application program
US20170060266A1 (en) Screen control method and device
US8909300B2 (en) Mobile terminal and controlling method of displaying direction
TWI707253B (en) Electronic apparatus having second screen and control method thereof
JP7073122B2 (en) Electronic devices, control methods and programs
WO2009075260A1 (en) Information processing device
US20170010849A1 (en) Control method and apparatus thereof
CN109634688B (en) Session interface display method, device, terminal and storage medium
CN111045577A (en) Horizontal and vertical screen switching method, wearable device and device with storage function
CN112825048B (en) Message reminding method and device, electronic equipment and storage medium
CN112269559A (en) Volume adjustment method and device, electronic equipment and storage medium
WO2016197627A1 (en) Control method and device
CN109831817B (en) Terminal control method, device, terminal and storage medium
US20210116960A1 (en) Power save mode for wearable device
CN109089137B (en) Stuck detection method and device
WO2017124650A1 (en) Method and device for adjusting display orientation of image
US11379061B2 (en) Display mode switching method, apparatus, device, and medium
CN112100528A (en) Method, device, equipment and medium for training search result scoring model
CN111796990A (en) Resource display method, device, terminal and storage medium
WO2019076378A1 (en) Image sensor, photographing method and mobile terminal
KR20200017245A (en) Electronic device for providing notification message

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16885914

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16885914

Country of ref document: EP

Kind code of ref document: A1