WO2016119683A1 - 一种文件选择方法和系统、计算机存储介质 - Google Patents
一种文件选择方法和系统、计算机存储介质 Download PDFInfo
- Publication number
- WO2016119683A1 WO2016119683A1 PCT/CN2016/072190 CN2016072190W WO2016119683A1 WO 2016119683 A1 WO2016119683 A1 WO 2016119683A1 CN 2016072190 W CN2016072190 W CN 2016072190W WO 2016119683 A1 WO2016119683 A1 WO 2016119683A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- file
- touch operation
- sliding
- file selection
- sliding direction
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/0485—Scrolling or panning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
Definitions
- the present invention relates to the field of intelligent terminals, and in particular, to a file selection method and system, and a computer storage medium.
- the main purpose of the embodiments of the present invention is to provide a file selection method and system, which aims to solve the technical problem of multiple selection of files.
- an embodiment of the present invention provides a file selection method, where the file selection method includes:
- control instruction is a file selection instruction
- the obtained file is taken as the selected file.
- the step of acquiring a file corresponding to the file selection instruction in the current display interface when the control instruction is a file selection instruction includes:
- the step of acquiring a file corresponding to the file selection instruction in the current display interface when the control instruction is a file selection instruction includes:
- the file selection method includes:
- the cancel file is culled in the selected file.
- the file selection method further includes :
- the file selection method further includes :
- the method includes:
- the terminal is a terminal with a border, an area for receiving the touch operation of the user is set, and the area is used as a touch operation area of the side of the terminal;
- the all-side area supports the touch operation of the receiving user, and the area is used as the touch operation area of the terminal side.
- the method further includes: before determining the received control instruction corresponding to the touch operation, presetting a mapping relationship between the touch operation and the control instruction;
- mapping relationship between the touch operation and the control instruction supports updating on demand after setting.
- the acquiring a touch operation received by the touch operation area on the side of the terminal, and determining the received control instruction corresponding to the touch operation includes:
- the sliding parameter includes a sliding distance, a sliding speed, and/or a sliding pressure.
- an embodiment of the present invention further provides a file selection system, where the file selection system includes:
- a touch operation detecting module configured to acquire a touch operation received by a touch operation area on a side of the terminal
- a determining module configured to determine a control instruction corresponding to the received touch operation
- the acquiring module is configured to acquire, when the control instruction is a file selection instruction, a file corresponding to the file selection instruction in the current display interface;
- the processing module is configured to use the obtained file as the selected file.
- the acquiring module is further configured to acquire a first sliding direction and a first sliding distance of the touch operation when the control instruction is a file selection instruction; and according to the first The sliding direction acquires a file corresponding to the first sliding distance in the current display interface.
- the acquiring module is further configured to: when the control instruction is a file selection instruction, and the sliding speed of the touch operation is greater than a first preset threshold, all files of the current display interface are As a file corresponding to the file selection instruction.
- the acquiring module is further configured to acquire a second sliding direction of the touch operation when receiving a touch operation triggered by a touch operation area of a terminal side, and Obtaining a second sliding distance of the touch operation when the second sliding direction is opposite to the first sliding direction;
- the determining module is further configured to determine the selected file according to the second sliding direction and the second sliding distance The cancellation file;
- the processing module is further configured to cull the cancellation file in the selected file.
- the processing module is further configured to: when the second sliding direction is opposite to the first sliding direction, and the sliding speed of the touch operation is greater than a second preset threshold , cancel all the selected files.
- the acquiring module is further configured to acquire a first sliding direction and a first sliding distance of the touch operation when the second sliding direction is the same as the first sliding direction. And acquiring the current display interface and the according to the first sliding direction a file corresponding to the first sliding distance; the processing module is further configured to cancel the currently selected file, and use the currently obtained file as the selected file.
- the file selection system further includes a touch operation area determining unit, configured to: when the terminal is a bordered terminal, set an area for receiving the touch operation of the user, and The area is a touch operation area of the side of the terminal; when the terminal is a terminal without a frame, the all-side area supports the touch operation of the receiving user, and the area is used as a touch operation area of the side of the terminal. .
- the file selection system further includes: an erroneous operation detecting unit, configured to acquire the touch operation received by the touch operation area of the terminal side, and detect the received touch operation. Corresponding sliding parameter; when the sliding parameter is greater than a preset threshold, determining the received control instruction corresponding to the touch operation according to a mapping relationship between the touch operation and the control instruction.
- the touch operation detection module, the determination module, the acquisition module, the processing module, the touch operation area determination unit, and the erroneous operation detection unit may adopt a central processing unit (CPU, Central) when performing processing.
- CPU Central
- Processing Unit Digital Signal Processor
- DSP Digital Singnal Processor
- FPGA Field-Programmable Gate Array
- the sliding parameter includes a sliding distance, a sliding speed, and/or a sliding pressure.
- an embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are configured to execute the file according to any one of the foregoing solutions. Method of choosing.
- the touch operation received by the touch operation area of the terminal side is acquired, and the received control instruction corresponding to the touch operation is determined; when the control instruction is a file selection instruction, the current control is obtained. a text corresponding to the file selection instruction in the display interface
- the file is taken as the selected file, and the selection of the file can be realized only by the touch operation on the side of the terminal, which is very convenient.
- Embodiment 1 is a schematic flow chart of Embodiment 1 of a file selection method according to the present invention
- Embodiment 2 is a schematic flowchart of Embodiment 2 of a file selection method according to the present invention
- Embodiment 3 is a schematic flowchart of Embodiment 3 of a file selection method according to the present invention.
- FIG. 4 is a schematic diagram of functional modules of a preferred embodiment of a file selection system of the present invention.
- FIG. 5 is a schematic diagram of functional modules of a preferred embodiment of the file selection system of the present invention.
- Embodiment 1 is a diagrammatic representation of Embodiment 1:
- a file selection method includes the following steps:
- Step S10 acquiring a touch operation received by the touch operation area of the terminal side, and determining a control instruction corresponding to the received touch operation;
- the side of the terminal may be a frame formed of a material such as metal or plastic, and a touch area is disposed on the side for receiving a touch operation of the user; or the terminal is a frameless terminal, and the entire terminal is composed of a glass screen.
- the touch operation input by the user may be a click touch operation and a sliding touch operation, and a mapping relationship between the touch operation and the control instruction may be preset, for example, different touch sliding track directions and distances correspond to different control commands.
- the user can set different touch operations corresponding to the control commands as needed, such as sliding touch operations for file sorting, or in setting After that, the touch operation corresponding to each control instruction is modified.
- the step S10 includes:
- the sliding parameter may include a sliding distance, a sliding speed, and/or a sliding pressure.
- the sliding distance is generally small, the sliding speed is generally slow, and the sliding pressure is generally small, so when the sliding parameter is greater than the preset threshold, it is considered
- the current touch operation is not a false trigger.
- the user may be prevented from being erroneously triggered by setting a touch control switch, which may be a physical button, a virtual button or a gesture on the first terminal, that is, step S10 includes: acquiring a touch sensing area on the side of the terminal to receive the touch. Operation, and when receiving the touch operation, determining whether the terminal is currently in the side control mode (ie, whether the touch control switch is turned on); determining that the received touch operation is corresponding when the terminal is currently in the side control mode instruction.
- Step S20 when the control instruction is a file selection instruction, acquiring a file corresponding to the file selection instruction in the current display interface;
- the file in the embodiment includes a photo, a document, a plan document, and the like.
- the specific embodiment of the file corresponding to the file selection instruction is:
- the step S20 includes:
- Step S21 when the control instruction is a file selection instruction, acquiring a first sliding direction and a first sliding distance of the touch operation;
- Step S22 Acquire a file corresponding to the first sliding distance in the current display interface according to the first sliding direction.
- the current display interface is obtained according to the first sliding direction.
- the step of the file corresponding to the first sliding distance includes: determining a sliding starting point of the sliding operation, and determining a file corresponding to the position of the sliding starting point, and using the file as a starting point according to the first sliding direction and The first sliding distance acquires a file, and the obtained file is used as a file corresponding to the file selection instruction.
- the top position of the current file display interface is used as the starting point of the file selection, the file is obtained according to the first sliding direction and the first sliding distance, and the obtained file is used as the file corresponding to the file selection instruction.
- the touch operation is a click touch operation
- the second sliding distance is 0, and at this time, only the file at the position where the touch click operation is located may be acquired, and when the file is arrayed, the arrangement is performed.
- the currently obtained file is a one-line file.
- the currently obtained file is a single file.
- the step S20 includes:
- control instruction is a file selection instruction
- the sliding speed of the touch operation is less than or equal to the first preset threshold
- the first sliding direction and the first sliding of the touch operation are acquired.
- a distance; a file corresponding to the first sliding distance in the current display interface is acquired according to the first sliding direction.
- the manner of obtaining the file corresponding to the file selection instruction in the current display interface is merely exemplary. Those skilled in the art can use the technical idea of the present invention to obtain the current display interface according to other specific requirements. The manner of the file corresponding to the file selection instruction is within the protection scope of the present invention, and is not exhaustive.
- step S30 the obtained file is taken as the selected file.
- the file selected by the user may be identified by changing the color of the file identifier or by adding a shadow to the file identifier.
- the solution may be applied to a file selection interface of the file transfer application or other interface, such as a file view interface, and the user. Select the appropriate file to delete or copy the file.
- the file selection method in this embodiment obtains a touch operation received by the touch operation area on the side of the terminal, and determines a control instruction corresponding to the received touch operation; when the control instruction is a file selection instruction, obtains the current
- the file corresponding to the file selection instruction is displayed in the interface; the obtained file is used as the selected file, and the selection of the file can be realized only by the touch operation on the side of the terminal, which is very convenient.
- Embodiment 2 is a diagrammatic representation of Embodiment 1:
- a file selection method according to an embodiment of the present invention as shown in FIG. 2, further, in order to improve the accuracy of the file selection, the second embodiment of the file selection method of the present invention is proposed based on the first embodiment.
- the step S30 further includes the following steps:
- Step S40 Acquire a second sliding direction of the touch operation when receiving a touch operation triggered by the touch operation area of the terminal side;
- Step S50 acquiring a second sliding distance of the touch operation when the second sliding direction is opposite to the first sliding direction;
- Step S60 determining a cancel file in the selected file according to the second sliding direction and the second sliding distance
- Step S70 the cancel file is rejected in the selected file.
- the unneeded file can be canceled, and the canceling operation can be realized based on the sliding touch operation in the opposite direction to the touch sliding direction of the selected file, which is very convenient. It can be understood by those skilled in the art that in order to further improve the accuracy of file selection, the user cancels the redundant selected file by clicking the file to be canceled.
- the step S40 further includes the steps of: acquiring the first sliding direction and the first sliding distance of the touch operation when the second sliding direction is the same as the first sliding direction Obtaining a file corresponding to the first sliding distance in the current display interface according to the first sliding direction; canceling the currently selected file, and using the currently obtained file as the selected file. Or, when the second sliding direction is the same as the first sliding direction, acquiring a first sliding direction and a first sliding distance of the touch operation; using the end of the currently selected file as a starting point, according to the first The sliding direction acquires a file corresponding to the first sliding distance in the current display interface; and adds the currently acquired file to the selected file.
- step S40 further includes the following steps:
- the first preset threshold and the second threshold may be equal or not equal.
- the first preset threshold is equal to the second preset threshold.
- the first step of the touch operation is acquired. a sliding distance; determining a cancellation file in the selected file according to the second sliding direction and the second sliding distance; and deleting the cancellation file in the selected file.
- Embodiment 3 is a diagrammatic representation of Embodiment 3
- a file selection method includes the following steps:
- step S11 the touch operation area on the side of the terminal is determined.
- determining that the touch operation area on the side of the terminal has at least two implementation manners: 1) if the terminal is a terminal with a border, setting an area for receiving the touch operation of the user, and The area is used as the touch operation area of the terminal side; 2) if the terminal is a borderless terminal, the all-side area supports the touch operation of the receiving user, and the area is used as the terminal side The touch operation area of the side. After the touch operation area on the side of the terminal is determined, the received touch operation can be detected in the touch operation area.
- the side of the terminal may be a frame formed of a material such as metal or plastic, and a touch area is disposed on the side for receiving a touch operation of the user; or the terminal is a frameless terminal, and the entire terminal is made of glass.
- the screen is composed of no physical buttons, all sides can be touched, and all operations can be performed by touch.
- Step S12 preset a mapping relationship between the touch operation and the control instruction.
- mapping relationship between the preset touch operation and the control instruction for example, different touch sliding track directions and distances correspond to different control commands.
- the mapping relationship between the touch operation and the control instruction may be updated as needed at any time.
- a sliding touch operation may be set as a file selection, or a sliding touch operation may be set as a file sorting.
- the user can set different touch operations corresponding to the control commands as needed, or modify the touch operations corresponding to the respective control commands after the settings.
- the touch operation input by the user may be a click touch operation and a sliding touch operation.
- Step S13 Acquire a touch operation received by the touch operation area on the side of the terminal, and detect a sliding parameter corresponding to the received touch operation.
- the sliding parameter includes a sliding distance, a sliding speed, and/or a sliding pressure.
- the sliding distance is generally small
- the sliding speed is generally slow
- the sliding pressure is generally small.
- the sliding parameter is greater than the preset threshold, it is considered that the current touch operation is not a false trigger.
- the user may be prevented from falsely triggering by setting a touch control switch, which may be a physical button, a virtual button or a gesture on the first terminal.
- Step S14 determining, according to a mapping relationship between the touch operation and the control instruction, the received control finger corresponding to the touch operation, when the sliding parameter is greater than a preset threshold. make.
- the problem of erroneous operation is solved by steps S13 to S14. It can be understood by those skilled in the art that since the triggering mode of the control instruction is a touch operation, the user may be erroneously triggered. To avoid false triggering by the user, it is necessary to detect whether the touch operation is an erroneous operation, and it is determined that the operation is not an erroneous operation. Then, the corresponding query of the touch operation and the control instruction is performed according to the preset mapping relationship, and then the subsequent file selection is performed according to the control instruction.
- step S11 to step S14 the touch sensing area of the terminal side is received to receive the touch operation, and when the touch operation is received, it is determined whether the terminal is currently in the side control mode (ie, whether the touch control switch is turned on); When currently in the side control mode, the received control command corresponding to the touch operation is determined.
- Step S15 When the control instruction is a file selection instruction, acquire a file corresponding to the file selection instruction in the current display interface.
- the file in the embodiment includes a photo, a document, a plan document, and the like.
- the specific embodiment of the file corresponding to the file selection instruction is:
- the step S15 specifically includes: acquiring a first sliding direction and a first sliding distance of the touch operation when the control instruction is a file selection instruction; acquiring a current display interface according to the first sliding direction A file corresponding to the first sliding distance.
- the step of acquiring the file corresponding to the first sliding distance in the current display interface according to the first sliding direction comprises: determining a sliding starting point of the sliding operation, and determining the sliding starting point
- the file corresponding to the location is used as a starting point
- the file is obtained according to the first sliding direction and the first sliding distance
- the obtained file is used as a file corresponding to the file selection instruction.
- the top position of the current file display interface is used as the starting point of the file selection
- the file is obtained according to the first sliding direction and the first sliding distance
- the obtained file is used as the file corresponding to the file selection instruction.
- the second sliding distance is 0. At this time, only the file at the location where the touch click operation is located may be obtained.
- the currently obtained file is a line of files, and when the file is in a single column arrangement, the current file is obtained.
- the file to be sent is a single file.
- the step S15 specifically includes: when the control instruction is a file selection instruction, and the sliding speed of the touch operation is greater than the first preset threshold, all files of the current display interface are used as the file selection instruction. file.
- control instruction is a file selection instruction
- the sliding speed of the touch operation is less than or equal to the first preset threshold
- the first sliding direction and the first sliding of the touch operation are acquired.
- a distance; a file corresponding to the first sliding distance in the current display interface is acquired according to the first sliding direction.
- the manner of obtaining the file corresponding to the file selection instruction in the current display interface is merely exemplary. Those skilled in the art can use the technical idea of the present invention to obtain the current display interface according to other specific requirements. The manner of the file corresponding to the file selection instruction is within the protection scope of the present invention, and is not exhaustive.
- step S16 the obtained file is taken as the selected file.
- the file selected by the user may be identified by changing the color of the file identifier or by adding a shadow to the file identifier.
- the solution may be applied to a file selection interface of the file transfer application or other interface, such as a file view interface, and the user. Select the appropriate file to delete or copy the file.
- the file selection method in this embodiment obtains a touch operation received by the touch operation area on the side of the terminal, and determines a control instruction corresponding to the received touch operation; when the control instruction is a file selection instruction, obtains the current Displaying a file corresponding to the file selection instruction in the interface; using the obtained file as the selected file, only by touching the side of the terminal It is very convenient to implement the selection of files.
- the invention further provides a file selection system.
- FIG. 4 is a schematic diagram of functional modules of a preferred embodiment of the file selection system of the present invention.
- the functional block diagram shown in FIG. 4 is merely an exemplary embodiment of a preferred embodiment, and the functional modules of the file selection system shown in FIG. 4 can be easily used by those skilled in the art.
- Adding a new function module; the name of each function module is a custom name, which is only used to assist in understanding the various program function blocks of the file selection system, and is not used to limit the technical solution of the present invention.
- the core of the technical solution of the present invention is The functions to be achieved by the function modules that each define the name.
- this embodiment is a file selection system, and the file selection system includes:
- the touch operation detecting module 10 is configured to acquire a touch operation received by the touch operation area of the terminal side;
- the determining module 20 is configured to determine a control instruction corresponding to the received touch operation
- the side of the terminal may be a frame formed of a material such as metal or plastic, and a touch area is disposed on the side for receiving a touch operation of the user; or the terminal is a frameless terminal, and the entire terminal is composed of a glass screen.
- the touch operation input by the user may be a click touch operation and a sliding touch operation, and a mapping relationship between the touch operation and the control instruction may be preset, for example, different touch sliding track directions and distances correspond to different control commands.
- the user can set different touch operations corresponding to the control commands as needed, such as sliding touch operations for file sorting, and after the setting, modify the touch operations corresponding to the respective control commands.
- the determining module 20 is configured to determine the sliding corresponding to the received touch operation. a parameter, and when the sliding parameter is greater than a preset threshold, determining a control instruction corresponding to the received touch operation.
- the sliding parameter may include a sliding distance, a sliding speed, and/or a sliding pressure.
- the sliding distance is generally small
- the sliding speed is generally slow
- the sliding pressure is generally small, so when the sliding parameter is greater than the preset threshold, it is considered
- the current touch operation is not a false trigger.
- the user may be prevented from erroneously triggering by setting a touch control switch, which may be a physical button, a virtual button or a gesture on the first terminal, that is, the determining module 20 determines whether the terminal is currently in the side control mode ( That is, whether the touch control switch is turned on, and when the terminal is currently in the side control mode, the received control instruction corresponding to the touch operation is determined.
- the obtaining module 30 is configured to acquire, when the control instruction is a file selection instruction, a file corresponding to the file selection instruction in the current display interface;
- the file in the embodiment includes a photo, a document, a plan document, and the like.
- the specific embodiment of the file corresponding to the file selection instruction is:
- the obtaining module 30 is further configured to acquire a first sliding direction and a first sliding distance of the touch operation when the control instruction is a file selection instruction, and acquire a current display interface according to the first sliding direction. A file corresponding to the first sliding distance.
- the obtaining module 30 includes: a determining unit configured to determine a sliding starting point of the sliding operation, and determining a file corresponding to the position of the sliding starting point; and a processing unit configured to: As a starting point, the file is acquired according to the first sliding direction and the first sliding distance, and the acquired file is used as a file corresponding to the file selection instruction.
- the obtaining module 30 is configured to use a top position of the current file display interface as a starting point of file selection, acquire a file according to the first sliding direction and the first sliding distance, and use the obtained file as the file selection instruction. file.
- the touch operation is a click touch operation
- the second sliding distance is 0, and at this time, only the file at the position where the touch click operation is located may be acquired, and when the file is arrayed, the arrangement is performed.
- the currently obtained file is a one-line file.
- the currently obtained file is a single file.
- the obtaining module 30 is further configured to: when the control instruction is a file selection instruction, and the sliding speed of the touch operation is greater than the first preset threshold, all files of the current display interface are corresponding to the file selection instruction. document.
- the acquiring module 30 is further configured to acquire the touch operation when the control instruction is a file selection instruction, and the sliding speed of the touch operation is less than or equal to a first preset threshold. a first sliding direction and a first sliding distance; acquiring a file corresponding to the first sliding distance in the current display interface according to the first sliding direction.
- the manner of obtaining the file corresponding to the file selection instruction in the current display interface is merely exemplary. Those skilled in the art can use the technical idea of the present invention to obtain the current display interface according to other specific requirements. The manner of the file corresponding to the file selection instruction is within the protection scope of the present invention, and is not exhaustive.
- the processing module 40 is configured to use the acquired file as the selected file.
- the file selected by the user may be identified by changing the color of the file identifier or by adding a shadow to the file identifier.
- the solution may be applied to a file selection interface of the file transfer application or other interface, such as a file view interface, and the user. Select the appropriate file to delete or copy the file.
- the file selection system of the present embodiment acquires a touch operation received by the touch operation area on the side of the terminal, and determines a control instruction corresponding to the received touch operation; and when the control instruction is a file selection instruction, acquires the current
- the file corresponding to the file selection instruction is displayed in the interface; the obtained file is used as the selected file, and the selection of the file can be realized only by the touch operation on the side of the terminal, which is very convenient.
- the acquiring module 30 is further configured to acquire a second sliding direction of the touch operation when receiving a touch operation triggered by the touch operation area of the terminal side, and Obtaining a second sliding distance of the touch operation when the second sliding direction is opposite to the first sliding direction; the determining module 20 is further configured to follow the The second sliding direction and the second sliding distance determine a cancellation file in the selected file; the processing module 40 is further configured to reject the cancellation file in the selected file.
- the unneeded file can be canceled, and the canceling operation can be realized based on the sliding touch operation in the opposite direction to the touch sliding direction of the selected file, which is very convenient. It can be understood by those skilled in the art that in order to further improve the accuracy of file selection, the user cancels the redundant selected file by clicking the file to be canceled.
- the acquiring module is further configured to acquire a first sliding direction and a first sliding distance of the touch operation when the second sliding direction is the same as the first sliding direction, And acquiring, according to the first sliding direction, a file corresponding to the first sliding distance in the current display interface; the processing module is further configured to cancel the currently selected file, and use the currently obtained file as the selected file. Or the acquiring module is further configured to acquire, when the second sliding direction is the same as the first sliding direction, a first sliding direction and a first sliding distance of the touch operation, and a file that is currently selected And the processing module 40 is further configured to add the currently acquired file to the selected file.
- the processing module 40 is further configured to be opposite to the first sliding direction in the second sliding direction, and the touch operation is When the sliding speed is greater than the second preset threshold, all the selected files are canceled.
- the first preset threshold and the second threshold may be equal or not equal.
- the first preset threshold is equal to the second preset threshold.
- the acquiring module 30 is further configured to be opposite to the first sliding direction in the second sliding direction, and the sliding speed of the touch operation is less than or And determining, by the second preset threshold, a second sliding distance of the touch operation; the determining module 20 is further configured to determine, according to the second sliding direction and the second sliding distance, a cancellation file in the selected file; The processing module 40 is further configured to cull the cancel file in the selected file.
- this embodiment is a file selection system, and the file selection system includes:
- the touch operation area determining unit 11 is configured to receive an area for the touch operation of the user when the terminal is a terminal with a frame, and use the area as a touch operation area of the terminal side; In the terminal, the all-side area supports the touch operation of the receiving user, and the area is used as the touch operation area of the terminal side.
- the touch operation area determining unit 11 determines that the touch operation area of the terminal side has at least two implementation manners: 1) if the terminal is a bordered terminal, setting an area for receiving the touch operation of the user, and The area is used as the touch operation area of the terminal side; 2) if the terminal is a borderless terminal, the all-side area supports the touch operation of the receiving user, and the area is used as the terminal side The touch operation area of the side. After the touch operation area on the side of the terminal is determined, the received touch operation can be detected in the touch operation area.
- the side of the terminal may be a frame formed of a material such as metal or plastic, and a touch area is disposed on the side for receiving a touch operation of the user; or the terminal is a frameless terminal, and the entire terminal is made of glass.
- the screen is composed of no physical buttons, all sides can be touched, and all operations can be performed by touch.
- the touch operation detecting module 12 is configured to acquire a touch operation received by the touch operation area on the side of the terminal.
- the determining module 13 is configured to determine the received control instruction corresponding to the touch operation.
- the touch operation input by the user may be a click touch operation and a sliding touch operation, and a mapping relationship between the touch operation and the control instruction may be preset, for example, different touch sliding track directions and distances correspond to different control commands.
- the user can set the touch corresponding to different control commands as needed.
- the operation such as sliding touch operation, sorts the files, and after the setting, the touch operation corresponding to each control instruction is modified.
- the file selection system may further include: a misoperation detecting unit, configured to: Acquiring the touch operation received by the touch operation area of the terminal side, and detecting the received sliding parameter corresponding to the touch operation; when the sliding parameter is greater than a preset threshold, according to the touch operation and the Controlling a mapping relationship between the instructions, and determining the received control instruction corresponding to the touch operation.
- a misoperation detecting unit configured to: Acquiring the touch operation received by the touch operation area of the terminal side, and detecting the received sliding parameter corresponding to the touch operation; when the sliding parameter is greater than a preset threshold, according to the touch operation and the Controlling a mapping relationship between the instructions, and determining the received control instruction corresponding to the touch operation.
- the erroneous operation detecting unit may be present as a separate function module, or may be present as a sub-function module of the determining module 13.
- the determining module 13 is further configured with an erroneous operation detecting sub-unit 131 configured to acquire a touch operation on the side of the terminal. a touch operation received by the area, and detecting a sliding parameter corresponding to the received touch operation; and when the sliding parameter is greater than a preset threshold, according to a mapping relationship between the touch operation and the control instruction Determining the received control instruction corresponding to the touch operation.
- the erroneous operation detecting unit 131 is used to solve the problem of erroneous operation caused by false triggering. It can be understood by those skilled in the art that since the triggering mode of the control instruction is a touch operation, the user may be erroneously triggered. To avoid false triggering by the user, it is necessary to detect whether the touch operation is an erroneous operation, and it is determined that the operation is not an erroneous operation. Then, the corresponding query of the touch operation and the control instruction is performed according to the preset mapping relationship, and then the subsequent file selection is performed according to the control instruction.
- a specific implementation is: acquiring a touch sensing area on the side of the terminal to receive a touch operation, and determining, when receiving the touch operation, whether the terminal is currently in the side control mode (ie, whether the touch control switch is turned on); In the side control mode, the received control command corresponding to the touch operation is determined.
- the sliding parameter involved may include a sliding distance, a sliding speed, and/or a sliding pressure.
- the sliding distance is generally small, the sliding speed is generally slow, and the sliding pressure is generally lower. Small, so when the sliding parameter is greater than the preset threshold, it is considered that the current touch operation is not a false trigger.
- the user may be prevented from erroneously triggering by setting a touch control switch, which may be a physical button, a virtual button or a gesture on the first terminal, that is, the determining module 13 determines whether the terminal is currently in the side control mode ( That is, whether the touch control switch is turned on, and when the terminal is currently in the side control mode, the received control instruction corresponding to the touch operation is determined.
- the obtaining module 14 is configured to acquire a file corresponding to the file selection instruction in the current display interface when the control instruction is a file selection instruction;
- the file in the embodiment includes a photo, a document, a plan document, and the like.
- the specific embodiment of the file corresponding to the file selection instruction is:
- the obtaining module 14 is further configured to: acquire the first sliding direction and the first sliding distance of the touch operation when the control instruction is a file selection instruction; and acquire the current display interface according to the first sliding direction A file corresponding to the first sliding distance.
- the obtaining module 14 includes: a determining unit configured to determine a sliding starting point of the sliding operation, and determining a file corresponding to the position of the sliding starting point; and a processing unit configured to: As a starting point, the file is acquired according to the first sliding direction and the first sliding distance, and the acquired file is used as a file corresponding to the file selection instruction.
- the obtaining module 14 is configured to use a top position of the current file display interface as a starting point of file selection, acquire a file according to the first sliding direction and the first sliding distance, and use the obtained file as the file selection instruction. file.
- the touch operation is a click touch operation
- the second sliding distance is 0, and at this time, only the file at the position where the touch click operation is located may be acquired, and when the file is arrayed, the arrangement is performed.
- the currently obtained file is a one-line file.
- the currently obtained file is a single file.
- the obtaining module 14 is further configured to: when the control instruction is a file selection instruction, and the sliding speed of the touch operation is greater than the first preset threshold, all files of the current display interface are As a file corresponding to the file selection instruction.
- the obtaining module 14 is further configured to acquire the touch operation when the control instruction is a file selection instruction, and the sliding speed of the touch operation is less than or equal to a first preset threshold. a first sliding direction and a first sliding distance; acquiring a file corresponding to the first sliding distance in the current display interface according to the first sliding direction.
- the manner of obtaining the file corresponding to the file selection instruction in the current display interface is merely exemplary. Those skilled in the art can use the technical idea of the present invention to obtain the current display interface according to other specific requirements. The manner of the file corresponding to the file selection instruction is within the protection scope of the present invention, and is not exhaustive.
- the processing module 15 is configured to use the acquired file as the selected file.
- the file selected by the user may be identified by changing the color of the file identifier or by adding a shadow to the file identifier.
- the solution may be applied to a file selection interface of the file transfer application or other interface, such as a file view interface, and the user. Select the appropriate file to delete or copy the file.
- the file selection system of the present embodiment acquires a touch operation received by the touch operation area on the side of the terminal, and determines a control instruction corresponding to the received touch operation; and when the control instruction is a file selection instruction, acquires the current
- the file corresponding to the file selection instruction is displayed in the interface; the obtained file is used as the selected file, and the selection of the file can be realized only by the touch operation on the side of the terminal, which is very convenient.
- the touch operation detecting module, the determining module, the obtaining module, the processing module, the touch operation area determining unit, and the erroneous operation detecting unit are performing processing It can be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a Field-Programmable Gate Array (FPGA).
- CPU Central Processing Unit
- DSP Digital Signal Processor
- FPGA Field-Programmable Gate Array
- the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
- Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
- the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
- Embodiments of the Invention may also be stored in a computer readable storage medium if implemented in the form of a software function module and sold or used as a standalone product. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
- a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
- embodiments of the invention are not limited to any specific combination of hardware and software.
- an embodiment of the present invention further provides a computer storage medium, wherein a computer program is stored, and the computer program is used to execute a file selection method according to an embodiment of the present invention.
- the touch operation received by the touch operation area of the terminal side is acquired, and the received control instruction corresponding to the touch operation is determined; when the control instruction is a file selection instruction, the current control is obtained.
- the file corresponding to the file selection instruction is displayed in the interface; the obtained file is used as the selected file, and the selection of the file can be realized only by the touch operation on the side of the terminal, which is very convenient.
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
一种文件选择方法及系统,所述文件选择方法包括:获取终端侧边的触摸操作区域接收到的触摸操作,并确定接收到的所述触摸操作对应的控制指令(S10);在所述控制指令为文件选择指令时,获取当前显示界面中与所述文件选择指令对应的文件(S20);将获取的文件作为已选中文件(S30)。所述方法及系统仅仅通过对终端侧边的触摸操作即可实现对文件的选择,非常便捷。
Description
本发明涉及智能终端领域,尤其涉及一种文件选择方法和系统、计算机存储介质。
现有技术中,在进行文件(如照片、文档以及文件夹等)传输或者查看过程中,往往需要先选择待传输或者待查看文件,在待传输或者待查看文件有多个时往往需要依次点选各个文件,使得同时选择多个文件时非常繁琐。
发明内容
本发明实施例的主要目的在于提出一种文件选择方法和系统,旨在解决文件多选较为繁琐技术问题。
为实现上述目的,本发明实施例提供一种文件选择方法,所述文件选择方法包括:
获取终端侧边的触摸操作区域接收到的触摸操作,并确定接收到的所述触摸操作对应的控制指令;
在所述控制指令为文件选择指令时,获取当前显示界面中与所述文件选择指令对应的文件;
将获取的文件作为已选中文件。
在本发明实施例一实施方式中,所述在所述控制指令为文件选择指令时,获取当前显示界面中与所述文件选择指令对应的文件的步骤包括:
在所述控制指令为文件选择指令时,获取所述触摸操作的第一滑动方
向和第一滑动距离;
按照所述第一滑动方向获取当前显示界面中与所述第一滑动距离对应的文件。
在本发明实施例一实施方式中,所述在所述控制指令为文件选择指令时,获取当前显示界面中与所述文件选择指令对应的文件的步骤包括:
在所述控制指令为文件选择指令,且所述触摸操作的滑动速度大于第一预设阈值时,将当前显示界面的所有文件作为所述文件选择指令对应的文件。
在本发明实施例一实施方式中,所述将获取的文件作为已选中文件的步骤之后,所述文件选择方法包括:
在接收到基于终端侧边的触摸操作区域触发的触摸操作时,获取所述触摸操作的第二滑动方向;
在所述第二滑动方向与所述第一滑动方向相反时,获取所述触摸操作的第二滑动距离;
按照所述第二滑动方向以及第二滑动距离确定已选中文件中的取消文件;
在所述已选中文件中剔除所述取消文件。
在本发明实施例一实施方式中,所述在接收到基于终端侧边的触摸操作区域触发的触摸操作时,获取所述触摸操作的第二滑动方向的步骤之后,所述文件选择方法还包括:
在所述第二滑动方向与所述第一滑动方向相反,且所述触摸操作的滑动速度大于第二预设阈值时,取消所有所述已选中文件。
在本发明实施例一实施方式中,所述在接收到基于终端侧边的触摸操作区域触发的触摸操作时,获取所述触摸操作的第二滑动方向的步骤之后,所述文件选择方法还包括:
在所述第二滑动方向与所述第一滑动方向相同时,获取所述触摸操作的第一滑动方向和第一滑动距离;
按照所述第一滑动方向获取当前显示界面中与所述第一滑动距离对应的文件;
取消当前已选中文件,并将当前获取到的文件作为已选中文件。
在本发明实施例一实施方式中,所述方法包括:
若终端为有边框的终端,则设置用于接收用户的所述触摸操作的区域,并将所述区域作为所述终端侧边的触摸操作区域;
若终端为无边框的终端,则全侧边的区域均支持接收用户的所述触摸操作,并将所述区域作为所述终端侧边的触摸操作区域。
在本发明实施例一实施方式中,所述方法还包括:所述确定接收到的所述触摸操作对应的控制指令之前,预设所述触摸操作与所述控制指令之间的映射关系;
所述触摸操作与所述控制指令之间的映射关系在设置后,支持按需进行更新。
在本发明实施例一实施方式中,所述获取终端侧边的触摸操作区域接收到的触摸操作,并确定接收到的所述触摸操作对应的控制指令,包括:
获取终端侧边的触摸操作区域接收到的所述触摸操作,并检测接收到的所述触摸操作所对应的滑动参数;
在所述滑动参数大于预设阈值时,根据所述触摸操作与所述控制指令之间的映射关系,确定接收到的所述触摸操作对应的所述控制指令。
在本发明实施例一实施方式中,所述滑动参数包括滑动距离、滑动速度和/或滑动压力。
此外,为实现上述目的,本发明实施例还提出一种文件选择系统,所述文件选择系统包括:
触摸操作检测模块,配置为获取终端侧边的触摸操作区域接收到的触摸操作;
确定模块,配置为确定接收到的所述触摸操作对应的控制指令;
获取模块,配置为在所述控制指令为文件选择指令时,获取当前显示界面中与所述文件选择指令对应的文件;
处理模块,配置为将获取的文件作为已选中文件。
在本发明实施例一实施方式中,所述获取模块还配置为在所述控制指令为文件选择指令时,获取所述触摸操作的第一滑动方向和第一滑动距离;以及按照所述第一滑动方向获取当前显示界面中与所述第一滑动距离对应的文件。
在本发明实施例一实施方式中,所述获取模块还配置为在所述控制指令为文件选择指令,且所述触摸操作的滑动速度大于第一预设阈值时,将当前显示界面的所有文件作为所述文件选择指令对应的文件。
在本发明实施例一实施方式中,所述获取模块,还配置为在接收到基于终端侧边的触摸操作区域触发的触摸操作时,获取所述触摸操作的第二滑动方向,以及在所述第二滑动方向与所述第一滑动方向相反时,获取所述触摸操作的第二滑动距离;所述确定模块,还配置为按照所述第二滑动方向以及第二滑动距离确定已选中文件中的取消文件;所述处理模块,还配置为在所述已选中文件中剔除所述取消文件。
在本发明实施例一实施方式中,所述在处理模块,还配置为在所述第二滑动方向与所述第一滑动方向相反,且所述触摸操作的滑动速度大于第二预设阈值时,取消所有所述已选中文件。
在本发明实施例一实施方式中,所述获取模块,还配置为在所述第二滑动方向与所述第一滑动方向相同时,获取所述触摸操作的第一滑动方向和第一滑动距离,以及按照所述第一滑动方向获取当前显示界面中与所述
第一滑动距离对应的文件;所述处理模块,还配置为取消当前已选中文件,并将当前获取到的文件作为已选中文件。
在本发明实施例一实施方式中,所述文件选择系统还包括触摸操作区域确定单元,用于终端为有边框的终端时,设置用于接收用户的所述触摸操作的区域,并将所述区域作为所述终端侧边的触摸操作区域;终端为无边框的终端时,全侧边的区域均支持接收用户的所述触摸操作,并将所述区域作为所述终端侧边的触摸操作区域。
在本发明实施例一实施方式中,所述文件选择系统还包括:误操作检测单元,用于获取终端侧边的触摸操作区域接收到的所述触摸操作,并检测接收到的所述触摸操作所对应的滑动参数;在所述滑动参数大于预设阈值时,根据所述触摸操作与所述控制指令之间的映射关系,确定接收到的所述触摸操作对应的所述控制指令。
所述触摸操作检测模块、所述确定模块、所述获取模块、所述处理模块、所述触摸操作区域确定单元、所述误操作检测单元在执行处理时,可以采用中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Singnal Processor)或可编程逻辑阵列(FPGA,Field-Programmable Gate Array)实现。
在本发明实施例一实施方式中,所述滑动参数包括滑动距离、滑动速度和/或滑动压力。
此外,为实现上述目的,本发明实施例还提出一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令配置为执行上述方案中任一项所述的文件选择方法。
本发明实施例的技术方案中,获取终端侧边的触摸操作区域接收到的触摸操作,并确定接收到的所述触摸操作对应的控制指令;在所述控制指令为文件选择指令时,获取当前显示界面中与所述文件选择指令对应的文
件;将获取的文件作为已选中文件,仅仅通过对终端侧边的触摸操作即可实现对文件的选择,非常便捷。
图1为本发明文件选择方法的实施例一的流程示意图;
图2为本发明文件选择方法的实施例二的流程示意图;
图3为本发明文件选择方法的实施例三的流程示意图;
图4为本发明文件选择系统较佳实施例的功能模块示意图;
图5为本发明文件选择系统较佳又一实施例的功能模块示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
实施例一:
本发明实施例的一种文件选择方法,如图1所示,包括以下步骤:
步骤S10,获取终端侧边的触摸操作区域接收到的触摸操作,并确定接收到的所述触摸操作对应的控制指令;
在本实施例中,终端侧边可为金属或者塑料等材质形成的边框,在侧边中设置触摸区域用来接收用户的触摸操作;或者终端为无边框终端,整个终端都是由玻璃屏幕组成,不存在实体按键,全侧边均可触摸,所有的操作均可通过触摸来进行。用户输入的触摸操作可为点击触摸操作以及滑动触摸操作,可预设触摸操作与控制指令之间的映射关系,例如不同的触摸滑动轨迹方向以及距离对应不同的控制指令。用户可根据需要设置不同的控制指令对应的触摸操作,如滑动触摸操作为文件排序,也可在设置之
后,对各个控制指令对应的触摸操作进行修改。
本领域技术人员可以理解的是,由于控制指令的触发方式为触摸操作,则易发生用户误触发的情况,为避免用户误触发所述步骤S10包括:
获取终端侧边的触摸操作区域接收到的触摸操作,并确定接收到的触摸操作所对应的滑动参数;
在所述滑动参数大于预设阈值时,确定接收到的所述触摸操作对应的控制指令。
该滑动参数可包括滑动距离、滑动速度及/或滑动压力,在用户误触发时滑动距离一般较小、滑动速度一般较慢且滑动压力一般较小,故在滑动参数大于预设阈值时,认为当前触控操作不是误触发。或者,也可通过设置触摸控制开关来防止用户误触发,该触摸控制开关可为第一终端上的物理按键、虚拟按键或者手势等,即步骤S10包括:获取终端侧边的触摸感应区域接收触摸操作,并在接收到触摸操作时,确定终端当前出否处于侧边控制模式(即触摸控制开关是否开启);在终端当前处于侧边控制模式时,确定接收到的所述触摸操作对应的控制指令。
步骤S20,在所述控制指令为文件选择指令时,获取当前显示界面中与所述文件选择指令对应的文件;
本实施例中所述文件包括照片,文档以及计划文档等,获取当前显示界面与所述文件选择指令对应的文件具体实施例包括:
1)所述步骤S20包括:
步骤S21,在所述控制指令为文件选择指令时,获取所述触摸操作的第一滑动方向和第一滑动距离;
步骤S22,按照所述第一滑动方向获取当前显示界面中与所述第一滑动距离对应的文件。
为提高文件选择的准确性,按照所述第一滑动方向获取当前显示界面
中与所述第一滑动距离对应的文件的步骤包括:确定所述滑动操作的滑动起点,并确定所述滑动起点的位置所对应文件,并将所述文件作为起点,按照第一滑动方向和第一滑动距离获取文件,并将获取到的文件作为所述文件选择指令对应的文件。或者,将当前文件显示界面的顶部位置作为文件选择的起点,按照第一滑动方向和第一滑动距离获取文件,并将获取到的文件作为所述文件选择指令对应的文件。
本领域技术人员可以理解的是,在所述触摸操作为点击触摸操作时,所述第二滑动距离为0,此时可仅获取触摸点击操作所在位置处的文件,在文件为阵列时排列时,则当前获取到的文件为一行文件,在文件为单列排列时,当前获取到的文件为单个文件。
2)所述步骤S20包括:
在所述控制指令为文件选择指令,且所述触摸操作的滑动速度大于第一预设阈值时,将当前显示界面的所有文件作为所述文件选择指令对应的文件。
在滑动速度较大时,可同时选中当前显示界面中的所有文件,而不用通过点击或者滑动操作选择所有的文件,提高文件选中的效率。
本领域技术人员可以理解的是,在所述控制指令为文件选择指令,且所述触摸操作的滑动速度小于等于第一预设阈值时,获取所述触摸操作的第一滑动方向和第一滑动距离;按照所述第一滑动方向获取当前显示界面中与所述第一滑动距离对应的文件。
以上所列举出的获取当前显示界面与所述文件选择指令对应的文件的方式仅仅为示例性的,本领域技术人员利用本发明的技术思想,根据其具体需求所提出的其他获取当前显示界面与所述文件选择指令对应的文件的方式均在本发明的保护范围内,在此不进行一一穷举。
步骤S30,将获取的文件作为已选中文件。
在本实施例中,可通过改变文件标识的颜色或者对文件标识加阴影等方式标识用户已选中的文件,该方案可应用于文件传输应用的文件选择界面或者其它界面,如文件查看界面,用户选择相应的文件对文件进行删除或者复制等操作,
本实施例提出的文件选择方法,获取终端侧边的触摸操作区域接收到的触摸操作,并确定接收到的所述触摸操作对应的控制指令;在所述控制指令为文件选择指令时,获取当前显示界面中与所述文件选择指令对应的文件;将获取的文件作为已选中文件,仅仅通过对终端侧边的触摸操作即可实现对文件的选择,非常便捷。
实施例二:
本发明实施例的一种文件选择方法,如图2所示,进一步地,为提高文件选择的准确性,基于实施例一提出本发明文件选择方法的实施例二,在本实施例中,所述步骤S30之后还包括步骤:
步骤S40,在接收到基于终端侧边的触摸操作区域触发的触摸操作时,获取所述触摸操作的第二滑动方向;
步骤S50,在所述第二滑动方向与所述第一滑动方向相反时,获取所述触摸操作的第二滑动距离;
步骤S60,按照所述第二滑动方向以及第二滑动距离确定已选中文件中的取消文件;
步骤S70,在所述已选中文件中剔除所述取消文件。
为防止选择文件失误,可在选择已选中文件之后,对不需要的文件进行取消操作,该取消操作可基于向与选择文件的触摸滑动方向的反方向进行滑动触摸操作实现,非常便捷。本领域技术人员可以理解的是,为进一步提高文件选择的准确性,用户通过点击待取消文件的方式取消多余的已选择文件。
本领域技术人员可以理解的是,所述步骤S40之后还包括步骤:在所述第二滑动方向与所述第一滑动方向相同时,获取所述触摸操作的第一滑动方向和第一滑动距离;按照所述第一滑动方向获取当前显示界面中与所述第一滑动距离对应的文件;取消当前已选中文件,并将当前获取到的文件作为已选中文件。或者,在所述第二滑动方向与所述第一滑动方向相同时,获取所述触摸操作的第一滑动方向和第一滑动距离;将当前已选中文件的末尾作为起点,按照所述第一滑动方向获取当前显示界面中与所述第一滑动距离对应的文件;在所述已选中文件中增加当前获取到的文件。
进一步地,为提高文件取消的效率,即取消当前选择的所有文件,则所述步骤S40之后还包括步骤:
在所述第二滑动方向与所述第一滑动方向相反,且所述触摸操作的滑动速度大于第二预设阈值时,取消所有所述已选中文件。
所述第一预设阈值与第二阈值可以相等也可以不相等,优选方案为第一预设阈值等于所述第二预设阈值。
本领域技术人员可以理解的是,在所述第二滑动方向与所述第一滑动方向相反,且所述触摸操作的滑动速度小于或等于第二预设阈值时,获取所述触摸操作的第二滑动距离;按照所述第二滑动方向以及第二滑动距离确定已选中文件中的取消文件;在所述已选中文件中剔除所述取消文件。
实施例三:
本发明实施例的一种文件选择方法,如图3所示,包括以下步骤:
步骤S11,确定终端侧边的触摸操作区域。
本步骤中,确定终端侧边的触摸操作区域至少有两种实现方式:1)若终端为有边框的终端,则设置用于接收用户的所述触摸操作的区域,并将
所述区域作为所述终端侧边的触摸操作区域;2)若终端为无边框的终端,则全侧边的区域均支持接收用户的所述触摸操作,并将所述区域作为所述终端侧边的触摸操作区域。确定终端侧边的触摸操作区域之后,就可以在该触摸操作区域检测所接收到的触摸操作。
比如,在本实施例中,终端侧边可为金属或者塑料等材质形成的边框,在侧边中设置触摸区域用来接收用户的触摸操作;或者终端为无边框终端,整个终端都是由玻璃屏幕组成,不存在实体按键,全侧边均可触摸,所有的操作均可通过触摸来进行。
步骤S12,预设所述触摸操作与所述控制指令之间的映射关系。
本步骤中,针对预设触摸操作与控制指令之间的映射关系举例来说,例如不同的触摸滑动轨迹方向以及距离对应不同的控制指令。所述触摸操作与所述控制指令之间的映射关系可以随时根据需要进行更新,比如,可以设置滑动触摸操作为文件选择,也可以设置滑动触摸操作为文件排序。总之,用户可根据需要设置不同的控制指令对应的触摸操作,也可在设置之后,对各个控制指令对应的触摸操作进行修改。需要指出的是,用户输入的触摸操作可为点击触摸操作以及滑动触摸操作。
步骤S13,获取终端侧边的触摸操作区域接收到的触摸操作,检测接收到的所述触摸操作所对应的滑动参数。
在本发明实施例一实施方式中,所述滑动参数包括滑动距离、滑动速度和/或滑动压力,在用户误触发时滑动距离一般较小、滑动速度一般较慢且滑动压力一般较小,故在滑动参数大于预设阈值时,认为当前触控操作不是误触发。或者,也可通过设置触摸控制开关来防止用户误触发,该触摸控制开关可为第一终端上的物理按键、虚拟按键或者手势等。
步骤S14,在所述滑动参数大于预设阈值时,根据所述触摸操作与所述控制指令之间的映射关系,确定接收到的所述触摸操作对应的所述控制指
令。
这里,通过步骤S13-步骤S14,用于解决误操作的问题。本领域技术人员可以理解的是,由于控制指令的触发方式为触摸操作,则易发生用户误触发的情况,为避免用户误触发,需要检测触摸操作是否为误操作,在确定不是误操作的情况下,才根据上述预设的映射关系进行触摸操作与控制指令的对应查询,进而根据所述控制指令进行后续的文件选择。
这里,通过步骤S11-步骤S14,获取终端侧边的触摸感应区域接收触摸操作,并在接收到触摸操作时,确定终端当前出否处于侧边控制模式(即触摸控制开关是否开启);在终端当前处于侧边控制模式时,确定接收到的所述触摸操作对应的控制指令。
步骤S15,在所述控制指令为文件选择指令时,获取当前显示界面中与所述文件选择指令对应的文件。
本实施例中所述文件包括照片,文档以及计划文档等,获取当前显示界面与所述文件选择指令对应的文件具体实施例包括:
1)所述步骤S15具体包括:在所述控制指令为文件选择指令时,获取所述触摸操作的第一滑动方向和第一滑动距离;按照所述第一滑动方向获取当前显示界面中与所述第一滑动距离对应的文件。
为提高文件选择的准确性,按照所述第一滑动方向获取当前显示界面中与所述第一滑动距离对应的文件的步骤包括:确定所述滑动操作的滑动起点,并确定所述滑动起点的位置所对应文件,并将所述文件作为起点,按照第一滑动方向和第一滑动距离获取文件,并将获取到的文件作为所述文件选择指令对应的文件。或者,将当前文件显示界面的顶部位置作为文件选择的起点,按照第一滑动方向和第一滑动距离获取文件,并将获取到的文件作为所述文件选择指令对应的文件。
本领域技术人员可以理解的是,在所述触摸操作为点击触摸操作时,
所述第二滑动距离为0,此时可仅获取触摸点击操作所在位置处的文件,在文件为阵列时排列时,则当前获取到的文件为一行文件,在文件为单列排列时,当前获取到的文件为单个文件。
2)所述步骤S15具体包括:在所述控制指令为文件选择指令,且所述触摸操作的滑动速度大于第一预设阈值时,将当前显示界面的所有文件作为所述文件选择指令对应的文件。
在滑动速度较大时,可同时选中当前显示界面中的所有文件,而不用通过点击或者滑动操作选择所有的文件,提高文件选中的效率。
本领域技术人员可以理解的是,在所述控制指令为文件选择指令,且所述触摸操作的滑动速度小于等于第一预设阈值时,获取所述触摸操作的第一滑动方向和第一滑动距离;按照所述第一滑动方向获取当前显示界面中与所述第一滑动距离对应的文件。
以上所列举出的获取当前显示界面与所述文件选择指令对应的文件的方式仅仅为示例性的,本领域技术人员利用本发明的技术思想,根据其具体需求所提出的其他获取当前显示界面与所述文件选择指令对应的文件的方式均在本发明的保护范围内,在此不进行一一穷举。
步骤S16,将获取的文件作为已选中文件。
在本实施例中,可通过改变文件标识的颜色或者对文件标识加阴影等方式标识用户已选中的文件,该方案可应用于文件传输应用的文件选择界面或者其它界面,如文件查看界面,用户选择相应的文件对文件进行删除或者复制等操作,
本实施例提出的文件选择方法,获取终端侧边的触摸操作区域接收到的触摸操作,并确定接收到的所述触摸操作对应的控制指令;在所述控制指令为文件选择指令时,获取当前显示界面中与所述文件选择指令对应的文件;将获取的文件作为已选中文件,仅仅通过对终端侧边的触摸操作即
可实现对文件的选择,非常便捷。
本发明进一步提供一种文件选择系统。
参照图4,图4为本发明文件选择系统较佳实施例的功能模块示意图。
需要强调的是,对本领域的技术人员来说,图4所示功能模块图仅仅是一个较佳实施例的示例图,本领域的技术人员围绕图4示的文件选择系统的功能模块,可轻易进行新的功能模块的补充;各功能模块的名称是自定义名称,仅用于辅助理解该文件选择系统的各个程序功能块,不用于限定本发明的技术方案,本发明技术方案的核心是,各自定义名称的功能模块所要达成的功能。
如图4所示,本实施例一种文件选择系统,所述文件选择系统包括:
触摸操作检测模块10,配置为获取终端侧边的触摸操作区域接收到的触摸操作;
确定模块20,配置为确定接收到的所述触摸操作对应的控制指令;
在本实施例中,终端侧边可为金属或者塑料等材质形成的边框,在侧边中设置触摸区域用来接收用户的触摸操作;或者终端为无边框终端,整个终端都是由玻璃屏幕组成,不存在实体按键,全侧边均可触摸,所有的操作均可通过触摸来进行。用户输入的触摸操作可为点击触摸操作以及滑动触摸操作,可预设触摸操作与控制指令之间的映射关系,例如不同的触摸滑动轨迹方向以及距离对应不同的控制指令。用户可根据需要设置不同的控制指令对应的触摸操作,如滑动触摸操作为文件排序,也可在设置之后,对各个控制指令对应的触摸操作进行修改。
本领域技术人员可以理解的是,由于控制指令的触发方式为触摸操作,则易发生用户误触发的情况,为避免用户误触发所述确定模块20配置为确定接收到的触摸操作所对应的滑动参数,并在所述滑动参数大于预设阈值时,确定接收到的所述触摸操作对应的控制指令。
该滑动参数可包括滑动距离、滑动速度及/或滑动压力,在用户误触发时滑动距离一般较小、滑动速度一般较慢且滑动压力一般较小,故在滑动参数大于预设阈值时,认为当前触控操作不是误触发。或者,也可通过设置触摸控制开关来防止用户误触发,该触摸控制开关可为第一终端上的物理按键、虚拟按键或者手势等,即确定模块20确定终端当前出否处于侧边控制模式(即触摸控制开关是否开启),并在终端当前处于侧边控制模式时,确定接收到的所述触摸操作对应的控制指令。
获取模块30,配置为在所述控制指令为文件选择指令时,获取当前显示界面中与所述文件选择指令对应的文件;
本实施例中所述文件包括照片,文档以及计划文档等,获取当前显示界面与所述文件选择指令对应的文件具体实施例包括:
1)所述获取模块30还配置为在所述控制指令为文件选择指令时,获取所述触摸操作的第一滑动方向和第一滑动距离;以及按照所述第一滑动方向获取当前显示界面中与所述第一滑动距离对应的文件。
为提高文件选择的准确性,所述获取模块30包括:确定单元,配置为确定所述滑动操作的滑动起点,并确定所述滑动起点的位置所对应文件;处理单元,配置为将所述文件作为起点,按照第一滑动方向和第一滑动距离获取文件,并将获取到的文件作为所述文件选择指令对应的文件。或者,所述获取模块30配置为将当前文件显示界面的顶部位置作为文件选择的起点,按照第一滑动方向和第一滑动距离获取文件,并将获取到的文件作为所述文件选择指令对应的文件。
本领域技术人员可以理解的是,在所述触摸操作为点击触摸操作时,所述第二滑动距离为0,此时可仅获取触摸点击操作所在位置处的文件,在文件为阵列时排列时,则当前获取到的文件为一行文件,在文件为单列排列时,当前获取到的文件为单个文件。
2)所述获取模块30还配置为在所述控制指令为文件选择指令,且所述触摸操作的滑动速度大于第一预设阈值时,将当前显示界面的所有文件作为所述文件选择指令对应的文件。
本领域技术人员可以理解的是,所述获取模块30,还配置为在所述控制指令为文件选择指令,且所述触摸操作的滑动速度小于等于第一预设阈值时,获取所述触摸操作的第一滑动方向和第一滑动距离;按照所述第一滑动方向获取当前显示界面中与所述第一滑动距离对应的文件。
以上所列举出的获取当前显示界面与所述文件选择指令对应的文件的方式仅仅为示例性的,本领域技术人员利用本发明的技术思想,根据其具体需求所提出的其他获取当前显示界面与所述文件选择指令对应的文件的方式均在本发明的保护范围内,在此不进行一一穷举。
处理模块40,配置为将获取的文件作为已选中文件。
在本实施例中,可通过改变文件标识的颜色或者对文件标识加阴影等方式标识用户已选中的文件,该方案可应用于文件传输应用的文件选择界面或者其它界面,如文件查看界面,用户选择相应的文件对文件进行删除或者复制等操作,
本实施例提出的文件选择系统,获取终端侧边的触摸操作区域接收到的触摸操作,并确定接收到的所述触摸操作对应的控制指令;在所述控制指令为文件选择指令时,获取当前显示界面中与所述文件选择指令对应的文件;将获取的文件作为已选中文件,仅仅通过对终端侧边的触摸操作即可实现对文件的选择,非常便捷。
进一步地,为提高文件选择的准确性,所述获取模块30,还配置为在接收到基于终端侧边的触摸操作区域触发的触摸操作时,获取所述触摸操作的第二滑动方向,以及在所述第二滑动方向与所述第一滑动方向相反时,获取所述触摸操作的第二滑动距离;所述确定模块20,还配置为按照所述
第二滑动方向以及第二滑动距离确定已选中文件中的取消文件;所述处理模块40,还配置为在所述已选中文件中剔除所述取消文件。
为防止选择文件失误,可在选择已选中文件之后,对不需要的文件进行取消操作,该取消操作可基于向与选择文件的触摸滑动方向的反方向进行滑动触摸操作实现,非常便捷。本领域技术人员可以理解的是,为进一步提高文件选择的准确性,用户通过点击待取消文件的方式取消多余的已选择文件。
本领域技术人员可以理解的是,所述获取模块,还配置为在所述第二滑动方向与所述第一滑动方向相同时,获取所述触摸操作的第一滑动方向和第一滑动距离,以及按照所述第一滑动方向获取当前显示界面中与所述第一滑动距离对应的文件;所述处理模块,还配置为取消当前已选中文件,并将当前获取到的文件作为已选中文件。或者,所述获取模块,还配置为在所述第二滑动方向与所述第一滑动方向相同时,获取所述触摸操作的第一滑动方向和第一滑动距离,以及将当前已选中文件的末尾作为起点,按照所述第一滑动方向获取当前显示界面中与所述第一滑动距离对应的文件;所述处理模块40,还配置为在所述已选中文件中增加当前获取到的文件。
进一步地,为提高文件取消的效率,即取消当前选择的所有文件,所述在处理模块40,还配置为在所述第二滑动方向与所述第一滑动方向相反,且所述触摸操作的滑动速度大于第二预设阈值时,取消所有所述已选中文件。
所述第一预设阈值与第二阈值可以相等也可以不相等,优选方案为第一预设阈值等于所述第二预设阈值。
本领域技术人员可以理解的是,所述获取模块30,还配置为在所述第二滑动方向与所述第一滑动方向相反,且所述触摸操作的滑动速度小于或
等于第二预设阈值时,获取所述触摸操作的第二滑动距离;所述确定模块20,还配置为按照所述第二滑动方向以及第二滑动距离确定已选中文件中的取消文件;所述处理模块40,还配置为在所述已选中文件中剔除所述取消文件。
如图5所示,本实施例一种文件选择系统,所述文件选择系统包括:
触摸操作区域确定单元11,配置为终端为有边框的终端时,设置用于接收用户的所述触摸操作的区域,并将所述区域作为所述终端侧边的触摸操作区域;终端为无边框的终端时,全侧边的区域均支持接收用户的所述触摸操作,并将所述区域作为所述终端侧边的触摸操作区域。
通过本触摸操作区域确定单元11来确定终端侧边的触摸操作区域至少有两种实现方式:1)若终端为有边框的终端,则设置用于接收用户的所述触摸操作的区域,并将所述区域作为所述终端侧边的触摸操作区域;2)若终端为无边框的终端,则全侧边的区域均支持接收用户的所述触摸操作,并将所述区域作为所述终端侧边的触摸操作区域。确定终端侧边的触摸操作区域之后,就可以在该触摸操作区域检测所接收到的触摸操作。
比如,在本实施例中,终端侧边可为金属或者塑料等材质形成的边框,在侧边中设置触摸区域用来接收用户的触摸操作;或者终端为无边框终端,整个终端都是由玻璃屏幕组成,不存在实体按键,全侧边均可触摸,所有的操作均可通过触摸来进行。
触摸操作检测模块12,配置为获取终端侧边的触摸操作区域接收到的触摸操作。
确定模块13,配置为确定接收到的所述触摸操作对应的控制指令。
用户输入的触摸操作可为点击触摸操作以及滑动触摸操作,可预设触摸操作与控制指令之间的映射关系,例如不同的触摸滑动轨迹方向以及距离对应不同的控制指令。用户可根据需要设置不同的控制指令对应的触摸
操作,如滑动触摸操作为文件排序,也可在设置之后,对各个控制指令对应的触摸操作进行修改。
本领域技术人员可以理解的是,由于控制指令的触发方式为触摸操作,则易发生用户误触发的情况,为避免用户误触发,所述文件选择系统还可以包括:误操作检测单元,用于获取终端侧边的触摸操作区域接收到的所述触摸操作,并检测接收到的所述触摸操作所对应的滑动参数;在所述滑动参数大于预设阈值时,根据所述触摸操作与所述控制指令之间的映射关系,确定接收到的所述触摸操作对应的所述控制指令。
误操作检测单元可以作为独立的功能模块出现,也可以作为确定模块13的一个子功能模块出现,如所述确定模块13还配置有误操作检测子单元131,配置为获取终端侧边的触摸操作区域接收到的所述触摸操作,并检测接收到的所述触摸操作所对应的滑动参数;在所述滑动参数大于预设阈值时,根据所述触摸操作与所述控制指令之间的映射关系,确定接收到的所述触摸操作对应的所述控制指令。
通过本误操作检测单元131,用于解决误触发导致的误操作的问题。本领域技术人员可以理解的是,由于控制指令的触发方式为触摸操作,则易发生用户误触发的情况,为避免用户误触发,需要检测触摸操作是否为误操作,在确定不是误操作的情况下,才根据上述预设的映射关系进行触摸操作与控制指令的对应查询,进而根据所述控制指令进行后续的文件选择。比如,一个具体实现为:获取终端侧边的触摸感应区域接收触摸操作,并在接收到触摸操作时,确定终端当前出否处于侧边控制模式(即触摸控制开关是否开启);在终端当前处于侧边控制模式时,确定接收到的所述触摸操作对应的控制指令。
这里,所涉及的该滑动参数可包括滑动距离、滑动速度及/或滑动压力,在用户误触发时滑动距离一般较小、滑动速度一般较慢且滑动压力一般较
小,故在滑动参数大于预设阈值时,认为当前触控操作不是误触发。或者,也可通过设置触摸控制开关来防止用户误触发,该触摸控制开关可为第一终端上的物理按键、虚拟按键或者手势等,即确定模块13确定终端当前出否处于侧边控制模式(即触摸控制开关是否开启),并在终端当前处于侧边控制模式时,确定接收到的所述触摸操作对应的控制指令。
获取模块14,配置为在所述控制指令为文件选择指令时,获取当前显示界面中与所述文件选择指令对应的文件;
本实施例中所述文件包括照片,文档以及计划文档等,获取当前显示界面与所述文件选择指令对应的文件具体实施例包括:
1)所述获取模块14还配置为在所述控制指令为文件选择指令时,获取所述触摸操作的第一滑动方向和第一滑动距离;以及按照所述第一滑动方向获取当前显示界面中与所述第一滑动距离对应的文件。
为提高文件选择的准确性,所述获取模块14包括:确定单元,配置为确定所述滑动操作的滑动起点,并确定所述滑动起点的位置所对应文件;处理单元,配置为将所述文件作为起点,按照第一滑动方向和第一滑动距离获取文件,并将获取到的文件作为所述文件选择指令对应的文件。或者,所述获取模块14配置为将当前文件显示界面的顶部位置作为文件选择的起点,按照第一滑动方向和第一滑动距离获取文件,并将获取到的文件作为所述文件选择指令对应的文件。
本领域技术人员可以理解的是,在所述触摸操作为点击触摸操作时,所述第二滑动距离为0,此时可仅获取触摸点击操作所在位置处的文件,在文件为阵列时排列时,则当前获取到的文件为一行文件,在文件为单列排列时,当前获取到的文件为单个文件。
2)所述获取模块14还配置为在所述控制指令为文件选择指令,且所述触摸操作的滑动速度大于第一预设阈值时,将当前显示界面的所有文件
作为所述文件选择指令对应的文件。
本领域技术人员可以理解的是,所述获取模块14,还配置为在所述控制指令为文件选择指令,且所述触摸操作的滑动速度小于等于第一预设阈值时,获取所述触摸操作的第一滑动方向和第一滑动距离;按照所述第一滑动方向获取当前显示界面中与所述第一滑动距离对应的文件。
以上所列举出的获取当前显示界面与所述文件选择指令对应的文件的方式仅仅为示例性的,本领域技术人员利用本发明的技术思想,根据其具体需求所提出的其他获取当前显示界面与所述文件选择指令对应的文件的方式均在本发明的保护范围内,在此不进行一一穷举。
处理模块15,配置为将获取的文件作为已选中文件。
在本实施例中,可通过改变文件标识的颜色或者对文件标识加阴影等方式标识用户已选中的文件,该方案可应用于文件传输应用的文件选择界面或者其它界面,如文件查看界面,用户选择相应的文件对文件进行删除或者复制等操作,
本实施例提出的文件选择系统,获取终端侧边的触摸操作区域接收到的触摸操作,并确定接收到的所述触摸操作对应的控制指令;在所述控制指令为文件选择指令时,获取当前显示界面中与所述文件选择指令对应的文件;将获取的文件作为已选中文件,仅仅通过对终端侧边的触摸操作即可实现对文件的选择,非常便捷。
在本发明实施例一实施方式中,所述触摸操作检测模块、所述确定模块、所述获取模块、所述处理模块、所述触摸操作区域确定单元、所述误操作检测单元在执行处理时,可以采用中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Singnal Processor)或可编程逻辑阵列(FPGA,Field-Programmable Gate Array)实现。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变
体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
本发明实施例上述文件选择系统如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本发明实施例不限制于任何特定的硬件和软件结合。
相应地,本发明实施例还提供一种计算机存储介质,其中存储有计算机程序,该计算机程序用于执行本发明实施例的文件选择方法。
出于解释的目的,前面的描述使用了特定的术语,以提供对本发明的透彻理解。然而,对本领域的技术人员来说显而易见的是,为了实践本发明并不需要具体的细节。本发明的具体实施例的前述描述是为了图示和说明的目的而呈现。它们并不意在详尽的或将本发明限于所公开的准确形式。鉴于上面的教义,许多修改和变化是可能的。为了最好地解释本发明的原理及其实际应用而示出并描述了这些实施例,从而使本领域的其他技术人员能够最好地利用本发明和具有适于预期的特定使用的各种修改的各种实施例。意在本发明的范围由随后的权利要求和其等同物来限定。
本发明实施例的技术方案中,获取终端侧边的触摸操作区域接收到的触摸操作,并确定接收到的所述触摸操作对应的控制指令;在所述控制指令为文件选择指令时,获取当前显示界面中与所述文件选择指令对应的文件;将获取的文件作为已选中文件,仅仅通过对终端侧边的触摸操作即可实现对文件的选择,非常便捷。
Claims (20)
- 一种文件选择方法,所述文件选择方法包括:获取终端侧边的触摸操作区域接收到的触摸操作,并确定接收到的所述触摸操作对应的控制指令;在所述控制指令为文件选择指令时,获取当前显示界面中与所述文件选择指令对应的文件;将获取的文件作为已选中文件。
- 如权利要求1所述的文件选择方法,其中,所述在所述控制指令为文件选择指令时,获取当前显示界面中与所述文件选择指令对应的文件包括:在所述控制指令为文件选择指令时,获取所述触摸操作的第一滑动方向和第一滑动距离;按照所述第一滑动方向获取当前显示界面中与所述第一滑动距离对应的文件。
- 如权利要求1或2所述的文件选择方法,其中,所述在所述控制指令为文件选择指令时,获取当前显示界面中与所述文件选择指令对应的文件包括:在所述控制指令为文件选择指令,且所述触摸操作的滑动速度大于第一预设阈值时,将当前显示界面的所有文件作为所述文件选择指令对应的文件。
- 如权利要求2所述的文件选择方法,其中,所述将获取的文件作为已选中文件之后,所述文件选择方法包括:在接收到基于终端侧边的触摸操作区域触发的触摸操作时,获取所述触摸操作的第二滑动方向;在所述第二滑动方向与所述第一滑动方向相反时,获取所述触摸操作 的第二滑动距离;按照所述第二滑动方向以及第二滑动距离确定已选中文件中的取消文件;在所述已选中文件中剔除所述取消文件。
- 如权利要求4所述的文件选择方法,其中,所述在接收到基于终端侧边的触摸操作区域触发的触摸操作时,获取所述触摸操作的第二滑动方向之后,所述文件选择方法还包括:在所述第二滑动方向与所述第一滑动方向相反,且所述触摸操作的滑动速度大于第二预设阈值时,取消所有所述已选中文件。
- 如权利要求4或5所述的文件选择方法,其中,所述在接收到基于终端侧边的触摸操作区域触发的触摸操作时,获取所述触摸操作的第二滑动方向之后,所述文件选择方法还包括:在所述第二滑动方向与所述第一滑动方向相同时,获取所述触摸操作的第一滑动方向和第一滑动距离;按照所述第一滑动方向获取当前显示界面中与所述第一滑动距离对应的文件;取消当前已选中文件,并将当前获取到的文件作为已选中文件。
- 如权利要求1所述的文件选择方法,其中,所述方法包括:若终端为有边框的终端,则设置用于接收用户的所述触摸操作的区域,并将所述区域作为所述终端侧边的触摸操作区域;若终端为无边框的终端,则全侧边的区域均支持接收用户的所述触摸操作,并将所述区域作为所述终端侧边的触摸操作区域。
- 如权利要求1所述的文件选择方法,其中,所述方法还包括:所述确定接收到的所述触摸操作对应的控制指令之前,预设所述触摸操作与所述控制指令之间的映射关系;所述触摸操作与所述控制指令之间的映射关系在设置后,支持按需进行更新。
- 如权利要求8所述的文件选择方法,其中,所述获取终端侧边的触摸操作区域接收到的触摸操作,并确定接收到的所述触摸操作对应的控制指令,包括:获取终端侧边的触摸操作区域接收到的所述触摸操作,并检测接收到的所述触摸操作所对应的滑动参数;在所述滑动参数大于预设阈值时,根据所述触摸操作与所述控制指令之间的映射关系,确定接收到的所述触摸操作对应的所述控制指令。
- 如权利要求9所述的文件选择方法,其中,所述滑动参数包括滑动距离、滑动速度和/或滑动压力。
- 一种文件选择系统,所述文件选择系统包括:触摸操作检测模块,配置为获取终端侧边的触摸操作区域接收到的触摸操作;确定模块,配置为确定接收到的所述触摸操作对应的控制指令;获取模块,配置为在所述控制指令为文件选择指令时,获取当前显示界面中与所述文件选择指令对应的文件;处理模块,配置为将获取的文件作为已选中文件。
- 如权利要求11所述的文件选择系统,其中,所述获取模块还配置为在所述控制指令为文件选择指令时,获取所述触摸操作的第一滑动方向和第一滑动距离;以及按照所述第一滑动方向获取当前显示界面中与所述第一滑动距离对应的文件。
- 如权利要求11或12所述的文件选择系统,其中,所述获取模块还配置为在所述控制指令为文件选择指令,且所述触摸操作的滑动速度大于第一预设阈值时,将当前显示界面的所有文件作为所述文件选择指令对 应的文件。
- 如权利要求12所述的文件选择系统,其中,所述获取模块,还配置为在接收到基于终端侧边的触摸操作区域触发的触摸操作时,获取所述触摸操作的第二滑动方向,以及在所述第二滑动方向与所述第一滑动方向相反时,获取所述触摸操作的第二滑动距离;所述确定模块,还配置为按照所述第二滑动方向以及第二滑动距离确定已选中文件中的取消文件;所述处理模块,还配置为在所述已选中文件中剔除所述取消文件。
- 如权利要求14所述的文件选择系统,其中,所述在处理模块,还配置为在所述第二滑动方向与所述第一滑动方向相反,且所述触摸操作的滑动速度大于第二预设阈值时,取消所有所述已选中文件。
- 如权利要求14或15所述的文件选择系统,其中,所述获取模块,还配置为在所述第二滑动方向与所述第一滑动方向相同时,获取所述触摸操作的第一滑动方向和第一滑动距离,以及按照所述第一滑动方向获取当前显示界面中与所述第一滑动距离对应的文件;所述处理模块,还配置为取消当前已选中文件,并将当前获取到的文件作为已选中文件。
- 如权利要求11所述的文件选择系统,其中,所述文件选择系统还包括触摸操作区域确定单元,用于终端为有边框的终端时,设置用于接收用户的所述触摸操作的区域,并将所述区域作为所述终端侧边的触摸操作区域;终端为无边框的终端时,全侧边的区域均支持接收用户的所述触摸操作,并将所述区域作为所述终端侧边的触摸操作区域。
- 如权利要求11所述的文件选择系统,其中,所述文件选择系统还包括:误操作检测单元,用于获取终端侧边的触摸操作区域接收到的所述触摸操作,并检测接收到的所述触摸操作所对应的滑动参数;在所述滑动参数大于预设阈值时,根据所述触摸操作与所述控制指令之间的映射关系,确定接收到的所述触摸操作对应的所述控制指令。
- 如权利要求18所述的文件选择系统,其中,所述滑动参数包括滑动距离、滑动速度和/或滑动压力。
- 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令配置为执行权利要求1-10任一项所述的文件选择方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510039463.3A CN104571871A (zh) | 2015-01-26 | 2015-01-26 | 文件选择方法和系统 |
| CN201510039463.3 | 2015-01-26 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016119683A1 true WO2016119683A1 (zh) | 2016-08-04 |
Family
ID=53088078
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/072190 Ceased WO2016119683A1 (zh) | 2015-01-26 | 2016-01-26 | 一种文件选择方法和系统、计算机存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN104571871A (zh) |
| WO (1) | WO2016119683A1 (zh) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104571871A (zh) * | 2015-01-26 | 2015-04-29 | 深圳市中兴移动通信有限公司 | 文件选择方法和系统 |
| CN105183321A (zh) * | 2015-09-15 | 2015-12-23 | 广东欧珀移动通信有限公司 | 一种文档处理方法及移动终端 |
| CN105373296A (zh) * | 2015-10-08 | 2016-03-02 | 广东欧珀移动通信有限公司 | 一种终端中任务选择方法及装置 |
| CN105353947A (zh) * | 2015-10-26 | 2016-02-24 | 努比亚技术有限公司 | 一种移动终端及控制应用显示内容的方法 |
| CN105849686A (zh) * | 2015-11-23 | 2016-08-10 | 华为技术有限公司 | 一种智能终端的文件选中方法及一种智能终端 |
| CN107943388A (zh) * | 2017-11-14 | 2018-04-20 | 口碑(上海)信息技术有限公司 | 信息删除方法及装置 |
| CN111338539B (zh) * | 2020-02-27 | 2021-05-18 | 竞技世界(北京)网络技术有限公司 | 一种目标对象的选择方法及装置 |
| CN113552962B (zh) * | 2020-04-23 | 2025-11-07 | 北京小米移动软件有限公司 | 智能设备的控制方法、控制装置、智能设备及存储介质 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080309643A1 (en) * | 2007-06-14 | 2008-12-18 | Brother Kogyo Kabushiki Kaisha | Image-selecting device and storage medium storing image-selecting program |
| CN102821193A (zh) * | 2012-07-02 | 2012-12-12 | 中兴通讯股份有限公司 | 一种智能手机的快捷操作文件的方法和智能手机 |
| CN103019541A (zh) * | 2012-11-27 | 2013-04-03 | 广东欧珀移动通信有限公司 | 一种单个智能按键实现方法、装置及移动终端 |
| CN103440096A (zh) * | 2013-07-29 | 2013-12-11 | 宇龙计算机通信科技(深圳)有限公司 | 批量操作方法及通信终端 |
| CN103914239A (zh) * | 2012-12-31 | 2014-07-09 | 华为技术有限公司 | 获取用户指令的方法和装置 |
| CN104571871A (zh) * | 2015-01-26 | 2015-04-29 | 深圳市中兴移动通信有限公司 | 文件选择方法和系统 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE202007014957U1 (de) * | 2007-01-05 | 2007-12-27 | Apple Inc., Cupertino | Multimediakommunikationseinrichtung mit Berührungsbildschirm, der auf Gesten zur Steuerung, Manipulierung und Editierung von Mediendateien reagiert |
| US8509854B2 (en) * | 2007-09-18 | 2013-08-13 | Lg Electronics Inc. | Mobile terminal and method of controlling operation of the same |
| US8687023B2 (en) * | 2011-08-02 | 2014-04-01 | Microsoft Corporation | Cross-slide gesture to select and rearrange |
| CN103475919A (zh) * | 2013-09-04 | 2013-12-25 | 深圳Tcl新技术有限公司 | 基于侧面滑动触摸的遥控方法、系统和遥控器 |
-
2015
- 2015-01-26 CN CN201510039463.3A patent/CN104571871A/zh active Pending
-
2016
- 2016-01-26 WO PCT/CN2016/072190 patent/WO2016119683A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080309643A1 (en) * | 2007-06-14 | 2008-12-18 | Brother Kogyo Kabushiki Kaisha | Image-selecting device and storage medium storing image-selecting program |
| CN102821193A (zh) * | 2012-07-02 | 2012-12-12 | 中兴通讯股份有限公司 | 一种智能手机的快捷操作文件的方法和智能手机 |
| CN103019541A (zh) * | 2012-11-27 | 2013-04-03 | 广东欧珀移动通信有限公司 | 一种单个智能按键实现方法、装置及移动终端 |
| CN103914239A (zh) * | 2012-12-31 | 2014-07-09 | 华为技术有限公司 | 获取用户指令的方法和装置 |
| CN103440096A (zh) * | 2013-07-29 | 2013-12-11 | 宇龙计算机通信科技(深圳)有限公司 | 批量操作方法及通信终端 |
| CN104571871A (zh) * | 2015-01-26 | 2015-04-29 | 深圳市中兴移动通信有限公司 | 文件选择方法和系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104571871A (zh) | 2015-04-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2016119673A1 (zh) | 应用快速启动方法和系统、计算机存储介质 | |
| TWI511025B (zh) | 檔案作業系統和檔案操作方法 | |
| WO2019128732A1 (zh) | 一种图标管理的方法及装置 | |
| BR112013006616B1 (pt) | aparelho e método para detectar objeto com base em proximidade da superfície de entrada, item de informação associado e de distância do objeto | |
| US20130232421A1 (en) | Method and apparatus for determining recipients of a sharing operation based on an indication associated with a tangible object | |
| EP2854380A1 (en) | Method for quickly operating file of smart phone and smart phone | |
| WO2017032005A1 (zh) | 一种操作菜单显示方法及终端 | |
| WO2014079263A1 (zh) | 一种文本处理方法及终端 | |
| US20190220170A1 (en) | Method and apparatus for creating group | |
| CN102306080A (zh) | 触摸型电子装置及其图标移动的方法 | |
| CN103488419A (zh) | 通信终端的操作方法及通信终端 | |
| CN107509030B (zh) | 一种对焦方法及移动终端 | |
| KR20150033508A (ko) | 아이콘의 이동 방법 및 이 방법이 적용되는 터치 타입 휴대 단말기 | |
| CN105487809A (zh) | 一种终端的控制方法及装置 | |
| WO2021232951A1 (zh) | 截屏方法、终端及非易失性计算机可读存储介质 | |
| CN104182119B (zh) | 多窗口页面的状态控制方法及装置 | |
| CN104360810B (zh) | 一种虚拟按键的显示方法和电子设备 | |
| WO2017101333A1 (zh) | 列表项操作的处理方法和装置 | |
| AU2014200701A1 (en) | Method and electronic device for displaying virtual keypad | |
| CN105045618B (zh) | 一种应用启动的方法及移动终端 | |
| CN104571871A (zh) | 文件选择方法和系统 | |
| US9747020B2 (en) | Information transmitting method, device and terminal | |
| WO2017101730A1 (zh) | 数据归类的方法和装置 | |
| CN110427146A (zh) | 快速分享方法、移动终端及存储介质 | |
| JP2019516198A5 (zh) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16742745 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 211217) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16742745 Country of ref document: EP Kind code of ref document: A1 |