CN108874279B - Selection method and device, terminal equipment and readable storage medium - Google Patents

Selection method and device, terminal equipment and readable storage medium Download PDF

Info

Publication number
CN108874279B
CN108874279B CN201810422277.1A CN201810422277A CN108874279B CN 108874279 B CN108874279 B CN 108874279B CN 201810422277 A CN201810422277 A CN 201810422277A CN 108874279 B CN108874279 B CN 108874279B
Authority
CN
China
Prior art keywords
target object
target
display interface
objects
selection
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
CN201810422277.1A
Other languages
Chinese (zh)
Other versions
CN108874279A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201810422277.1A priority Critical patent/CN108874279B/en
Publication of CN108874279A publication Critical patent/CN108874279A/en
Application granted granted Critical
Publication of CN108874279B publication Critical patent/CN108874279B/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/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; 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

Landscapes

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

Abstract

The invention discloses a selection method and a device, terminal equipment and a readable storage medium, wherein the method comprises the following steps: if a preset touch operation aiming at the suspension button is received, activating a multi-selection function of selecting a plurality of target objects on the display screen by the terminal equipment; determining a first target object and a second target object different from the first target object from the plurality of target objects; setting M target objects between the first target object and the second target object, and the first target object and the second target object to be in a selected state, wherein M is an integer not less than zero. Therefore, the technical problems that the existing batch multi-selection operation is complicated and the target object selection efficiency is low are solved.

Description

Selection method and device, terminal equipment and readable storage medium
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a selection method and apparatus, a terminal device, and a readable storage medium.
Background
With the development of multifunction of intelligent terminal equipment, the convenience of user operation is promoted by human-computer interaction. Therefore, the floating button is generated to assist the user in performing shortcut operation, for example, an application shortcut entrance is expanded through the floating button, a virtual key is replaced by a gesture, and the like.
In the batch selection method provided in the existing human-computer interaction, a user selects and confirms one target object (such as pictures and short message entries) in a multi-selection state in which a terminal device selects a plurality of target objects, or the user executes sliding of a certain track to determine a corresponding multi-selection area, and further sets the target objects in the multi-selection area to be in a selected state, thereby realizing batch multi-selection. For the first mode, the operation is cumbersome. For the second way, especially when the selected object appears on a different display interface (e.g. a different screen), it is often required that the user continuously slides, and while the display interface 1 is switched to the display interface 2, multiple selections from a part of the target objects on the display interface 1 to a part of the target objects on the display interface 2 are realized.
Therefore, the existing batch multi-selection operation is complicated, and the target object selection efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a selection method and device, terminal equipment and a readable storage medium, which are used for solving the technical problems that the existing batch multi-selection operation is relatively complicated and the target object selection efficiency is low.
In one aspect, an embodiment of the present invention provides a selection method, where the method includes:
if a preset touch operation aiming at the suspension button is received, activating a multi-selection function of selecting a plurality of target objects on the display screen by the terminal equipment; determining a first target object and a second target object different from the first target object from the plurality of target objects;
setting M target objects between the first target object and the second target object, and the first target object and the second target object to be in a selected state, wherein M is an integer not less than zero.
Optionally, before activating a multi-selection function that the terminal device selects a plurality of target objects on the display screen, the method further includes:
and if the page turning operation for switching the current display interface of the display screen is detected, responding to the page turning operation, and switching the current display interface from a first display interface to a second display interface different from the first display interface, wherein the first display interface comprises the first target object, and the second display interface comprises the second target object.
Optionally, determining a first target object and a second target object different from the first target object from the plurality of target objects comprises:
when the multi-selection function of the terminal equipment is in an activated state, detecting that a first control operation acts on any target object in the second display interface, responding to the first control operation, and determining the second target object;
determining the first target object from the set of target objects of the first display interface.
Optionally, when the plurality of target objects are displayed on the display screen according to preset sorting numbers, setting M target objects between the first target object and the second target object, and the first target object and the second target object to a selected state includes:
obtaining a first sequencing number corresponding to the first target object and a second sequencing number corresponding to the second target object;
marking the M target objects between the first and second ranking numbers;
setting the M target objects, and the first and second target objects to a selected state.
Optionally, after setting M target objects between the first target object and the second target object, and the first target object and the second target object to the selected state, the method further includes:
if the multi-selection function of the terminal equipment is still in an activated state, and a second control operation is detected to act on any target object in a third display interface, responding to the second control operation, and determining a third target object;
setting the N target objects between the third target object and the second target object, and the third target object to the selected state.
Optionally, after setting M target objects between the first target object and the second target object, and the first target object and the second target object to the selected state, the method further includes:
and if the fact that the preset touch operation does not act on the suspension button within the preset time length is detected, the multi-selection function of the terminal equipment is forbidden.
Optionally, the target objects include one or more of pictures, application icons, characters, folders, and files.
On the other hand, an embodiment of the present invention further provides a selection apparatus, where the apparatus includes:
the terminal device comprises an activation unit and a multi-selection unit, wherein the activation unit activates a multi-selection function of the terminal device for selecting a plurality of target objects on a display screen if receiving a preset touch operation aiming at a suspension button;
a determination unit that determines a first target object and a second target object different from the first target object from among the plurality of target objects;
and the processing unit is used for setting M target objects between the first target object and the second target object, and the first target object and the second target object to be in a selected state, wherein M is an integer not less than zero.
Optionally, the apparatus further comprises:
the switching unit is used for responding to a page turning operation and switching a current display interface of a display screen from a first display interface to a second display interface different from the first display interface if the page turning operation for switching the current display interface of the display screen is detected before the activation unit activates a multi-selection function of selecting a plurality of target objects on the display screen by a terminal device, wherein the first display interface comprises the first target object, and the second display interface comprises the second target object.
Optionally, the determining unit is specifically configured to:
when the multi-selection function of the terminal equipment is in an activated state, detecting that a first control operation acts on any target object in the second display interface, responding to the first control operation, and determining the second target object;
determining the first target object from the set of target objects of the first display interface.
Optionally, the processing unit is specifically configured to:
when the target objects are displayed on the display screen according to preset sorting numbers, obtaining a first sorting number corresponding to the first target object and a second sorting number corresponding to the second target object;
marking the M target objects between the first and second ranking numbers;
setting the M target objects, and the first and second target objects to a selected state.
Optionally, the processing unit is further configured to:
after setting M target objects between the first target object and the second target object and the first target object and the second target object to be in a selected state, if the multi-selection function of the terminal equipment still keeps the activated state and a second control operation is detected to act on any target object in a third display interface, responding to the second control operation and determining a third target object;
setting N target objects between the third target object and the second target object, and the third target object to the selected state, wherein N is an integer not less than zero.
Optionally, the apparatus further comprises:
and the disabling unit is used for disabling the multi-selection function of the terminal equipment if the fact that the preset touch operation does not act on the floating button within a preset time length is detected after the M target objects between the first target object and the second target object and the first target object and the second target object are set to be in the selected state.
On the other hand, an embodiment of the present invention further provides a terminal device, where the terminal device includes a processor and a memory, and the processor is configured to implement the steps of the selection method described above when executing the computer program stored in the memory.
In another aspect, the embodiment of the present invention further provides a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the selection method as described above.
In the embodiment of the invention, because the multi-selection function of the terminal equipment for selecting a plurality of target objects is activated when the preset touch operation, such as the pressing operation, for the floating button is received, thereby enabling to determine a first target object and a second target object different from the first target object from the plurality of target objects, further setting all target objects between the first target object and the second target object, and both the first target object and the second target object in a selected state, therefore, the user can quickly select multiple target objects including the first target object and the second target object, the problem that the existing batch multiple selection operation is complicated is solved, the technical problem of low target object selection efficiency is solved, batch multi-selection operation is simplified, and target object selection efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention.
Fig. 1 is a flowchart of a method for selecting a method according to an embodiment of the present invention;
fig. 2 is a flowchart of a method of step S102 in a selection method according to an embodiment of the present invention;
fig. 3 is a schematic view illustrating display conditions of target objects on the first display interface and the second display interface before and after a user presses a hover button in a selection method according to a first embodiment of the present invention;
fig. 4 is a schematic display diagram before and after multiple selections are performed on the objects 5 to 7 in the first display interface in the selection method according to the first embodiment of the present invention;
fig. 5 is a flowchart of a method of step S103 in a selection method according to an embodiment of the present invention;
fig. 6 is a schematic display diagram of two display interfaces before and after a first target object in a first display interface and a second target object in a second display interface are determined in a selection method according to a first embodiment of the present invention;
fig. 7 is a flowchart of a method after step S103 in a selection method according to an embodiment of the present invention;
fig. 8 is a schematic display diagram illustrating multiple selections of short messages a to d when a target object is a short message in a selection method according to a first embodiment of the present invention;
fig. 9 is a schematic structural diagram of a selecting device according to a second embodiment of the present invention;
fig. 10 is a schematic structural diagram of a terminal device provided in an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a selection method and device, terminal equipment and a readable storage medium, which are used for solving the technical problems that the existing batch multi-selection operation is relatively complicated and the target object selection efficiency is low.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprises" and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In a specific embodiment, the selection method may be applied to a terminal device provided with a display screen, where the display screen may be a touch display screen. In actual use, contents such as an application icon list, a picture list, a folder list, and a document can be displayed through a display screen on the terminal device. The terminal devices mentioned in the embodiments of the present invention include, but are not limited to: electronic devices such as smart phones (e.g., android phones and IOS phones), tablet computers, notebook computers, palmtop computers, wearable smart devices, and the like, and may also be other electronic devices, which are not necessarily illustrated herein.
In order to better understand the technical solutions of the present invention, the technical solutions of the present invention are described in detail below with reference to the drawings and the specific embodiments, and it should be understood that the specific features in the embodiments and the embodiments of the present invention are detailed descriptions of the technical solutions of the present invention, and are not limitations of the technical solutions of the present invention, and the technical features in the embodiments and the embodiments of the present invention may be combined with each other without conflict.
Example one
Referring to fig. 1, an embodiment of the present invention provides a flowchart of a method for selecting a method, where the method can be applied to the foregoing terminal device, and the method includes the following steps:
s101: if a preset touch operation aiming at the suspension button is received, activating a multi-selection function of selecting a plurality of target objects on the display screen by the terminal equipment;
s102: determining a first target object and a second target object different from the first target object from the plurality of target objects;
s103: setting M target objects between the first target object and the second target object, and the first target object and the second target object to be in a selected state, wherein M is an integer not less than zero.
In the specific implementation process, the specific implementation process from step S101 to step S103 is as follows:
first, whether a preset touch operation is received by the hover button is detected, where the preset touch operation may be specifically an operation determined according to a use habit of a user, and for example, the preset touch operation may be a press operation, a drag operation, a click operation, a double-click operation, and the like. And if the suspension button receives the preset touch operation, activating a multi-selection function of selecting a plurality of target objects on the display screen by the terminal equipment. For example, when the user presses the hover button, the multi-selection function of the terminal device is activated. The target objects comprise one or more of pictures, application icons, characters, folders and files. That is to say, when the multi-selection function of the terminal device is in an activated state, multi-selection of one or more of pictures, application icons, characters, folders and files in the category can be realized. In addition, the method can also be used for short messages, reminding matters and the like. For example, multiple selections of multiple pictures in a picture library are realized. For another example, multiple selections of multiple characters and pictures in the same document are realized. For another example, multiple selections of application icons, folders and files on the desktop of the terminal device are performed. Of course, those skilled in the art can implement multiple selections of multiple target objects according to actual needs, which are not illustrated here.
Then, a first target object and a second target object different from the first target object are determined from the plurality of target objects. For example, when the user presses the hover button and sequentially clicks and selects the target object a and the target object b in the current display interface, the target object a and the target object b are determined.
Then, M target objects between the first target object and the second target object, and the first target object and the second target object are set to the selected state. For example, after the first target object is the character a and the second target object is the character D, and the characters between the character a and the character D are determined to be the character B and the character C, all the characters between the character a and the character D can be selected, that is, multiple selections of the character a, the character B, the character C, and the character D are realized. Therefore, multi-selection operation based on the suspension button is realized, and multi-selection efficiency is improved.
In the embodiment of the present invention, in order to further improve the multiple selection efficiency of the terminal device for target objects on different display interfaces, in step S101: before activating a multi-selection function of the terminal device for selecting a plurality of target objects on the display screen, the method further includes:
and if the page turning operation for switching the current display interface of the display screen is detected, responding to the page turning operation, and switching the current display interface from a first display interface to a second display interface different from the first display interface, wherein the first display interface comprises the first target object, and the second display interface comprises the second target object. In a specific implementation process, if a page turning operation for switching a current display interface of the display screen is detected, the current display interface of the display screen is switched from a first display interface to a second display interface different from the first display interface in response to the page turning operation. The page turning operation may be an operation of changing the current display interface forward or an operation of changing the current display interface backward. Taking a touch screen terminal device for page changing up and down as an example, the operation of page changing in the forward direction is a sliding operation from top to bottom, and the operation of page changing in the backward direction is a sliding operation from bottom to top. Taking a touch screen terminal device for page changing from left to right as an example, the operation of page changing in the forward direction is a sliding operation from left to right, and the operation of page changing in the backward direction is a sliding operation from right to left. Of course, the page turning operation may be other operations, which are not illustrated herein.
In a specific implementation process, the page turning operation performed by the user does not need to be performed by the user in contact with the touch screen all the time, for example, the user slides a finger up and down on the touch screen to turn the page up and down. Compared with the prior art, the page turning operation can be realized only by the fact that the user's finger is always in contact with the touch screen for operation, for example, the screen rolls up and down or the screen rolls left and right, the operation is more convenient, and the use performance of the terminal device is better.
Then, when the multi-selection function of the hover button is in an activated state, a first target object and a second target object different from the first target object are determined from the plurality of target objects, wherein the first target object is located on the first display interface, and the second target object is located on the second display interface. For example, when the current display interface is switched from the display interface a to the display interface B, the user presses the hover button and simultaneously presses the target object B in the display interface B, so as to activate the multi-selection operation between the target object B and the target objects in other display interfaces, where the other display interfaces may be the display interface a, the display interface B, or a display interface other than the display interface a and the display interface B. That is, when the multi-selection function of the hover button is activated, two target objects can be determined from the same display interface or different display interfaces, and when the two target objects are located on different display interfaces, the existing multi-selection operation is greatly simplified.
Then, M target objects displayed between the first target object and the second target object, and the first target object and the second target object are set to a selected state, where M is an integer not less than zero. For example, the target object between the target object a in the display interface a and the target object B in the display interface B, and the target object a and the target object B are set to the selected state.
In a specific implementation process, when the current display interface is the second display interface, the multi-selection function of selecting at least two target objects in the plurality of target objects by the terminal device is activated by the preset touch operation acting on the floating button. For example, when the preset operation is specifically a pressing operation, and when a target object is found, the user presses the floating button on the display interface where the target object is located to activate the multi-selection function of the terminal device, so that compared with the existing multi-selection operation in which the finger of the user is always in contact with the touch screen during sliding multi-selection, the multi-selection operation is simpler and more convenient to operate and has higher multi-selection efficiency.
In addition, in the implementation of the present invention, in order to further improve the multi-selection efficiency, if it is detected that the preset touch operation does not act on the hover button within a preset time period, the multi-selection function of the terminal device is disabled. For example, once the user releases the pressing of the hover button, the multi-selection function of the hover button is disabled, thereby further improving the efficiency of selecting the multi-target object.
In the embodiment of the present invention, please refer to fig. 2, step S102: determining a first target object and a second target object different from the first target object from the plurality of target objects, comprising:
s201: when the multi-selection function of the terminal equipment is in an activated state, detecting that a first control operation acts on any target object in the second display interface, responding to the first control operation, and determining the second target object;
s202: determining the first target object from the set of target objects of the first display interface.
In the specific implementation process, the specific implementation process from step S201 to step S202 is as follows:
firstly, when the multi-selection function of the suspension button is in an activated state, and a first control operation is detected to act on any target object in the second display interface, the second target object is determined in response to the first control operation. For example, when the user presses the hover button to activate the multi-selection function of the terminal device, and clicks a target object B in the display interface B, the target object B is determined from a plurality of target objects in the display interface B. Then, the first target object is determined from the set of target objects of the first display interface. The target object set may be a set composed of all or part of all target objects in the first display interface. Specifically, the target object set in a marked state may be determined from a plurality of target objects in the first display interface different from the second display interface. The target object in the target object set in the marked state may be the target object already in the selected state in the first display interface, and the target object may be a single target object determined by directly clicking when the user turns to the first display interface, or may be a target object that is selected by the user by pressing a hover button on the first display interface before pressing the hover button again. Fig. 3 is a schematic diagram illustrating a display situation of the target object on the first display interface and the target object on the second display interface before and after the user presses the hover button. The object 1 is a target object selected by a user through direct clicking, and the objects 2 to 4 are target objects selected by the user through multiple selection.
In addition, in the embodiment of the present invention, in order to further improve the multi-selection performance of the terminal device, a user firstly clicks a first target object in a first display interface, then presses the hover button to activate the multi-selection function of the terminal device, and then clicks a second target object in a second display interface, thereby implementing multi-selection between the first target object and the second target object. The multi-selection function of the terminal device can be activated by pressing the floating button by the user, the first target object is determined by clicking from the first display interface, the second target object is determined by clicking from the second display interface, and therefore multi-selection between the first target object and the second target object is achieved. Of course, for those skilled in the art, besides the determination of the target object through the single-click operation, other operations may be selected according to the actual usage habit of the user to determine the target object, which is not illustrated herein. In the embodiment of the present invention, in addition to the above-mentioned manual determination of the first target object from the first display interface, the terminal device may also automatically determine the first target object from the first display interface. In particular, after the second target object is determined from the second display interface, a set of target objects in a marked state is determined from the first display interface. Then, the first target object meeting the preset condition is determined from the target object set. The preset condition may be a condition preset by a user according to actual needs, where the preset condition may be that a time interval between storage time corresponding to each target object in the target object set and storage time corresponding to the second target object is smaller than a preset time interval, for example, the storage time may be closest to the second target object. The preset condition may be that a time interval between the storage time corresponding to the second target object and the storage time corresponding to the first target object is greater than a preset time interval, for example, the storage time may be farthest from the second target object, and the like, which is not illustrated herein. Still taking fig. 3 as an example, after the user turns back from the current first display interface to the second display interface, once the user presses the hover button and presses the target object b, the object 4 closest to the storage time of the target object b may be determined as the first target object from the set of target objects in the marked state including the object 1, the object 2, and the object 4. Of course, the person skilled in the art may also design a method for determining the first target object from the first display interface according to the actual usage habit of the user, which is not illustrated herein.
In the embodiment of the invention, the first target object meeting the preset condition is quickly determined from the target object set by setting the preset condition, so that the selection efficiency of the target object is further improved.
In addition, in the embodiment of the present invention, in addition to multiple selections of target objects in different display interfaces, multiple selections of target objects in the same display interface may also be performed, and still taking the first display interface shown in fig. 3 as an example, in a specific implementation process, after a user clicks the selected object 5, the user presses the floating button and then presses the selected object 7, so that multiple selections of target objects between the objects 5 and 7 are achieved, and a display diagram of the first display interface before and after the user performs multiple selections of the objects 5 to 7 is shown in fig. 4.
In the embodiment of the present invention, two different target objects may be sequentially selected while the hover button is pressed, and the target object between the two target objects is set in the selected state while the two target objects are set in the selected state.
In the embodiment of the present invention, in order to realize rapid selection of a target object among a plurality of target objects, the plurality of target objects may be specifically arranged and displayed on the display screen according to a preset rule, for example, the preset rule arrangement may be a storage sequence of pictures in the same picture library, or may be a sequence arranged from large to small according to a storage size, or may be a sequence arranged by arranging initials of file names of each file in the library according to letters a to Z26, and of course, a person skilled in the art may design the preset rule arrangement according to an actual use habit of a user, which is not illustrated herein. In addition, the plurality of target objects may be arranged on the display screen according to a preset rule, or may be irregularly displayed on the display screen, but a person skilled in the art may determine the target object between the first target object and the second target object as required regardless of the display rule.
In the embodiment of the present invention, when the target objects are displayed on the display screen according to the preset sequence numbers, please refer to fig. 5, step S105: when the first target object and the second target object are set to the selected state, the setting of the M target objects between the first target object and the second target object, and the setting of the first target object and the second target object to the selected state includes:
s301: obtaining a first sequencing number corresponding to the first target object and a second sequencing number corresponding to the second target object;
s302: marking the M target objects between the first and second ranking numbers;
s303: setting the M target objects, and the first and second target objects to a selected state.
In the specific implementation process, the specific implementation process of steps S301 to S303 is as follows:
first, a first ranking number corresponding to the first target object and a second ranking number corresponding to the second target object are obtained. Specifically, if the preset regular arrangement is a preset sequence number arrangement, for example, each picture in the picture library corresponds to one sequence number, when the user previews the pictures in the picture library, the pictures in the picture library may be sequentially arranged according to the sequence of the preset sequence numbers from low to high, and displayed to the user. In a specific implementation process, after the first target object and the second target object are determined, a first ranking number corresponding to the first target object and a second ranking number corresponding to the second target object are obtained. As shown in fig. 6, taking the target object 4 in the first display interface in fig. 3 as the determined first target object, the target object b in the second display interface in fig. 3 as the determined second target object, the sort number corresponding to the target object 4 is 10, and the sort number corresponding to the target object b is 20, for example, the sort numbers between the sort number 10 and the sort number 20 are determined as the sort numbers 11 to 19, and further, the target objects sequentially corresponding to the sort numbers 11 to 19 are determined. Then, the target objects sequentially corresponding to the sort numbers 11 to 19 are marked, thereby setting the target objects sequentially corresponding to the sort numbers 10 and 20, and the sort numbers 11 to 19 in the selected state.
In the embodiment of the invention, the target objects are arranged by the preset sequencing numbers, so that the target objects between the first target object and the second target object are quickly selected, and further, the efficiency of multi-selecting the target objects is improved.
Of course, the skilled person may also use other ways than the preset sorting number arrangement to achieve the fast selection of the target object between the first target object and the second target object according to specific needs, which is not illustrated here.
In the embodiment of the present invention, as shown in fig. 7, in step S103: after setting the M target objects between the first target object and the second target object, and the first target object and the second target object to the selected state, the method further includes:
s401: if the multi-selection function of the suspension button is still in the activated state, and a second control operation is detected to act on any target object in a third display interface, responding to the second control operation, and determining a third target object;
s402: setting N target objects between the third target object and the second target object, and the third target object to the selected state, wherein N is an integer not less than zero.
In a specific implementation process, after multiple selections are performed on the target object a in the first display interface to the target object b in the second display interface, if the user continues to press the hover button, that is, the multiple selection function of the hover button is kept in the activated state, at this time, if it is detected again that the user clicks and determines the third target object c in the third display interface again, after multiple selections between the target object a and the target object b are kept, multiple selections between the target object b and the target object c are continuously performed, and compared with the prior art, the multiple selection process is simplified, and efficiency is higher.
In the embodiment of the present invention, in order to further simplify the multi-selection operation on the target object, in step S103: after setting the M target objects between the first target object and the second target object, and the first target object and the second target object to the selected state, the method further includes: and if the fact that the preset touch operation does not act on the suspension button within the preset time length is detected, the multi-selection function of the terminal equipment is forbidden. That is, when the user no longer needs to perform multi-selection on the target object, as long as the user releases the pressing of the hover button, after the user releases the pressing of the hover button, the multi-selection function of the terminal device is disabled. After the terminal equipment is forbidden, the multi-selection function of the terminal equipment can be quickly started as long as the user presses the suspension button again, and the whole operation process is very convenient and fast. In a specific implementation process, the preset time duration may be a time duration set by a person skilled in the art according to an actual usage habit of a user, and is not illustrated here.
In the embodiment of the invention, the multi-selection function of the terminal equipment can be applied to the scene corresponding to one or more of the target objects including pictures, application icons, characters, folders and files according to the requirements of users. For example, the message may be a note, a reminder, and the like. As shown in fig. 8, when the short message is received, a multi-selection operation process performed by the multi-selection function of the terminal device is schematically illustrated. Firstly, selecting the short message a, then pressing the suspension button, and simultaneously selecting the short message d, thereby realizing multi-selection between the short message a and the short message d, and certainly, multi-selection can be performed on short message items in different short message pages, wherein the page where the short message item is located is equivalent to the display interface, so that the process of multi-selection of the short message items between different pages is similar, and thus detailed description is not needed here. In the specific implementation process, the user can select the short message items more at one time, so that the user experience is further improved. In addition, those skilled in the art may also implement multiple selection on the target object based on the multiple selection method in the embodiment of the present invention, which is not illustrated herein.
Example two
Based on the same inventive concept as the embodiment of the present invention, please refer to fig. 9, the embodiment of the present invention further provides a selecting apparatus, the apparatus comprising:
the activation unit 10 is used for activating a multi-selection function of selecting a plurality of target objects on the display screen by the terminal device if a preset touch operation for the suspension button is received; a determination unit 20 that determines a first target object and a second target object different from the first target object from among the plurality of target objects;
the processing unit 30 sets M target objects between the first target object and the second target object, and the first target object and the second target object to a selected state, where M is an integer not less than zero.
In the embodiment of the present invention, before the activation unit activates a multi-selection function in which a terminal device selects a plurality of target objects on a display screen, if a page turning operation for switching a current display interface of the display screen is detected, the current display interface is switched from a first display interface to a second display interface different from the first display interface in response to the page turning operation, where the first display interface includes the first target object, and the second display interface includes the second target object.
In the embodiment of the present invention, the determining unit 20 is specifically configured to:
when the multi-selection function of the terminal equipment is in an activated state, detecting that a first control operation acts on any target object in the second display interface, responding to the first control operation, and determining the second target object;
determining the first target object from the set of target objects of the first display interface.
In the embodiment of the present invention, the processing unit 30 is specifically configured to:
when the target objects are displayed on the display screen according to preset sorting numbers, obtaining a first sorting number corresponding to the first target object and a second sorting number corresponding to the second target object;
marking the M target objects between the first and second ranking numbers;
setting the M target objects, and the first and second target objects to a selected state.
In the embodiment of the present invention, the processing unit 30 is further configured to:
after setting M target objects between the first target object and the second target object and the first target object and the second target object to be in a selected state, if the multi-selection function of the terminal equipment still keeps the activated state and a second control operation is detected to act on any target object in a third display interface, responding to the second control operation and determining a third target object;
setting the N target objects between the third target object and the second target object, and the third target object to the selected state.
In an embodiment of the present invention, the apparatus further includes:
and the disabling unit is used for disabling the multi-selection function of the terminal equipment if the fact that the preset touch operation does not act on the floating button within a preset time length is detected after the M target objects between the first target object and the second target object and the first target object and the second target object are set to be in the selected state.
As shown in fig. 10, a further aspect of the embodiment of the present invention provides a terminal device, which includes a processor 40 and a memory 50, wherein the processor 40 is configured to execute a computer program stored in the memory 50 to implement one or more steps of the embodiment or other descriptions that can cover all contents of the embodiment of the present invention.
Optionally, the processor 40 may be specifically a central processing unit, an Application Specific Integrated Circuit (ASIC), one or more Integrated circuits for controlling program execution, a hardware Circuit developed by using a Field Programmable Gate Array (FPGA), or a baseband processor.
Optionally, processor 40 may include at least one processing core.
Optionally, the electronic device further includes a Memory 50, and the Memory 50 may include a Read Only Memory (ROM), a Random Access Memory (RAM), and a disk Memory. The memory 50 is used to store data required by the processor 40 in operation. The number of the memory 50 is one or more.
Yet another aspect of the embodiments of the present invention provides a readable storage medium storing a computer program which, when run on a computer, can implement one or other of the embodiments described above, which can cover all of the contents of the embodiments of the present invention.
In the embodiments of the present invention, it should be understood that the disclosed method and selection device can be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical or other form.
The functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be an independent physical module.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device, such as a personal computer, a server, or a network device, or a Processor (Processor), to execute all or part of the steps of the methods of the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a Universal Serial Bus flash drive (USB), a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, and an optical disk.
The above embodiments are only used to describe the technical solutions of the present invention in detail, but the above embodiments are only used to help understanding the method of the embodiments of the present invention, and should not be construed as limiting the embodiments of the present invention. Variations or substitutions that may be readily apparent to one skilled in the art are intended to be included within the scope of the embodiments of the present invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method of selection, the method comprising:
if a preset touch operation aiming at the suspension button is received, activating a multi-selection function of selecting a plurality of target objects on the display screen by the terminal equipment;
determining a first target object and a second target object different from the first target object from the plurality of target objects while the preset touch operation acts on the hover button;
setting M target objects between the first target object and the second target object, and the first target object and the second target object to be in a selected state, wherein M is an integer not less than zero;
and if the fact that the preset touch operation does not act on the suspension button within the preset time length is detected, the multi-selection function of the terminal equipment is forbidden.
2. The method of claim 1, wherein prior to activating a multiple selection function of the terminal device for selecting a plurality of target objects on the display screen, the method further comprises:
and if the page turning operation for switching the current display interface of the display screen is detected, responding to the page turning operation, and switching the current display interface from a first display interface to a second display interface different from the first display interface, wherein the first display interface comprises the first target object, and the second display interface comprises the second target object.
3. The method of claim 2, wherein determining a first target object and a second target object different from the first target object from the plurality of target objects comprises:
when the multi-selection function of the terminal equipment is in an activated state, detecting that a first control operation acts on any target object in the second display interface, responding to the first control operation, and determining the second target object;
determining the first target object from the set of target objects of the first display interface.
4. The method of claim 1, wherein setting M target objects between the first target object and the second target object, and the first target object and the second target object, to a selected state while the plurality of target objects are displayed on the display screen in a preset sorting number comprises:
obtaining a first sequencing number corresponding to the first target object and a second sequencing number corresponding to the second target object;
marking the M target objects between the first and second ranking numbers;
setting the M target objects, and the first and second target objects to a selected state.
5. The method of claim 1, wherein after setting M target objects between the first target object and the second target object, and the first target object and the second target object to a selected state, the method further comprises:
if the multi-selection function of the terminal equipment is still in an activated state, and a second control operation is detected to act on any target object in a third display interface, responding to the second control operation, and determining a third target object;
setting N target objects between the third target object and the second target object, and the third target object to the selected state, wherein N is an integer not less than zero.
6. The method of claim 1, wherein the plurality of target objects comprise one or more of pictures, application icons, characters, folders, and files.
7. A selection device, characterized in that the device comprises:
the terminal device comprises an activation unit and a multi-selection unit, wherein the activation unit activates a multi-selection function of the terminal device for selecting a plurality of target objects on a display screen if receiving a preset touch operation aiming at a suspension button;
a determination unit that determines a first target object and a second target object different from the first target object from the plurality of target objects while the preset touch operation is applied to the hover button;
a processing unit, configured to set M target objects between the first target object and the second target object, and the first target object and the second target object to a selected state, where M is an integer not less than zero; and if the fact that the preset touch operation does not act on the suspension button within the preset time length is detected, the multi-selection function of the terminal equipment is forbidden.
8. The apparatus of claim 7, wherein the apparatus further comprises:
the switching unit is used for responding to a page turning operation and switching a current display interface of a display screen from a first display interface to a second display interface different from the first display interface if the page turning operation for switching the current display interface of the display screen is detected before the activation unit activates a multi-selection function of selecting a plurality of target objects on the display screen by a terminal device, wherein the first display interface comprises the first target object, and the second display interface comprises the second target object.
9. A terminal device, characterized in that it comprises a processor and a memory, said processor being adapted to implement the steps of the selection method according to any one of claims 1-6 when executing a computer program stored in said memory.
10. A readable storage medium having stored thereon a computer program, characterized in that: the computer program realizing the steps of the selection method as claimed in any one of claims 1-6 when executed by a processor.
CN201810422277.1A 2018-05-04 2018-05-04 Selection method and device, terminal equipment and readable storage medium Active CN108874279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810422277.1A CN108874279B (en) 2018-05-04 2018-05-04 Selection method and device, terminal equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810422277.1A CN108874279B (en) 2018-05-04 2018-05-04 Selection method and device, terminal equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN108874279A CN108874279A (en) 2018-11-23
CN108874279B true CN108874279B (en) 2020-11-03

Family

ID=64327268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810422277.1A Active CN108874279B (en) 2018-05-04 2018-05-04 Selection method and device, terminal equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN108874279B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110232174A (en) * 2019-04-22 2019-09-13 维沃移动通信有限公司 A kind of content chooses method and terminal device
CN110308839B (en) * 2019-06-28 2020-11-03 维沃移动通信有限公司 File management method and terminal equipment
CN110321046A (en) * 2019-07-09 2019-10-11 维沃移动通信有限公司 A kind of content selecting method and terminal
CN117215446B (en) * 2021-11-03 2024-06-04 华为技术有限公司 Display method and electronic equipment
CN114153345B (en) * 2021-11-26 2024-05-17 深圳须弥云图空间科技有限公司 Multi-time node selection method, device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2808771A1 (en) * 2013-05-27 2014-12-03 Samsung Electronics Co., Ltd Method for processing input and electronic device thereof
CN104679436A (en) * 2015-03-27 2015-06-03 张铭鑫 Suspended key based on touch screen and device
CN106970739A (en) * 2017-03-13 2017-07-21 广州视源电子科技股份有限公司 Method and system for calling application function through global suspension tool
CN107765972A (en) * 2017-10-26 2018-03-06 竞技世界(北京)网络技术有限公司 A kind of android terminal screenshotss method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6938221B2 (en) * 2001-11-30 2005-08-30 Microsoft Corporation User interface for stylus-based user input
KR20110073857A (en) * 2009-12-24 2011-06-30 엘지전자 주식회사 Mobile terminal and control method thereof
CN103513870B (en) * 2012-06-29 2016-09-21 汉王科技股份有限公司 The list interface of intelligent terminal selects the method and device of multinomial entry
CN103677635B (en) * 2013-12-03 2017-07-28 广东欧珀移动通信有限公司 The batch process and device of intelligent terminal option
KR20160012410A (en) * 2014-07-24 2016-02-03 삼성전자주식회사 Electronic device and method for controlling output thereof
CN106354391B (en) * 2016-08-31 2019-05-17 维沃移动通信有限公司 A kind of control method and mobile terminal of mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2808771A1 (en) * 2013-05-27 2014-12-03 Samsung Electronics Co., Ltd Method for processing input and electronic device thereof
CN104679436A (en) * 2015-03-27 2015-06-03 张铭鑫 Suspended key based on touch screen and device
CN106970739A (en) * 2017-03-13 2017-07-21 广州视源电子科技股份有限公司 Method and system for calling application function through global suspension tool
CN107765972A (en) * 2017-10-26 2018-03-06 竞技世界(北京)网络技术有限公司 A kind of android terminal screenshotss method

Also Published As

Publication number Publication date
CN108874279A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN108874279B (en) Selection method and device, terminal equipment and readable storage medium
TWI515635B (en) Electronic device with touch screen and method of moving icons on the touch screen
WO2019128732A1 (en) Icon management method and device
EP2608006B1 (en) Category search method and mobile device adapted thereto
CN103616980B (en) A kind of fast finishing desk-top picture calibration method and terminal
EP2659347B1 (en) Method for moving object between pages and interface apparatus
CN108710457B (en) Interaction method and terminal equipment
WO2017088102A1 (en) File selection method for intelligent terminal and intelligent terminal
EP2521025B1 (en) Component display processing method and user device
CN104850660A (en) Picture displaying method, picture displaying device and mobile terminal
WO2013109626A1 (en) Method and mobile device for classified webpage switching
WO2013001157A1 (en) An apparatus and associated methods related to touch sensitive displays
EP2889740A1 (en) Method, apparatus and computer program product for zooming and operating screen frame
Chen et al. BezelCopy: an efficient cross-application copy-paste technique for touchscreen smartphones
EP3306455A1 (en) Method and apparatus for switching multiple folders, and computer storage medium
US20150135141A1 (en) Method and apparatus for creating a control interface of a peripheral device
CN105204842B (en) A kind of display control method and electronic equipment
KR20190040997A (en) Method and device for creating groups
WO2016183912A1 (en) Menu layout arrangement method and apparatus
WO2016173307A1 (en) Message copying method and device, and smart terminal
CN110568990B (en) Screen splitting method and device, electronic equipment and storage medium
CN114296844B (en) Information synchronous interaction method, device, equipment and storage medium
CN112596643A (en) Application icon management method and device
EP3364637B1 (en) Method and apparatus for filtering object by means of pressure
US20170083201A1 (en) Method and system for navigation and selection in electronic device

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