[go: up one dir, main page]

CN111552432B - Screen operation system and method for electronic equipment - Google Patents

Screen operation system and method for electronic equipment Download PDF

Info

Publication number
CN111552432B
CN111552432B CN202010370431.2A CN202010370431A CN111552432B CN 111552432 B CN111552432 B CN 111552432B CN 202010370431 A CN202010370431 A CN 202010370431A CN 111552432 B CN111552432 B CN 111552432B
Authority
CN
China
Prior art keywords
touch
touch point
mode
enter
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN202010370431.2A
Other languages
Chinese (zh)
Other versions
CN111552432A (en
Inventor
唐景贤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202010370431.2A priority Critical patent/CN111552432B/en
Publication of CN111552432A publication Critical patent/CN111552432A/en
Application granted granted Critical
Publication of CN111552432B publication Critical patent/CN111552432B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06F3/0488Interaction 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0484Interaction 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/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0484Interaction 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/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an electronic equipment screen operation system and method, comprising a data acquisition module, a touch point judgment module and a mode switching module, wherein the data acquisition module is used for acquiring touch point information on a touch screen, the touch point judgment module is used for judging the operation mode of the current touch screen page according to the touch point information, and corresponding page operation is executed through the mode switching module according to the touch point information, so that the functions of handwriting input, translation, scaling, screenshot and the like on the touch screen are realized by simply changing the number of points of screen contact and the sliding direction of fingers, cumbersome switching operation is avoided, the operation process of a user is greatly simplified, the operation of the touch screen is simpler and more understandable, convenience and flexibility are realized, the error rate of operation is reduced, the switching time is saved, and the practicability of electronic equipment is improved.

Description

一种电子设备屏幕操作系统及方法An electronic device screen operating system and method

技术领域technical field

本发明涉及电子设备技术领域,更具体的说是涉及一种电子设备屏幕操作系统及方法。The present invention relates to the technical field of electronic equipment, and more specifically relates to an electronic equipment screen operating system and a method thereof.

背景技术Background technique

目前,随着电子科技的快速发展,电子终端设备的使用已经普及,人们的日常生活交流也越来越依赖于电子终端设备,例如日常使用的手机和平板电脑等,随着时代的发展演变的越来越智能和简便,操作方式更加简单易操作且功能强大,目前电子终端设备基本是触摸屏的设置,用户直接通过在触摸屏上点击或滑动等完成各项操作,现有功能操作和切换多采用点击菜单显示项目的形式完成,如果所有功能菜单显示在同一页面上则容易导致误操作,如果将不同功能菜单分别显示在不同页面上,则功能切换操作则会变的相对复杂繁琐,影响用户使用感受。At present, with the rapid development of electronic technology, the use of electronic terminal equipment has become popular, and people's daily communication is increasingly dependent on electronic terminal equipment, such as mobile phones and tablet computers in daily use. It is becoming more and more intelligent and simple, and the operation method is more simple, easy to operate and powerful. At present, the electronic terminal equipment is basically set up with a touch screen. Users can directly complete various operations by clicking or sliding on the touch screen. Most of the existing function operations and switching Click the menu to display the items. If all function menus are displayed on the same page, it will easily lead to misoperation. If different function menus are displayed on different pages, the function switching operation will become relatively complicated and cumbersome, which will affect the use of users. feel.

因此,如何实现触摸屏电子设备的简单快速页面操作是本领域技术人员亟需解决的问题。Therefore, how to realize the simple and fast page operation of the touch screen electronic device is an urgent problem to be solved by those skilled in the art.

发明内容Contents of the invention

有鉴于此,本发明提供了一种电子设备屏幕操作系统及方法,通过采集触摸屏上的触控点信息,根据触控点信息判断当前触摸屏页面进入的操作模式,并根据触控点信息执行相应的页面操作,从而实现通过简单的改变屏幕接触的点数以及手指滑动的方向实现触摸屏上的手写输入、平移、缩放和截图等功能,避免了繁琐的切换操作,极大的简化了用户的操作过程,使得触摸屏的操作更加简单易懂、方便灵活,同时降低了操作的失误率,节省了切换时间,提高了电子设备的实用性。In view of this, the present invention provides an electronic device screen operating system and method, by collecting touch point information on the touch screen, judging the current operation mode of the touch screen page according to the touch point information, and executing the corresponding operation mode according to the touch point information Page operation, so as to realize the handwriting input, pan, zoom and screenshot functions on the touch screen by simply changing the number of touch points on the screen and the direction of finger sliding, avoiding cumbersome switching operations and greatly simplifying the user's operation process , making the operation of the touch screen more simple, easy to understand, convenient and flexible, and at the same time reducing the error rate of the operation, saving the switching time, and improving the practicability of the electronic equipment.

为了实现上述目的,本发明采用如下技术方案:In order to achieve the above object, the present invention adopts the following technical solutions:

一种电子设备屏幕操作方法,包括如下步骤:A method for operating a screen of an electronic device, comprising the steps of:

步骤1:采集触摸屏在绘制状态下的触控点信息;Step 1: Collect the touch point information of the touch screen in the drawing state;

步骤2:根据所述触控点信息判断当前操作为手写状态或页面操作状态,如果为所述页面操作状态则进入所述步骤4;Step 2: According to the touch point information, it is judged that the current operation is a handwriting state or a page operation state, and if it is the page operation state, then enter the step 4;

根据所述触控点个数判断当前所述操作为所述手写状态或所述页面操作状态,若所述触控点个数为1,则进入所述步骤3中;如果所述触控点个数大于或等于2,则进入所述步骤4中;Judging that the current operation is the handwriting state or the page operation state according to the number of the touch points, if the number of the touch points is 1, enter the step 3; if the touch points number is greater than or equal to 2, then enter the step 4;

步骤3:根据所述触控点信息进行书写模式切换;Step 3: switch the writing mode according to the touch point information;

步骤31:根据当前所述触控点的所述位置信息判断所述触控点是否位于绘制区域内,如果所述触控点不在所述绘制区域内则进入所述步骤1继续进行采集;Step 31: Judging whether the touch point is located in the drawing area according to the position information of the current touch point, if the touch point is not in the drawing area, proceed to the step 1 to continue collecting;

步骤32:根据所述触控时间判断进入手写模式或悬浮窗模式,如果所述触控时间小于模式判断时间则进行所述手写模式;否则进入所述悬浮窗模式进入步骤34;Step 32: Judging to enter the handwriting mode or floating window mode according to the touch time, if the touch time is less than the mode judgment time, proceed to the handwriting mode; otherwise, enter the floating window mode and enter step 34;

步骤33:根据所述位置信息形成所述触控点的运动轨迹,判断是否移动,如果是则所述触摸屏显示绘制所述触控点的轨迹;如果否则所述触摸屏以墨迹形式显示所述触控点的停留点,并进入所述步骤5;Step 33: Form the movement track of the touch point according to the position information, and judge whether it moves, if yes, the touch screen displays and draws the track of the touch point; otherwise, the touch screen displays the touch point in ink Control point of the stay point, and enter the step 5;

步骤34:自动选取所述触控点前后相关信息块,并在悬浮窗内显示所述信息块,并进入所述步骤5;Step 34: Automatically select related information blocks before and after the touch point, display the information blocks in the floating window, and enter the step 5;

步骤4:根据所述触控点信息进行操作模式切换;Step 4: switch the operation mode according to the touch point information;

步骤41:根据所述触控时间判断进入平移缩放模式或截图模式;如果所述触控时间小于模式判断时间,则进入所述平移缩放模式;否则进入所述截图模式,进入所述步骤43:Step 41: Enter the pan zoom mode or screenshot mode according to the touch time; if the touch time is less than the mode judgment time, enter the pan zoom mode; otherwise, enter the screenshot mode and enter step 43:

步骤42:根据所述触控点的所述位置信息生成运动轨迹,根据所述运动轨迹判断所述触控点的移动方向是否相同,如果相同则页面根据所述运动轨迹进行平移,否则根据所有所述触控点的所述位置信息判断进入等比例缩放模式或自由缩放模式;当所述触控点分布方位数大于等于三个,进入所述等比例缩放模式;否则进入所述自由缩放模式,以所述触控点所在方位为变化轴进行自由缩放变化,根据所述触控点变化完成缩放,并进入所述步骤5;Step 42: Generate a movement trajectory according to the position information of the touch point, judge whether the moving directions of the touch points are the same according to the movement trajectory, if they are the same, the page is translated according to the movement trajectory, otherwise according to all The position information of the touch point determines whether to enter the proportional scaling mode or the free scaling mode; when the distribution of the touch points is greater than or equal to three, enter the proportional scaling mode; otherwise, enter the free scaling mode , using the orientation of the touch point as the change axis to freely zoom and change, complete the zoom according to the change of the touch point, and enter the step 5;

步骤43:在所述触摸屏的绘制区域出现截图框,通过单个所述触控点滑动改变所述截图框的边框位置,完成截图;Step 43: A screenshot frame appears in the drawing area of the touch screen, and the border position of the screenshot frame is changed by sliding a single touch point to complete the screenshot;

步骤5:当前所述触摸屏是否存在所述触控点信息,如果存在所述触控点信息则返回所述步骤2,否则操作完成。Step 5: Whether there is the touch point information on the touch screen at present, if there is the touch point information, return to the step 2, otherwise the operation is completed.

优选的,所述步骤1中的所述触控点信息包括触控点个数、触控时间和位置信息。Preferably, the touch point information in the step 1 includes touch point number, touch time and position information.

优选的,所述平移过程为根据所述触控点的所述运动轨迹构成一条直线,根据所述直线判断运动方向,通过所有所述触控点同方向连续的直线滑动实现在多点触控状态上下左右平移。Preferably, the translation process is to form a straight line according to the motion trajectory of the touch points, judge the direction of motion according to the straight line, and realize the multi-touch operation by sliding all the touch points in the same direction in a continuous straight line. The state pans up, down, left, and right.

优选的,所述等比缩放模式为,通过所有所述触控点的所述运动轨迹的远近距离变化进行页面的放大或缩小,当所述触控点离开所述触摸屏,所述页面保持在所述触控点最后改变的状态。Preferably, the proportional zoom mode is to zoom in or out of the page through the distance changes of the motion tracks of all the touch points, and when the touch points leave the touch screen, the page remains on the The last changed state of the touch point.

一种电子设备屏幕操作系统,包括数据采集模块、触控点判断模块和模式切换模块;An electronic device screen operating system, including a data acquisition module, a touch point judgment module and a mode switching module;

所述数据采集模块采集触摸屏上的触控点信息,并将所述触控点信息传输至所述触控点判断模块和所述模式切换模块;The data collection module collects touch point information on the touch screen, and transmits the touch point information to the touch point judging module and the mode switching module;

所述触控点判断模块根据所述触控点信息和预设的模式判断时间进行模式判断,并将判断结果传输至所述模式切换模块;The touch point judgment module performs mode judgment according to the touch point information and the preset mode judgment time, and transmits the judgment result to the mode switching module;

所述模式切换模块根据所述判断结果切换当前操作模式,并根据所述触控点信息生成运动轨迹,根据所述运动轨迹执行当前所述操作模式。The mode switching module switches the current operation mode according to the judgment result, and generates a movement trajectory according to the touch point information, and executes the current operation mode according to the movement trajectory.

经由上述的技术方案可知,与现有技术相比,本发明公开提供了一种电子设备屏幕操作系统及方法,包括数据采集模块、触控点判断模块和模式切换模块,通过数据采集模块对触摸屏上触控点的检测采集,通过触控点判断模块判断用户意图,根据触控点信息中触控点个数、触控时间和位置信息等信息判断需要切换的页面操作,通过模式切换模块执行页面操作。当为单点触控时进入手写模式,再根据触控时间判断是书写状态还是对书写文字选中在悬浮窗显示状态,处于书写状态时根据位置信息生成运动轨迹,从而根据运动轨迹生成书写线条进行显示;当为多点触控时为页面操作模式,所有触控点同向移动则对页面进行平移操作,当触控点具有相向运动时为缩小页面操作,具有背向运动时为放大页面操作,同时根据触控点分布位置不同可以自动选择进行等比例缩放还是自由缩放,触控点分布方位大于等于三个时为等比例缩放,分布方位为两个时,分布在页面上下位置时可进行高度缩放,分布在页面左右时可进行宽度缩放。因此本发明基于触摸屏上触控点的信息根据简单的手势实现页面操作切换,避免了点击菜单切换的繁琐性和降低了误操作率,使得电子设备使用更加简便快捷。It can be seen from the above-mentioned technical solutions that, compared with the prior art, the present invention discloses an electronic device screen operating system and method, including a data acquisition module, a touch point judgment module and a mode switching module. The detection and collection of the upper touch point, judge the user's intention through the touch point judgment module, judge the page operation that needs to be switched according to the number of touch points, touch time and position information in the touch point information, and execute it through the mode switching module page operations. Enter the handwriting mode when it is single-touch, and then judge whether it is in the writing state or select the writing text in the floating window display state according to the touch time. When in the writing state, the motion track is generated according to the position information, so that the writing line is generated according to the motion track. Display; when it is multi-touch, it is the page operation mode. If all the touch points move in the same direction, the page will be translated. When the touch points move in the opposite direction, the page will be zoomed out. At the same time, according to the different distribution positions of the touch points, it can automatically choose whether to perform proportional scaling or free scaling. When the distribution orientation of the touch points is greater than or equal to three, it will be proportional scaling. Height scaling, width scaling when distributed on the left and right of the page. Therefore, the present invention implements page operation switching based on the information of touch points on the touch screen according to simple gestures, avoids the cumbersomeness of clicking menu switching and reduces the misoperation rate, and makes the use of electronic devices easier and faster.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention, and those skilled in the art can also obtain other drawings according to the provided drawings without creative work.

图1附图为本发明提供的电子设备屏幕操作方法流程图。FIG. 1 is a flow chart of an electronic device screen operation method provided by the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明实施例公开了一种电子设备屏幕操作方法,包括如下S:The embodiment of the present invention discloses an electronic device screen operation method, including the following S:

S1:采集触摸屏在绘制状态下的触控点信息;S1: Collect the touch point information of the touch screen in the drawing state;

S2:根据触控点信息判断当前操作为手写状态或页面操作状态,如果为页面操作状态则进入S4;S2: According to the touch point information, it is judged that the current operation is a handwriting state or a page operation state, and if it is a page operation state, go to S4;

根据触控点个数判断当前操作为手写状态或页面操作状态,若触控点个数为1,则进入S3中;如果触控点个数大于或等于2,则进入S4中;According to the number of touch points, it is judged that the current operation is a handwriting state or a page operation state. If the number of touch points is 1, enter S3; if the number of touch points is greater than or equal to 2, then enter S4;

S3:根据触控点信息进行书写模式切换;S3: switch the writing mode according to the touch point information;

S31:根据当前触控点的位置信息判断触控点是否位于绘制区域内,如果触控点不在绘制区域内则进入S1继续进行采集;S31: Determine whether the touch point is located in the drawing area according to the position information of the current touch point, if the touch point is not in the drawing area, enter S1 to continue collecting;

触控点坐标为(x,y),和绘制区域Rect(L,T,R,B)进行位置判断,其中L为整个绘制区域的左侧位置,T为整个绘制区域的顶部位置,R为整个绘制区域的右侧位置,B为整个绘制区域的底部位置,如果L<y<B并且T<y<B则认定触控点在绘制区域内,否则不再绘制区域内;The coordinates of the touch point are (x, y), and the position is judged with the drawing area Rect(L, T, R, B), where L is the left position of the entire drawing area, T is the top position of the entire drawing area, and R is The right position of the entire drawing area, B is the bottom position of the entire drawing area, if L<y<B and T<y<B, it is determined that the touch point is in the drawing area, otherwise it is no longer in the drawing area;

S32:根据触控时间判断进入手写模式或悬浮窗模式,如果触控时间小于模式判断时间则进行手写模式;否则进入悬浮窗模式进入S34;S32: Enter the handwriting mode or the floating window mode according to the touch time judgment, if the touch time is less than the mode judgment time, go to the handwriting mode; otherwise, enter the floating window mode and enter S34;

S33:根据位置信息形成触控点的运动轨迹,判断是否移动,如果是则触摸屏显示绘制触控点的轨迹;如果否当触控实现小于模式判断时间则触摸屏以墨迹形式显示触控点的停留点,并进入S5;S33: Form the trajectory of the touch point according to the position information, and judge whether it is moving. If so, the touch screen will display and draw the trajectory of the touch point; if not, the touch screen will display the stay of the touch point in the form of ink marks point, and enter S5;

S34:自动选取触控点前后相关信息块,并在悬浮窗内显示信息块,可以选择复制悬浮窗内的信息块,粘贴至手写文本中,可以节约书写时间,同时信息块在悬浮窗内可以进行放大显示,便于查找、修改书写错误,显示完成后可以进入S5;S34: Automatically select relevant information blocks before and after the touch point, and display the information blocks in the floating window. You can choose to copy the information blocks in the floating window and paste them into the handwritten text, which can save writing time. At the same time, the information blocks can be displayed in the floating window. Enlarged display, easy to find and correct writing errors, after the display is completed, you can enter S5;

S4:根据触控点信息进行操作模式切换;S4: switch the operation mode according to the touch point information;

S41:根据触控时间判断进入平移缩放模式或截图模式;如果触控时间小于模式判断时间,则进入平移缩放模式;否则进入截图模式,进入S43:S41: Enter the pan zoom mode or screenshot mode according to the touch time judgment; if the touch time is less than the mode judgment time, enter the pan zoom mode; otherwise, enter the screenshot mode, and enter S43:

S42:根据触控点的位置信息生成运动轨迹,根据运动轨迹判断触控点的移动方向是否相同,如果相同则页面根据运动轨迹进行平移,否则根据所有触控点的位置信息判断进入等比例缩放模式或自由缩放模式;当触控点分布方位数大于等于三个,进入等比例缩放模式;否则进入自由缩放模式,以触控点所在方位为变化轴进行自由缩放变化,根据触控点变化完成缩放,并进入S5;S42: Generate motion trajectories according to the position information of the touch points, judge whether the moving directions of the touch points are the same according to the motion trajectories, and if they are the same, translate the page according to the motion trajectories, otherwise, judge to enter equal scaling according to the position information of all touch points mode or free scaling mode; when the number of touch point distribution orientations is greater than or equal to three, enter the proportional scaling mode; otherwise, enter the free scaling mode, and use the orientation of the touch points as the change axis to perform free scaling changes, and complete according to the changes of the touch points Zoom, and enter S5;

触控点坐标包括A(x1,y1),B(x2,y2),...,N(xN,yN),以两个触控点A和B为例,如果A(x1,y1)和B(x2,y2)同时满足B>A,并且x2>x1,y2>y1,A点坐标递减,B点坐标递增,这样为随着两点距离的背向运动,沿触控点滑动轨迹实现页面放大;当两个触控点向内靠拢即A(x1,y1)和B(x2,y2)同时满足B>A,并且x2>x1,y2>y1,A点坐标递增,B点坐标递减,这样为两点之间相向运动,实现页面沿触控点滑动轨迹缩小;The touch point coordinates include A(x1, y1), B(x2, y2), ..., N(xN, yN), taking two touch points A and B as an example, if A(x1, y1) and B(x2, y2) satisfies B>A at the same time, and x2>x1, y2>y1, the coordinates of point A decrease, and the coordinates of point B increase. In this way, the distance between the two points moves along the sliding track of the touch point. The page is zoomed in; when the two touch points move inward, that is, A(x1, y1) and B(x2, y2) satisfy B>A at the same time, and x2>x1, y2>y1, the coordinates of point A increase and the coordinates of point B decrease , so that the two points move toward each other, and the page shrinks along the sliding track of the touch point;

等比缩放模式,为随着触控点滑动的相互排斥偏离实现页面整体向四周延展放大即向四个方向延展,随着触控点滑动相互吸引靠近实现页面整体向中心缩小,即向四个方向紧缩;The proportional zoom mode is to realize the overall extension and enlargement of the page to the four directions with the mutual exclusion and deviation of the sliding touch points, and to realize the overall zooming out of the page to the center as the touch points slide and attract each other, that is, to the four directions. direction tightening;

自由缩放模式,为当存在上下两个方位的触控点时,通过两个相对触控点的相互靠近实现高度压缩,通过两个相对触控点的相互远离实现高度扩展;当存在左右两个方位的触控点时,通过相对触控点的相互靠近实现宽度的压缩,通过相对触控点的相互远离实现宽度扩展;Free scaling mode, when there are touch points in the upper and lower directions, the high compression can be realized by the closeness of the two relative touch points, and the high expansion can be realized by the mutual distance of the two relative touch points; when there are two left and right For azimuth touch points, the width is compressed by the relative touch points approaching each other, and the width expansion is realized by the relative touch points being far away from each other;

S43:在触摸屏的绘制区域出现截图框,通过单个触控点滑动改变截图框的边框位置,完成截图;页面四周出现四条边框组成的截图框,可以通过单个触控点拖动边框移动,实现截图框面积的改变;S43: A screenshot frame appears in the drawing area of the touch screen, and the border position of the screenshot frame is changed by sliding a single touch point to complete the screenshot; a screenshot frame composed of four borders appears around the page, and the frame can be moved by dragging a single touch point to realize the screenshot change in frame area;

S5:当前触摸屏是否存在触控点信息,如果存在触控点信息则返回S2,否则操作完成。S5: Whether there is touch point information on the current touch screen, if there is touch point information, return to S2, otherwise the operation is completed.

为了进一步优化上述技术方案,S1中的触控点信息包括触控点个数、触控时间和位置信息。In order to further optimize the above technical solution, the touch point information in S1 includes the number of touch points, touch time and location information.

为了进一步优化上述技术方案,平移过程为根据触控点的运动轨迹构成一条直线,根据直线判断运动方向,通过所有触控点同方向连续的直线滑动实现在多点触控状态上下左右平移。In order to further optimize the above technical solution, the translation process is to form a straight line according to the motion trajectory of the touch points, judge the direction of motion according to the straight line, and realize up, down, left, and right translation in the multi-touch state through continuous linear sliding of all touch points in the same direction.

为了进一步优化上述技术方案,等比缩放模式为,通过所有触控点的运动轨迹的远近距离变化进行页面的放大或缩小,当触控点离开触摸屏,页面保持在触控点最后改变的状态。In order to further optimize the above technical solution, the proportional zoom mode is to enlarge or shrink the page through the distance changes of the movement trajectories of all touch points. When the touch point leaves the touch screen, the page remains in the last changed state of the touch point.

一种电子设备屏幕操作系统,包括数据采集模块、触控点判断模块和模式切换模块;An electronic device screen operating system, including a data acquisition module, a touch point judgment module and a mode switching module;

数据采集模块采集触摸屏上的触控点信息,并将触控点信息传输至触控点判断模块和模式切换模块;The data acquisition module collects the touch point information on the touch screen, and transmits the touch point information to the touch point judgment module and the mode switching module;

触控点判断模块根据触控点信息和预设的模式判断时间进行模式判断,并将判断结果传输至模式切换模块;The touch point judgment module performs mode judgment according to the touch point information and the preset mode judgment time, and transmits the judgment result to the mode switching module;

模式切换模块根据判断结果切换当前操作模式,并根据触控点信息生成运动轨迹,根据运动轨迹执行当前操作模式。The mode switching module switches the current operation mode according to the judgment result, generates a movement trajectory according to the touch point information, and executes the current operation mode according to the movement trajectory.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for relevant details, please refer to the description of the method part.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (4)

1.一种电子设备屏幕操作方法,其特征在于,包括如下步骤:1. A method for operating the screen of an electronic device, comprising the steps of: 步骤1:采集触摸屏在绘制状态下的触控点信息;步骤1中的所述触控点信息包括触控点个数、触控时间和位置信息;Step 1: Collect the touch point information of the touch screen in the drawing state; the touch point information in step 1 includes the number of touch points, touch time and position information; 步骤2:根据所述触控点信息判断当前操作为手写状态或页面操作状态,如果为所述页面操作状态则进入步骤4;Step 2: According to the touch point information, it is judged that the current operation is a handwriting state or a page operation state, and if it is the page operation state, then enter step 4; 根据所述触控点个数判断当前所述操作为所述手写状态或所述页面操作状态,若所述触控点个数为1,则进入步骤3中;如果所述触控点个数大于或等于2,则进入步骤4中;Judging that the current operation is the handwriting state or the page operation state according to the number of touch points, if the number of touch points is 1, enter step 3; if the number of touch points is If it is greater than or equal to 2, go to step 4; 步骤3:根据所述触控点信息进行书写模式切换,进入步骤5;Step 3: switch the writing mode according to the touch point information, and enter step 5; 步骤31:根据当前所述触控点的位置信息判断所述触控点是否位于绘制区域内,如果所述触控点不在所述绘制区域内则进入所述步骤1继续进行采集;Step 31: Judging whether the touch point is located in the drawing area according to the current position information of the touch point, if the touch point is not in the drawing area, enter the step 1 to continue collecting; 步骤32:根据所述触控时间判断进入手写模式或悬浮窗模式,如果所述触控时间小于模式判断时间则进行所述手写模式;否则进入所述悬浮窗模式进入步骤34;Step 32: Judging to enter the handwriting mode or floating window mode according to the touch time, if the touch time is less than the mode judgment time, proceed to the handwriting mode; otherwise, enter the floating window mode and enter step 34; 步骤33:根据所述位置信息形成所述触控点的运动轨迹,判断是否移动,如果是则所述触摸屏显示绘制所述触控点的轨迹;如果否当所述触控时间小于所述模式判断时间则所述触摸屏以墨迹形式显示所述触控点的停留点,并进入步骤5;Step 33: Form the trajectory of the touch point according to the position information, and judge whether it moves, if yes, the touch screen displays and draws the trajectory of the touch point; if not, the touch time is less than the mode When judging the time, the touch screen displays the stay point of the touch point in the form of ink marks, and enters step 5; 步骤34:自动选取触控点前后相关信息块,并在悬浮窗内显示信息块,还具备以下功能,选择复制悬浮窗内的信息块,粘贴至手写文本中,节约书写时间,同时信息块在悬浮窗内进行放大显示,便于查找、修改书写错误,显示完成后进入步骤5;Step 34: Automatically select relevant information blocks before and after the touch point, and display the information blocks in the floating window. It also has the following functions. Select to copy the information blocks in the floating window and paste them into the handwritten text to save writing time. At the same time, the information blocks are in the Enlarge the display in the floating window, which is convenient for searching and correcting writing errors. After the display is completed, go to step 5; 步骤4:根据所述触控点信息进行操作模式切换;Step 4: switch the operation mode according to the touch point information; 步骤41:根据所述触控时间判断进入平移缩放模式或截图模式;如果所述触控时间小于模式判断时间,则进入所述平移缩放模式;否则进入所述截图模式,进入步骤43;Step 41: Enter the pan zoom mode or screenshot mode according to the touch time; if the touch time is less than the mode judgment time, enter the pan zoom mode; otherwise, enter the screenshot mode and enter step 43; 步骤42:根据所述触控点的所述位置信息生成运动轨迹,根据所述运动轨迹判断所述触控点的移动方向是否相同,如果相同则页面根据所述运动轨迹进行平移,否则根据所有所述触控点的所述位置信息判断进入等比例缩放模式或自由缩放模式;当所述触控点分布方位数大于等于三个,进入所述等比例缩放模式;否则进入所述自由缩放模式,以所述触控点所在方位为变化轴进行自由缩放变化,根据所述触控点变化完成缩放,并进入步骤5;Step 42: Generate a movement trajectory according to the position information of the touch point, judge whether the moving directions of the touch points are the same according to the movement trajectory, if they are the same, the page is translated according to the movement trajectory, otherwise according to all The position information of the touch point determines whether to enter the proportional scaling mode or the free scaling mode; when the distribution of the touch points is greater than or equal to three, enter the proportional scaling mode; otherwise, enter the free scaling mode , using the orientation of the touch point as the change axis to freely zoom and change, complete the zoom according to the change of the touch point, and enter step 5; 步骤43:在所述触摸屏的绘制区域出现截图框,通过单个触控点滑动改变截图框的边框位置,完成截图;页面四周出现四条边框组成的截图框,通过单个触控点拖动边框移动,实现截图框面积的改变;Step 43: A screenshot frame appears in the drawing area of the touch screen, and the frame position of the screenshot frame is changed by sliding a single touch point to complete the screenshot; a screenshot frame composed of four borders appears around the page, and the frame is moved by dragging a single touch point, Realize the change of screenshot frame area; 步骤5:当前所述触摸屏是否存在所述触控点信息,如果存在所述触控点信息则返回所述步骤2,否则操作完成。Step 5: Whether there is the touch point information on the touch screen at present, if there is the touch point information, return to the step 2, otherwise the operation is completed. 2.根据权利要求1所述的一种电子设备屏幕操作方法,其特征在于,所述平移过程为根据所述触控点的所述运动轨迹构成一条直线,根据所述直线判断运动方向,通过所有所述触控点同方向连续的直线滑动实现在多点触控状态上下左右平移。2. The method for operating the screen of an electronic device according to claim 1, wherein the translation process is to form a straight line according to the motion track of the touch point, and judge the direction of motion according to the straight line, and pass The continuous linear sliding of all the touch points in the same direction realizes the up, down, left, and right translation in the multi-touch state. 3.根据权利要求1所述的一种电子设备屏幕操作方法,其特征在于,等比缩放模式为,通过所有所述触控点的所述运动轨迹的远近距离变化进行页面的放大或缩小,当所述触控点离开所述触摸屏,所述页面保持在所述触控点最后改变的状态。3. The method for operating the screen of an electronic device according to claim 1, wherein the proportional zoom mode is to zoom in or zoom out the page by changing the distances of the motion trajectories of all the touch points, When the touch point leaves the touch screen, the page remains in the last changed state of the touch point. 4.一种电子设备屏幕操作系统,其特征在于,包括数据采集模块、触控点判断模块和模式切换模块;4. An electronic device screen operating system, characterized in that it includes a data acquisition module, a touch point judgment module and a mode switching module; 所述数据采集模块采集触摸屏上的触控点信息,并将所述触控点信息传输至所述触控点判断模块和所述模式切换模块;The data collection module collects touch point information on the touch screen, and transmits the touch point information to the touch point judging module and the mode switching module; 所述触控点判断模块根据所述触控点信息和预设的模式判断时间进行模式判断,并将判断结果传输至所述模式切换模块;The touch point judgment module performs mode judgment according to the touch point information and the preset mode judgment time, and transmits the judgment result to the mode switching module; 所述模式切换模块根据所述判断结果切换当前操作模式,并根据所述触控点信息生成运动轨迹,根据所述运动轨迹执行当前所述操作模式。The mode switching module switches the current operation mode according to the judgment result, and generates a movement trajectory according to the touch point information, and executes the current operation mode according to the movement trajectory.
CN202010370431.2A 2020-04-29 2020-04-29 Screen operation system and method for electronic equipment Expired - Fee Related CN111552432B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010370431.2A CN111552432B (en) 2020-04-29 2020-04-29 Screen operation system and method for electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010370431.2A CN111552432B (en) 2020-04-29 2020-04-29 Screen operation system and method for electronic equipment

Publications (2)

Publication Number Publication Date
CN111552432A CN111552432A (en) 2020-08-18
CN111552432B true CN111552432B (en) 2023-06-09

Family

ID=72004236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010370431.2A Expired - Fee Related CN111552432B (en) 2020-04-29 2020-04-29 Screen operation system and method for electronic equipment

Country Status (1)

Country Link
CN (1) CN111552432B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114201064A (en) * 2020-09-17 2022-03-18 元太科技工业股份有限公司 Touch display and control method of display mode thereof

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106980408A (en) * 2017-03-27 2017-07-25 珠海市魅族科技有限公司 touch control method and device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7469381B2 (en) * 2007-01-07 2008-12-23 Apple Inc. List scrolling and document translation, scaling, and rotation on a touch-screen display
CN102572990B (en) * 2012-02-28 2016-08-03 华为终端有限公司 The method of multimode switching and multimode terminal
CN103513865A (en) * 2013-04-27 2014-01-15 展讯通信(上海)有限公司 Touch control equipment and method and device for controlling touch control equipment to configure operation mode
CN103389876A (en) * 2013-07-04 2013-11-13 深圳市创凯电子有限公司 Function switching method based on touch display equipment and touch display equipment
CN104750495B (en) * 2015-04-08 2018-09-14 魅族科技(中国)有限公司 A kind of screenshot method and device
CN104869230B (en) * 2015-04-23 2016-05-25 努比亚技术有限公司 Method for controlling mobile terminal and device
CN105224234B (en) * 2015-10-28 2019-06-07 努比亚技术有限公司 Content of text selection method and mobile terminal
CN105573658A (en) * 2016-02-01 2016-05-11 西安睿尚信息科技有限公司 Method and system for switching input, page moving and page scaling on basis of handwriting

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106980408A (en) * 2017-03-27 2017-07-25 珠海市魅族科技有限公司 touch control method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Touch pointer: rethink point-and-click for accurate indirect touch interactions on small touchscreens;Taekyoung Kwon;《IEEE Transactions on Consumer Electronics ( Volume: 60, Issue: 3, August 2014)》;285-293 *
触屏时代手势交互形式与发展研究;王超;《艺术与设计(理论)》;92-94 *

Also Published As

Publication number Publication date
CN111552432A (en) 2020-08-18

Similar Documents

Publication Publication Date Title
JP7146977B2 (en) Method and apparatus for controlling electronic equipment using gestures
JP5721662B2 (en) Input receiving method, input receiving program, and input device
CN102760026B (en) A kind of touch screen interface display packing, display device and a kind of touch panel device
US7966573B2 (en) Method and system for improving interaction with a user interface
CN103412725B (en) A kind of touch operation method and device
JP4215549B2 (en) Information processing device that operates in touch panel mode and pointing device mode
CN102446032B (en) Information input method and terminal based on camera
CN103207750B (en) The method of icon convergent-divergent and device
TWI450128B (en) Gesture detecting method, gesture detecting system and computer readable storage medium
US9594432B2 (en) Electronic device, control setting method and program
US20150154444A1 (en) Electronic device and method
CN110727496B (en) Layout method and device of graphical user interface, electronic equipment and storage medium
CN105446673A (en) Screen display method and terminal device
CN101727261A (en) Page operation method and electronic device
CN103425394A (en) Method and device for changing icon position for touch screen
KR101885132B1 (en) Apparatus and method for input by touch in user equipment
CN105824531A (en) Method and device for adjusting numbers
TWI490774B (en) Controlling method for locking zoomed area of browsing page of touch-controlled device
WO2017032193A1 (en) User interface layout adjustment method and apparatus
CN102467285A (en) Method for continuing multi-finger gesture on touch pad
CN103092412B (en) Mobile terminal and the display packing of mobile terminal operation object
CN110069205A (en) Writing track adjusting method and device, terminal equipment and storage medium
CN111552432B (en) Screen operation system and method for electronic equipment
CN104951437A (en) Data translation method and system based on touch screen terminal
CN113010130B (en) Remote large-screen interaction control method based on image stream

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20230609