CN102799576B - The method and device of different ranks operation indicating is given in electrical form - Google Patents

The method and device of different ranks operation indicating is given in electrical form Download PDF

Info

Publication number
CN102799576B
CN102799576B CN201210232066.4A CN201210232066A CN102799576B CN 102799576 B CN102799576 B CN 102799576B CN 201210232066 A CN201210232066 A CN 201210232066A CN 102799576 B CN102799576 B CN 102799576B
Authority
CN
China
Prior art keywords
operation indicating
angular range
angle
electrical form
different ranks
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210232066.4A
Other languages
Chinese (zh)
Other versions
CN102799576A (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.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201210232066.4A priority Critical patent/CN102799576B/en
Publication of CN102799576A publication Critical patent/CN102799576A/en
Application granted granted Critical
Publication of CN102799576B publication Critical patent/CN102799576B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides a kind of method and device providing different ranks operation indicating in electrical form, and the method comprises the following steps: calculate on touch screen the angle between line and the horizontal line between two touch points;By described angle compared with the first angular range preset, the second angular range, if described angle is positioned at described first angular range, then give trip operation indicating;If described angle is positioned at described second angular range, then give operation indicating of falling out.The method and device providing different ranks operation indicating in electrical form of the present invention, takes into full account and simulates the operating habit of user, more meets the in-mind anticipation of user, thus brings conveniently to the operation of user.

Description

The method and device of different ranks operation indicating is given in electrical form
Technical field
The present invention relates to office software field, particularly relate to a kind of difference ranks that provide in electrical form and grasp Make the method pointed out and a kind of device providing different ranks operation indicating in electrical form.
Background technology
When on the touchscreen electrical form being operated, the actual demand write due to content, it is often necessary to Electrical form is carried out the operations such as additions and deletions ranks.
Prior art, when user uses two finger length by time on the touchscreen, carries first can to trip operation Show;Time on this basis if it find that two fingers of user have the trend moved left and right, then can give dequeue operation Prompting.
But, the above-mentioned method providing ranks operation indicating, there is a defect, i.e. when giving trip operation During prompting, owing to the action of row operation is the most obscure, it is easy to cause the unknowable situation of user to occur, Do not meet the mental model of user.Similar mental model, such as, need to open a fan window in life, have Window be that left and right is opened, some windows are opened up and down, if opening the window that a fan is opened up and down as user Time, allow again user go to left and right to draw, the most substantially do not meet the in-mind anticipation of user, bring to the operation of user Many inconvenience.
Summary of the invention
Based on this, it is necessary to provide the method for ranks operation indicating for above-mentioned tradition and do not meet the psychology of user Expection, the problem causing user operation inconvenience, it is provided that a kind of difference ranks that are given in electrical form operate The method and device of prompting.
For achieving the above object, the present invention adopts the following technical scheme that:
A kind of method providing different ranks operation indicating in electrical form, comprises the following steps:
Calculate on touch screen the angle between line and the horizontal line between two touch points;
By described angle compared with the first angular range preset, the second angular range, if described angle position In described first angular range, then give trip operation indicating;If described angle is positioned at described second angle model In enclosing, then give operation indicating of falling out.
A kind of device providing different ranks operation indicating in electrical form, including:
Angle calcu-lation module, for calculating on touch screen between line and the horizontal line between two touch points Angle;
Comparison and reminding module, for by described angle and the first angular range preset, the second angular range Compare, if described angle is positioned at described first angular range, then give trip operation indicating;If described folder Angle is positioned at described second angular range, then give operation indicating of falling out.
By above scheme it can be seen that the side providing different ranks operation indicating in electrical form of the present invention Method and device, take into full account and simulate the operating habit of user, it is possible to according to user two in electrical form Between finger line and horizontal line, different finally comparison of angle draws different row, column operation indicatings, no No matter being same as two finger angles in traditional method the most first to go out existing operation indicating, need two fingers left and right again Could there is the mode of operation of row operation indicating in movement, and the method and device that the present invention provides more meets user's In-mind anticipation, thus bring conveniently to the operation of user.
Accompanying drawing explanation
Fig. 1 is the flow process signal of a kind of method providing different ranks operation indicating in electrical form of the present invention Figure;
Fig. 2 is two finger long-pressing gesture, entering can the editing mode schematic diagram of additions and deletions row;
Fig. 3 be two finger long-pressing gesture, enter can additions and deletions row editing mode schematic diagram;
Fig. 4 by with finger be the center of circle, the interval schematic diagram made by radius of another finger;
Fig. 5 by with finger be the center of circle, another interval schematic diagram of being made by radius of another finger;
Fig. 6 is the structural representation of a kind of device providing different ranks operation indicating in electrical form of the present invention Figure.
Detailed description of the invention
Below in conjunction with the accompanying drawings and specific embodiment, technical scheme is further described.
Shown in Figure 1, a kind of method providing different ranks operation indicating in electrical form, including with Lower step:
Step S101, when user uses two fingers to operate electrical form on the touchscreen, calculates Angle between line and horizontal line between two touch points on touch screen.The process of above-mentioned calculating angle belongs to In known technology, the present invention, it will not go into details.
Step S102, by described angle compared with the first angular range preset, the second angular range.Ratio A result is had: if a described angle is positioned at the first default angular range, then give trip behaviour after relatively Point out;If two described angles are positioned at the second default angular range, then give operation indicating of falling out.
As a preferable embodiment, described first angular range could be arranged to: [0, A] ∪ [180-A,180];Described second angular range could be arranged to: (A, 180-A);Wherein, A ∈ [0,90].
Illustrating as a example by A takes 45 degree, the most now the first angular range is [0,45] ∪ [135,180], the Two angular ranges are: (45,135):
1) user two finger long-pressing gesture is assumed as in figure 2 it is shown, two touch points (i.e. two then can be calculated Root finger) between line and horizontal line between angle (also known as two finger angles) less than 45 degree, belong to First angular range, in this case, in conjunction with general user operating habit understand two fingers vertically move ratio More convenient, then can arrange now to trip operation indicating (because the additions and deletions of row are the changes of longitudinal quantity), Entrance can the editing mode of additions and deletions row, as in figure 2 it is shown, shade occurs in (inserts unit at the finger on top Lattice button can not launch).
2) user two finger long-pressing gesture is assumed as it is shown on figure 3, then can calculate between two touch points Angle between line and horizontal line, more than 45 degree and less than 135 degree, belongs to the second angular range, at this In the case of Zhong, in conjunction with general user operating habit understand two finger transverse shiftings more convenient, then can arrange Now giving operation indicating of falling out (because the additions and deletions of row are the changes of horizontal quantity), entering can the editor of additions and deletions row State, (inserts cell button can not launch) at the finger on the limit that keeps left as it is shown on figure 3, shade occurs in.
Those skilled in the art is further understood by technical scheme for convenience, such as Fig. 4 or Shown in Fig. 5, on the touchscreen can with one of them finger of user as the center of circle, another finger be radius simulation Go out a round region, it is possible to according to specific needs this circle is carried out subregion, whole circle is drawn by the present embodiment It is divided into four districts (such as label 1,2,3,4 in figure, different gray scales represents different intervals).Such as Fig. 4 institute Show, with finger as the center of circle, when another finger occur in 1 and 3 interval time, arrange to trip operation Prompting;Additionally as it is shown in figure 5, with a finger as the center of circle, when another finger occurs in the interval of 2 and 4 Time, arrange to operation indicating of falling out.
It addition, corresponding from a kind of above-mentioned method providing different ranks operation indicating in electrical form, The present invention also provides for a kind of device providing different ranks operation indicating in electrical form, shown in Figure 6, Including:
Angle calcu-lation module 101, for calculating on touch screen between line and the horizontal line between two touch points Angle;
Relatively with reminding module 102, for by described angle and the first angular range preset, the second angle model Enclose and compare, if described angle is positioned at described first angular range, then give trip operation indicating;If it is described Angle is positioned at described second angular range, then give operation indicating of falling out.
As a preferable embodiment, described first angular range could be arranged to: [0, A] ∪ [180-A,180];Described second angular range could be arranged to: (A, 180-A);Wherein, A ∈ [0,90].Need It is noted that user can arrange different angular ranges as the case may be.
As a preferable embodiment, described A can be 45 degree with value.
A kind of other technical characteristic of the device providing different ranks operation indicating in electrical form of the present invention Identical from a kind of above-mentioned method providing different ranks operation indicating in electrical form, do not repeat them here.
By above scheme it can be seen that the present invention's provides different ranks operation indicating in electrical form Method and device, takes into full account and simulates the operating habit of user, it is possible to according to user in electrical form Between two finger lines and horizontal line, different finally comparison of angle draws different row, column operation indicatings, No matter being different from two finger angles in traditional method the most first to go out existing operation indicating, need two fingers the most left Moving right the mode of operation that row operation indicating could occur, the method and device that the present invention provides more meets user In-mind anticipation, thus bring conveniently to the operation of user.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes more concrete and detailed, But therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that, for this area Those of ordinary skill for, without departing from the inventive concept of the premise, it is also possible to make some deformation and Improving, these broadly fall into protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be with appended Claim is as the criterion.

Claims (6)

1. the method providing different ranks operation indicating in electrical form, it is characterised in that include with Lower step:
When user uses two fingers to operate electrical form on the touchscreen, calculate on touch screen two The angle between line and horizontal line between individual touch point;
By described angle compared with the first angular range preset, the second angular range, if described angle position In described first angular range, then give trip operation indicating;If described angle is positioned at described second angle model In enclosing, then give operation indicating of falling out.
The method providing different ranks operation indicating in electrical form the most according to claim 1, its Being characterised by, described first angular range is: [0, A] ∪ [180-A, 180];Described second angular range is: (A,180-A);Wherein, A ∈ [0,90].
The method providing different ranks operation indicating in electrical form the most according to claim 2, its Being characterised by, described A value is 45 degree.
4. the device providing different ranks operation indicating in electrical form, it is characterised in that including:
Angle calcu-lation module, for using two fingers to operate electrical form on the touchscreen as user Time, calculate on touch screen the angle between line and the horizontal line between two touch points;
Comparison and reminding module, for by described angle and the first angular range preset, the second angular range Compare, if described angle is positioned at described first angular range, then give trip operation indicating;If described folder Angle is positioned at described second angular range, then give operation indicating of falling out.
The device providing different ranks operation indicating in electrical form the most according to claim 4, its Being characterised by, described first angular range is: [0, A] ∪ [180-A, 180];Described second angular range is: (A,180-A);Wherein, A ∈ [0,90].
The device providing different ranks operation indicating in electrical form the most according to claim 5, its Being characterised by, described A value is 45 degree.
CN201210232066.4A 2012-07-05 2012-07-05 The method and device of different ranks operation indicating is given in electrical form Active CN102799576B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210232066.4A CN102799576B (en) 2012-07-05 2012-07-05 The method and device of different ranks operation indicating is given in electrical form

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210232066.4A CN102799576B (en) 2012-07-05 2012-07-05 The method and device of different ranks operation indicating is given in electrical form

Publications (2)

Publication Number Publication Date
CN102799576A CN102799576A (en) 2012-11-28
CN102799576B true CN102799576B (en) 2016-08-10

Family

ID=47198689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210232066.4A Active CN102799576B (en) 2012-07-05 2012-07-05 The method and device of different ranks operation indicating is given in electrical form

Country Status (1)

Country Link
CN (1) CN102799576B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336762B (en) * 2013-07-12 2016-06-08 珠海金山办公软件有限公司 A kind of method and terminal pointing out relative ranks value in electrical form
US10025768B2 (en) 2016-08-08 2018-07-17 International Business Machines Corporation Inserting new elements in a tabular data structure

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739184A (en) * 2008-11-20 2010-06-16 中强光电股份有限公司 Capacitor touch pad and contact detection method thereof
CN102023762A (en) * 2010-12-08 2011-04-20 成都际洲科技有限公司 Optical multipoint touch screen and implementation method thereof
CN102073405A (en) * 2010-11-30 2011-05-25 广东威创视讯科技股份有限公司 Image zooming and rotating judgment method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650708A (en) * 2008-08-15 2010-02-17 鸿富锦精密工业(深圳)有限公司 Document processing method
US8786559B2 (en) * 2010-01-06 2014-07-22 Apple Inc. Device, method, and graphical user interface for manipulating tables using multi-contact gestures
CN102289341B (en) * 2010-06-17 2013-04-03 汉王科技股份有限公司 Game control method and device applied to touch equipment as well as touch equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739184A (en) * 2008-11-20 2010-06-16 中强光电股份有限公司 Capacitor touch pad and contact detection method thereof
CN102073405A (en) * 2010-11-30 2011-05-25 广东威创视讯科技股份有限公司 Image zooming and rotating judgment method
CN102023762A (en) * 2010-12-08 2011-04-20 成都际洲科技有限公司 Optical multipoint touch screen and implementation method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
电容式多点触摸屏的器件设计及算法实现;李兵兵;《液晶与显示》;20110430;第26卷(第2期);第3.2节,图2 *

Also Published As

Publication number Publication date
CN102799576A (en) 2012-11-28

Similar Documents

Publication Publication Date Title
CN102662510B (en) The method realizing sectional drawing by multiple point touching
CN105117056B (en) A kind of method and apparatus of operation touch-screen
CN105183352B (en) A kind of method and device for realizing more gesture identifications under terminal black state
CN102890580B (en) The method that in mobile terminal and mobile terminal, cursor position is selected
CN103713810B (en) A kind of mobile terminal list data interactive method and device
CN103019444A (en) Touch operation method of touch screen and touch screen device
CN102779004A (en) Method and device for operating touch screen terminal screen
EP2701056A3 (en) Method for operation of pen function and electronic device supporting the same
CN103593136A (en) Touch terminal, and one-hand operation method and device of large-screen touch terminal
CN103677576A (en) Method and device for closing window
CN103513869A (en) Method and device for displaying terminal lock screen interface and Widget
CN103927042B (en) Touch point positioning method and device and electronic device
CN103702161A (en) Multimedia file playing method and terminal with touch screen
CN103164093A (en) Capacitive touch screen
CN104864543A (en) Sleeping parameter curve control method and device of air conditioner
CN105988361A (en) Control method of intelligent watch and apparatus thereof, and the intelligent watch
CN103853495A (en) Vehicle-mounted device touch control device and method
CN102799576B (en) The method and device of different ranks operation indicating is given in electrical form
CN109750932A (en) Vehicle window control method and control system, vehicle, storage medium and electronic equipment
CN202918346U (en) Touch screen mobile phone with rear touchpad
CN103605441B (en) Touch-screen sampling optimization method based on dual circular domain
CN103365598B (en) Method and device for touching large screen
CN104090734B (en) A kind of information processing method and electronic equipment
CN105677624B (en) A kind of electrical form frozen region method of adjustment and device
CN102662526B (en) Contact panel and sensing method of touch control thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: Jinshan software building No. 8 Jingshan Hill Road, Lane 519015 Lianshan Jida Zhuhai city in Guangdong Province

Patentee after: Zhuhai Kingsoft Office Software Co., Ltd.

Patentee after: Beijing Kingsoft office software Limited by Share Ltd

Address before: Jinshan software building No. 8 Jingshan Hill Road, Lane 519015 Lianshan Jida Zhuhai city in Guangdong Province

Patentee before: Zhuhai Kingsoft Office Software Co., Ltd.

Patentee before: Beijing Kingsoft WPS Office Co., Ltd.