



技术领域technical field
本发明涉及图像缩放技术,特别是一种具有触摸屏的电子设备及其画面比例调节方法。The invention relates to image zooming technology, in particular to an electronic device with a touch screen and a method for adjusting the screen ratio thereof.
背景技术Background technique
目前触摸屏技术变得越来越普及,因为其操作简单、功能多样且价格逐渐下降,触摸屏允许用户通过两点来实现网页的放大缩小或文件浏览,例如苹果公司的iPhone即是通过两指来实现网页的放大缩小或文件浏览功能。但是,对于手指不灵便的人来说,需要同时利用两手指来实现此功能,操作上存在移动困难。At present, touch screen technology is becoming more and more popular because of its simple operation, diverse functions and gradually falling prices. The touch screen allows users to zoom in and out of web pages or browse files through two points. For example, Apple's iPhone is achieved through two fingers. Web page zoom in and zoom out or file browsing function. However, for people with handicapped fingers, it is necessary to utilize two fingers simultaneously to realize this function, and it is difficult to move in operation.
发明内容Contents of the invention
鉴于此,有必要提供一种画面比例调节操作更为简单的具有触摸屏的电子设备。In view of this, it is necessary to provide an electronic device with a touch screen which is easier to adjust the aspect ratio.
有必要提供一种操作更为简单的画面比例调节的方法。It is necessary to provide a method for adjusting the screen ratio with simpler operation.
一种画面比例调节方法,包括如下步骤:A screen ratio adjustment method, comprising the steps of:
记录用户在触摸屏上的画圈操作产生的画圈轨迹;Record the circle trajectory generated by the user's circle-drawing operation on the touch screen;
检测所述画圈轨迹包围的画圈面积;Detecting the area of the circle surrounded by the circle track;
计算所述画圈面积与预设面积的比例关系;Calculating the proportional relationship between the circled area and the preset area;
根据所述比例关系对显示画面进行比例调节。The display screen is scaled according to the proportional relationship.
一种画面比例调节方法,包括如下步骤:A screen ratio adjustment method, comprising the steps of:
记录用户在触摸屏上的画圈操作产生的画圈轨迹;Record the circle trajectory generated by the user's circle-drawing operation on the touch screen;
检测所述画圈轨迹的画圈方向,包括顺时针和逆时针;Detecting the circle direction of the circle track, including clockwise and counterclockwise;
根据所述画圈方向选择放大和缩小的比例调节方式,并对显示画面进行比例调节。According to the direction of the circle, the scale adjustment mode of zooming in and zooming out is selected, and the scale adjustment of the display screen is performed.
一种具有触摸屏的电子设备,包括感应单元,用于感应用户的触摸操作,生成相应的轨迹数据,所述电子设备还包括:An electronic device with a touch screen, including a sensing unit, configured to sense a user's touch operation and generate corresponding trajectory data, the electronic device also includes:
处理单元,用于在检测到所述轨迹数据为一个封闭区域时,计算出轨迹数据所包围区域的面积信息;A processing unit, configured to calculate the area information of the area surrounded by the track data when detecting that the track data is a closed area;
执行单元,用于并根据所述面积信息与预设面积的比例关系对显示画面进行比例调节。The execution unit is configured to adjust the proportion of the display screen according to the proportional relationship between the area information and the preset area.
使用上述画面缩放方法和具有触摸屏的电子设备时,用户只要单手指画圈操作即可实现对所选区域的放大或者缩小,操作简单便捷。When using the above screen zooming method and an electronic device with a touch screen, the user only needs to draw a circle with one finger to realize zooming in or zooming out the selected area, and the operation is simple and convenient.
附图说明Description of drawings
图1为一较佳实施方式的画面缩放方法步骤流程图。FIG. 1 is a flow chart of steps of a screen zooming method in a preferred embodiment.
图2为图1所示的画圈操作示意图。FIG. 2 is a schematic diagram of the circle drawing operation shown in FIG. 1 .
图3为图1所示的另一方向的画圈操作示意图。FIG. 3 is a schematic diagram of drawing a circle in another direction shown in FIG. 1 .
图4为一较佳实施方式的具有触摸屏的电子设备100的功能模块图。FIG. 4 is a functional block diagram of an
具体实施方式Detailed ways
本实施方式提出了一种画面缩放方法,其可以根据用户手指所圈区域大小对显示画面进行对应的放大或缩小动作。该方法适用于各种便携式触摸设备,如手机、便携式播放器、数码相机等。This embodiment proposes a screen zooming method, which can zoom in or zoom out the display screen according to the size of the area circled by the user's finger. The method is applicable to various portable touch devices, such as mobile phones, portable players, digital cameras, and the like.
如图1所示,其为一较佳实施方式的画面缩放方法步骤流程图,包括如下步骤:As shown in Figure 1, it is a flow chart of the steps of the screen zooming method in a preferred embodiment, including the following steps:
步骤S301,记录用户在触摸屏上的画圈操作产生的画圈轨迹。请参阅图2和图3,触摸屏10上分别显示有用户顺时针和逆时针画圈操作产生的画圈轨迹102和104。Step S301 , recording the circle-drawing track generated by the user's circle-drawing operation on the touch screen. Referring to FIG. 2 and FIG. 3 , the
步骤S303,检测画圈轨迹包围的画圈面积。该面积可以按照画圈区域所包括的像素点的数量或触摸矩阵的数量进行计算得来。Step S303, detecting the area of the circle surrounded by the circle track. The area can be calculated according to the number of pixels included in the circled area or the number of touch matrices.
步骤S305,检测画圈轨迹的画圈方向,包括顺时针和逆时针。该顺时针和逆时针分别对应着图像放大和缩小操作。Step S305, detecting the circle direction of the circle track, including clockwise and counterclockwise. The clockwise and counterclockwise correspond to image zoom-in and zoom-out operations, respectively.
步骤S307,计算画圈面积与预设面积的比例关系。本实施方式中,该预设面积为触摸屏的显示面积,以给用户一个直观的参考依据,从而更好的实现用户需要的缩放比例。因为用户顺时针操作更为顺手,且较常使用放大操作,为此,本实施方式中,顺时针对应着放大操作,逆时针对应着缩小操作。Step S307, calculating the proportional relationship between the circled area and the preset area. In this embodiment, the preset area is the display area of the touch screen, so as to provide the user with an intuitive reference basis, so as to better realize the zoom ratio required by the user. Because the clockwise operation is more convenient for the user, and the zoom-in operation is often used, therefore, in this embodiment, the clockwise pointer corresponds to the zoom-in operation, and the counterclockwise pointer corresponds to the zoom-out operation.
步骤S309,根据画圈方向选择放大和缩小处理方式,并根据所述比例关系对显示画面进行放大或缩小处理。所述被缩放的显示画面可以是用户选择的图像或文字,也可以是浏览器显示框,还可以是整个触摸屏显示的界面等。In step S309, the zoom-in and zoom-out processing methods are selected according to the circle drawing direction, and zoom-in or zoom-out processing is performed on the display screen according to the proportional relationship. The zoomed display image may be an image or text selected by the user, a browser display frame, or an interface displayed on the entire touch screen.
使用上述画面缩放方法时,用户只要单手指操作即可实现对所选区域的放大或者缩小,操作简单便捷。上述放大和缩小都属于比例调节的一种,其他实施方式中可以只有放大和缩小功能中的一种。When using the above screen zooming method, the user can zoom in or zoom out the selected area with only one finger operation, and the operation is simple and convenient. Both the zoom-in and zoom-out functions mentioned above belong to one type of proportional adjustment, and there may be only one of the functions of zoom-in and zoom-out in other embodiments.
如图4所示,其为一较佳实施方式的具有触摸屏的电子设备100的功能模块图。电子设备100包括感应单元200、处理单元201及执行单元202。As shown in FIG. 4 , it is a functional block diagram of an
感应单元200用于感应用户的触摸操作,产生多个坐标数据值,并根据多个坐标数据值生成相应的轨迹数据。The
处理单元201用于在检测到所述轨迹数据为一个封闭区域时,计算出轨迹数据的方向信息和包围区域的面积信息。所述方向信息表示用户触摸时移动的方向是顺时针还是逆时针。The
执行单元202用于根据方向信息选择放大和缩小处理方式,并根据所述面积信息与屏幕面积的比例关系对显示画面进行放大或缩小处理。其他实施方式中,所述屏幕面积也可为其他大小的预设面积。The
使用上述电子设备100时,用户只要单手指画圈操作即可实现对画面的放大或者缩小,操作简单便捷。When using the above-mentioned
本技术领域的普通技术人员应当认识到,以上的实施方式仅是用来说明本发明,而并非用作为对本发明的限定,只要在本发明的实质精神范围之内,对以上实施例所作的适当改变和变化都落在本发明要求保护的范围之内。Those of ordinary skill in the art should recognize that the above embodiments are only used to illustrate the present invention, rather than to limit the present invention. Alterations and variations are within the scope of the claimed invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200810303319ACN101639753A (en) | 2008-08-01 | 2008-08-01 | Electronic equipment with touch screen and aspect ratio adjusting method thereof |
| US12/406,085US20100031188A1 (en) | 2008-08-01 | 2009-03-17 | Method for zooming image and electronic device using the same |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200810303319ACN101639753A (en) | 2008-08-01 | 2008-08-01 | Electronic equipment with touch screen and aspect ratio adjusting method thereof |
| Publication Number | Publication Date |
|---|---|
| CN101639753Atrue CN101639753A (en) | 2010-02-03 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN200810303319APendingCN101639753A (en) | 2008-08-01 | 2008-08-01 | Electronic equipment with touch screen and aspect ratio adjusting method thereof |
| Country | Link |
|---|---|
| US (1) | US20100031188A1 (en) |
| CN (1) | CN101639753A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101834941A (en)* | 2010-04-01 | 2010-09-15 | 宇龙计算机通信科技(深圳)有限公司 | Method, system and mobile terminal for generating browser page link |
| CN101916165A (en)* | 2010-08-17 | 2010-12-15 | 深圳桑菲消费通信有限公司 | Touch operating method for touch screen of mobile terminal |
| CN102141882A (en)* | 2010-12-07 | 2011-08-03 | 华为终端有限公司 | Method for realizing marquee selection operation on touch screen terminal, and touch screen terminal |
| CN102221954A (en)* | 2010-04-15 | 2011-10-19 | 中国移动通信集团公司 | Zoom display device, electronic equipment including the same, and zoom display method |
| CN102375689A (en)* | 2011-09-23 | 2012-03-14 | 上海量明科技发展有限公司 | Method and system for operating touch screen |
| CN102591521A (en)* | 2011-01-11 | 2012-07-18 | 富士康(昆山)电脑接插件有限公司 | Touch screen device and manufacturing method of the same |
| CN102855072A (en)* | 2011-06-28 | 2013-01-02 | 深圳富泰宏精密工业有限公司 | Webpage auxiliary amplification system and webpage auxiliary amplification method |
| CN102955659A (en)* | 2011-08-25 | 2013-03-06 | 幻音科技(深圳)有限公司 | Method and system for adjusting display interface |
| CN103155534A (en)* | 2010-09-27 | 2013-06-12 | 富士胶片株式会社 | Image editing method, image editing device, and image editing program |
| CN103246474A (en)* | 2013-04-22 | 2013-08-14 | 富泰华工业(深圳)有限公司 | Electronic device with touch screen and page content display method thereof |
| CN103376999A (en)* | 2012-04-23 | 2013-10-30 | 华晶科技股份有限公司 | Screen control method of handheld electronic device and digital information thereof |
| CN103530046A (en)* | 2012-07-02 | 2014-01-22 | 中国移动通信集团公司 | Electronic equipment and selecting method of screen display content |
| CN103646028A (en)* | 2013-11-01 | 2014-03-19 | 北京奇虎科技有限公司 | Obtaining method and device for highlight areas |
| CN104049893A (en)* | 2014-06-03 | 2014-09-17 | 联想(北京)有限公司 | Information processing method and electronic equipment |
| CN104182158A (en)* | 2013-05-23 | 2014-12-03 | 联想(北京)有限公司 | Adjustment method and electronic equipment |
| CN104238905A (en)* | 2013-06-18 | 2014-12-24 | 上海联影医疗科技有限公司 | Method and device for adjusting local magnification of medical images |
| CN104598121A (en)* | 2014-03-21 | 2015-05-06 | 腾讯科技(深圳)有限公司 | Picture zooming method and device |
| CN104769601A (en)* | 2014-05-27 | 2015-07-08 | 华为技术有限公司 | Method for identifying user identity and electronic device |
| CN104813393A (en)* | 2012-09-21 | 2015-07-29 | 谷歌公司 | Display applications on fixed-orientation displays |
| CN105511752A (en)* | 2014-10-16 | 2016-04-20 | 刘坤旺 | Method for detecting media reading habits and readable medium with adoption of method |
| CN105786314A (en)* | 2016-02-25 | 2016-07-20 | 北京京东尚科信息技术有限公司 | Window adjusting method and electronic device using same |
| CN108600626A (en)* | 2018-04-24 | 2018-09-28 | 阿里巴巴集团控股有限公司 | Filming control method, device and portable electronic device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4640470B2 (en)* | 2008-08-18 | 2011-03-02 | ソニー株式会社 | Image processing apparatus, image processing method, program, and imaging apparatus |
| CN102566908A (en)* | 2011-12-13 | 2012-07-11 | 鸿富锦精密工业(深圳)有限公司 | Electronic equipment and page zooming method for same |
| KR20130082352A (en)* | 2012-01-11 | 2013-07-19 | 삼성전자주식회사 | Apparatus and method for zooming touch screen in electronic device |
| EP2720128A1 (en)* | 2012-10-09 | 2014-04-16 | Harman Becker Automotive Systems GmbH | Navigation system and method for controlling a display |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060200745A1 (en)* | 2005-02-15 | 2006-09-07 | Christopher Furmanski | Method and apparatus for producing re-customizable multi-media |
| US20070130547A1 (en)* | 2005-12-01 | 2007-06-07 | Navisense, Llc | Method and system for touchless user interface control |
| KR100746874B1 (en)* | 2006-03-16 | 2007-08-07 | 삼성전자주식회사 | Apparatus and method for providing a service using a touch pad in a mobile terminal |
| US8219936B2 (en)* | 2007-08-30 | 2012-07-10 | Lg Electronics Inc. | User interface for a mobile device using a user's gesture in the proximity of an electronic device |
| US20090300554A1 (en)* | 2008-06-03 | 2009-12-03 | Nokia Corporation | Gesture Recognition for Display Zoom Feature |
| TW201017487A (en)* | 2008-10-17 | 2010-05-01 | Asustek Comp Inc | Method for operating displayed page and electronic device |
| KR101480194B1 (en)* | 2008-11-05 | 2015-01-26 | 엘지전자 주식회사 | Mobile termianl and displaying method thereof |
| US8631354B2 (en)* | 2009-03-06 | 2014-01-14 | Microsoft Corporation | Focal-control user interface |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101834941A (en)* | 2010-04-01 | 2010-09-15 | 宇龙计算机通信科技(深圳)有限公司 | Method, system and mobile terminal for generating browser page link |
| CN102221954A (en)* | 2010-04-15 | 2011-10-19 | 中国移动通信集团公司 | Zoom display device, electronic equipment including the same, and zoom display method |
| CN102221954B (en)* | 2010-04-15 | 2014-01-29 | 中国移动通信集团公司 | Zoom display device, electronic equipment including the same, and zoom display method |
| CN101916165A (en)* | 2010-08-17 | 2010-12-15 | 深圳桑菲消费通信有限公司 | Touch operating method for touch screen of mobile terminal |
| CN103155534B (en)* | 2010-09-27 | 2015-08-05 | 富士胶片株式会社 | Image editing method and image editing device |
| CN103155534A (en)* | 2010-09-27 | 2013-06-12 | 富士胶片株式会社 | Image editing method, image editing device, and image editing program |
| CN102141882A (en)* | 2010-12-07 | 2011-08-03 | 华为终端有限公司 | Method for realizing marquee selection operation on touch screen terminal, and touch screen terminal |
| CN102591521B (en)* | 2011-01-11 | 2016-03-23 | 富士康(昆山)电脑接插件有限公司 | Touch screen device and manufacture method thereof |
| CN102591521A (en)* | 2011-01-11 | 2012-07-18 | 富士康(昆山)电脑接插件有限公司 | Touch screen device and manufacturing method of the same |
| CN102855072A (en)* | 2011-06-28 | 2013-01-02 | 深圳富泰宏精密工业有限公司 | Webpage auxiliary amplification system and webpage auxiliary amplification method |
| CN102855072B (en)* | 2011-06-28 | 2016-02-10 | 深圳富泰宏精密工业有限公司 | Webpage assists amplification system and method |
| CN102955659B (en)* | 2011-08-25 | 2016-08-24 | 幻音科技(深圳)有限公司 | Display interface method of adjustment and system |
| CN102955659A (en)* | 2011-08-25 | 2013-03-06 | 幻音科技(深圳)有限公司 | Method and system for adjusting display interface |
| CN102375689A (en)* | 2011-09-23 | 2012-03-14 | 上海量明科技发展有限公司 | Method and system for operating touch screen |
| CN103376999A (en)* | 2012-04-23 | 2013-10-30 | 华晶科技股份有限公司 | Screen control method of handheld electronic device and digital information thereof |
| CN103530046B (en)* | 2012-07-02 | 2016-06-29 | 中国移动通信集团公司 | A kind of system of selection of electronic equipment and screen display content |
| CN103530046A (en)* | 2012-07-02 | 2014-01-22 | 中国移动通信集团公司 | Electronic equipment and selecting method of screen display content |
| US11842459B2 (en) | 2012-09-21 | 2023-12-12 | Google Llc | Media content management for a fixed orientation display |
| US11107186B2 (en) | 2012-09-21 | 2021-08-31 | Google Llc | Media content management for a fixed orientation display |
| CN104813393A (en)* | 2012-09-21 | 2015-07-29 | 谷歌公司 | Display applications on fixed-orientation displays |
| CN103246474B (en)* | 2013-04-22 | 2016-08-24 | 马鞍山琢学网络科技有限公司 | There is electronic installation and the page content display method thereof of touch screen |
| CN103246474A (en)* | 2013-04-22 | 2013-08-14 | 富泰华工业(深圳)有限公司 | Electronic device with touch screen and page content display method thereof |
| CN104182158A (en)* | 2013-05-23 | 2014-12-03 | 联想(北京)有限公司 | Adjustment method and electronic equipment |
| CN104238905A (en)* | 2013-06-18 | 2014-12-24 | 上海联影医疗科技有限公司 | Method and device for adjusting local magnification of medical images |
| CN103646028A (en)* | 2013-11-01 | 2014-03-19 | 北京奇虎科技有限公司 | Obtaining method and device for highlight areas |
| CN104598121A (en)* | 2014-03-21 | 2015-05-06 | 腾讯科技(深圳)有限公司 | Picture zooming method and device |
| CN104769601B (en)* | 2014-05-27 | 2018-03-16 | 华为技术有限公司 | Method for identifying user identity and electronic device |
| CN104769601A (en)* | 2014-05-27 | 2015-07-08 | 华为技术有限公司 | Method for identifying user identity and electronic device |
| CN104049893A (en)* | 2014-06-03 | 2014-09-17 | 联想(北京)有限公司 | Information processing method and electronic equipment |
| CN105511752A (en)* | 2014-10-16 | 2016-04-20 | 刘坤旺 | Method for detecting media reading habits and readable medium with adoption of method |
| CN105786314A (en)* | 2016-02-25 | 2016-07-20 | 北京京东尚科信息技术有限公司 | Window adjusting method and electronic device using same |
| CN108600626A (en)* | 2018-04-24 | 2018-09-28 | 阿里巴巴集团控股有限公司 | Filming control method, device and portable electronic device |
| Publication number | Publication date |
|---|---|
| US20100031188A1 (en) | 2010-02-04 |
| Publication | Publication Date | Title |
|---|---|---|
| CN101639753A (en) | Electronic equipment with touch screen and aspect ratio adjusting method thereof | |
| US10212365B2 (en) | Method and apparatus for creating motion effect for image | |
| US8723988B2 (en) | Using a touch sensitive display to control magnification and capture of digital images by an electronic device | |
| JP4605214B2 (en) | Information processing apparatus, information processing method, and program | |
| CN103324329B (en) | A kind of method of toch control and device | |
| EP2633382B1 (en) | Responding to the receipt of zoom commands | |
| US20140165013A1 (en) | Electronic device and page zooming method thereof | |
| CN102968273B (en) | Electronic equipment and page zoom-in and zoom-out method thereof | |
| CN104123024B (en) | A kind of terminal device and apparatus control method | |
| TWI510083B (en) | Electronic device and image zooming method thereof | |
| US20110209080A1 (en) | Display method and electronic device for using the same | |
| CN102855072B (en) | Webpage assists amplification system and method | |
| CN101866257A (en) | Touch-sensitive handheld device and method for displaying options thereof | |
| US20140333545A1 (en) | Portable device and control method thereof | |
| TW201443764A (en) | Apparatus and method of controlling screens in a device | |
| US20090066664A1 (en) | Touch screen and display method thereof | |
| TWI417782B (en) | An electronic apparatus having a touch-controlled interface and method of displaying figures related to files within certain time period | |
| WO2015139469A1 (en) | Webpage adjustment method and device, and electronic device | |
| WO2017059734A1 (en) | Image zoom in/out method and electronic device | |
| CN105094647A (en) | Interface control method and mobile terminal | |
| CN107193457A (en) | A method and mobile device for realizing image scaling and display | |
| CN102298487A (en) | Control method of touch screen and electronic device applying same | |
| TW201108097A (en) | Systems and methods for application management, and computer program products thereof | |
| CN105955623A (en) | Display method and apparatus | |
| TW201441914A (en) | Electronic device and method for adjusting displaying ratio of images |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C12 | Rejection of a patent application after its publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20100203 |