WO2014161297A1 - 屏幕区域缩放处理方法、装置及终端 - Google Patents
屏幕区域缩放处理方法、装置及终端 Download PDFInfo
- Publication number
- WO2014161297A1 WO2014161297A1 PCT/CN2013/085812 CN2013085812W WO2014161297A1 WO 2014161297 A1 WO2014161297 A1 WO 2014161297A1 CN 2013085812 W CN2013085812 W CN 2013085812W WO 2014161297 A1 WO2014161297 A1 WO 2014161297A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- screen
- area
- zoom
- scaling
- zoom operation
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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
- G06F3/0488—Interaction 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 using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04806—Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
Definitions
- the present invention relates to the field of communications, and in particular to a screen area scaling processing method, apparatus, and terminal.
- mobile communications have developed rapidly, and mobile terminals (for example, smart phones, tablet computers, etc.) have become more and more popular. With these devices, reading, surfing, games, photographing, picture browsing, map viewing, etc. can be performed.
- the daily activities of the series are increasingly inseparable from such equipment in life. According to statistics, shipments of mobile devices are gradually surpassing the shipments of personal computers (PCs), playing a more important role in people's lives.
- PCs personal computers
- the current mobile phone screen is getting bigger and bigger, and the performance is getting better and better, but the user interface (User Interface, UI for short) design and user experience still need to be greatly improved.
- the user needs to perform one-hand operation in many occasions. For example, when the bus or the subway is crowded, the mobile phone may be held in one hand, and the other hand bag or the handrail is used. Waiting for multi-touch gestures to zoom in and out on the content displayed on the phone can be inconvenient.
- some apps offer fixed zoom buttons, but users can't zoom at the screen position they want. Moreover, many applications do not provide the function of view zooming.
- a screen area scaling processing method including: determining an area on a screen to be scaled by moving a position of a zoom operation inlet on a screen; receiving the area by receiving the zoom operation a scaled scaling parameter; scaling the region according to the scaling parameter.
- determining the area on the screen to be scaled by moving the position of the zoom operation entry on the screen comprises at least one of: receiving a drag operation on the zoom operation entry to drag
- the final position of the motion is centered to determine the area on the screen to be scaled;
- the zoom operation inlet is responsive to the gravity sensor movement position, and the zooming on the screen is determined centering on the final position of the zoom operation entrance movement
- the zoom operation portal moves with the screen click to determine the position on the screen where the zoom is performed centering on the last click of the screen.
- the scaling parameter for scaling the area is received by at least one of receiving the zoom operation entry: a double click operation of receiving the zoom operation entry, a long press by receiving the zoom operation entry Operation, by receiving a drag operation of the zoom operation entry.
- the scaling of the area according to the scaling parameter comprises: calling a scaling interface of an application layer; determining, by the scaling interface, the zoomed display area and the displayed content according to the determined area and the scaling parameter Display size; displaying the display content in the display area according to the determined display size.
- the zoom operation entry is a hover button.
- a screen area scaling processing apparatus comprising: a determining module configured to determine an area on the screen to be scaled by moving a position of a zoom operation portal on the screen; a receiving module, configured to pass The scaling operation portal receives a scaling parameter that scales the region; a scaling module is configured to scale the region according to the scaling parameter.
- the determining module includes at least one of the following: a first determining unit configured to receive a drag operation performed on the zoom operation entry, and determine, on a center of the drag, a zoom on the screen a second determining unit, configured to: the zoom operation inlet is responsive to the gravity sensor moving position, and determining, by the final position of the zoom operation inlet movement, the area on the screen to be scaled; a third determining unit, It is set as the zoom operation entry moves with the screen click, and the position on the screen for zooming is determined centering on the last click of the screen.
- the scaling module comprises: a calling unit, configured to invoke a scaling interface of the application layer; a fourth determining unit, configured to determine, by the scaling interface, the scaled display according to the determined region and the scaling parameter The area and the display size of the display content; the display unit is configured to display the display content in the display area according to the determined display size.
- the apparatus further includes: a determining module, configured to determine whether the predetermined time limit is exceeded after the zooming of the area; and a hiding module configured to hide the zooming operation if the determining result of the determining module is yes Entrance.
- a terminal is provided, comprising the apparatus of any of the above.
- an area on the screen that is scaled by moving the position of the zoom operation on the screen is determined; a zoom parameter that scales the area is received through the zoom operation entry; the area is compared according to the zoom parameter
- FIG. 2 is a block diagram showing a structure of a screen area scaling processing apparatus according to an embodiment of the present invention
- FIG. 4 is a block diagram showing a preferred structure of the scaling module 26 in the screen area scaling processing apparatus according to an embodiment of the present invention
- FIG. 5 is a screen area scaling processing according to an embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
- FIG. 7 is a schematic diagram of a UI interface layout of a smart mobile device according to an embodiment of the present invention;
- FIG. 8 is an intelligent system framework according to an embodiment of the present invention.
- FIG. 9 is a schematic diagram of a setting interface of a zoom button application of a mobile device according to an embodiment of the present invention;
- FIG. 1 is a flowchart of a screen area scaling processing method according to an embodiment of the present invention. As shown in FIG. 1, the flow includes the following steps: Step S102, by moving The position of the zoom operation entry on the screen determines the area on the screen for zooming, for example, the zoom operation entry may be a hover button; step S104, receiving a zoom parameter for scaling the area through the zoom operation entry; step S106, according to the scaling The parameters scale the above area.
- the zooming of the area on the screen is performed by setting a zoom operation entry, which is not scalable according to the screen position desired by the related art, or zooming that is not easy to operate with one hand.
- the zooming of the screen area can be realized by performing corresponding operations on a zoom operation portal, which not only solves the problem that the display content of the screen cannot be scaled or zoomed inconveniently in the related art, and thus the screen can be conveniently and conveniently arranged according to the intention. Scale the size to improve the user experience.
- the area for zooming on the screen by moving the position of the zoom operation on the screen can be processed in various ways.
- At least one of the following methods can be adopted: receiving a drag operation on the zoom operation entrance to drag the final position Determining the area on the screen for zooming; the zoom operation entry responds to the gravity sensor movement position, and determines the area on the screen to be scaled with the final position of the zoom operation entrance movement; the zoom operation entrance moves with the screen click to the final click of the screen Center to determine where to zoom on the screen.
- the above various methods for determining the zooming area determine the zoomed position when determining the center position.
- the extent of the center position may be different depending on the specific situation.
- the scaling parameter for scaling the region by the zoom operation entry may also adopt various processing manners.
- the scaling parameter for scaling the region may be received by at least one of the following operations of receiving the zoom operation entry: Double-clicking by receiving the zoom operation entry The operation, the long-press operation of receiving the zoom operation entry, and the drag operation of receiving the zoom operation entry, it should be noted that the above processing manner is only simple and convenient, and other implementation manners may also be used.
- the area is scaled according to the scaling parameter: the zoom interface of the application layer is called; the zoomed display area and the display size of the display content are determined according to the determined area and the zoom parameter, and the determining process is performed. It may be calculated according to a predetermined program; display content is displayed in the display area according to the determined display size.
- the following processing may also be implemented: determining whether the predetermined time limit is exceeded after the area is scaled (for example, the time limit may be set to 5S) ), in the case where the judgment result is YES, the zoom operation entry is hidden.
- a screen area scaling processing device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again.
- the term "module" may implement a combination of software and/or hardware of a predetermined function.
- FIG. 2 is a block diagram showing the structure of a screen area scaling processing apparatus according to an embodiment of the present invention.
- the apparatus includes a determining module 22, a receiving module 24, and a scaling module 26.
- the determining module 22 is configured to determine an area on the screen for zooming by moving the position of the zoom operation on the screen;
- the receiving module 24 is connected to the determining module 22, and is configured to receive a scaling parameter for scaling the area through the zoom operation portal;
- Module 26 is configured to scale the region based on the scaling parameters.
- the determining module 22 includes at least one of the following: a first determining unit 32 and a second determining unit 34. And the third determining unit 36, the determining module 22 will be described below.
- the first determining unit 32 is configured to receive a drag operation on the zoom operation entry, and determine an area on the screen to be scaled by the final position of the drag; the second determining unit 34 is configured to move the zoom operation in response to the gravity sensor Positioning, determining an area for zooming on the screen centering on a final position of the zoom operation entrance movement; a third determining unit 36, configured to zoom the operation entrance with the screen click moving, determining the zooming on the screen centering on the last click of the screen position.
- 4 is a block diagram showing a preferred structure of the scaling module 26 in the screen area scaling processing apparatus according to the embodiment of the present invention. As shown in FIG. 4, the scaling module 26 includes a calling unit 42, a fourth determining unit 44, and a display unit 46.
- the scaling module 26 will be described.
- the calling unit 42 is configured to invoke the scaling interface of the application layer;
- the fourth determining unit 44 is connected to the calling unit 42 and configured to determine the scaled display area according to the determined area and the scaling parameter by using the scaling interface.
- the display unit 46 is connected to the fourth determining unit 44, and is configured to display the display content in the display area according to the determined display size.
- FIG. 5 is a block diagram showing a preferred structure of a screen area scaling processing apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes a judging module 52 and a concealing module 54 in addition to all the modules shown in FIG. The device will be described.
- FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 6, the terminal 60 includes the screen area scaling processing device 62 described in any one of the above. In conjunction with the above embodiments and preferred embodiments, a method for displaying a content fixed point zoom of a touch screen mobile device according to a preferred embodiment of the present invention will be described below.
- the touch screen mobile device displays a content fixed point zoom method, including the following steps:
- the mobile device provides a zoom operation entry (hereinafter, the floating window is taken as an example, but not limited to), and the view zoom of the corresponding application is implemented through the operation entry;
- the mobile device implements a floating window, specifically a floating button, which can respond to the zooming or zooming operation.
- a floating window specifically a floating button
- the application if the application has the function of zooming in and out of its own interface or view, it is made after clicking the floating button. Change in response;
- the mobile device increases the fixed point zoom setting item.
- the mobile device has a setting item function, such as: setting zoom, setting zoom, zoom function is enabled, zoom ratio setting, etc.; these options are used to control the hover button;
- the floating button can respond to the drag operation, or can respond to the gravity sensor, move the position when tilting the mobile phone left and right, and finally stay at a certain position on the screen, and zoom in the view centering on the position in response to the zoom event,
- the zoom is changed according to the zoom ratio set by the setting item in S3;
- the floating button can respond to the long press operation, expand to the zoom-in or zoom-out selection window, select and return to the single floating button, and the button view changes accordingly, for example , the zoom status button view is a plus sign, and when zoomed out, it is a minus sign.
- the fixed point zoom of the view is implemented by the following method: the view class view provides an interface, and the interface monitors the floating button click operation. After clicking the hover button, the view class obtains the button position and the button state at this time, and finds the under the floating button.
- the currently displayed application records the size of the application view, and then notifies the display module to change the display size of the application view in the display module, and takes the enlarged state as an example to enlarge the content of the display area corresponding to the view of the application. And refresh the display;
- the user can complete the zoom operation with one hand. If the user exceeds the time limit, for example, within 5 seconds, the floating button is not operated, and the mobile device is triggered to automatically hide the button.
- the zoom hover button is semi-transparent when displayed, and does not obscure the content display below the button.
- FIG. 7 is a schematic diagram of a UI interface layout of a smart mobile device according to an embodiment of the present invention.
- the application may have multiple manipulation buttons, and the interface of the application may be reduced and enlarged.
- 8 is a schematic diagram of an intelligent system framework supporting principle according to an embodiment of the present invention.
- a mobile device expands a view class (View) in a framework layer, and expands an interface. The action used to scale the application view in response to triggering the zoom button.
- FIG. 9 is a schematic diagram of a setting interface of a zoom button application of a mobile device according to an embodiment of the present invention. As shown in FIG. 9, the switch, zoom type, and zoom ratio of the zoom button are controlled.
- FIG. 10 is a schematic diagram of a zoom operation according to an embodiment of the present invention.
- the sub-picture a is an interface when the floating zoom button is turned on. At this time, the zoom button can be dragged to a specific position on the screen, and then the button is clicked. Zoom in or out of the application interface; sub-picture b shows the enlarged view of the view after clicking the zoom button.
- FIG. 11 is a flowchart of clicking a zoom button according to an embodiment of the present invention. As shown in FIG.
- Step S1102 in the case of a normal operating device, with a button state For zooming in, for example, the user drags the zoom button to the position that he wants to zoom in, and then clicks the button;
- Step S1104 At this time, the button window responds to the click event, records the screen position of the current button window, reads the current zoom mode, and The preset scaling, passing these parameters to the framework layer for processing;
- Step S1106 The framework layer implements a zoom interface call to the application layer in the view class, and converts the data passed by the button window into a zoom parameter that the application layer can recognize.
- the view class centers on the current screen position, calculates the application display area and the display content size below the position, and notifies the display module to process.
- Step S1108 The display module adjusts the display content in the display area by zooming in or out, and refreshes the screen.
- modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed 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 are fabricated as a single integrated circuit module.
- the invention is not limited to any specific combination of hardware and software.
- the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention.
- the screen area zoom processing method, apparatus, and terminal provided by the embodiments of the present invention have the following beneficial effects: The problem that the display content of the screen cannot be scaled or zoomed inconveniently exists in the related art, and thus the problem is achieved. You can easily scale the screen size as you like, 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)
- User Interface Of Digital Computer (AREA)
Abstract
本发明提供了一种屏幕区域缩放处理方法、装置及终端,该方法包括:采用通过移动屏幕上缩放操作入口的位置确定屏幕上进行缩放的区域;通过缩放操作入口接收对区域进行缩放的缩放参数;根据缩放参数对区域进行缩放,通过本发明,解决了相关技术中存在对屏幕的显示内容无法缩放或者缩放不方便的问题,进而达到了可以根据意愿方便地对屏幕大小进行缩放,提高用户体验的效果。
Description
屏幕区域縮放处理方法、 装置及终端 技术领域 本发明涉及通信领域, 具体而言, 涉及一种屏幕区域缩放处理方法、装置及终端。 背景技术 近年来, 移动通讯迅猛发展, 移动终端 (例如, 智能手机、 平板电脑等) 普及率 越来越高, 采用这些设备, 可以进行阅读、 上网、 游戏、 拍照、 图片浏览、 地图查看 等一系列的日常活动, 在生活中越来越离不开这类设备。 据统计, 移动设备的出货量 正在逐渐赶超个人计算机 (Personal Computer, 简称为 PC) 的出货量, 在人们的生活 中扮演更重要的角色。 现在移动终端的主流设计理念是用户体验。 目前的手机屏幕是越来越大、 性能是 越来越好, 但是在用户界面 (User Interface, 简称为 UI) 设计和用户体验等方面还是 要进行长足的改进。 从而让用户用起来更方便, 操作更简洁直观。 使用移动终端时用户在很多场合下是需要进行单手操作, 例如, 在挤公交、 地铁 的时候可能一手拿着手机, 另一只手拎包或扶栏杆的情况下, 此时要用双指操作等多 点触控手势来放大缩小手机显示的内容, 会存在不便之处。 同时, 某些应用提供固定 的缩放按钮, 但是用户无法按照自己想要的屏幕位置进行缩放。 再者, 很多应用都没 有提供视图放大的功能。 因此, 在相关技术中存在对屏幕的显示内容无法缩放或者缩放不方便的问题。 发明内容 本发明提供了一种屏幕区域缩放处理方法、 装置及终端, 以至少解决相关技术中 存在的对屏幕的显示内容无法缩放或者缩放不方便的问题。 根据本发明的一个方面, 提供了一种屏幕区域缩放处理方法, 包括: 通过移动屏 幕上缩放操作入口的位置确定所述屏幕上进行缩放的区域; 通过所述缩放操作入口接 收对所述区域进行缩放的缩放参数; 根据所述缩放参数对所述区域进行缩放。 优选地, 通过移动所述屏幕上所述缩放操作入口的所述位置确定所述屏幕上进行 缩放的所述区域包括以下至少之一: 接收对所述缩放操作入口进行的拖动操作, 以拖
动的最终位置为中心确定所述屏幕上进行缩放的所述区域; 所述缩放操作入口响应重 力传感器移动位置, 以所述缩放操作入口移动的最终位置为中心确定所述屏幕上进行 缩放的所述区域; 所述缩放操作入口随着屏幕点击移动, 以屏幕最终点击处为中心确 定所述屏幕上进行缩放的位置。 优选地, 通过接收所述缩放操作入口的以下操作至少之一接收对所述区域进行缩 放的所述缩放参数: 通过接收所述缩放操作入口的双击操作、 通过接收所述缩放操作 入口的长按操作、 通过接收所述缩放操作入口的拖动操作。 优选地, 根据所述缩放参数对所述区域进行缩放包括: 调用应用层的缩放接口; 通过所述缩放接口, 依据确定的所述区域以及所述缩放参数确定缩放后的显示区域以 及显示内容的显示大小; 依据确定的所述显示大小, 在所述显示区域中显示所述显示 内容。 优选地, 所述缩放操作入口为悬浮按钮。 优选地, 在根据所述缩放参数对所述区域进行缩放之后, 还包括: 判断对所述区 域进行缩放之后是否超过预定时限, 在判断结果为是的情况下, 隐藏所述缩放操作入 Π。 根据本发明的另一方面, 提供了一种屏幕区域缩放处理装置, 包括: 确定模块, 设置为通过移动屏幕上缩放操作入口的位置确定所述屏幕上进行缩放的区域; 接收模 块, 设置为通过所述缩放操作入口接收对所述区域进行缩放的缩放参数; 缩放模块, 设置为根据所述缩放参数对所述区域进行缩放。 优选地, 所述确定模块包括以下至少之一: 第一确定单元, 设置为接收对所述缩 放操作入口进行的拖动操作, 以拖动的最终位置为中心确定所述屏幕上进行缩放的所 述区域; 第二确定单元, 设置为所述缩放操作入口响应重力传感器移动位置, 以所述 缩放操作入口移动的最终位置为中心确定所述屏幕上进行缩放的所述区域; 第三确定 单元, 设置为所述缩放操作入口随着屏幕点击移动, 以屏幕最终点击处为中心确定所 述屏幕上进行缩放的位置。 优选地, 所述缩放模块包括: 调用单元, 设置为调用应用层的缩放接口; 第四确 定单元, 设置为通过所述缩放接口, 依据确定的所述区域以及所述缩放参数确定缩放 后的显示区域以及显示内容的显示大小; 显示单元, 设置为依据确定的所述显示大小, 在所述显示区域中显示所述显示内容。
优选地, 该装置还包括: 判断模块, 设置为判断对所述区域进行缩放之后是否超 过预定时限; 隐藏模块, 设置为在所述判断模块的判断结果为是的情况下, 隐藏所述 缩放操作入口。 根据本发明的还一方面, 提供了一种终端, 包括上述任一项所述的装置。 通过本发明, 采用通过移动屏幕上缩放操作入口的位置确定所述屏幕上进行缩放 的区域; 通过所述缩放操作入口接收对所述区域进行缩放的缩放参数; 根据所述缩放 参数对所述区域进行缩放, 解决了相关技术中存在对屏幕的显示内容无法缩放或者缩 放不方便的问题, 进而达到了可以根据意愿方便地对屏幕大小进行缩放, 提高用户体 验的效果。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中- 图 1是根据本发明实施例的屏幕区域缩放处理方法的流程图; 图 2是根据本发明实施例的屏幕区域缩放处理装置的结构框图; 图 3是根据本发明实施例的屏幕区域缩放处理装置中确定模块 22的优选结构框 图; 图 4是根据本发明实施例的屏幕区域缩放处理装置中缩放模块 26的优选结构框 图; 图 5是根据本发明实施例的屏幕区域缩放处理装置的优选结构框图; 图 6是根据本发明实施例的终端的结构示意图; 图 7是根据本发明实施例的智能移动设备的 UI界面布局示意图; 图 8是根据本发明实施例的智能***框架支持原理示意图; 图 9是根据本发明实施例的移动设备的缩放按钮应用的设置界面示意图; 图 10是根据本发明实施例的缩放操作示意图;
图 11是根据本发明实施例的点击缩放按钮后的流程图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 在本实施例中提供了一种屏幕区域缩放处理方法, 图 1是根据本发明实施例的屏 幕区域缩放处理方法的流程图, 如图 1所示, 该流程包括如下步骤: 步骤 S102, 通过移动屏幕上缩放操作入口的位置确定屏幕上进行缩放的区域, 例 如, 该缩放操作入口可以为悬浮按钮; 步骤 S104, 通过上述缩放操作入口接收对该区域进行缩放的缩放参数; 步骤 S106, 根据上述缩放参数对上述区域进行缩放。 通过上述步骤, 通过设置一个缩放操作入口来实现对屏幕上想进行缩放的区域进 行缩放, 相对于相关技术中, 无法按照自己想要的屏幕位置进行缩放, 或者不易于单 手进行操作的缩放, 采用对一个缩放操作入口进行相应的操作就可以实现对屏幕区域 的缩放, 不仅解决了相关技术中存在对屏幕的显示内容无法缩放或者缩放不方便的问 题, 进而达到了可以根据意愿方便地对屏幕大小进行缩放, 提高用户体验的效果。 通过移动屏幕上缩放操作入口的位置确定屏幕上进行缩放的区域可以采用多种处 理方式, 例如, 可以采用以下方式至少之一: 接收对缩放操作入口进行的拖动操作, 以拖动的最终位置为中心确定屏幕上进行缩放的区域; 缩放操作入口响应重力传感器 移动位置, 以缩放操作入口移动的最终位置为中心确定屏幕上进行缩放的区域; 缩放 操作入口随着屏幕点击移动, 以屏幕最终点击处为中心确定屏幕上进行缩放的位置。 上述各种确定缩放区域的方法均是确定中心位置时就确定了缩放的位置, 当然具体操 作时, 以该中心位置多大范围为该区域可以依据具体情况不同而不同。 通过缩放操作入口接收对区域进行缩放的缩放参数也可以采用多种处理方式, 例 如,可以通过接收缩放操作入口的以下操作至少之一接收对区域进行缩放的缩放参数: 通过接收缩放操作入口的双击操作、 通过接收缩放操作入口的长按操作、 通过接收缩 放操作入口的拖动操作, 需要说明的是, 上述处理方式只是较为简单方便, 也可以采 用其它的实现方式, 在此不进行一一列举。
较优地, 根据缩放参数对区域进行缩放可以采用以下方式: 调用应用层的缩放接 口; 通过缩放接口, 依据确定的区域以及缩放参数确定缩放后的显示区域以及显示内 容的显示大小, 确定的过程可以是依据预定的程序计算获得; 依据确定的显示大小, 在显示区域中显示显示内容。 为了节省终端的耗能, 或是方便用户的阅读操作, 在根据缩放参数对区域进行缩 放之后, 还可以实施以下处理: 判断对区域进行缩放之后是否超过预定时限 (例如, 可以设置该时限为 5S), 在判断结果为是的情况下, 隐藏缩放操作入口。 在本实施例中还提供了一种屏幕区域缩放处理装置, 该装置用于实现上述实施例 及优选实施方式, 已经进行过说明的不再赘述。 如以下所使用的, 术语"模块"可以实 现预定功能的软件和 /或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实 现, 但是硬件, 或者软件和硬件的组合的实现也是可能并被构想的。 图 2是根据本发明实施例的屏幕区域缩放处理装置的结构框图, 如图 2所示, 该 装置包括确定模块 22、 接收模块 24和缩放模块 26, 下面对该装置进行说明。 确定模块 22, 设置为通过移动屏幕上缩放操作入口的位置确定屏幕上进行缩放的 区域; 接收模块 24, 连接至上述确定模块 22, 设置为通过缩放操作入口接收对区域进 行缩放的缩放参数; 缩放模块 26, 设置为根据缩放参数对区域进行缩放。 图 3是根据本发明实施例的屏幕区域缩放处理装置中确定模块 22的优选结构框 图, 如图 3所示, 该确定模块 22包括以下至少之一: 第一确定单元 32、 第二确定单 元 34和第三确定单元 36, 下面对该确定模块 22进行说明。 第一确定单元 32, 设置为接收对缩放操作入口进行的拖动操作, 以拖动的最终位 置为中心确定屏幕上进行缩放的区域; 第二确定单元 34, 设置为缩放操作入口响应重 力传感器移动位置, 以缩放操作入口移动的最终位置为中心确定屏幕上进行缩放的区 域; 第三确定单元 36, 设置为缩放操作入口随着屏幕点击移动, 以屏幕最终点击处为 中心确定屏幕上进行缩放的位置。 图 4是根据本发明实施例的屏幕区域缩放处理装置中缩放模块 26的优选结构框 图, 如图 4所示, 该缩放模块 26包括调用单元 42、 第四确定单元 44和显示单元 46, 下面以对该缩放模块 26进行说明。 调用单元 42, 设置为调用应用层的缩放接口; 第四确定单元 44, 连接至上述调用 单元 42, 设置为通过缩放接口, 依据确定的区域以及缩放参数确定缩放后的显示区域
以及显示内容的显示大小; 显示单元 46, 连接至上述第四确定单元 44, 设置为依据确 定的显示大小, 在显示区域中显示显示内容。 图 5是根据本发明实施例的屏幕区域缩放处理装置的优选结构框图,如图 5所示, 该装置除包括图 2所示的所有模块外, 还包括判断模块 52和隐藏模块 54, 下面对该 装置进行说明。 判断模块 52,连接至上述绽放模块 26, 设置为判断对区域进行缩放之后是否超过 预定时限; 隐藏模块 54, 连接至上述判断模块 52, 设置为在上述判断模块 52的判断 结果为是的情况下, 隐藏缩放操作入口。 图 6是根据本发明实施例的终端的结构示意图, 如图 6所示, 该终端 60包括上述 任一项所述的屏幕区域缩放处理装置 62。 结合上述实施例及优选实施方式, 下面对本发明优选实施例的触摸屏移动设备显 示内容定点缩放方法进行说明。 该触摸屏移动设备显示内容定点缩放方法, 包括如下 步骤:
Sl, 移动设备提供一种缩放操作入口 (下文以悬浮窗口为例但不限于), 通过该操 作入口实现对应应用的视图缩放;
S2, 移动设备实现一个悬浮窗口, 具体说是个悬浮按钮, 能响应放大或缩小的操 作, 在上层应用中, 如果该应用具有放大和缩小自身界面或者视图的功能, 则在点击 悬浮按钮后做出响应的改变;
S3 , 移动设备增加定点缩放设置项。 为了更好地用户体验, 该移动设备具备设置 项功能, 内容有: 设置放大、 设置缩小、 缩放功能是否开启、 缩放比例设置等功能; 通过这些选项来对悬浮按钮进行控制;
S4, 悬浮按键可响应拖动操作, 也可以响应重力传感器, 在左右倾斜手机时移动 位置, 最后停留在屏幕上某个特定位置, 在响应缩放事件时以该位置为中心进行视图 的缩放, 每次缩放按照 S3中设置项设置的缩放比例来进行视图改变; S5, 悬浮按钮可响应长按操作, 展开为放大或缩小的选择窗口, 进行选择后返回 单一悬浮按钮, 按钮视图进行相应改变, 比如, 放大状态按钮视图为加号, 缩小时为 减号。 当然不限于通过长按来选择缩放类型, 通过 S3中设置项进入也可选择, 或者拖 动悬浮按钮时使其展开为选择窗口等交互手段;
S6, 通过以下方法来实现视图的定点缩放, 视图类 view提供接口, 接口对悬浮按 钮点击操作进行监听, 在点击悬浮按钮后, 视图类获取此时的按钮位置和按钮状态, 找到悬浮按钮下方的当前显示的应用, 记录下该应用视图的大小, 再通知显示模块, 在显示模块中改变该应用视图的显示大小, 以放大状态为例, 将该应用的视图对应的 显示区域进行内容的放大, 并刷新显示;
S7, 用户则可以单手来完成缩放的操作, 如果用户超过时限, 比如 5s内, 未对悬 浮按钮进行操作, 此时触发移动设备将按钮自动隐藏。 缩放悬浮按钮在显示时呈现半 透状态, 不遮挡按钮下方的内容显示。 上述在触摸屏移动设备快速定点缩放的方法, 方便单手操作移动设备的同时, 能 够让用户放大和缩小自己想要缩放的屏幕视图的大小, 如查看信息、 阅读文档等情况 下, 有更好地用户体验, 提高了手机的易用性。 下面结合附图对本发明优选实施方式进行说明。 图 7是根据本发明实施例的智能移动设备的 UI界面布局示意图,如图 7所示,应 用程序可能存在多个操控按钮, 应用程序的界面可能能够进行缩小和放大。 图 8是根据本发明实施例的智能***框架支持原理示意图, 如图 8所示, 在该智 能***框架中, 移动设备在框架层 (Framework) 对视图类 (View) 进行扩充, 扩充 一个接口, 用来响应触发缩放按钮后对应用视图进行缩放显示的操作。 图 9是根据本发明实施例的移动设备的缩放按钮应用的设置界面示意图, 如图 9 所示, 对缩放按钮的开关、 缩放类型、 缩放比例进行控制。 图 10是根据本发明实施例的缩放操作示意图, 如图 10所示, 子图 a是开启悬浮 缩放按钮时的界面, 此时可拖动缩放按钮致屏幕上特定位置, 然后点击该按钮, 进行 应用界面的放大或缩小; 子图 b显示了点击放大按钮后的视图放大示意界面。 图 11是根据本发明实施例的点击缩放按钮后的流程图, 如图 11所示, 该流程主 要包括以下步骤 (步骤 S1102-步骤 S1108): 步骤 S1102: 在正常操作设备情况下, 以按钮状态为放大为例, 用户通过拖动缩 放按钮到想要放大的位置, 然后点击按钮; 步骤 S1104: 此时按钮窗口响应点击事件, 记录下当前的按钮窗口所在屏幕位置、 读取当前的缩放模式及预设的缩放比例, 将这些参数传递给框架层进行处理;
步骤 S1106: 框架层在视图类中实现对应用层的缩放接口调用, 将按钮窗口传递 的数据转换成应用层能识别的缩放参数。 视图类按当前屏幕位置为中心点, 计算该位 置下方的应用显示区域及显示内容大小, 通知显示模块处理。 步骤 S1108 : 显示模块将该显示区域中的显示内容进行放大或缩小等调整, 并刷 新屏幕。 通过上述实施例及优选实施方式, 用户在单手操作移动设备时, 如果需要放大或 缩小当前的应用视图, 且当前应用也支持视图的缩放, 那么只需单指就能完成视图在 指定屏幕位置的放大或缩小操作。 这样既给用户对移动设备的单手操作提供了方便, 也提高了用户体验。 该方案是从底层机制进行扩展, 来实现对视图的修改。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 综上可知, 本发明实施例提供的一种屏幕区域缩放处理方法、 装置及终端具有如 下有益效果: 解决了相关技术中存在的对屏幕的显示内容无法缩放或者缩放不方便的 问题, 进而达到了可以根据意愿方便地对屏幕大小进行缩放, 提高用户体验的效果
Claims
1. 一种屏幕区域缩放处理方法, 包括:
通过移动屏幕上缩放操作入口的位置确定所述屏幕上进行缩放的区域; 通过所述缩放操作入口接收对所述区域进行缩放的缩放参数; 根据所述缩放参数对所述区域进行缩放。
2. 根据权利要求 1所述的方法, 其中, 通过移动所述屏幕上所述缩放操作入口的 所述位置确定所述屏幕上进行缩放的所述区域包括以下至少之一:
接收对所述缩放操作入口进行的拖动操作, 以拖动的最终位置为中心确定 所述屏幕上进行缩放的所述区域;
所述缩放操作入口响应重力传感器移动位置, 以所述缩放操作入口移动的 最终位置为中心确定所述屏幕上进行缩放的所述区域;
所述缩放操作入口随着屏幕点击移动, 以屏幕最终点击处为中心确定所述 屏幕上进行缩放的位置。
3. 根据权利要求 1所述的方法, 其中, 通过接收所述缩放操作入口的以下操作至 少之一接收对所述区域进行缩放的所述缩放参数:
通过接收所述缩放操作入口的双击操作、 通过接收所述缩放操作入口的长 按操作、 通过接收所述缩放操作入口的拖动操作。
4. 根据权利要求 1所述的方法, 其中, 根据所述缩放参数对所述区域进行缩放包 括- 调用应用层的缩放接口;
通过所述缩放接口, 依据确定的所述区域以及所述缩放参数确定缩放后的 显示区域以及显示内容的显示大小;
依据确定的所述显示大小, 在所述显示区域中显示所述显示内容。
5. 根据权利要求 1所述的方法, 其中, 所述缩放操作入口为悬浮按钮。
6. 根据权利要求 1至 5中任一项所述的方法, 其中, 在根据所述缩放参数对所述 区域进行缩放之后, 还包括:
判断对所述区域进行缩放之后是否超过预定时限, 在判断结果为是的情况 下, 隐藏所述缩放操作入口。
7. 一种屏幕区域缩放处理装置, 包括:
确定模块, 设置为通过移动屏幕上缩放操作入口的位置确定所述屏幕上进 行缩放的区域;
接收模块, 设置为通过所述缩放操作入口接收对所述区域进行缩放的缩放 参数;
缩放模块, 设置为根据所述缩放参数对所述区域进行缩放。
8. 根据权利要求 7所述的装置, 其中, 所述确定模块包括以下至少之一: 第一确定单元, 设置为接收对所述缩放操作入口进行的拖动操作, 以拖动 的最终位置为中心确定所述屏幕上进行缩放的所述区域;
第二确定单元, 设置为所述缩放操作入口响应重力传感器移动位置, 以所 述缩放操作入口移动的最终位置为中心确定所述屏幕上进行缩放的所述区域; 第三确定单元, 设置为所述缩放操作入口随着屏幕点击移动, 以屏幕最终 点击处为中心确定所述屏幕上进行缩放的位置。
9. 根据权利要求 7所述的装置, 其中, 所述缩放模块包括:
调用单元, 设置为调用应用层的缩放接口;
第四确定单元, 设置为通过所述缩放接口, 依据确定的所述区域以及所述 缩放参数确定缩放后的显示区域以及显示内容的显示大小;
显示单元, 设置为依据确定的所述显示大小, 在所述显示区域中显示所述 显示内容。
10. 根据权利要求 7至 9中任一项所述的装置, 其中, 还包括:
判断模块, 设置为判断对所述区域进行缩放之后是否超过预定时限; 隐藏模块, 设置为在所述判断模块的判断结果为是的情况下, 隐藏所述缩 放操作入口。
11. 一种终端, 包括权利要求 7至 10中任一项所述的装置。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310336686.7A CN104346059A (zh) | 2013-08-05 | 2013-08-05 | 屏幕区域缩放处理方法、装置及终端 |
CN201310336686.7 | 2013-08-05 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014161297A1 true WO2014161297A1 (zh) | 2014-10-09 |
Family
ID=51657487
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/085812 WO2014161297A1 (zh) | 2013-08-05 | 2013-10-23 | 屏幕区域缩放处理方法、装置及终端 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104346059A (zh) |
WO (1) | WO2014161297A1 (zh) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104750412A (zh) * | 2015-03-02 | 2015-07-01 | 深圳市金立通信设备有限公司 | 一种显示界面的操控方法 |
CN104750356A (zh) * | 2015-03-02 | 2015-07-01 | 深圳市金立通信设备有限公司 | 一种移动终端 |
CN106412232A (zh) * | 2016-08-26 | 2017-02-15 | 珠海格力电器股份有限公司 | 一种控制操作界面的缩放方法、装置以及电子设备 |
CN107885411A (zh) * | 2016-09-30 | 2018-04-06 | 北京京东尚科信息技术有限公司 | 用于无下拉功能页面的显示方法和显示装置 |
CN109634543A (zh) * | 2018-10-30 | 2019-04-16 | 努比亚技术有限公司 | 一种显示控制方法、终端及计算机可读存储介质 |
CN110362265B (zh) * | 2019-07-16 | 2021-08-31 | 深圳雷曼光电科技股份有限公司 | 显示界面的控制方法、装置、计算机设备和存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101159947A (zh) * | 2007-11-21 | 2008-04-09 | 陈拙夫 | 一种具有虚屏显示功能的手机、其显示及操作方法 |
CN101419624A (zh) * | 2008-11-17 | 2009-04-29 | 魏新成 | 用来浏览web网页的移动信息设备和方法 |
CN102520928A (zh) * | 2011-07-18 | 2012-06-27 | 百度在线网络技术(北京)有限公司 | 一种用于展现页面窗口的状态的方法与设备 |
CN102929546A (zh) * | 2012-10-22 | 2013-02-13 | 东莞宇龙通信科技有限公司 | 终端和缩放控制方法 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102298504A (zh) * | 2011-09-27 | 2011-12-28 | 汉王科技股份有限公司 | 一种放大显示方法和*** |
CN102929535B (zh) * | 2012-10-09 | 2018-05-01 | 中兴通讯股份有限公司 | 一种悬浮窗位置控制的方法及终端 |
-
2013
- 2013-08-05 CN CN201310336686.7A patent/CN104346059A/zh active Pending
- 2013-10-23 WO PCT/CN2013/085812 patent/WO2014161297A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101159947A (zh) * | 2007-11-21 | 2008-04-09 | 陈拙夫 | 一种具有虚屏显示功能的手机、其显示及操作方法 |
CN101419624A (zh) * | 2008-11-17 | 2009-04-29 | 魏新成 | 用来浏览web网页的移动信息设备和方法 |
CN102520928A (zh) * | 2011-07-18 | 2012-06-27 | 百度在线网络技术(北京)有限公司 | 一种用于展现页面窗口的状态的方法与设备 |
CN102929546A (zh) * | 2012-10-22 | 2013-02-13 | 东莞宇龙通信科技有限公司 | 终端和缩放控制方法 |
Also Published As
Publication number | Publication date |
---|---|
CN104346059A (zh) | 2015-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11947782B2 (en) | Device, method, and graphical user interface for manipulating workspace views | |
EP3454197B1 (en) | Method, device, and non-transitory computer-readable storage medium for switching pages of applications in a terminal device | |
EP2825950B1 (en) | Touch screen hover input handling | |
US11054988B2 (en) | Graphical user interface display method and electronic device | |
US9933935B2 (en) | Device, method, and graphical user interface for editing videos | |
US9645699B2 (en) | Device, method, and graphical user interface for adjusting partially off-screen windows | |
US9207838B2 (en) | Device, method, and graphical user interface for managing and interacting with concurrently open software applications | |
US9529490B2 (en) | Method and apparatus for improving one-handed operation of a large smartphone or a small tablet computer | |
TWI629636B (zh) | 用於控制一電子器件之方法、電子器件及非暫時性電腦可讀儲存媒體 | |
CA2865442C (en) | Method and apparatus for providing a user interface on a device that indicates content operators | |
US9081498B2 (en) | Method and apparatus for adjusting a user interface to reduce obscuration | |
CN104932809B (zh) | 用于控制显示面板的装置和方法 | |
US20140362119A1 (en) | One-handed gestures for navigating ui using touch-screen hover events | |
US20130227472A1 (en) | Device, Method, and Graphical User Interface for Managing Windows | |
CA2807126A1 (en) | Method and apparatus for providing an option to enable multiple selections | |
CA2865440A1 (en) | Method of accessing and performing quick actions on an item through a shortcut menu | |
JP2013541776A (ja) | 携帯端末機及びその画面制御方法 | |
WO2014161297A1 (zh) | 屏幕区域缩放处理方法、装置及终端 | |
US20150185987A1 (en) | Method, apparatus and computer readable medium for zooming and operating screen frame | |
CN117501234A (zh) | 用于与多个显示设备交互的***和方法 | |
JP2023510620A (ja) | 画像クロップ方法及び電子機器 |
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: 13881432 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: 13881432 Country of ref document: EP Kind code of ref document: A1 |