CN107807785B - Method and system for selecting object on touch screen - Google Patents

Method and system for selecting object on touch screen Download PDF

Info

Publication number
CN107807785B
CN107807785B CN201711167757.XA CN201711167757A CN107807785B CN 107807785 B CN107807785 B CN 107807785B CN 201711167757 A CN201711167757 A CN 201711167757A CN 107807785 B CN107807785 B CN 107807785B
Authority
CN
China
Prior art keywords
sliding operation
area
icon
background color
track
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
CN201711167757.XA
Other languages
Chinese (zh)
Other versions
CN107807785A (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201711167757.XA priority Critical patent/CN107807785B/en
Publication of CN107807785A publication Critical patent/CN107807785A/en
Application granted granted Critical
Publication of CN107807785B publication Critical patent/CN107807785B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • 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
    • G06F3/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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/04842Selection of displayed objects or displayed text elements

Abstract

The invention relates to a method and a system for selecting an object on a touch screen, wherein the method comprises the following steps: displaying the object on a display interface; each object displayed on the display interface is provided with a background color area and a foreground color area; the background color region defines a position range of each object, the foreground color region defines a position range of an icon of each object, and the position range of the icon of each object is formed with an icon region of each object; detecting sliding operation on a touch screen, and recording track coordinates of the sliding operation; and determining the object selected by the sliding operation according to the relation between the track coordinate of the sliding operation and the icon area of each object on the display interface. When the method and the system for selecting the object on the touch screen provided by the embodiment of the invention detect the sliding operation on the touch screen, namely the object selection is started while the multi-selection operation switch is triggered, the multi-selection operation switch does not need to be triggered independently, and then the complicated step of selecting the object is started.

Description

Method and system for selecting object on touch screen
Technical Field
The invention belongs to the technical field of touch control, and particularly relates to a method and a system for selecting an object on a touch screen.
Background
With the increasingly wide application of intelligent electronic devices, people are increasingly demanding on the operation of intelligent electronic devices. The touch screen of the intelligent electronic device can provide simple touch operations such as clicking and dragging on an object displayed on the display interface, and can also provide complex touch operations such as single-selection and multi-selection on the object displayed on the display interface.
At present, most of schemes for selecting a plurality of objects displayed on a display interface trigger a multi-selection operation switch through modes of short-time pressing or short-distance sliding and the like to switch equipment to a multi-selection mode; and after the equipment is switched to the multi-selection mode, performing multi-selection operation on the objects displayed on the display interface. The current multi-selection scheme can realize multi-selection operation of objects, but the multi-selection operation switch is required to be triggered independently, the device is informed to enter a multi-selection mode through the mode of triggering the switch, and then multi-selection operation can be carried out, so that the current multi-selection operation mode is relatively complicated. Further, the user needs to know the manner of triggering the multi-selection operation, for example, whether the user is pressing for a short time or sliding for a short distance, and once the user does not know how to trigger or forgets how to trigger, the multi-selection operation cannot be performed.
Disclosure of Invention
In order to solve the technical problem that the multi-selection mode can only be entered by triggering a multi-selection operation switch, the embodiment of the invention provides a method and a system for selecting an object on a touch screen.
A method of selecting an object on a touch screen, the method comprising the steps of:
step S1: displaying the object on a display interface;
each object displayed on the display interface is provided with a background color area and a foreground color area; the foreground color area is positioned in the range of the background color area; the background color region defines a position range of each object, the foreground color region defines a position range of an icon of each object, and the position range of the icon of each object is formed with an icon region of each object;
step S2: detecting sliding operation on a touch screen, and recording track coordinates of the sliding operation;
step S3: and determining the object selected by the sliding operation according to the relation between the track coordinate of the sliding operation and the icon area of each object on the display interface.
Further, in step S2, the sliding operation is either a continuous sliding operation or an intermittent sliding operation in which each intermittent time does not exceed a predetermined time.
Further, in step S3, a translucent mask layer is provided over the icon of the selected object;
alternatively, the first and second electrodes may be,
in step S2, the trajectory of the slide operation is displayed as a colored line.
Further, in step S2, the trajectory coordinates of the sliding operation are recorded by recording the coordinates of each touch point through which the sliding operation passes;
in step S3, it is determined whether the recorded coordinates of each touch point falls on an icon area or does not fall on any icon area, and if the coordinates fall on an icon area, an object corresponding to the icon area is used as an object selected by the operation slide; and when the relation between the coordinates of all the touch points and the icon area is judged, all the obtained selected objects are the objects selected by the sliding operation.
Further, in step S3, the object selected in the current sliding operation is determined according to the relationship between the track coordinate of the sliding operation and the icon area of each object on the display interface, and whether the track coordinate forms a closed curve in the background color area of a certain object, and if the track coordinate of the sliding operation falls within the icon area of a certain object and the track coordinate does not form a closed curve in the background color area of the object, the object is the object selected in the current sliding operation.
A system for selecting an object on a touch screen, the system comprising: the device comprises a display module, a detection module and a determination module;
the display module is used for displaying an object on a display interface;
each object displayed on the display interface is provided with a background color area and a foreground color area; the foreground color area is positioned in the range of the background color area; the background color region defines a position range of each object, the foreground color region defines a position range of an icon of each object, and the position range of the icon of each object is formed with an icon region of each object;
the detection module is used for detecting sliding operation on the touch screen and recording track coordinates of the sliding operation;
the determining module is used for determining the object selected by the sliding operation according to the relation between the track coordinate of the sliding operation and the icon area of each object on the display interface.
Further, the sliding operation detected by the detection module is a continuous sliding operation or an intermittent sliding operation in which each intermittent time does not exceed a predetermined time.
Further, the determining module sets a semi-transparent masking layer above the icon of the selected object;
alternatively, the first and second electrodes may be,
and the detection module displays the track of the sliding operation in a colored line mode.
Further, the detection module records a track coordinate of the sliding operation by recording a coordinate of each touch point through which the sliding operation passes;
the determining module judges whether the recorded coordinate of each touch point falls in a certain icon area or does not fall in any icon area, and if the recorded coordinate falls in the certain icon area, an object corresponding to the icon area is used as an object selected by the operation in a sliding mode; and when the relation between the coordinates of all the touch points and the icon area is judged, all the obtained selected objects are the objects selected by the sliding operation.
Further, the determining module determines the object selected by the sliding operation this time according to a relationship between the track coordinate of the sliding operation and the icon area of each object on the display interface and whether the track coordinate forms a closed curve in the background color area of a certain object, and if the track coordinate of the sliding operation falls into the icon area of a certain object and the track coordinate does not form a closed curve in the background color area of the object, the object is the object selected by the sliding operation this time.
The invention has the beneficial effects that: when the method and the system for selecting the object on the touch screen provided by the embodiment of the invention detect the sliding operation on the touch screen, namely the object selection is started while the multi-selection operation switch is triggered, so that the complicated steps of independently triggering the multi-selection operation switch and then starting the object selection in the prior art are not needed. Further, the method and the system for selecting the object on the touch screen provided by the embodiment of the invention determine that the object is the object which is selected by the sliding operation in the current time by judging that the track coordinate forms a closed curve in the background color area of the object, so that the object which is selected by the user in the wrong time can be deselected, and the speed of selecting the object by the user is improved.
Drawings
FIG. 1 is a flow chart of a method for selecting an object on a touch screen according to an embodiment of the present invention;
fig. 2 is a block diagram of a system for selecting an object on a touch screen according to an embodiment of the present invention;
fig. 3a is a flowchart of a method for selecting an object on a touch screen according to embodiment 1 of the present invention;
fig. 3b is a display example of a method of selecting an object on a touch screen according to embodiment 1 of the present invention;
fig. 4a is a flowchart of a method for selecting an object on a touch screen according to embodiment 2 of the present invention;
fig. 4b is a display example of a method for selecting an object on a touch screen according to embodiment 2 of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to specific embodiments and the accompanying drawings. Those skilled in the art will appreciate that the present invention is not limited to the drawings and the following examples.
An embodiment of the present invention provides a method for selecting an object on a touch screen, as shown in fig. 1, the method includes the following steps:
step S1: displaying an object on a display interface, wherein the object can be a folder, an application program, a document and the like;
wherein each object displayed on the display interface has a background color region and a foreground color region.
The position range of each object is defined by the background color region, and therefore the coordinates of the background color region of each object are recorded in the system. The background color region may be a transparent (i.e., colorless) region or a colored region. The background color area is generally square, but may be rectangular or circular or other irregular shapes for individualization. The color and shape of the background color region of each object may be set individually or may be set collectively. The background color areas of two adjacent objects can be connected or have intervals.
The position range of the icon of each object is defined by the foreground color region, and the position range of the icon of each object is formed with the icon region of each object, so that the coordinates of the foreground color region of each object and the coordinates of the icon region are recorded in the system. The foreground color area is located within the range of the background color area, and generally, for aesthetic reasons, the foreground color area is located at the center position inside the background color area as much as possible.
Step S2: detecting sliding operation on a touch screen, and recording track coordinates of the sliding operation;
the present embodiment starts object selection when a sliding operation on the touch screen is detected, that is, when the multi-selection operation switch is triggered, so that the complicated step of selecting an object is not required to separately trigger the switch in the prior art.
The sliding operation may be performed by a finger or may be performed by a touch screen input device such as a stylus.
Step S3: and determining the object selected by the sliding operation according to the relation between the track coordinate of the sliding operation and the icon area of each object on the display interface.
Further, in step S2, the sliding operation is a continuous sliding operation, or may be an intermittent sliding operation in which each intermittent time does not exceed a predetermined time. The preset time can be set by a system or a user according to the operation habit of the user.
When the sliding operation is a continuous sliding operation, if the sliding operation is not detected, the end of the current sliding operation is judged, and the track coordinates of the sliding operation are recorded.
When the sliding operation is the intermittent sliding operation, when the sliding operation is not detected and the intermittent sliding operation with the interval time larger than the preset time does not occur, judging that the current sliding operation is finished, and recording the track coordinate of the sliding operation; when the intermittent sliding operation with the interval time larger than the preset time occurs in the sliding operation, the end of the sliding operation is judged, the sliding operation with the interval time larger than the preset time is an effective sliding operation, and the track coordinate of the effective sliding operation is recorded.
Preferably, in step S3, a semi-transparent cover layer is disposed above the icon of the selected object to indicate that the object is selected, so that the user can know the selected object conveniently.
Further, the icon area includes a picture display area for displaying a picture of the icon (refer to a picture of the object shown in fig. 3b, for example, a picture made up of paper and a pen above the text "gwpreset. The system records the coordinates of the picture display area and the coordinates of the character display area. In step S3, when the track coordinate of the sliding operation passes through one of the picture display area and the text display area, the corresponding object may be selected; or when the track coordinate of the sliding operation passes through the picture display area and the character display area, the corresponding object is selected; compared with the former selection mode, the latter selection mode can effectively avoid the object from being selected by mistake and improve the accuracy of selection.
Preferably, in step S2, the track of the sliding operation is displayed in the form of a colored line to facilitate the user to recognize the track path.
The method for selecting the object on the touch screen provided by the embodiment of the invention can be applied to all electronic equipment with the touch screen.
As shown in fig. 2, a system for selecting an object on a touch screen according to an embodiment of the present invention includes: the device comprises a display module, a detection module and a determination module.
The display module is used for displaying objects on the display interface, wherein the objects can be folders, application programs, documents and the like.
Each object displayed on the display interface has a background color region and a foreground color region.
The position range of each object is defined by the background color region, and therefore the coordinates of the background color region of each object are recorded in the system. The background color region may be a transparent (i.e., colorless) region or a colored region. The background color area is generally square, but may be rectangular or circular or other irregular shapes for individualization. The color and shape of the background color region of each object may be set individually or may be set collectively. The background color areas of two adjacent objects can be connected or have intervals.
The position range of the icon of each object is defined by the foreground color region, and the position range of the icon of each object is formed with the icon region of each object, so that the coordinates of the foreground color region of each object and the coordinates of the icon region are recorded in the system. The foreground color area is located within the range of the background color area, and generally, for aesthetic reasons, the foreground color area is located at the center position inside the background color area as much as possible.
The detection module is used for detecting the sliding operation on the touch screen and recording the track coordinate of the sliding operation.
The present embodiment starts object selection when a sliding operation on the touch screen is detected, that is, when the multi-selection operation switch is triggered, so that the complicated step of selecting an object is not required to separately trigger the switch in the prior art.
The sliding operation may be performed by a finger or may be performed by a touch screen input device such as a stylus.
The determining module is used for determining the object selected by the sliding operation according to the relation between the track coordinate of the sliding operation and the icon area of each object on the display interface.
Further, the sliding operation in the detection module may be a continuous sliding operation, or may be an intermittent sliding operation in which each intermittent time does not exceed a predetermined time. The preset time can be set by a system or a user according to the operation habit of the user.
When the sliding operation is a continuous sliding operation, if the sliding operation is not detected, the end of the current sliding operation is judged, and the track coordinates of the sliding operation are recorded.
When the sliding operation is the intermittent sliding operation, when the sliding operation is not detected and the intermittent sliding operation with the interval time larger than the preset time does not occur, judging that the current sliding operation is finished, and recording the track coordinate of the sliding operation; when the intermittent sliding operation with the interval time larger than the preset time occurs in the sliding operation, the end of the sliding operation is judged, the sliding operation with the interval time larger than the preset time is an effective sliding operation, and the track coordinate of the effective sliding operation is recorded.
Preferably, in the determining module, a semi-transparent covering layer is arranged above the icon of the selected object to indicate that the object is selected, so that a user can know the selected object conveniently.
Further, the icon area includes a picture display area for displaying a picture of the icon (refer to a picture of the object shown in fig. 3b, for example, a picture made up of paper and a pen above the text "gwpreset. The system records the coordinates of the picture display area and the coordinates of the character display area. In step S3, when the track coordinate of the sliding operation passes through one of the picture display area and the text display area, the corresponding object may be selected; or when the track coordinate of the sliding operation passes through the picture display area and the character display area, the corresponding object is selected; compared with the former selection mode, the latter selection mode can effectively avoid the object from being selected by mistake and improve the accuracy of selection.
Preferably, in the detection module, the track of the sliding operation is displayed in a colored line manner, so that a user can conveniently recognize the track path.
The above methods and systems are further described below in conjunction with specific embodiments.
Example 1:
an embodiment of the present invention provides a method for selecting an object on a touch screen, as shown in fig. 3a, the method includes the following steps:
step S31: displaying an object on a display interface, wherein the object can be a folder, an application program, a document and the like;
wherein each object displayed on the display interface has a background color region and a foreground color region.
The position range of each object is defined by the background color region, and therefore the coordinates of the background color region of each object are recorded in the system. The background color region may be a transparent (i.e., colorless) region or a colored region. The background color area is generally square, but may be rectangular or circular or other irregular shapes for individualization. The color and shape of the background color region of each object may be set individually or may be set collectively. The background color areas of two adjacent objects can be connected or have intervals.
The position range of the icon of each object is defined by the foreground color region, and the position range of the icon of each object is formed with the icon region of each object, so that the coordinates of the foreground color region of each object and the coordinates of the icon region are recorded in the system. The foreground color area is located within the range of the background color area, and generally, for aesthetic reasons, the foreground color area is located at the center position inside the background color area as much as possible.
Step S32: detecting sliding operation on a touch screen, and recording track coordinates of the sliding operation by recording coordinates of each touch point through which the sliding operation passes;
the present embodiment starts object selection when a sliding operation on the touch screen is detected, that is, when the multi-selection operation switch is triggered, so that the complicated step of selecting an object is not required to separately trigger the switch in the prior art.
Step S33: judging whether the recorded coordinates of each touch point fall on a certain icon area or do not fall on any icon area, if the coordinates fall on the certain icon area, taking an object corresponding to the icon area as an object selected by the operation sliding, and if not, taking the object as the object selected by the operation sliding; and when the relation between the coordinates of all the touch points and the icon area is judged, all the obtained selected objects are the objects selected by the sliding operation.
Further, in step S32, the sliding operation is a continuous sliding operation, or may be an intermittent sliding operation in which each intermittent time does not exceed a predetermined time. The preset time can be set by a system or a user according to the operation habit of the user.
When the sliding operation is a continuous sliding operation, if the sliding operation is not detected, the end of the current sliding operation is judged, and the track coordinates of the sliding operation are recorded.
When the sliding operation is the intermittent sliding operation, when the sliding operation is not detected and the intermittent sliding operation with the interval time larger than the preset time does not occur, judging that the current sliding operation is finished, and recording the track coordinate of the sliding operation; when the intermittent sliding operation with the interval time larger than the preset time occurs in the sliding operation, the end of the sliding operation is judged, the sliding operation with the interval time larger than the preset time is an effective sliding operation, and the track coordinate of the effective sliding operation is recorded.
Preferably, in step S33, a semi-transparent cover layer is disposed above the icon of the selected object to indicate that the object is selected, so that the user can know the selected object conveniently.
Further, the icon area includes a picture display area for displaying a picture of the icon (refer to a picture of the object shown in fig. 3b, for example, a picture made up of paper and a pen above the text "gwpreset. The system records the coordinates of the picture display area and the coordinates of the character display area. In step S33, when the track coordinate of the sliding operation passes through one of the picture display area and the text display area, the corresponding object may be selected; or when the track coordinate of the sliding operation passes through the picture display area and the character display area, the corresponding object is selected; compared with the former selection mode, the latter selection mode can effectively avoid the object from being selected by mistake and improve the accuracy of selection.
Preferably, in step S32, the track of the sliding operation is displayed in the form of a colored line to facilitate the user to recognize the track path. As shown in fig. 3B, taking the finger sliding operation and the continuous sliding as an example, the finger of the user starts to slide from point a, the continuous sliding is released to point B, and the trajectory AB (which may be a red trajectory) passes through the icon area of the object 1 (Visual folder in fig. 3B), the icon area of the object 2 (GoldWave batch file in fig. 3B), and the icon area of the object 3 (GWSpeed 64 dynamic link library file in fig. 3B), so that the object 1 (Visual folder in fig. 3B), the object 2 (GoldWave batch file in fig. 3B), and the object 3 (GWSpeed 64 dynamic link library file in fig. 3B) are the objects selected by the current sliding operation.
In embodiment 1 of the present invention, the object selected by the slide operation is determined by comparing the relationship between the coordinates of each touch point through which the slide operation passes and the icon area of the object on the display interface.
As shown in fig. 2, a system for selecting an object on a touch screen according to an embodiment of the present invention includes: the device comprises a display module, a detection module and a determination module.
The display module is used for displaying objects on the display interface, wherein the objects can be folders, application programs, documents and the like.
Each object displayed on the display interface has a background color region and a foreground color region.
The position range of each object is defined by the background color region, and therefore the coordinates of the background color region of each object are recorded in the system. The background color region may be a transparent (i.e., colorless) region or a colored region. The background color area is generally square, but may be rectangular or circular or other irregular shapes for individualization. The color and shape of the background color region of each object may be set individually or may be set collectively. The background color areas of two adjacent objects can be connected or have intervals.
The position range of the icon of each object is defined by the foreground color region, and the position range of the icon of each object is formed with the icon region of each object, so that the coordinates of the foreground color region of each object and the coordinates of the icon region are recorded in the system. The foreground color area is located within the range of the background color area, and generally, for aesthetic reasons, the foreground color area is located at the center position inside the background color area as much as possible.
The detection module is used for detecting the sliding operation on the touch screen and recording the track coordinate of the sliding operation by recording the coordinate of each touch point through which the sliding operation passes;
the present embodiment starts object selection when a sliding operation on the touch screen is detected, that is, when the multi-selection operation switch is triggered, so that the complicated step of selecting an object is not required to separately trigger the switch in the prior art.
The determining module is used for judging whether the recorded coordinates of each touch point fall on an icon area or do not fall on any icon area, if the coordinates fall on the icon area, an object corresponding to the icon area is used as an object selected by the operation in a sliding mode, and if the coordinates do not fall on the icon area, the object corresponding to the icon area is used as the object selected by the operation in the sliding mode; and when the relation between the coordinates of all the touch points and the icon area is judged, all the obtained selected objects are the objects selected by the sliding operation.
Further, the sliding operation in the detection module may be a continuous sliding operation, or may be an intermittent sliding operation in which each intermittent time does not exceed a predetermined time. The preset time can be set by a system or a user according to the operation habit of the user.
When the sliding operation is a continuous sliding operation, if the sliding operation is not detected, the end of the current sliding operation is judged, and the track coordinates of the sliding operation are recorded.
When the sliding operation is the intermittent sliding operation, when the sliding operation is not detected and the intermittent sliding operation with the interval time larger than the preset time does not occur, judging that the current sliding operation is finished, and recording the track coordinate of the sliding operation; when the intermittent sliding operation with the interval time larger than the preset time occurs in the sliding operation, the end of the sliding operation is judged, the sliding operation with the interval time larger than the preset time is an effective sliding operation, and the track coordinate of the effective sliding operation is recorded.
Preferably, in the determining module, a semi-transparent covering layer is arranged above the icon of the selected object to indicate that the object is selected, so that a user can know the selected object conveniently.
Further, the icon area includes a picture display area for displaying a picture of the icon (refer to a picture of the object shown in fig. 3b, for example, a picture made up of paper and a pen above the text "gwpreset. The system records the coordinates of the picture display area and the coordinates of the character display area. The determining module may determine that the corresponding object is selected when the track coordinate of the sliding operation passes through one of the picture display area or the character display area; or when the track coordinate of the sliding operation passes through the picture display area and the character display area, determining that the corresponding object is selected; compared with the former selection mode, the latter selection mode can effectively avoid the object from being selected by mistake and improve the accuracy of selection.
Preferably, in the detection module, the track of the sliding operation is displayed in a colored line manner, so that a user can conveniently recognize the track path. As shown in fig. 3B, taking the finger sliding operation and the continuous sliding as an example, the finger of the user starts to slide from point a, the continuous sliding is released to point B, and the trajectory AB (which may be a red trajectory) passes through the icon area of the object 1 (Visual folder in fig. 3B), the icon area of the object 2 (GoldWave batch file in fig. 3B), and the icon area of the object 3 (GWSpeed 64 dynamic link library file in fig. 3B), so that the object 1 (Visual folder in fig. 3B), the object 2 (GoldWave batch file in fig. 3B), and the object 3 (GWSpeed 64 dynamic link library file in fig. 3B) are the objects selected by the current sliding operation.
In embodiment 1 of the present invention, the object selected by the slide operation is determined by comparing the relationship between the coordinates of each touch point through which the slide operation passes and the icon area of the object on the display interface.
Example 2:
an embodiment of the present invention provides a method for selecting an object on a touch screen, as shown in fig. 4a, the method includes the following steps:
step S41: displaying an object on a display interface, wherein the object can be a folder, an application program, a document and the like;
wherein each object displayed on the display interface has a background color region and a foreground color region.
The position range of each object is defined by the background color region, and therefore the coordinates of the background color region of each object are recorded in the system. The background color region may be a transparent (i.e., colorless) region or a colored region. The background color area is generally square, but may be rectangular or circular or other irregular shapes for individualization. The color and shape of the background color region of each object may be set individually or may be set collectively. The background color areas of two adjacent objects can be connected or have intervals.
The position range of the icon of each object is defined by the foreground color region, and the position range of the icon of each object is formed with the icon region of each object, so that the coordinates of the foreground color region of each object and the coordinates of the icon region are recorded in the system. The foreground color area is located within the range of the background color area, and generally, for aesthetic reasons, the foreground color area is located at the center position inside the background color area as much as possible.
Step S42: detecting sliding operation on a touch screen, and recording track coordinates of the sliding operation;
the present embodiment starts object selection when a sliding operation on the touch screen is detected, that is, when the multi-selection operation switch is triggered, so that the complicated step of selecting an object is not required to separately trigger the switch in the prior art.
Step S43: determining the object selected by the sliding operation according to the relationship between the track coordinate of the sliding operation and the icon area of each object on the display interface and whether the track coordinate forms a closed curve in the background color area of a certain object, wherein if the track coordinate of the sliding operation falls into the icon area of the certain object and the track coordinate does not form the closed curve in the background color area of the object, the object is the object selected by the sliding operation, otherwise, the object is not selected.
In embodiment 2 of the present invention, a closed curve is formed in a background color area of an object by determining a track coordinate, and the object is determined to be an object erroneously selected by the current sliding operation. In this way, the object that the user selected by mistake can be deselected.
Of course, although the present embodiment limits the closed curve to be formed in the background color region of the certain object to provide a larger operation range for the user, the implementation of limiting the closed curve to be formed in the icon region of the certain object is not excluded.
Further, in step S42, the sliding operation is a continuous sliding operation, or may be an intermittent sliding operation in which each intermittent time does not exceed a predetermined time. The preset time can be set by a system or a user according to the operation habit of the user.
When the sliding operation is a continuous sliding operation, if the sliding operation is not detected, the end of the current sliding operation is judged, and the track coordinates of the sliding operation are recorded.
When the sliding operation is the intermittent sliding operation, when the sliding operation is not detected and the intermittent sliding operation with the interval time larger than the preset time does not occur, judging that the current sliding operation is finished, and recording the track coordinate of the sliding operation; when the intermittent sliding operation with the interval time larger than the preset time occurs in the sliding operation, the end of the sliding operation is judged, the sliding operation with the interval time larger than the preset time is an effective sliding operation, and the track coordinate of the effective sliding operation is recorded.
In embodiment 2 of the present invention, all the intermittent sliding operations with the interval time within the predetermined time are regarded as effective sliding operations, and the present invention is particularly suitable for occasions where the object in the wrong selection is cancelled. For example, the user may slide within the background color region of the object to be erroneously selected to form a closed curve, or slide within the foreground color region of the object to be erroneously selected to form a closed curve, or slide within the icon region of the object to be erroneously selected to form a closed curve. Embodiment 2 of the present invention may be implemented in combination with embodiment 1 or may be implemented separately.
Preferably, in step S43, a semi-transparent cover layer is disposed above the icon of the selected object to indicate that the object is selected, so that the user can know the selected object conveniently.
Further, the icon area includes a picture display area for displaying a picture of the icon (refer to a picture of the object shown in fig. 3b, for example, a picture made up of paper and a pen above the text "gwpreset. The system records the coordinates of the picture display area and the coordinates of the character display area. In step S43, when the track coordinate of the sliding operation passes through one of the picture display area and the text display area, the corresponding object may be selected; or when the track coordinate of the sliding operation passes through the picture display area and the character display area, the corresponding object is selected; compared with the former selection mode, the latter selection mode can effectively avoid the object from being selected by mistake and improve the accuracy of selection.
Preferably, in step S42, the track of the sliding operation is displayed in the form of a colored line to facilitate the user to recognize the track path. As shown in fig. 4B, taking the finger sliding operation and the intermittent sliding operation within the predetermined time as an example, the finger of the user starts sliding from point a, continuously slides until point B is released, sliding within the foreground color region of object 2 (the GoldWave batch file in fig. 4 b) within a predetermined time then constitutes a closed curve, at which point, while trace AB (which may be a red trace) passes through the icon area of object 1 (Visual folder in figure 4 b), the icon area of object 2 (GoldWave batch file in figure 4 b) and the icon area of object 3 (GWSpeed 64 dynamic link library file in figure 4 b), however, the selection operation of object 2 (the GoldWave batch file in fig. 4 b) is cancelled, so that object 1 (the Visual folder in fig. 4 b) and object 3 (the GWSpeed64 dynamic link library file in fig. 4 b) are selected objects in the sliding operation.
As shown in fig. 2, a system for selecting an object on a touch screen according to an embodiment of the present invention includes: the device comprises a display module, a detection module and a determination module.
The display module is used for displaying objects on the display interface, wherein the objects can be folders, application programs, documents and the like.
Each object displayed on the display interface has a background color region and a foreground color region.
The position range of each object is defined by the background color region, and therefore the coordinates of the background color region of each object are recorded in the system. The background color region may be a transparent (i.e., colorless) region or a colored region. The background color area is generally square, but may be rectangular or circular or other irregular shapes for individualization. The color and shape of the background color region of each object may be set individually or may be set collectively. The background color areas of two adjacent objects can be connected or have intervals.
The position range of the icon of each object is defined by the foreground color region, and the position range of the icon of each object is formed with the icon region of each object, so that the coordinates of the foreground color region of each object and the coordinates of the icon region are recorded in the system. The foreground color area is located within the range of the background color area, and generally, for aesthetic reasons, the foreground color area is located at the center position inside the background color area as much as possible.
The detection module is used for detecting sliding operation on the touch screen and recording track coordinates of the sliding operation;
the present embodiment starts object selection when a sliding operation on the touch screen is detected, that is, when the multi-selection operation switch is triggered, so that the complicated step of selecting an object is not required to separately trigger the switch in the prior art.
The determining module is used for determining the object selected by the sliding operation according to the relationship between the track coordinate of the sliding operation and the icon area of each object on the display interface and whether the track coordinate forms a closed curve in the background color area of a certain object, if the track coordinate of the sliding operation falls into the icon area of a certain object and the track coordinate does not form a closed curve in the background color area of the object, the object is the object selected by the sliding operation, otherwise, the object is not selected.
In embodiment 2 of the present invention, a closed curve is formed in a background color region of an object by the track coordinate, and the object is determined to be an object erroneously selected by the current sliding operation. In this way, the object that the user selected by mistake can be deselected.
Of course, although the present embodiment limits the closed curve to be formed in the background color region of the certain object to provide a larger operation range for the user, the implementation of limiting the closed curve to be formed in the icon region of the certain object is not excluded.
Further, the sliding operation in the detection module may be a continuous sliding operation, or may be an intermittent sliding operation in which each intermittent time does not exceed a predetermined time. The preset time can be set by a system or a user according to the operation habit of the user.
When the sliding operation is a continuous sliding operation, if the sliding operation is not detected, the end of the current sliding operation is judged, and the track coordinates of the sliding operation are recorded.
When the sliding operation is the intermittent sliding operation, when the sliding operation is not detected and the intermittent sliding operation with the interval time larger than the preset time does not occur, judging that the current sliding operation is finished, and recording the track coordinate of the sliding operation; when the intermittent sliding operation with the interval time larger than the preset time occurs in the sliding operation, the end of the sliding operation is judged, the sliding operation with the interval time larger than the preset time is an effective sliding operation, and the track coordinate of the effective sliding operation is recorded.
In embodiment 2 of the present invention, all the intermittent sliding operations with the interval time within the predetermined time are regarded as effective sliding operations, and the present invention is particularly suitable for occasions where the object in the wrong selection is cancelled. For example, the user may slide within the background color region of the object to be erroneously selected to form a closed curve, or slide within the foreground color region of the object to be erroneously selected to form a closed curve, or slide within the icon region of the object to be erroneously selected to form a closed curve. The present invention can be implemented in combination with embodiment 1 or separately in embodiment 2.
Preferably, in the determining module, a semi-transparent covering layer is arranged above the icon of the selected object to indicate that the object is selected, so that a user can know the selected object conveniently.
Further, the icon area includes a picture display area for displaying a picture of the icon (refer to a picture of the object shown in fig. 3b, for example, a picture made up of paper and a pen above the text "gwpreset. The system records the coordinates of the picture display area and the coordinates of the character display area. The determining module can determine that the corresponding object is selected when the track coordinate of the sliding operation passes through one of the picture display area or the character display area; or when the track coordinate of the sliding operation passes through the picture display area and the character display area, determining that the corresponding object is selected; compared with the former selection mode, the latter selection mode can effectively avoid the object from being selected by mistake and improve the accuracy of selection.
Preferably, in the detection module, the track of the sliding operation is displayed in a colored line manner, so that a user can conveniently recognize the track path. As shown in fig. 4B, taking the finger sliding operation and the intermittent sliding operation within the predetermined time as an example, the finger of the user starts sliding from point a, continuously slides until point B is released, sliding within the foreground color region of object 2 (the GoldWave batch file in fig. 4 b) within a predetermined time then constitutes a closed curve, at which point, while trace AB (which may be a red trace) passes through the icon area of object 1 (Visual folder in figure 4 b), the icon area of object 2 (GoldWave batch file in figure 4 b) and the icon area of object 3 (GWSpeed 64 dynamic link library file in figure 4 b), however, the selection operation of object 2 (the GoldWave batch file in fig. 4 b) is cancelled, so that object 1 (the Visual folder in fig. 4 b) and object 3 (the GWSpeed64 dynamic link library file in fig. 4 b) are selected objects in the sliding operation.
An embodiment of the present invention further provides a storage medium, in which a computer program for executing the foregoing method is stored.
An embodiment of the present invention further provides a processor, where the processor runs a computer program executing the method described above.
Those of skill in the art will understand that the logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be viewed as implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The embodiments of the present invention have been described above. However, the present invention is not limited to the above embodiment. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of selecting an object on a touch screen, the method comprising the steps of:
a display step: displaying the object on a display interface;
each object displayed on the display interface is provided with a background color area and a foreground color area; the foreground color area is positioned in the range of the background color area; the background color region defines a position range of each object, the foreground color region defines a position range of an icon of each object, and the position range of the icon of each object is formed with an icon region of each object;
a detection step: detecting sliding operation on the touch screen, and recording track coordinates of the sliding operation, wherein when the sliding operation is detected, the multi-selection operation is considered to be triggered;
a determination step: determining an object selected by the sliding operation according to the relationship between the track coordinate of the sliding operation and the icon area of each object on the display interface and whether the track coordinate forms a closed curve in the background color area, the foreground color area or the icon area of a certain object, and if the track coordinate of the sliding operation falls into the icon area of the certain object and does not form the closed curve in the background color area, the foreground color area or the icon area of the object, determining the object selected by the sliding operation; if the track coordinate of the sliding operation falls into the icon area of an object and the track coordinate forms a closed curve in the background color area, the foreground color area or the icon area of the object, the object is the object mistakenly selected by the sliding operation at this time, and the object in the mistaken selection is deselected.
2. The method according to claim 1, wherein in the detecting step, the sliding operation is a continuous sliding operation or an intermittent sliding operation in which each intermittent time does not exceed a predetermined time.
3. The method according to claim 1, wherein in the determining step, a semi-transparent masking layer is provided over the icon of the selected object;
alternatively, the first and second electrodes may be,
in the detecting step, the track of the sliding operation is displayed in a colored line mode.
4. The method according to claim 1, characterized in that in the detecting step, the track coordinates of the sliding operation are recorded by recording the coordinates of each touch point through which the sliding operation passes;
in the determining step, whether the recorded coordinates of each touch point fall on an icon area or do not fall on any icon area is judged, and if the coordinates fall on the icon area, an object corresponding to the icon area is used as an object selected by the sliding operation; and when the relation between the coordinates of all the touch points and the icon area is judged, all the obtained selected objects are the objects selected by the sliding operation.
5. The method of claim 2, wherein the icon area comprises a picture display area and a text display area, the picture display area is used for displaying pictures of the icons, and the text display area is used for displaying texts of the icons;
in the determining step, when the track coordinate of the sliding operation passes through the picture display area and the character display area, the corresponding object is selected;
or, in the determining step, when the track coordinate of the sliding operation passes through the picture display area or the character display area, the corresponding object is selected.
6. A system for selecting an object on a touch screen, the system comprising: the device comprises a display module, a detection module and a determination module;
the display module is used for displaying an object on a display interface;
each object displayed on the display interface is provided with a background color area and a foreground color area; the foreground color area is positioned in the range of the background color area; the background color region defines a position range of each object, the foreground color region defines a position range of an icon of each object, and the position range of the icon of each object is formed with an icon region of each object;
the detection module is used for detecting sliding operation on the touch screen and recording track coordinates of the sliding operation, wherein when the sliding operation is detected, the multi-selection operation is considered to be triggered;
the determining module is used for determining the object selected by the sliding operation according to the relationship between the track coordinate of the sliding operation and the icon area of each object on the display interface and whether the track coordinate forms a closed curve in the background color area, the foreground color area or the icon area of a certain object, and if the track coordinate of the sliding operation falls into the icon area of the certain object and does not form a closed curve in the background color area, the foreground color area or the icon area of the object, the object is the object selected by the sliding operation; if the track coordinate of the sliding operation falls into the icon area of an object and the track coordinate forms a closed curve in the background color area, the foreground color area or the icon area of the object, the object is the object mistakenly selected by the sliding operation at this time, and the object in the mistaken selection is deselected.
7. The system of claim 6, wherein the sliding operation detected by the detection module is a continuous sliding operation or an intermittent sliding operation in which each intermittent time does not exceed a predetermined time.
8. The system of claim 6, wherein the determination module places a semi-transparent cover over the icon of the selected object;
alternatively, the first and second electrodes may be,
and the detection module displays the track of the sliding operation in a colored line mode.
9. The system of claim 6, wherein the detection module records the track coordinates of the sliding operation by recording the coordinates of each touch point through which the sliding operation passes;
the determining module judges whether the recorded coordinate of each touch point falls in a certain icon area or does not fall in any icon area, and if the recorded coordinate falls in the certain icon area, an object corresponding to the icon area is used as an object selected by the sliding operation; and when the relation between the coordinates of all the touch points and the icon area is judged, all the obtained selected objects are the objects selected by the sliding operation.
10. The system of claim 7, wherein the icon area comprises a picture display area and a text display area, the picture display area is used for displaying pictures of the icons, and the text display area is used for displaying texts of the icons;
the determining module determines that the corresponding object is selected when the track coordinate of the sliding operation passes through the picture display area and the character display area;
or the determining module determines that the corresponding object is selected when the track coordinate of the sliding operation passes through the picture display area or the character display area.
CN201711167757.XA 2017-11-21 2017-11-21 Method and system for selecting object on touch screen Active CN107807785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711167757.XA CN107807785B (en) 2017-11-21 2017-11-21 Method and system for selecting object on touch screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711167757.XA CN107807785B (en) 2017-11-21 2017-11-21 Method and system for selecting object on touch screen

Publications (2)

Publication Number Publication Date
CN107807785A CN107807785A (en) 2018-03-16
CN107807785B true CN107807785B (en) 2020-06-12

Family

ID=61580886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711167757.XA Active CN107807785B (en) 2017-11-21 2017-11-21 Method and system for selecting object on touch screen

Country Status (1)

Country Link
CN (1) CN107807785B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111010585B (en) * 2019-12-06 2021-10-22 广州方硅信息技术有限公司 Virtual gift sending method, device, equipment and storage medium
CN112764602A (en) * 2020-12-31 2021-05-07 北京高途云集教育科技有限公司 Desktop dynamic display method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999247A (en) * 2011-07-07 2013-03-27 宏达国际电子股份有限公司 Methods and systems for displaying interfaces
CN103412708A (en) * 2013-07-31 2013-11-27 华为技术有限公司 Terminal equipment and task management method applied to same
CN103605476A (en) * 2013-11-21 2014-02-26 珠海金山办公软件有限公司 Method and device for selecting objects in display interface
CN104714714A (en) * 2013-12-11 2015-06-17 酷吧时代科技(北京)有限公司 Mobile terminal desktop control method and device and mobile terminal
CN105677266A (en) * 2014-11-18 2016-06-15 青岛海信移动通信技术股份有限公司 Electronic equipment and icon display method thereof
CN105808035A (en) * 2014-12-29 2016-07-27 中兴通讯股份有限公司 Icon display method and apparatus
CN106489112A (en) * 2015-03-08 2017-03-08 苹果公司 For manipulating equipment, method and the graphic user interface of user interface object using vision and/or touch feedback

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999247A (en) * 2011-07-07 2013-03-27 宏达国际电子股份有限公司 Methods and systems for displaying interfaces
CN103412708A (en) * 2013-07-31 2013-11-27 华为技术有限公司 Terminal equipment and task management method applied to same
CN103605476A (en) * 2013-11-21 2014-02-26 珠海金山办公软件有限公司 Method and device for selecting objects in display interface
CN104714714A (en) * 2013-12-11 2015-06-17 酷吧时代科技(北京)有限公司 Mobile terminal desktop control method and device and mobile terminal
CN105677266A (en) * 2014-11-18 2016-06-15 青岛海信移动通信技术股份有限公司 Electronic equipment and icon display method thereof
CN105808035A (en) * 2014-12-29 2016-07-27 中兴通讯股份有限公司 Icon display method and apparatus
CN106489112A (en) * 2015-03-08 2017-03-08 苹果公司 For manipulating equipment, method and the graphic user interface of user interface object using vision and/or touch feedback

Also Published As

Publication number Publication date
CN107807785A (en) 2018-03-16

Similar Documents

Publication Publication Date Title
US10318149B2 (en) Method and apparatus for performing touch operation in a mobile device
US10809893B2 (en) System and method for re-sizing and re-positioning application windows in a touch-based computing device
CN104102441B (en) A kind of menu item execution method and device
JP5158014B2 (en) Display control apparatus, display control method, and computer program
CN102736782B (en) Messaging device, information processing method and computer-readable recording medium
US20150268802A1 (en) Menu control method and menu control device including touch input device performing the same
US20110157040A1 (en) Touchpanel device, and control method and program for the device
US20080170042A1 (en) Touch signal recognition apparatus and method and medium for the same
US9623329B2 (en) Operations for selecting and changing a number of selected objects
RU2010147229A (en) ACCESSING THE MENU USING A DRAG OPERATION
CN104536643B (en) A kind of icon drag method and terminal
CN109753179B (en) User operation instruction processing method and handwriting reading equipment
CN103513914B (en) The method of toch control of application and device
US10402080B2 (en) Information processing apparatus recognizing instruction by touch input, control method thereof, and storage medium
US9727228B2 (en) Method for selecting waveforms on electronic test equipment
US20180254021A1 (en) Information displaying apparatus and information displaying method
CN106095218B (en) Information processing method and electronic equipment
CN107807785B (en) Method and system for selecting object on touch screen
EP2544083A2 (en) Apparatus and method for inputting character on touch screen
CN106020690A (en) Video picture screenshot method, device and mobile terminal
US11086419B2 (en) Information processing device, information processing method, and recording medium
CN106201399A (en) A kind of split screen window display method and terminal
EP2530569A1 (en) Convenient extraction of an entity out of a spatial arrangement
US20150309693A1 (en) Cursor assistant window
CN110262747B (en) Method and device for controlling terminal, terminal and storage medium

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