WO2018039914A1 - 一种数据复制方法及用户终端 - Google Patents

一种数据复制方法及用户终端 Download PDF

Info

Publication number
WO2018039914A1
WO2018039914A1 PCT/CN2016/097331 CN2016097331W WO2018039914A1 WO 2018039914 A1 WO2018039914 A1 WO 2018039914A1 CN 2016097331 W CN2016097331 W CN 2016097331W WO 2018039914 A1 WO2018039914 A1 WO 2018039914A1
Authority
WO
WIPO (PCT)
Prior art keywords
user terminal
data
preset
storage area
copied
Prior art date
Application number
PCT/CN2016/097331
Other languages
English (en)
French (fr)
Inventor
陈苑锋
余鑫
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2016/097331 priority Critical patent/WO2018039914A1/zh
Priority to CN201680049527.0A priority patent/CN108040492A/zh
Publication of WO2018039914A1 publication Critical patent/WO2018039914A1/zh

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]

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a data replication method and a user terminal.
  • the embodiment of the invention discloses a data copying method and a user terminal, which can store multiple copies of data at the same time, thereby facilitating the simplified number of application interface switching in the process of copying and pasting data, and simplifying the process of copying and pasting.
  • an embodiment of the present invention provides a data replication method, which is applied to a user terminal, where the user terminal has at least two storage areas for storing duplicate data, and the method includes: detecting that the first preset condition is met After the touch operation, the selected data to be copied is copied to the storage area corresponding to the first preset condition; after the touch operation satisfying the second preset condition is detected, the selected data to be copied is copied to the second preset. a storage area corresponding to the condition, where the storage area corresponding to the second preset condition is different from the storage area corresponding to the first preset condition.
  • the user terminal when the user terminal has the storage area 1 corresponding to the first preset condition and the storage area 2 corresponding to the second preset condition, the user terminal further has a storage area N (N is an integer greater than 2
  • N is an integer greater than 2
  • the preset condition N is different from the first preset condition, the second preset condition, and other preset conditions. That is to say, the storage area has a one-to-one correspondence with the preset conditions.
  • the selected data to be copied is copied to the storage area corresponding to the preset condition N.
  • the user can copy different data multiple times in one application interface, or copy different data in different application interfaces. Since the user terminal has multiple storage areas, the user terminal can simultaneously Save data copied by the user multiple times. Therefore, when the user needs to copy and paste multiple different data of one application interface to another interface or multiple interfaces, the number of application interface switching is reduced, and the process of copying and pasting is simplified. Similarly, when the user needs to copy and paste data of multiple application interfaces to another application interface, the user can first copy the data to the multiple application interfaces, and then paste the copied data into the application interface that needs to be pasted, which also reduces the data. The number of application interface switches simplifies the process of copying and pasting.
  • the preset condition is that the touch parameter of the touch operation is within a preset range.
  • the first preset condition is that the touch parameter of the touch operation is within the first preset range; and the second preset condition is that the touch parameter of the touch operation is within the second preset range.
  • Other preset conditions are the same.
  • the preset condition is that the touch track of the touch operation matches the preset track.
  • the first preset condition is that the touch track of the touch operation matches the first preset track; and the second preset condition is that the touch track of the touch operation matches the second preset track.
  • Other preset conditions are the same.
  • the user terminal may also be the first after detecting the touch operation that satisfies the first preset condition. Obtaining the copy data in the storage area corresponding to the preset condition, and pasting the copied data to the specified location; after the user terminal copies the selected data to be copied to the storage area corresponding to the second preset condition, After the touch operation of the two preset conditions, the copy data is acquired from the storage area corresponding to the second preset condition, and the copied data is pasted to the designated position.
  • the first preset condition at the time of pasting may be the same as or different from the first preset condition at the time of copying.
  • the second preset condition at the time of pasting may be the same as or different from the second preset condition at the time of copying.
  • the user terminal when the user terminal has the storage area 1 corresponding to the first preset condition and the storage area 2 corresponding to the second preset condition, the user terminal further has a storage area N corresponding to the preset condition N. (N is an integer greater than 2), the user terminal acquires the copy data from the storage area N after detecting the touch operation satisfying the preset condition N, and pastes the copy data to the designated position.
  • the user can paste multiple copies of the data into the same application interface or different application interfaces after copying multiple copies of the data, thereby reducing the process of copying and pasting between multiple application interfaces. And the user can also flexibly choose to copy the data to the specified location without having to paste it in the order of copying. And by implementing the implementation manner, the clipboard can also be hidden, and the user does not need to paste the data by clicking the copy data in the clipboard.
  • the user terminal may further obtain the copy data from all the storage areas after detecting that the plurality of text input boxes do not exist in the current interface, and after detecting the touch operation satisfying the first target condition, Paste all copied data to the specified location.
  • the first target condition is different from the first preset condition and the second preset condition, or the first target condition may be the same as the first preset condition or the second preset condition.
  • the user terminal may further paste a text input box corresponding to the text input box after detecting that the current interface has multiple text input boxes and detecting a touch operation that satisfies the second target condition.
  • the data input boxes are in one-to-one correspondence with the copied data according to the order of arrangement from top to bottom and according to the storage time order of the copied data.
  • the second target condition is different from the first preset condition and the second preset condition, or the second target condition may be the same as the first preset condition or the second preset condition.
  • the user may most likely want to paste the copied data into different text input boxes. It can be seen that by implementing the implementation manner, the user can conveniently and quickly paste the copied data into the specified copy data by performing a specific touch operation on the user terminal.
  • the user terminal may also prompt the touch parameter of the touch operation to be located. Preset range.
  • the user terminal may also prompt a level corresponding to a preset range in which the touch parameter of the touch operation is located.
  • the user terminal may also prompt a preset trajectory that matches the touch trajectory of the touch operation.
  • the embodiment of the present invention further provides a data replication method, which is applied to a user terminal, where the user terminal has at least two storage areas for storing duplicate data, and the method includes: detecting between the user's finger and the user terminal After the distance is in the first preset distance range, the selected data to be copied is copied to the storage area corresponding to the first preset distance range; and the distance between the user's finger and the user terminal is detected to be in the second preset distance range Then, the selected data to be copied is copied to the storage area corresponding to the second preset distance range, and the storage area corresponding to the second preset distance range is different from the storage area corresponding to the first preset distance range.
  • the user terminal when the user terminal has the storage area 1 corresponding to the first preset distance range and the storage area 2 corresponding to the second preset distance range, the user terminal further has a storage area N (N is greater than 2)
  • the storage area N corresponds to a preset distance range N, which is different from the first preset distance range, the second preset distance range, and other preset distance ranges. That is to say, the storage area has a one-to-one correspondence with the preset distance range.
  • the selected data to be copied is copied into the storage area N.
  • the user can copy different data multiple times in one application interface, or copy different data in different application interfaces. Since the user terminal has multiple storage areas, the user terminal can simultaneously Save data copied by the user multiple times. Therefore, when the user needs to copy and paste multiple different data of one application interface to another interface or multiple interfaces, the number of application interface switching is reduced, and the process of copying and pasting is simplified. Similarly, when users need to apply multiple application circles When copying and pasting data to another application interface, the user can first copy the data to the multiple application interfaces, and then paste the copied data into the application interface that needs to be pasted, which also reduces the number of application interface switching times and simplifies copying and pasting. Process.
  • the distance between the user's finger and the user terminal may also be detected as being the first After the distance range is set, the copy data is obtained from the storage area corresponding to the first preset distance range, and the copied data is pasted to the specified location; the user terminal copies the selected data to be copied to the storage corresponding to the second preset distance range.
  • the copy data is obtained from the storage area corresponding to the second preset distance range, and the copied data is pasted to the designated location.
  • the first preset distance range when pasting may be the same as or different from the first preset distance range when copying.
  • the second preset distance range when pasting may be the same as or different from the second preset distance range when copying.
  • the user terminal when the user terminal has the storage area 1 corresponding to the first preset distance range and the storage area 2 corresponding to the second preset distance range, the user terminal further has a preset distance range N.
  • N is an integer greater than 2
  • the user terminal acquires the copy data from the storage area N after detecting that the distance between the finger and the user terminal is within the preset distance range N, and copies the copy Paste the data to the specified location.
  • the user can paste multiple copies of the data into the same application interface or different application interfaces after copying multiple copies of the data, thereby reducing the process of copying and pasting between multiple application interfaces. And the user can also flexibly choose to copy the data to the specified location without having to paste it in the order of copying. And by implementing the implementation manner, the clipboard can also be hidden, and the user does not need to paste the data by clicking the copy data in the clipboard.
  • an embodiment of the present invention provides a user terminal, where the user terminal has at least two storage areas for storing duplicate data, where the storage area has a one-to-one correspondence with a preset condition, and the user terminal has the first Aspect or the function of the user terminal behavior in a possible implementation of the first aspect.
  • This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more units corresponding to the functions described above.
  • the unit can be software and/or hardware.
  • an embodiment of the present invention provides a user terminal, where the user terminal has a storage Copying at least two storage areas of the data, the storage area corresponding to a preset condition, the user terminal comprising: one or more processors, a memory, a bus system, and one or more programs, the processor and the memory through the bus system Connected; wherein the one or more programs are stored in a memory, the one or more programs comprising instructions that, when executed by the user terminal, cause the user terminal to perform the first aspect or the first aspect possible implementation.
  • an embodiment of the present invention provides a computer readable storage medium storing one or more programs, the one or more programs comprising instructions for performing the first aspect or the possible implementation of the first aspect the way.
  • an embodiment of the present invention provides a user terminal, where the user terminal has at least two storage areas for storing duplicate data, and the preset distance range is in one-to-one correspondence with the storage area, and the user terminal has the foregoing implementation.
  • the hardware or software includes one or more units corresponding to the functions described above.
  • the unit can be software and/or hardware.
  • an embodiment of the present invention provides a user terminal, where the user terminal has at least two storage areas for storing duplicate data, and the preset distance range is in one-to-one correspondence with the storage area, and the user terminal includes: one or a plurality of processors, memory, bus system, and one or more programs, the processor and the memory being coupled by a bus system; wherein the one or more programs are stored in a memory, the one or more programs including instructions, instructions When executed by the user terminal, the user terminal is caused to perform the above-described second aspect or a possible implementation of the second aspect.
  • an embodiment of the present invention provides a computer readable storage medium storing one or more programs, the one or more programs comprising instructions for performing the second aspect or the second aspect possible implementation the way.
  • FIG. 1 is a schematic diagram of an existing data replication process according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of data replication according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a process for a user to select a copy data and perform a touch operation satisfying a first preset condition according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of another process of selecting a user to copy data according to an embodiment of the present invention and performing a touch operation satisfying a first preset condition;
  • FIG. 5-7 are schematic diagrams of a data replication process according to an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of another data replication according to an embodiment of the present invention.
  • 9 to 14 are schematic diagrams of a data pasting process provided by an embodiment of the present invention.
  • FIG. 15 is a schematic flowchart of still another data replication according to an embodiment of the present invention.
  • FIG. 16 and FIG. 17 are schematic diagrams of a data replication process according to an embodiment of the present invention.
  • FIG. 18 is a schematic flowchart of still another data replication according to an embodiment of the present invention.
  • FIG. 19 and FIG. 20 are schematic diagrams of a data pasting process according to an embodiment of the present invention.
  • FIG. 21 is a schematic structural diagram of a mobile phone according to an embodiment of the present invention.
  • the user terminal needs to use the clipboard when copying data.
  • the user terminal saves the copied data on the clipboard.
  • the user terminal pastes the copied data the copied data is obtained from the clipboard, and the copied data is pasted to the specified location.
  • the clipboard is a storage area in memory that makes it possible to transfer and share information between various applications through the clipboard.
  • the clipboard can only save one copy of the data, and the old data in the clipboard will be overwritten each time new data is stored on the clipboard. Therefore, when a user copies and pastes multiple copies of an application interface to another interface, multiple interface switching is required, and the process of copying and pasting is very cumbersome.
  • the embodiment of the present invention provides a data copying method and a user terminal.
  • the user terminal may be a mobile phone, a wearable device (such as a smart watch, etc.), a tablet computer, a personal computer (PC, Personal Computer), a PDA (Personal Digital Assistant), or a car computer.
  • a wearable device such as a smart watch, etc.
  • a tablet computer such as a smart watch, etc.
  • PC Personal Computer
  • PDA Personal Digital Assistant
  • FIG. 2 is a schematic flowchart diagram of a data replication method according to an embodiment of the present invention. As shown in FIG. 2, the data replication method may include sections 201-202.
  • the user terminal copies the selected data to be copied to the storage area corresponding to the first preset condition.
  • the data to be copied may be data such as pictures and texts.
  • the user terminal copies the selected data to be copied to the storage area corresponding to the second preset condition.
  • the data to be copied can be data such as pictures and texts. That is to say, the storage area corresponding to the first preset condition and the second preset condition is stored in the copy data.
  • the user terminal has at least two storage areas for storing the copied data.
  • the storage area 1 may correspond to a first preset condition
  • the storage area 2 may correspond to a second preset condition. That is to say, the first preset condition and the second preset condition correspond to different storage areas.
  • the storage area N corresponds to a preset condition N, which is different from the first preset condition and the second preset condition. And other preset conditions. That is to say, the storage area has a one-to-one correspondence with the preset conditions.
  • the user terminal has a storage area 1 to a storage area 3 for storing the copy data
  • the correspondence between the preset condition and the storage area may be: the preset condition 1 corresponds to the storage area 1, and the preset condition 2 corresponds to the storage area. 2.
  • the preset condition 3 corresponds to the storage area 3.
  • the first preset condition may be any one of the preset condition 1 to the preset condition 3 (such as the preset condition 1), and the second preset condition may be different from the first preset in the preset condition 1 to the preset condition 3
  • the preset condition of the condition is set (for example, when the first preset condition is the preset condition 1, the second preset condition is the preset condition 2 or the preset condition 3).
  • N is an integer greater than 2
  • the selected data to be copied is copied to the storage area corresponding to the preset condition N.
  • each preset condition may correspond to a preset range.
  • the preset condition may be that the touch parameter of the touch operation is within a preset range corresponding to the preset condition.
  • the touch parameter may be any one of a touch force (ie, a press force), a touch duration (ie, a press duration), a touch length (ie, a slide length), and the like.
  • the preset range may also be any one of a preset strength range, a preset duration range, and a preset length range.
  • the first preset condition corresponds to a preset dynamic range of 2N (Newton) to 4N
  • the second preset condition corresponds to a preset dynamic range of 5N to 7N
  • the first preset condition may be that the touch force of the touch operation is 2N.
  • the second preset condition may be that the touch force of the touch operation is within 5N ⁇ 7N.
  • each preset condition may correspond to a preset value.
  • the preset condition may be that the touch parameter of the touch operation is equal to the preset value corresponding to the preset condition.
  • the preset value may be any one of a preset strength, a preset duration, and a preset length.
  • the first preset condition corresponds to the preset strength 2N
  • the second preset condition corresponds to the preset strength 5N
  • the first preset condition may be that the touch force of the touch operation is equal to 2N
  • the second preset condition may be a touch.
  • the touch force of the operation is equal to 5N.
  • the preset condition is in one-to-one correspondence with the preset trajectory.
  • the preset condition may be that the touch track of the touch operation matches the preset track corresponding to the preset condition.
  • the touch track is also a sliding track.
  • the preset trajectory may be a digital shape or a letter shape, which is not limited in the embodiment of the present invention.
  • the first preset condition corresponds to the preset track Z shape
  • the second preset condition corresponds to the preset track shape S shape.
  • the first preset condition may be that the touch track of the touch operation matches the Z shape
  • the second preset condition may be that the touch track of the touch operation matches the S shape.
  • the first preset condition corresponds to a preset track “1” shape
  • the second preset condition corresponds to a preset.
  • the track is "2" shaped.
  • the first preset condition may be that the touch track of the touch operation matches the “1” shape
  • the second preset condition may be that the touch track of the touch operation matches the “2” shape.
  • the specific implementation manner in which the user terminal copies the selected data to be copied to the storage area corresponding to the first preset condition may be: the dynamic of the storage area corresponding to the first preset condition applied by the user terminal Memory and copy the data to be copied to the dynamic memory of the application.
  • the dynamic memory can be non-volatile memory or volatile memory.
  • the specific implementation manner in which the user terminal copies the selected data to be copied to the storage area corresponding to the second preset condition may be: the dynamic of the storage area corresponding to the second preset condition applied by the user terminal Memory and copy the data to be copied to the dynamic memory of the application.
  • the dynamic memory can be non-volatile memory or volatile memory.
  • the user may first select data to be copied at the user terminal. After the user terminal selects the data to be copied, the user terminal detects whether there is a touch operation that satisfies the first preset condition or the second preset condition.
  • the user may perform a touch operation that satisfies the first preset condition on any position of the user terminal (that is, the user terminal only needs to detect that the first preset condition is met.
  • the touch operation copies the selected data to be copied to the storage area corresponding to the first preset condition, or the user can perform a touch operation that satisfies the second preset condition on any position of the user terminal.
  • FIG. 3 is a schematic diagram of a process in which a user selects a copy data and performs a touch operation that satisfies a first preset condition.
  • the user first slides the data selection icon to select the data to be copied "ChrisYu”.
  • the user can touch any position of the screen of the user terminal to perform a touch operation that satisfies the first preset condition.
  • the user terminal may output a function button, and the user may perform a touch operation on the function button that meets the first preset condition (ie, the user terminal only detects the user pair. Whether the function button performs a touch operation that satisfies the first preset condition, and if so, copies the selected data to be copied to a storage area corresponding to the first preset condition, or the user can satisfy the second function of the function button. Set the conditional touch operation.
  • FIG. 4 is a schematic diagram of a process in which a user selects a copy data and performs a touch operation that satisfies a first preset condition.
  • the user first slides the data selection icon to select the copy to be copied.
  • the data "ChrisYu”.
  • the user terminal can display a copy function button (the button can also be another name). The user can touch the copy function button to perform a touch operation that satisfies the first preset condition.
  • the user terminal may also detect whether there is a touch operation that satisfies the first preset condition while selecting the data to be copied; after the user terminal detects the touch operation that satisfies the first preset condition, Copy the selected data to be copied to the storage area corresponding to the first preset condition.
  • the user terminal may also detect whether there is a touch operation that satisfies the second preset condition while selecting the data to be copied; and after the user terminal detects the touch operation that satisfies the second preset condition, the selected data to be copied is selected. Copy to the storage area corresponding to the second preset condition. This allows you to copy data while selecting data, which allows you to copy data more quickly.
  • the following describes the application scenarios 1 to 3.
  • the user copies multiple copies of the data in the application interface 1.
  • the user copies the data in the application interface 1 and the application interface 2, respectively.
  • the user terminal simultaneously stores data copied by the user in the application interface 1 and the application interface 2.
  • Application scenario 1 The user terminal has a storage area 1 and a storage area 2, the storage area 1 corresponds to a first preset condition, and the storage area 2 corresponds to a second preset condition, where the first preset condition is a touch of the user performing a touch operation on the user terminal.
  • the strength is in the range of 2N to 4N
  • the second preset condition is that the touch force of the user to perform the touch operation on the user terminal is within 4N to 6N.
  • FIG. 5 shows that the user terminal selects the data to be copied “ChrisYu” in the application interface 1, the user terminal detects that the touch force of the touch operation is 3N, and the touch strength meets the first preset condition, and the user terminal Store “ChrisYu” in storage area 1.
  • the user terminal selects the data to be copied “27”
  • the user terminal detects that the touch force of the touch operation performed by the user terminal is 5N, and the touch strength meets the second preset condition, and the user terminal stores “27” to the storage area. 2 in
  • the touch parameter of the touch operation is the touch duration, the slide length or other parameters
  • the principle of the user terminal copying the data is the same as the principle that the touch parameter is the touch force
  • the touch parameter of the touch operation is the touch duration, the sliding length or other parameters. The scene will not be described here.
  • Application scenario 2 The user terminal has a storage area 1 and a storage area 2, the storage area 1 corresponds to a first preset condition, and the storage area 2 corresponds to a second preset condition, where the first preset condition is a touch operation performed by the user on the user terminal.
  • the touch track is O-shaped
  • the second preset condition is that the touch track of the touch operation performed by the user on the user terminal is L-shaped.
  • FIG. 6 in the application interface 1, the user terminal is selected. After the data "ChrisYu" is to be copied, the user terminal detects that the touch trajectory of the touch operation performed by the user on the user terminal is O-shaped.
  • the touch track satisfies the first preset condition, and the user terminal stores "ChrisYu” into the storage area 1.
  • the user terminal detects that the touch track of the touch operation performed by the user on the user terminal is L-shaped.
  • the touch track satisfies the second preset condition, and the user terminal stores "27" in the storage area 2.
  • Application scenario 3 The user terminal has a storage area 1 and a storage area 2, the storage area 1 corresponds to a first preset condition, and the storage area 2 corresponds to a second preset condition, where the first preset condition is a touch operation performed by the user on the user terminal.
  • the touch track is O-shaped
  • the second preset condition is that the touch track of the touch operation performed by the user on the user terminal is L-shaped.
  • FIG. 7 after the user terminal selects the data to be copied “ChrisYu” in the application interface 1 , the user terminal detects that the touch track of the touch operation performed by the user on the user terminal is O-shaped.
  • the touch track satisfies the first preset condition, and the user terminal stores "ChrisYu” into the storage area 1.
  • the user terminal then switches the application interface to the application interface 2.
  • the user terminal detects that the touch track of the touch operation performed by the user on the user terminal is L-shaped.
  • the touch track satisfies the second preset condition, and the user terminal stores "27" in the storage area 2.
  • the user can copy different data multiple times in one application interface, or copy different data in different application interfaces. Since the user terminal has multiple storage areas, the user terminal can simultaneously save The data copied by the user multiple times. Therefore, when the user needs to copy and paste multiple different data of one application interface to another interface or multiple interfaces, the number of application interface switching is reduced, and the process of copying and pasting is simplified. Similarly, when the user needs to copy and paste data of multiple application interfaces to another application interface, the user can first copy the data to the multiple application interfaces, and then paste the copied data into the application interface that needs to be pasted, which also reduces the data. The number of application interface switches simplifies the process of copying and pasting.
  • the user terminal may further perform the 803 and 804 parts.
  • the copy data is acquired from the storage area corresponding to the first preset condition, and the copied data is pasted to the designated location.
  • the copy data is obtained from the storage area corresponding to the second preset condition, and the copied data is pasted. Go to the specified location.
  • the user terminal has a storage area corresponding to the first preset condition and the second preset condition, it has a preset condition N (the preset condition N is different from the first preset condition and The second preset condition) corresponding storage area N, after detecting the touch operation satisfying the preset condition N, acquires the copy data from the storage area N, and pastes the copied data to the designated position.
  • the process of data pasting by the user terminal is described below through application scenarios 4-6.
  • the user terminal after the user terminal copies a plurality of data in the application interface 1, the user terminal can switch to copying the copied plurality of data in the application interface 2.
  • the user terminal after the user terminal copies a plurality of data in the application interface 1, the user terminal can switch to the application interface 2 to paste a part of the data, and then switch to the application interface 3 to paste another part of the data.
  • the application scenario 6 after the user terminal copies a plurality of data in the application interface 1 and the application interface 2, the user can switch to copy the copied data in the application interface 3.
  • Application scenario 4 After the user terminal stores the “ChrisYu” to the storage area 1 and stores the “27” into the storage area 2 through the flow corresponding to FIG. 5, the user switches the interface of the user terminal to the application interface 2, and specifies Paste the copied data in text input box 1. As shown in FIG. 9, the user terminal detects that the touch force of the user touching the user terminal is 3N. The touch force satisfies the first preset condition, the user terminal acquires the copy data "ChrisYu” from the storage area 1, and pastes "ChrisYu” in the text input box 1.
  • the copy data "27" is acquired in the area 2, and "27" is pasted in the text input box 2.
  • Application scenario 5 After the user terminal stores the “ChrisYu” to the storage area 1 and stores the “27” into the storage area 2 through the flow corresponding to FIG. 5, the user switches the interface of the user terminal to the application interface 2, and specifies Paste the copied data in text input box 1. As shown in FIG. 10, the user terminal detects that the touch force of the user touches the user terminal is 3N, and the touch force satisfies the first preset condition, and the user terminal obtains the copy data “ChrisYu” from the storage area 1 and pastes “ChrisYu”. In text input box 1. The user then switches the interface of the user terminal to the application interface 3, and specifies that the copied data is pasted in the text input box 1.
  • the user terminal When the user terminal detects that the touch force of the user touches the user terminal is 5N, the touch force satisfies the second preset condition, the user terminal acquires the copy data “27” from the storage area 2, and pastes “27” in the text input box 1 in.
  • Application scenario 6 storing the "ChrisYu” to the storage in the user terminal through the flow corresponding to FIG. Area 1, after storing "27" in the storage area 2, the user switches the interface of the user terminal to the application interface 3, and specifies that the copied data is pasted in the text input box 1.
  • the user terminal detects that the touch track of the touch operation is O-shaped, the touch track satisfies the first preset condition, and the user terminal acquires the copy data “ChrisYu” from the storage area 1 and pastes “ChrisYu”. In text input box 1.
  • the user touches the text input box 2 to specify that the copied data is pasted in the text input box 2; when the user terminal detects that the touch track of the touch operation is L-shaped, the touch force satisfies the second preset condition, and the user terminal accesses the storage area.
  • the copy data "27” is obtained in 2, and "27" is pasted in the text input box 2.
  • the user can paste the copied multiple copies of data into the same application interface or different application interfaces, thereby reducing the process of copying and pasting between multiple application interfaces. . And the user can also flexibly choose to copy the data to the specified location without having to paste it in the order of copying. And by implementing the method described in FIG. 8, the clipboard can also be hidden, and the user does not need to paste the data by clicking the copy data in the clipboard.
  • the user terminal may prompt the preset range in which the touch parameter is located, or prompt the corresponding range in which the touch parameter is located.
  • Level The preset range can be corresponding to the level. For example, the preset force range 1 is 2N ⁇ 4N, and the preset force range 2 is 5N ⁇ 7N, then the preset force range 1 can be corresponding to level 1, the preset force range. 2 corresponds to level 2, which is more convenient for prompting, and is convenient for the user to memorize and distinguish), or to prompt a preset track that matches the touch track.
  • the user terminal may correspond to the level 1 corresponding to the preset dynamic range reached when the touch force is 3N, and the preset dynamic range reached when the touch force is 5N. Level 2.
  • the user terminal displays the "O" of the prompt area in a black entity on the interface to prompt the touch track to match the O shape, and displays the "L" of the prompt area as a black entity. , to prompt the touch track to match the L shape.
  • the user terminal may also prompt the copy data to be pasted in the prompt area or the paste position (the copy data to be pasted is in the storage area corresponding to the preset condition that the current touch operation satisfies Copy data).
  • the copy data to be pasted is in the storage area corresponding to the preset condition that the current touch operation satisfies Copy data.
  • the summary content of the copied data to be pasted may be displayed.
  • the copy data is obtained from all the storage areas, and all the copies are copied. Paste the data to the specified location.
  • the first target condition is different from the preset condition or may be the same as the preset condition.
  • the user terminal After the user terminal stores the “ChrisYu” to the storage area 1 and stores the “27” into the storage area 2 through the flow corresponding to FIG. 5, the user terminal enters the application interface 2, and the application interface 2 has only one text input box. 1.
  • the first target condition is that the touch force is between 6N and 8N.
  • the user specifies to paste the copied data in the text input box 1.
  • the user terminal if the user terminal detects that the touch force of the user touching the user terminal is 7N, the user terminal acquires “ChrisYu” from the storage area 1 and acquires “27” from the storage area 2, and “ChrisYu” and “ 27" is pasted in text input box 1.
  • the copy data corresponding to the text input box is pasted in the text input box.
  • the text input box is in one-to-one correspondence with the copied data according to the order of arrangement from top to bottom and according to the storage time sequence of the copied data. among them.
  • the second target condition is different from the preset condition or may be the same as the preset condition.
  • the application interface 2 has a text input box 1 and a text input box 2.
  • the second target condition is that the touch force is between 6N and 8N.
  • the user touches the screen of the user terminal and if the user terminal detects that the touch force of the user touches the user terminal is 7N, according to the order of the text input box 1 and the text input box 2 from top to bottom, and according to “ ChrisYu” and "27” storage time sequence (as shown in Fig.
  • the user may most likely want to paste the copied data into different text input boxes. It can be seen that by implementing the embodiment, the user can conveniently and quickly paste the copied data into the specified copy data by performing a specific touch operation on the user terminal.
  • the user terminal After the user terminal detects the touch operation that satisfies the third target condition, the user terminal outputs a data selection list.
  • the data selection list includes data selection items that are in one-to-one correspondence with the copy data in the storage area (for example, when the copy data is long, the data selection item may be a summary of the copied data); receiving at the user terminal; After the first selection instruction input by the user, the user terminal acquires the target copy data from the storage area, and pastes the target copy data at the specified position.
  • the target copy data is copy data corresponding to the data selection item selected by the first selection instruction.
  • the third target condition may be any one of the preset conditions, or the third target condition may be different from the preset condition.
  • the application interface 2 has a text input box 1 and a text input box 2.
  • the user specifies to paste the copied data in the text input box 1.
  • the third target condition is that the touch force is between 2N and 4N.
  • the user terminal After the user terminal detects that the touch force of the user touches the user terminal is 3N, the user terminal outputs a data selection list including data selection item 1 and data selection item 2, and data selection item 1 and Corresponding to "ChrisYu", the data selection item 2 corresponds to "27"; after the user clicks on the data selection item 1, the user terminal acquires "ChrisYu” from the storage area 1, and pastes "ChrisYu” in the text input box 1.
  • the user can more flexibly select the data to be pasted and paste the selected data to the specified location.
  • the embodiment of the present invention may divide a functional unit into a user terminal or the like according to the foregoing method example.
  • each functional unit may be divided according to each function, or two or more functions may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the hardware or software includes one or more units corresponding to the functions described above.
  • the unit can be software and/or hardware.
  • the embodiment of the present invention further provides a data copying method and a user terminal.
  • the user terminal may be a mobile phone, a wearable device (such as a smart watch, etc.), a tablet computer, a personal computer (PC, Personal Computer), a PDA (Personal Digital Assistant), or a car computer.
  • a wearable device such as a smart watch, etc.
  • a tablet computer such as a smart watch, etc.
  • PC Personal Computer
  • PDA Personal Digital Assistant
  • the user terminal has at least two storage areas for storing and copying data.
  • the user terminal has a storage area 1 and a storage area 2, and the storage area 1 may correspond to a first preset distance range, and the storage area 2 may correspond to a second preset distance range; or the storage area 1 may correspond to a second preset distance range.
  • the storage area 2 may correspond to a first preset distance range. That is to say, the first preset distance range and the second preset distance range correspond to different storage areas.
  • the storage area N corresponds to a preset distance range N
  • the preset distance range N is different from the first preset distance range
  • the second Preset distance range and other preset distance ranges is to say, the storage area has a one-to-one correspondence with the preset distance range.
  • the user terminal has a storage area 1 to a storage area 3 for storing the copy data, and the corresponding relationship between the preset distance range and the storage area may be: the preset distance range 1 corresponds to the storage area 1, and the preset distance range 2 Corresponding to the storage area 2, the preset distance range 3 corresponds to the storage area 3.
  • the first preset distance range may be any one of the preset distance range 1 to the preset distance range 3 (such as the preset distance range 1)
  • the second preset distance range may be the preset distance range 1 to the preset distance range.
  • a preset distance range different from the first preset distance range in 3 for example, when the first preset distance range is the preset distance range 1, the second preset distance range is the preset distance range 2 or the preset distance range 3) .
  • FIG. 15 is a schematic flowchart diagram of a data replication method according to an embodiment of the present invention. As shown in FIG. 15, the data copying method may include sections 1501 to 1502.
  • the user terminal copies the selected data to be copied to the storage area corresponding to the first preset distance range.
  • the data to be copied may be data such as pictures and texts.
  • the user terminal copies the selected data to be copied to the storage area corresponding to the second preset distance range.
  • the storage area corresponding to the second preset distance range is different from the storage area corresponding to the first preset distance range.
  • the user terminal detects that the distance between the user's finger and the user terminal is at a preset distance. After the range N, the selected data to be copied is copied to the storage area N.
  • the user terminal may specifically detect the distance between the user's finger and the screen of the user terminal. Or the user terminal may specifically detect the distance between the user's finger from a certain function button of the user terminal (which may be a virtual button or a physical button).
  • the user terminal may specifically detect the distance between the user's finger and the user terminal by using a distance sensor.
  • the distance between the user's finger and the screen of the user terminal may also be detected according to the hovering touch technology.
  • the user terminal may copy the selected data to be copied to the storage area corresponding to the first preset distance range, where the user terminal may apply for the storage area corresponding to the first preset distance range.
  • the dynamic memory can be non-volatile memory or volatile memory.
  • the user terminal may copy the selected data to be copied to the storage area corresponding to the second preset distance range, where the user terminal may apply for the storage area corresponding to the second preset distance range.
  • the dynamic memory can be non-volatile memory or volatile memory.
  • the process of data copying by the user terminal is described below through the application scenario 7.
  • the user copies multiple copies of the data in the application interface 1.
  • Application scenario 7 The storage area 1 corresponds to a first preset distance range, and the storage area 2 corresponds to a second preset distance range.
  • the first preset distance range is within 3 mm (mm) to 5 mm
  • the second preset distance range is 5 mm. ⁇ 7mm.
  • the user terminal detects that the distance of the user's finger from the user terminal is 4 mm. The distance is within the first preset distance range, and the user terminal stores "ChrisYu" into the storage area 1. As shown in FIG.
  • the user terminal detects that the distance of the user's finger from the user terminal is 6 mm. The distance is within the second preset distance range, and the user ends The terminal stores "27" in the storage area 2.
  • the user can also copy the data in the method of FIG. 15 in different application interfaces.
  • the principle of the application scenario is the same as that of the application scenario 3, and details are not described herein.
  • the user can copy different data multiple times in one application interface, or copy different data in different application interfaces. Since the user terminal has multiple storage areas, the user terminal can simultaneously save The data copied by the user multiple times. Therefore, when the user needs to copy and paste multiple different data of one application interface to another interface or multiple interfaces, the number of application interface switching is reduced, and the process of copying and pasting is simplified. Similarly, when the user needs to copy and paste data of multiple application interfaces to another application interface, the user may first copy the data to be pasted in the multiple application interfaces, and then paste the copied data into the interface to be pasted, thereby reducing The number of application interface switches has simplified the process of copying and pasting.
  • the user terminal may also perform portions 1803 and 1804.
  • the user terminal has a storage area corresponding to the first preset distance range and the second preset distance range
  • the user terminal has a preset distance range N (the preset distance range N is different from the first
  • the storage area N corresponding to the preset distance range and the second preset distance range is obtained by acquiring the copy data from the storage area N after detecting that the distance between the finger and the user terminal is within the preset distance range N. Paste the copied data into the specified location.
  • the process of data pasting by the user terminal is described below through the application scenario 8.
  • the user terminal after the user terminal copies a plurality of data in the application interface 1, the user terminal can switch to copying the copied plurality of data in the application interface 2.
  • Application Scenario 8 After the user terminal passes the process corresponding to FIG. 16 and FIG. 17, “ChrisYu” is stored in the storage area 1, and after “27” is stored in the storage area 2, the user switches the interface of the user terminal to the application interface 2 And specify to paste the copied data in the text input box 1.
  • the user terminal detects that the distance between the finger and the screen of the user terminal is 4 mm. The distance is within the first preset distance range, the user terminal acquires "ChrisYu” from the storage area 1, and pastes "ChrisYu” in the text input box 1. As shown in FIG.
  • the user touches the text input box 2 again, and specifies that the copied data is pasted in the text input box 2; the user terminal detects that the distance between the user's finger and the screen of the user terminal is 6 mm. The distance is within the second predetermined distance range, the user terminal acquires the copy data "27" from the storage area 2, and pastes "27" in the text input box 2.
  • the user may also copy a plurality of data in the application interface 1, switch to the application interface 2, and paste a part of the data in the application interface 2 through the data pasting method described in FIG. 18; the user terminal may The application interface 2 switches to the application interface 3, and pastes another part of the data in the application interface 3 by the data pasting method described in FIG.
  • the principle of the application scenario is the same as that of the application scenario 5, and is not described here.
  • the user may also copy the plurality of data in the application interface 1 and the application interface 2, switch to the application interface 3, and paste the copied data in the application interface 3 through the data pasting method described in FIG. 18.
  • the principle of the application scenario is the same as that of the application scenario 6, and is not described here.
  • the user can conveniently paste the specified copy data by performing a specific touch operation on the user terminal, and the user only needs to perform an interface switch, and the multiple data stored in the storage area can be separately pasted.
  • the process of copying and pasting data between multiple interfaces is simplified by specifying the location of the current interface.
  • the user terminal After the user terminal detects that the current interface does not have multiple text input boxes, and detects a touch operation that satisfies the first target condition, the user terminal acquires the copied data from all the storage areas, and Paste all copied data to the specified location.
  • the implementation principle of the embodiment is the same as that of the related process shown in FIG. 12, and the related process shown in FIG. 12 can be referred to, and details are not described herein.
  • the copy data corresponding to the text input box is pasted in the text input box.
  • the text input box is in one-to-one correspondence with the copied data according to the order of arrangement from top to bottom and according to the storage time sequence of the copied data.
  • the implementation principle of the embodiment is the same as that of the related process shown in FIG. 13 , and the related process shown in FIG. 13 can be referred to, and details are not described herein.
  • the user may most likely want to paste the copied data into different text input boxes. It can be seen that by implementing the implementation manner, the user performs a specific touch operation on the user terminal, The copied data can be easily and quickly pasted to the specified copy data.
  • the user terminal After the user terminal detects the touch operation that satisfies the third target condition, the user terminal outputs a data selection list.
  • the data selection list includes data selection items that are in one-to-one correspondence with the copy data in the storage area (for example, when the copy data is long, the data selection item may be a summary of the copied data); receiving at the user terminal; After the first selection instruction input by the user, the user terminal acquires the target copy data from the storage area, and pastes the target copy data at the specified position.
  • the target copy data is copy data corresponding to the data selection item selected by the first selection instruction.
  • the implementation principle of the embodiment is the same as that of the related process shown in FIG. 14, and the related process shown in FIG. 14 can be referred to, and details are not described herein.
  • the user can more flexibly select the data to be pasted and paste the selected data to the specified location.
  • the user terminal may prompt the preset distance range in which the distance is located, or indicate the level corresponding to the preset distance range in which the distance is located. As shown in FIG. 16, the user terminal may reach a level corresponding to the first preset distance range reached when the interface prompts the distance of 4 mm. As shown in FIG. 17, the user terminal will have a level corresponding to the second preset distance range reached when the interface prompts the distance of 6 mm.
  • the user terminal may also prompt the copy data to be pasted in the prompt area or the paste position (the copy data to be pasted is in the storage area corresponding to the preset condition that the current touch operation satisfies Copy data).
  • the copy data to be pasted is in the storage area corresponding to the preset condition that the current touch operation satisfies Copy data.
  • the summary content of the copied data to be pasted may be displayed.
  • the embodiment of the present invention may divide a functional unit into a user terminal or the like according to the foregoing method example.
  • each functional unit may be divided according to each function, or two or more functions may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the hardware or software includes one or more units corresponding to the functions described above.
  • the unit can be software and/or hardware.
  • the user terminal takes a mobile phone as an example, and FIG. 21 shows an embodiment of the present invention.
  • FIG. 21 shows an embodiment of the present invention.
  • the mobile phone 2100 includes an RF (Radio Frequency) circuit 2101, a memory 2102, other input devices 2103, a display screen 2104, a sensor 2105, an audio circuit 2106, an I/O subsystem 2107, a processor 2108, and a power source 2109. component.
  • RF Radio Frequency
  • the structure of the mobile phone shown in FIG. 21 does not constitute a limitation on the mobile phone, and may include more or less components than those illustrated, or combine some components, or split some components, or Different parts are arranged.
  • the display 2104 belongs to a User Interface (UI) and that the handset 2100 can include a user interface that is smaller than shown or less.
  • UI User Interface
  • the components of the mobile phone 2100 are specifically described below with reference to FIG. 21:
  • the RF circuit 2101 can be used for receiving and transmitting signals during and after receiving or transmitting information, in particular, after receiving the downlink information of the base station, and processing the data to the processor 2108; in addition, transmitting the designed uplink data to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like.
  • the RF circuit 2101 can also communicate with the network and other devices through wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
  • the memory 2102 can be used to store software programs and modules, and the processor 2108 executes various functional applications and data processing of the handset 2100 by running software programs and modules stored in the memory 2102.
  • the memory 2102 can mainly include a storage program area and a storage data area (for example, the storage data area can include a storage area for storing duplicate data involved in the foregoing method embodiment), wherein the storage program area can store an operating system, at least one function.
  • the required application such as a sound playing function, an image playing function, etc.
  • the storage data area can store data (such as audio data, phone book, etc.) created according to the use of the mobile phone 2100.
  • memory 2102 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • Other input devices 2103 can be used to receive input numeric or character information, as well as generate key signal inputs related to user settings and function control of handset 2100.
  • other input devices 2103 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, light rats (light mice are touch-sensitive surfaces that do not display visual output, or are formed by touch screens) One or more of the extension of the touch sensitive surface).
  • Other input devices 2103 are coupled to other input device controllers 171 of I/O subsystem 2107 and are in signal communication with processor 2108 under the control of other device input controllers 171.
  • the display 2104 can be used to display information entered by the user or information provided to the user as well as various menus of the handset 2100, and can also accept user input.
  • the specific display screen 2104 can include a display panel 141 and a touch panel 142.
  • the display panel 141 can be configured by using an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch panel 142 also referred to as a touch screen, a touch sensitive screen, etc., can collect contact or non-contact operations on or near the user (eg, the user uses any suitable object or accessory such as a finger, a stylus, etc. on the touch panel 142.
  • the operation in the vicinity of the touch panel 142 may also include a somatosensory operation; the operation includes a single-point control operation, a multi-point control operation, and the like, and drives the corresponding connection device according to a preset program.
  • the touch panel 142 may include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation and posture of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection device, and converts the signal into a processor. The processed information is sent to processor 2108 and can receive commands from processor 2108 and execute them.
  • the touch panel 142 can be implemented by using various types such as resistive, capacitive, infrared, and surface acoustic waves, and the touch panel 142 can be implemented by any technology developed in the future.
  • the touch panel 142 can cover the display panel 141, and the user can display the content according to the display panel 141 (the display content includes, but is not limited to, a soft keyboard, a virtual mouse, a virtual button, an icon, etc.) on the display panel 141. Covered when operating on or near the touch panel 142, the touch panel 142 detects a touch operation thereon or nearby, and transmits it to the processor 2108 through the I/O subsystem 2107 to determine the type of touch event to determine the user.
  • processor 2108 provides a corresponding visual output on display panel 141 via I/O subsystem 2107 in accordance with user input in accordance with the type of touch event.
  • the touch panel 142 and the display panel 141 are two independent components to implement the input and input functions of the mobile phone 2100 in FIG. 21, in some embodiments, the touch panel 142 may be integrated with the display panel 141. The input and output functions of the mobile phone 2100 are realized.
  • the handset 2100 can also include at least one type of sensor 2105, such as a light sensor, motion sensor, pressure sensor, distance sensor, and other sensors.
  • the light sensor can include ambient light sensing And the proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor can close the display panel 141 and/or the backlight when the mobile phone 2100 moves to the ear.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping).
  • the pressure sensor can detect the velocity value of the user pressing the user terminal.
  • the distance sensor detects the distance of the user's finger from the user terminal.
  • Other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like that can be configured in the mobile phone 2100 are not described herein.
  • An audio circuit 2106, a speaker 161, and a microphone 162 can provide an audio interface between the user and the handset 2100.
  • the audio circuit 2106 can transmit the converted audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into a signal, which is received by the audio circuit 2106.
  • the audio data is converted, and the audio data is output to the RF circuit 2101 for transmission to, for example, another mobile phone, or the audio data is output to the memory 2102 for further processing.
  • the I/O subsystem 2107 is used to control external devices for input and output, and may include other input device controllers 171, sensor controllers 172, and display controllers 173.
  • one or more other input device controllers 171 receive signals from other input devices 2103 and/or send signals to other input devices 2103, which may include physical buttons (press buttons, rocker buttons, etc.), Dial, slide switch, joystick, click wheel, light mouse (light mouse is a touch-sensitive surface that does not display visual output, or an extension of a touch-sensitive surface formed by a touch screen). It is worth noting that other input device controllers 171 can be connected to any one or more of the above devices.
  • Display controller 173 in I/O subsystem 2107 receives signals from display 2104 and/or transmits signals to display 2104. After the display 2104 detects the user input, the display controller 173 converts the detected user input into an interaction with the user interface object displayed on the display screen 2104, ie, implements human-computer interaction.
  • Sensor controller 172 can receive signals from one or more sensors 2105 and/or send signals to one or more sensors 2105.
  • the processor 2108 is a control center for the handset 2100 that connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 2102, and recalling data stored in the memory 2102,
  • the mobile phone 2100 performs various functions and processing data to perform overall monitoring of the mobile phone.
  • the processor 2108 can execute the user terminal in the foregoing method embodiment.
  • the processor 2108 may include one or more processing units; preferably, the processor 2108 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 2108.
  • the handset 2100 also includes a power source 2109 (such as a battery) that powers the various components.
  • a power source 2109 such as a battery
  • the power source can be logically coupled to the processor 2108 via a power management system to manage functions such as charging, discharging, and power consumption through the power management system.
  • the mobile phone 2100 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • the functions described herein can be implemented in hardware, software, firmware, or any combination thereof.
  • the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.

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

一种数据复制方法及用户终端,该方法应用于用户终端,该用户终端具有用于存储复制数据的至少两个存储区域,该方法包括:在检测到满足第一预设条件的触摸操作之后,将已选中的待复制数据复制至第一预设条件对应的存储区域(201);在检测到满足第二预设条件的触摸操作之后,将已选中的待复制数据复制至第二预设条件对应的存储区域(202),该第二预设条件对应的存储区域不同于第一预设条件对应的存储区域。在复制粘贴数据时,有利于减少界面切换次数,简化复制粘贴的流程。

Description

一种数据复制方法及用户终端 技术领域
本发明涉及终端技术领域,尤其涉及一种数据复制方法及用户终端。
背景技术
在实际应用中,人们经常会对用户终端(如手机、电脑等)中的一些数据(如文字、图片等数据)进行复制,并将复制的数据粘贴在指定位置。
然而在实践中发现,用户将一个应用界面的多份数据复制粘贴到另一个界面时需要进行多次界面切换。例如,如图1所示,若用户需要将应用界面1的姓名“ChrisYu”复制粘贴到应用界面2的姓名输入框中,并将应用界面1的年龄“27”复制粘贴到应用界面2的年龄输入框中,则用户需要在用户终端进行3次界面切换。即用户需要在应用界面1复制姓名“ChrisYu”,然后再从应用界面1切换到应用界面2,在年龄输入框中粘贴姓名“ChrisYu”,然后再从应用界面2切换到应用界面1去复制年龄“27”,然后再从应用界面1切换到应用界面2,在年龄输入框中粘贴年龄“27”。可见,用户将一个应用界面的多份数据复制粘贴到另一个界面的流程非常繁琐。
发明内容
本发明实施例公开了一种数据复制方法及用户终端,能够同时存储多份复制数据,从而有利于简化数据复制粘贴过程中的应用界面切换次数,简化复制粘贴的流程。
第一方面,本发明实施例提供了一种数据复制方法,应用于用户终端,用户终端具有用于存储复制数据的至少两个存储区域,该方法包括:在检测到满足第一预设条件的触摸操作之后,将已选中的待复制数据复制至第一预设条件对应的存储区域;在检测到满足第二预设条件的触摸操作之后,将已选中的待复制数据复制至第二预设条件对应的存储区域,该第二预设条件对应的存储区域不同于第一预设条件对应的存储区域。
值得一提的是,当用户终端除具有与第一预设条件对应的存储区域1,以及与第二预设条件对应的存储区域2之外,还具有存储区域N(N为大于2的整数)时,存储区域N对应预设条件N,该预设条件N不同于第一预设条件、第二预设条件和其他预设条件。也就是说,存储区域与预设条件一一对应。相应地,用户终端检测到满足预设条件N的触摸操作之后,将已选中的待复制数据复制至预设条件N对应的存储区域。
可见,通过实施第一方面所描述的方法,用户可在一个应用界面中多次复制不同的数据,或在不同的应用界面复制不同的数据,由于用户终端拥有多个存储区域,用户终端可以同时保存用户多次复制的数据。因此,当用户需要将一个应用界面的多份不同的数据复制粘贴到另一个界面或多个界面时,减少了应用界面切换次数,简化了复制粘贴的流程。同理,当用户需要将多个应用界面的数据复制粘贴至另一个应用界面时,用户可先去该多个应用界面复制数据,再到需要粘贴的应用界面粘贴复制的数据,这样也减少了应用界面切换次数,简化了复制粘贴的流程。
在一种可能的实现方式中,预设条件为触摸操作的触摸参数处于预设范围之内。例如,第一预设条件为触摸操作的触摸参数处于第一预设范围之内;第二预设条件为触摸操作的触摸参数处于第二预设范围之内。其他预设条件同理。
在一种可能的实现方式中,预设条件为触摸操作的触摸轨迹相匹配于预设轨迹。例如,第一预设条件为触摸操作的触摸轨迹相匹配于第一预设轨迹;第二预设条件为触摸操作的触摸轨迹相匹配于第二预设轨迹。其他预设条件同理。
在一种可能的实现方式中,将已选中的待复制数据复制至第一预设条件对应的存储区域之后,用户终端还可在检测到满足第一预设条件的触摸操作之后,从第一预设条件对应的存储区域中获取复制数据,并将复制数据粘贴到指定位置;用户终端将已选中的待复制数据复制至第二预设条件对应的存储区域之后,还可在检测到满足第二预设条件的触摸操作之后,从第二预设条件对应的存储区域中获取复制数据,并将复制数据粘贴到指定位置。
具体地,粘贴时的第一预设条件可以与复制时的第一预设条件相同或不同。同理,粘贴时的第二预设条件可以与复制时的第二预设条件相同或不同。
值得一提的是,当用户终端除具有与第一预设条件对应的存储区域1,以及与第二预设条件对应的存储区域2之外,还具有与预设条件N对应的存储区域N(N为大于2的整数)时,用户终端在检测到满足预设条件N的触摸操作之后,从该存储区域N中获取复制数据,并将该复制数据粘贴到指定位置。
可见,通过实施该实现方式,用户可在复制了多份数据之后,将复制的多份数据粘贴到同一应用界面或不同的应用界面,减少了多个应用界面之间复制粘贴的流程。且用户也可灵活地选择复制数据粘贴在指定位置,不必按照复制顺序进行粘贴。且通过实施该实现方式,也可实现剪贴板的隐藏,用户不用通过点击剪贴板中的复制数据进行数据的粘贴。
在一种可能的实现方式中,用户终端还可在检测到当前界面不存在多个文本输入框,并且检测到满足第一目标条件的触摸操作之后,从所有存储区域中获取复制数据,并将所有复制数据粘贴到指定位置。
具体地,该第一目标条件不同于第一预设条件和第二预设条件,或该第一目标条件可与第一预设条件或第二预设条件相同。
在实际应用中,用户复制多份数据之后,若需要粘贴数据的界面只有一个文本输入框,则用户很有可能会想把所有复制数据都粘贴在一个文本输入框中。可见,通过实施该实施方式,用户通过对用户终端进行一次特定的触摸操作,就可便捷地、快速地将所有复制数据粘贴到指定的文本输入框中。
在一种可能的实现方式中,用户终端还可在检测到当前界面存在多个文本输入框,并且检测到满足第二目标条件的触摸操作之后,在文本输入框中粘贴与文本输入框对应的复制数据,该文本输入框根据由上至下的排列顺序,以及根据复制数据的存储时间顺序与复制数据一一对应。
具体地,该第二目标条件不同于第一预设条件和第二预设条件,或该第二目标条件可与第一预设条件或第二预设条件相同。
在实际应用中,用户复制多份数据之后,若需要粘贴数据的界面有多个文本输入框,则用户很有可能想把复制数据分别粘贴在不同的文本输入框中。可见,通过实施该实现方式,用户通过对用户终端进行一次特定的触摸操作,就可便捷地、快速地将复制数据分别粘贴到指定的复制数据。
在一种可能的实现方式中,用户终端还可提示触摸操作的触摸参数所处的 预设范围。
通过实施该实现方式,有利于用户准确地复制数据至对应的存储区域,也有利于用户准确地粘贴想要粘贴的内容至指定位置。
在一种可能的实现方式中,用户终端还可提示与触摸操作的触摸参数所处的预设范围相对应的等级。
通过实施该实现方式,有利于用户准确地复制数据至对应的存储区域,也有利于用户准确地粘贴想要粘贴的内容至指定位置。
在一种可能的实现方式中,用户终端还可提示与触摸操作的触摸轨迹相匹配的预设轨迹。
通过实施该实施方式,有利于用户准确地粘贴想要粘贴的内容至指定位置。
第二方面,本发明实施例还提供了一种数据复制方法,应用于用户终端,用户终端具有用于存储复制数据的至少两个存储区域,方法包括:在检测到用户手指与用户终端之间的距离处于第一预设距离范围之后,将已选中的待复制数据复制至第一预设距离范围对应的存储区域;在检测到用户手指与用户终端之间的距离处于第二预设距离范围之后,将已选中的待复制数据复制至第二预设距离范围对应的存储区域,第二预设距离范围对应的存储区域不同于第一预设距离范围对应的存储区域。
值得一提的是,当用户终端除具有与第一预设距离范围对应的存储区域1,以及与第二预设距离范围对应的存储区域2之外,还具有存储区域N(N为大于2的整数)时,存储区域N对应预设距离范围N,该预设距离范围N不同于第一预设距离范围、第二预设距离范围和其他预设距离范围。也就是说,存储区域与预设距离范围一一对应。相应地,在用户终端检测到用户手指与用户终端之间的距离处于预设距离范围N之后,将已选中的待复制数据复制至存储区域N中。
可见,通过实施第二方面所描述的方法,用户可在一个应用界面中多次复制不同的数据,或在不同的应用界面复制不同的数据,由于用户终端拥有多个存储区域,用户终端可以同时保存用户多次复制的数据。因此,当用户需要将一个应用界面的多份不同的数据复制粘贴到另一个界面或多个界面时,减少了应用界面切换次数,简化了复制粘贴的流程。同理,当用户需要将多个应用界 面的数据复制粘贴至另一个应用界面时,用户可先去该多个应用界面复制数据,再到需要粘贴的应用界面粘贴复制的数据,这样也减少了应用界面切换次数,简化了复制粘贴的流程。
在一种可能的实现方式中,用户终端将已选中的待复制数据复制至第一预设距离范围对应的存储区域之后,还可在检测到用户手指与用户终端之间的距离处于第一预设距离范围之后,从第一预设距离范围对应的存储区域中获取复制数据,并将复制数据粘贴到指定位置;用户终端将已选中的待复制数据复制至第二预设距离范围对应的存储区域之后,还可在检测到用户手指与用户终端之间的距离处于第二预设距离范围之后,从第二预设距离范围对应的存储区域中获取复制数据,并将复制数据粘贴到指定位置。
具体地,粘贴时的第一预设距离范围可以与复制时的第一预设距离范围相同或不同。同理,粘贴时的第二预设距离范围可以与复制时的第二预设距离范围相同或不同。
值得一提的是,当用户终端除具有与第一预设距离范围对应的存储区域1,以及与第二预设距离范围对应的存储区域2之外,还具有与预设距离范围N对应的存储区域N(N为大于2的整数)时,用户终端在检测到手指与用户终端之间的距离处于预设距离范围N之内之后,从该存储区域N中获取复制数据,并将该复制数据粘贴到指定位置。
可见,通过实施该实现方式,用户可在复制了多份数据之后,将复制的多份数据粘贴到同一应用界面或不同的应用界面,减少了多个应用界面之间复制粘贴的流程。且用户也可灵活地选择复制数据粘贴在指定位置,不必按照复制顺序进行粘贴。且通过实施该实现方式,也可实现剪贴板的隐藏,用户不用通过点击剪贴板中的复制数据进行数据的粘贴。
第三方面,本发明的实施例提供一种用户终端,该用户终端具有用于存储复制数据的至少两个存储区域,该存储区域与预设条件一一对应,该用户终端具有实现上述第一方面或第一方面可能的实现方式中用户终端行为的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的单元。该单元可以是软件和/或硬件。
第四方面,本发明的实施例提供一种用户终端,该用户终端具有用于存储 复制数据的至少两个存储区域,该存储区域与预设条件一一对应,该用户终端包括:一个或多个处理器、存储器、总线系统以及一个或多个程序,处理器和存储器通过总线系统相连;其中,该一个或多个程序被存储在存储器中,该一个或多个程序包括指令,指令当被用户终端执行时使用户终端执行上述第一方面或第一方面可能的实现方式。
第五方面,本发明的实施例提供了一种存储一个或多个程序的计算机可读存储介质,一个或多个程序包括指令,该指令用于执行上述第一方面或第一方面可能的实现方式。
第六方面,本发明的实施例提供一种用户终端,该用户终端具有用于存储复制数据的至少两个存储区域,预设距离范围与该存储区域一一对应,该用户终端具有实现上述第二方面或第二方面可能的实现方式中用户终端行为的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的单元。该单元可以是软件和/或硬件。
第七方面,本发明的实施例提供一种用户终端,该用户终端具有用于存储复制数据的至少两个存储区域,预设距离范围与该存储区域一一对应,该用户终端包括:一个或多个处理器、存储器、总线系统以及一个或多个程序,处理器和存储器通过总线系统相连;其中,该一个或多个程序被存储在存储器中,该一个或多个程序包括指令,指令当被用户终端执行时使用户终端执行上述第二方面或第二方面可能的实现方式。
第八方面,本发明的实施例提供了一种存储一个或多个程序的计算机可读存储介质,一个或多个程序包括指令,该指令用于执行上述第二方面或第二方面可能的实现方式。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一 些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种现有的数据复制过程的示意图;
图2是本发明实施例提供的一种数据复制的流程示意图;
图3是本发明实施例提供的一种用户对待复制数据进行选择,并进行满足第一预设条件的触摸操作的过程示意图;
图4是本发明实施例提供的另一种用户对待复制数据进行选择,并进行满足第一预设条件的触摸操作的过程示意图;
图5~7是本发明实施例提供的数据复制过程的示意图;
图8是本发明实施例提供的另一种数据复制的流程示意图;
图9~14是本发明实施例提供的数据粘贴过程的示意图;
图15是本发明实施例提供的又一种数据复制的流程示意图;
图16和图17是本发明实施例提供的数据复制过程的示意图;
图18是本发明实施例提供的又一种数据复制的流程示意图;
图19和图20是本发明实施例提供的数据粘贴过程的示意图;
图21是本发明实施例提供的一种手机的结构示意图。
具体实施方式
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施例的技术方案进行描述。
在实际应用中,用户终端对数据进行复制时,需要使用剪贴板。用户终端将复制的数据保存在剪贴板中。当用户终端对复制的数据进行粘贴时,再从剪贴板中获取复制的数据,并将复制的数据粘贴到指定位置。剪贴板是内存中的一块存储区域,通过剪贴板,使得在各种应用程序之间,传递和共享信息成为可能。然而,剪贴板只能保存一份数据,每当新的数据存入剪贴板时,剪贴板中旧的数据会被覆盖。因此,当用户将一个应用界面的多份数据复制粘贴到另一个界面时,需进行多次界面切换,复制粘贴的流程非常繁琐。
为了解决用户将一个应用界面的多份数据复制粘贴到另一个界面时,需要 进行多次界面切换,复制粘贴的流程繁琐的问题,本发明实施例提供了一种数据复制方法及用户终端。
其中,该用户终端可以为手机、可穿戴设备(如智能手表等)、平板电脑、个人电脑(PC,Personal Computer)、PDA(Personal Digital Assistant,个人数字助理)或车载电脑等终端。
请参见图2,图2为本发明实施例提供的一种数据复制方法的流程示意图。如图2所示,该数据复制方法可以包括201~202部分。
在201部分中,用户终端在检测到满足第一预设条件的触摸操作之后,将已选中的待复制数据复制至第一预设条件对应的存储区域。其中,该待复制数据可以为图片、文字等数据。
在202部分中,用户终端在检测到满足第二预设条件的触摸操作之后,将已选中的待复制数据复制至第二预设条件对应的存储区域。同理,该待复制数据可以为图片、文字等数据。也就是说,第一预设条件和第二预设条件对应的存储区域中存储的是复制数据。
本发明实施例中,用户终端具有用于存储复制数据的至少两个存储区域。
例如,用户终端具有存储区域1和存储区域2,则存储区域1可对应第一预设条件,存储区域2可对应第二预设条件。也就是说第一预设条件与第二预设条件对应不同的存储区域。
值得一提的是,当用户终端具有存储区域N(N为大于2的整数)时,存储区域N对应预设条件N,该预设条件N不同于第一预设条件、第二预设条件和其他预设条件。也就是说,存储区域与预设条件一一对应。
例如,用户终端具有用于存储复制数据的存储区域1~存储区域3,则预设条件与存储区域之间的对应关系可以为:预设条件1对应存储区域1,预设条件2对应存储区域2,预设条件3对应存储区域3。第一预设条件可以为预设条件1~预设条件3中的任意一个(如预设条件1),第二预设条件可以为预设条件1~预设条件3中不同于第一预设条件的预设条件(如第一预设条件为预设条件1时,第二预设条件为预设条件2或预设条件3)。
当用户终端具有与预设条件N对应的存储区域N(N为大于2的整数) 时,相应地,用户终端检测到满足预设条件N的触摸操作之后,将已选中的待复制数据复制至预设条件N对应的存储区域。
作为一种可选的实施方式,每一个预设条件可对应一个预设范围,相应地,预设条件可以为触摸操作的触摸参数处于该预设条件对应的预设范围之内。
作为一种可选的实施方式,该触摸参数可以为触摸力度(也就是按压力度)、触摸时长(也就是按压时长)、触摸长度(也就是滑动长度)等中的任意一种。相应地,预设范围也可以为预设力度范围、预设时长范围和预设长度范围等中的任意一种。
举例来说,第一预设条件对应预设力度范围2N(牛顿)~4N,第二预设条件对应预设力度范围5N~7N,则第一预设条件可以为触摸操作的触摸力度处于2N~4N之内,第二预设条件可以为触摸操作的触摸力度处于5N~7N之内。当触摸参数为触摸时长、滑动长度或其他参数时,对预设条件的定义原理相同,在此不赘述。
作为一种可选的实施方式,每一个预设条件可对应一个预设值,相应地,预设条件可以为触摸操作的触摸参数等于该预设条件对应的预设值。
可选的,该预设值可以为预设力度、预设时长和预设长度等中的任意一种。
举例来说,第一预设条件对应预设力度2N,第二预设条件对应预设力度5N,则第一预设条件可以为触摸操作的触摸力度等于2N,第二预设条件可以为触摸操作的触摸力度等于5N。
作为一种可选的实施方式,预设条件与预设轨迹一一对应。相应地,预设条件可以为触摸操作的触摸轨迹相匹配于该预设条件对应的预设轨迹。其中,该触摸轨迹也就是滑动轨迹。
可选的,该预设轨迹可以为数字形状或字母形状,本发明实施例不做限定。
举例来说,第一预设条件对应预设轨迹Z形,第二预设条件对应预设轨迹S形。第一预设条件可以为触摸操作的触摸轨迹与Z形匹配,第二预设条件可以为触摸操作的触摸轨迹与S形匹配。
再举例来说,第一预设条件对应预设轨迹“1”形,第二预设条件对应预设 轨迹“2”形。第一预设条件可以为触摸操作的触摸轨迹与“1”形匹配,第二预设条件可以为触摸操作的触摸轨迹与“2”形匹配。
作为一种可选的实施方式,用户终端将已选中的待复制数据复制至第一预设条件对应的存储区域的具体实施方式可以为:用户终端申请第一预设条件对应的存储区域的动态内存,并将该待复制数据复制至申请的动态内存中。其中,该动态内存可以为非易失性内存或易失性内存。
作为一种可选的实施方式,用户终端将已选中的待复制数据复制至第二预设条件对应的存储区域的具体实施方式可以为:用户终端申请第二预设条件对应的存储区域的动态内存,并将该待复制数据复制至申请的动态内存中。同理,该动态内存可以为非易失性内存或易失性内存。
作为一种可选的实施方式,用户可先在用户终端选择待复制数据。在用户终端选中待复制数据之后,用户终端再检测是否存在满足第一预设条件或第二预设条件的触摸操作。
作为一种可选的实施方式,在用户终端选中待复制数据之后,用户可对用户终端的任意位置进行满足第一预设条件的触摸操作(即用户终端只要检测到满足第一预设条件的触摸操作,就将已选中的待复制数据复制至第一预设条件对应的存储区域),或用户可对用户终端的任意位置进行满足第二预设条件的触摸操作。
例如,图3是用户对待复制数据进行选择,并进行满足第一预设条件的触摸操作的过程示意图。如图3所示,用户先滑动数据选择图标,以选择待复制数据“ChrisYu”。如图3所示,当用户选中待复制数据“ChrisYu”之后,用户可触摸用户终端的屏幕的任意位置,进行满足第一预设条件的触摸操作。
作为一种可选的实施方式,在用户终端选中待复制数据之后,用户终端可输出一个功能按钮,用户可对该功能按钮进行满足第一预设条件的触摸操作(即用户终端只检测用户对该功能按钮是否进行满足第一预设条件的触摸操作,若是,就将已选中的待复制数据复制至第一预设条件对应的存储区域),或用户可对该功能按钮进行满足第二预设条件的触摸操作。
例如,图4是用户对待复制数据进行选择,并进行满足第一预设条件的触摸操作的过程示意图。如图4所示,用户先滑动数据选择图标,以选择待复制 数据“ChrisYu”。如图4所示,在用户选中待复制数据“ChrisYu”之后,用户终端可显示复制功能按钮(该按钮也可为其他名称)。用户可触摸该复制功能按钮,以进行满足第一预设条件的触摸操作。
作为一种可选的实施方式,用户终端也可以在选择待复制数据的同时也检测是否存在满足第一预设条件的触摸操作;在用户终端检测到满足第一预设条件的触摸操作之后,将已选中的待复制数据复制至第一预设条件对应的存储区域。同理,用户终端也可以在选择待复制数据的同时检测是否存在满足第二预设条件的触摸操作;在用户终端检测到满足第二预设条件的触摸操作之后,将已选中的待复制数据复制至第二预设条件对应的存储区域。这样就可达到边选择数据边复制数据的效果,这样可更快速地复制数据。
对于用户终端进行数据复制的过程,下面通过应用场景1~3来进行描述。在应用场景1和应用场景2中,用户在应用界面1中复制多份数据。在应用场景3中,用户分别在应用界面1和应用界面2中复制了数据。用户终端同时存储了用户在应用界面1和应用界面2中复制的数据。
应用场景1:用户终端具有存储区域1和存储区域2,存储区域1对应第一预设条件,存储区域2对应第二预设条件,第一预设条件为用户对用户终端进行触摸操作的触摸力度处于2N~4N之内,第二预设条件为用户对用户终端进行触摸操作的触摸力度处于4N~6N之内。如图5所示,在应用界面1下,用户终端选中了待复制数据“ChrisYu”之后,用户终端检测到该触摸操作的触摸力度为3N,则该触摸力度满足第一预设条件,用户终端将“ChrisYu”存储至存储区域1中。用户终端选中了待复制数据“27”之后,用户终端检测用户对用户终端进行的触摸操作的触摸力度为5N,则该触摸力度满足第二预设条件,用户终端将“27”存储至存储区域2中。
触摸操作的触摸参数为触摸时长、滑动长度或其他参数时,用户终端复制数据的原理与触摸参数为触摸力度时的原理相同,触摸操作的触摸参数为触摸时长、滑动长度或其他参数时的应用场景在此不赘述。
应用场景2:用户终端具有存储区域1和存储区域2,存储区域1对应第一预设条件,存储区域2对应第二预设条件,第一预设条件为用户对用户终端进行的触摸操作的触摸轨迹为O形,第二预设条件为用户对用户终端进行的触摸操作的触摸轨迹为L形。如图6所示,在应用界面1下,用户终端选中了 待复制数据“ChrisYu”之后,用户终端检测到用户对用户终端进行的触摸操作的触摸轨迹为O形。该触摸轨迹满足第一预设条件,用户终端将“ChrisYu”存储至存储区域1中。用户终端选中了待复制数据“27”之后,用户终端检测到用户对用户终端进行的触摸操作的触摸轨迹为L形。该触摸轨迹满足第二预设条件,用户终端将“27”存储至存储区域2中。
应用场景3:用户终端具有存储区域1和存储区域2,存储区域1对应第一预设条件,存储区域2对应第二预设条件,第一预设条件为用户对用户终端进行的触摸操作的触摸轨迹为O形,第二预设条件为用户对用户终端进行的触摸操作的触摸轨迹为L形。如图7所示,在应用界面1下,用户终端选中了待复制数据“ChrisYu”之后,用户终端检测到用户对用户终端进行的触摸操作的触摸轨迹为O形。该触摸轨迹满足第一预设条件,用户终端将“ChrisYu”存储至存储区域1中。用户终端再将应用界面切换至应用界面2。在应用界面2下,在用户终端选中了待复制数据“27”之后,用户终端检测到用户对用户终端进行的触摸操作的触摸轨迹为L形。该触摸轨迹满足第二预设条件,用户终端将“27”存储至存储区域2中。
可见,通过实施图2所描述的方法,用户可在一个应用界面中多次复制不同的数据,或在不同的应用界面复制不同的数据,由于用户终端拥有多个存储区域,用户终端可以同时保存用户多次复制的数据。因此,当用户需要将一个应用界面的多份不同的数据复制粘贴到另一个界面或多个界面时,减少了应用界面切换次数,简化了复制粘贴的流程。同理,当用户需要将多个应用界面的数据复制粘贴至另一个应用界面时,用户可先去该多个应用界面复制数据,再到需要粘贴的应用界面粘贴复制的数据,这样也减少了应用界面切换次数,简化了复制粘贴的流程。
作为一种可选的实施方式,如图8所示,在用户终端将待复制数据复制至第一预设条件对应的存储区域中之后,用户终端还可执行803和804部分。
在803部分中,在用户终端检测到满足第一预设条件的触摸操作之后,从该第一预设条件对应的存储区域中获取复制数据,并将该复制数据粘贴到指定位置。
在804部分中,在用户终端检测到满足所述第二预设条件的触摸操作之后,从该第二预设条件对应的存储区域中获取复制数据,并将该复制数据粘贴 到指定位置。
值得一提的是,若用户终端除具有与第一预设条件和第二预设条件对应的存储区域之外,还具有与预设条件N(预设条件N不同于第一预设条件和第二预设条件)对应的存储区域N,则在检测到满足预设条件N的触摸操作之后,从该存储区域N中获取复制数据,并将该复制数据粘贴到指定位置。
对于用户终端进行数据粘贴的过程,下面通过应用场景4~6来进行描述。在应用场景4中,用户终端在应用界面1中复制多个数据之后,可切换到应用界面2中粘贴复制的多个数据。在应用场景5中,用户终端在应用界面1中复制多个数据之后,可切换到应用界面2中粘贴一部分数据,再切换到应用界面3中粘贴另一部分数据。在应用场景6中,用户终端在应用界面1和应用界面2中复制多个数据之后,可切换到应用界面3中粘贴复制的数据。
应用场景4:在用户终端经过图5对应的流程,将“ChrisYu”存储至存储区域1,将“27”存储至存储区域2中之后,用户将用户终端的界面切换到应用界面2,并指定在文本输入框1内粘贴已复制的数据。如图9所示,用户终端检测到用户触摸用户终端的触摸力度为3N。该触摸力度满足第一预设条件,用户终端从存储区域1中获取复制数据“ChrisYu”,并将“ChrisYu”粘贴在文本输入框1中。用户再触摸文本输入框2,指定在文本输入框2内粘贴已复制的数据;用户终端检测到用户触摸用户终端的触摸力度为5N,则该触摸力度满足第二预设条件,用户终端从存储区域2中获取复制数据“27”,并将“27”粘贴在文本输入框2中。
应用场景5:在用户终端经过图5对应的流程,将“ChrisYu”存储至存储区域1,将“27”存储至存储区域2中之后,用户将用户终端的界面切换到应用界面2,并指定在文本输入框1内粘贴已复制的数据。如图10所示,用户终端检测到用户触摸用户终端的触摸力度为3N,该触摸力度满足第一预设条件,用户终端从存储区域1中获取复制数据“ChrisYu”,并将“ChrisYu”粘贴在文本输入框1中。用户再将用户终端的界面切换到应用界面3,并指定在文本输入框1内粘贴已复制的数据。用户终端检测到用户触摸用户终端的触摸力度为5N,则该触摸力度满足第二预设条件,用户终端从存储区域2中获取复制数据“27”,并将“27”粘贴在文本输入框1中。
应用场景6:在用户终端经过图7对应的流程,将“ChrisYu”存储至存储 区域1,将“27”存储至存储区域2中之后,用户将用户终端的界面切换到应用界面3,并指定在文本输入框1内粘贴已复制的数据。如图11所示,用户终端检测到触摸操作的触摸轨迹为O形,则该触摸轨迹满足第一预设条件,用户终端从存储区域1中获取复制数据“ChrisYu”,并将“ChrisYu”粘贴在文本输入框1中。用户再触摸文本输入框2,指定在文本输入框2内粘贴已复制的数据;用户终端检测到触摸操作的触摸轨迹为L形,则该触摸力度满足第二预设条件,用户终端从存储区域2中获取复制数据“27”,并将“27”粘贴在文本输入框2中。
可见,通过实施图8所描述的方法,用户可在复制了多份数据之后,将复制的多份数据粘贴到同一应用界面或不同的应用界面,减少了多个应用界面之间复制粘贴的流程。且用户也可灵活地选择复制数据粘贴在指定位置,不必按照复制顺序进行粘贴。且通过实施图8所描述的方法,也可实现剪贴板的隐藏,用户不用通过点击剪贴板中的复制数据进行数据的粘贴。
作为一种可选的实施方式,用户终端在检测到用户对用户终端进行的触摸操作的触摸参数之后,可提示触摸参数所处的预设范围,或提示触摸参数所处的预设范围对应的等级(即可将预设范围与等级相对应,例如预设力度范围1为2N~4N,预设力度范围2为5N~7N,则可将预设力度范围1对应等级1,预设力度范围2对应等级2,这样更便于提示,以及便于用户记忆与区分),或提示与触摸轨迹相匹配的预设轨迹。
如图5、图9和图10所示,用户终端会在界面提示触摸力度为3N时所达到的预设力度范围对应的等级1,以及提示触摸力度为5N时所达到的预设力度范围对应的等级2。如图6、图7和图11所示,用户终端会在界面将提示区域的“O”以黑色实体显示,以提示触摸轨迹与O形匹配,以及将提示区域的“L”以黑色实体显示,以提示触摸轨迹与L形匹配。
通过实施该实施方式,有利于用户准确地复制数据至对应的存储区域,也有利于用户准确地粘贴想要粘贴的内容至指定位置。
作为一种可选的实施方式,用户终端还可在提示区域或粘贴位置提示要粘贴的复制数据(要粘贴的复制数据即为与当前的触摸操作所满足的预设条件相对应的存储区域中的复制数据)。可选的,若要粘贴的复制数据的内容过多,也可只显示要粘贴的复制数据的概要内容。
通过实施该实施方式,有利于用户准确地粘贴想要粘贴的内容至指定位置。
作为一种可选的实施方式,在用户终端检测到当前界面不存在多个文本输入框,并且检测到满足第一目标条件的触摸操作之后,从所有存储区域中获取复制数据,并将所有复制数据粘贴到指定位置。其中,该第一目标条件不同于预设条件或可与预设条件相同。
例如,在用户终端经过图5对应的流程,将“ChrisYu”存储至存储区域1,将“27”存储至存储区域2中之后,用户终端进入到应用界面2,应用界面2只有一个文本输入框1。第一目标条件为触摸力度处于6N~8N之间。用户指定在文本输入框1内粘贴已复制的数据。如图12所示,若用户终端检测到用户触摸用户终端的触摸力度为7N,则用户终端从存储区域1获取“ChrisYu”,并从存储区域2中获取“27”,将“ChrisYu”和“27”粘贴在文本输入框1中。
在实际应用中,用户复制多份数据之后,若需要粘贴数据的界面只有一个文本输入框,则用户很有可能会想把所有复制数据都粘贴在一个文本输入框中。可见,通过实施该实施方式,用户通过对用户终端进行一次特定的触摸操作,就可便捷地、快速地将所有复制数据粘贴到指定的文本输入框中。
作为一种可选的实施方式,在用户终端检测到当前界面存在多个文本输入框,并且检测到满足第二目标条件的触摸操作之后,在文本输入框中粘贴与文本输入框对应的复制数据。其中,该文本输入框根据由上至下的排列顺序,以及根据复制数据的存储时间顺序与复制数据一一对应。其中。该第二目标条件不同于预设条件或可与预设条件相同。
例如,在用户终端经过图5对应的流程,将“ChrisYu”存储至存储区域1,将“27”存储至存储区域2中之后,用户终端进入到应用界面2。应用界面2有文本输入框1和文本输入框2。第二目标条件为触摸力度处于6N~8N之间。如图13所示,用户触摸用户终端的屏幕,若用户终端检测到用户触摸用户终端的触摸力度为7N,则根据文本输入框1和文本输入框2从上至下的排列顺序,以及按照“ChrisYu”和“27”的存储时间顺序(如图5所示“ChrisYu”存储至存储区域1的时间先于“27”存储至存储区域2的时间),文本输入框1与“ChrisYu”对应,文本输入框2与“27”对应。用户终端从存储区域1 中获取“ChrisYu”,将“ChrisYu”粘贴至文本输入框1中,以及从存储区域2中获取“27”,将“27”粘贴至文本输入框2中。
在实际应用中,用户复制多份数据之后,若需要粘贴数据的界面有多个文本输入框,则用户很有可能想把复制数据分别粘贴在不同的文本输入框中。可见,通过实施该实施方式,用户通过对用户终端进行一次特定的触摸操作,就可便捷地、快速地将复制数据分别粘贴到指定的复制数据。
作为一种可选的实施方式,用户终端检测到满足第三目标条件的触摸操作之后,用户终端输出数据选择列表。该数据选择列表中包括数据选择项,该数据选择项与存储区域中的复制数据一一对应(例如,当复制数据较长时,该数据选择项可以为复制数据的概要);在用户终端接收用户输入的第一选择指令之后,用户终端从存储区域中获取目标复制数据,并将该目标复制数据粘贴在指定位置。其中,该目标复制数据为与第一选择指令选择的数据选择项相对应的复制数据。其中,该第三目标条件可以任意一个预设条件,或第三目标条件可以不同于预设条件。
例如,在用户终端经过图5对应的流程,将“ChrisYu”存储至存储区域1,将“27”存储至存储区域2中之后,用户终端进入到应用界面2。应用界面2有文本输入框1和文本输入框2。用户指定在文本输入框1内粘贴已复制的数据。第三目标条件为触摸力度处于2N~4N之间。如图14所示,在用户终端检测到用户触摸用户终端的触摸力度为3N之后,用户终端输出数据选择列表,该数据选择列表中包括数据选择项1和数据选择项2,数据选择项1与“ChrisYu”对应,数据选择项2与“27”对应;当用户点击数据选择项1之后,用户终端从存储区域1中获取“ChrisYu”,并将“ChrisYu”粘贴在文本输入框1中。
可见,通过实施该实施方式,用户可更灵活地选择需要粘贴数据,并将选择的数据粘贴至指定位置。
本发明实施例可以根据上述方法示例对用户终端等进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。该硬件或软件包括一个或多个与上述功能相对应的单元。该单元可以是软件和/或硬件。
为了解决用户将一个应用界面的多份数据复制粘贴到另一个界面时,需要进行多次界面切换,复制粘贴的流程繁琐的问题,本发明实施例还提供了一种数据复制方法及用户终端。
其中,该用户终端可以为手机、可穿戴设备(如智能手表等)、平板电脑、个人电脑(PC,Personal Computer)、PDA(Personal Digital Assistant,个人数字助理)或车载电脑等终端。
本发明实施例中,该用户终端具有用于储复制数据的至少两个存储区域。
例如,用户终端具有存储区域1和存储区域2,则存储区域1可对应第一预设距离范围,存储区域2可对应第二预设距离范围;或者存储区域1可对应第二预设距离范围,存储区域2可对应第一预设距离范围。也就是说第一预设距离范围与第二预设距离范围对应不同的存储区域。
值得一提的是,当用户终端具有存储区域N(N为大于2的整数)时,存储区域N对应预设距离范围N,该预设距离范围N不同于第一预设距离范围、第二预设距离范围和其他预设距离范围。也就是说,存储区域与预设距离范围一一对应。
例如,用户终端具有用于存储复制数据的存储区域1~存储区域3,则预设距离范围与存储区域之间的对应关系可以为:预设距离范围1对应存储区域1,预设距离范围2对应存储区域2,预设距离范围3对应存储区域3。第一预设距离范围可以为预设距离范围1~预设距离范围3中的任意一个(如预设距离范围1),第二预设距离范围可以为预设距离范围1~预设距离范围3中不同于第一预设距离范围的预设距离范围(如第一预设距离范围为预设距离范围1时,第二预设距离范围为预设距离范围2或预设距离范围3)。
请参见图15,图15为本发明实施例提供的一种数据复制方法的流程示意图。如图15所示,该数据复制方法可以包括1501~1502部分。
在1501部分中,用户终端在检测到用户手指与用户终端之间的距离处于第一预设距离范围之后,将已选中的待复制数据复制至第一预设距离范围对应的存储区域。其中,该待复制数据可以为图片、文字等数据。
在1502部分中,用户终端在检测到用户手指与用户终端之间的距离处于第二预设距离范围之后,将已选中的待复制数据复制至第二预设距离范围对应的存储区域。其中,第二预设距离范围对应的存储区域不同于第一预设距离范围对应的存储区域。
值得一提的是,若用户终端还具有与预设距离范围N(N为大于2的整数)对应的存储区域N,则在用户终端检测到用户手指与用户终端之间的距离处于预设距离范围N之后,将已选中的待复制数据复制至存储区域N中。
作为一种可选的实施方式,用户终端可具体检测用户手指距用户终端的屏幕之间的距离。或用户终端可具体检测用户手指距用户终端的某一个功能按钮(可以是虚拟按钮或实体按钮)之间的距离。
作为一种可选的实施方式,用户终端具体可通过距离传感器来检测用户手指距用户终端之间的距离。或者,也可根据悬浮触控技术来检测用户手指距用户终端的屏幕之间的距离。
作为一种可选的实施方式,用户终端将已选中的待复制数据复制至第一预设距离范围对应的存储区域的具体实施方式可以为:用户终端申请第一预设距离范围对应的存储区域的动态内存,并将该待复制数据复制至申请的动态内存中。其中,该动态内存可以为非易失性内存或易失性内存。
作为一种可选的实施方式,用户终端将已选中的待复制数据复制至第二预设距离范围对应的存储区域的具体实施方式可以为:用户终端申请第二预设距离范围对应的存储区域的动态内存,并将该待复制数据复制至申请的动态内存中。其中,该动态内存可以为非易失性内存或易失性内存。
对于用户终端进行数据复制的过程,下面通过应用场景7来进行描述。在应用场景7中,用户在应用界面1中复制多份数据。
应用场景7:存储区域1对应第一预设距离范围,存储区域2对应第二预设距离范围,第一预设距离范围为3mm(毫米)~5mm之内,第二预设距离范围为5mm~7mm。在应用界面1下,用户终端选中了待复制数据“ChrisYu”之后,如图16所示,用户终端检测到用户手指距用户终端的距离为4mm。该距离处于第一预设距离范围之内,用户终端将“ChrisYu”存储至存储区域1中。如图17所示,用户终端选中了待复制数据“27”之后,用户终端检测到用户手指距用户终端的距离为6mm。该距离处于第二预设距离范围之内,用户终 端将“27”存储至存储区域2中。
在实际应用中,用户也可在不同的应用界面中通过图15所述的方法复制数据,该应用场景的原理与应用场景3的原理相同,在此不赘述。
可见,通过实施图15所描述的方法,用户可在一个应用界面中多次复制不同的数据,或在不同的应用界面复制不同的数据,由于用户终端拥有多个存储区域,用户终端可以同时保存用户多次复制的数据。因此,当用户需要将一个应用界面的多份不同的数据复制粘贴到另一个界面或多个界面时,减少了应用界面切换次数,简化了复制粘贴的流程。同理,当用户需要将多个应用界面的数据复制粘贴至另一个应用界面时,用户可先去该多个应用界面复制需要粘贴的数据,再到需要粘贴的界面粘贴复制的数据,这样减少了应用界面切换次数,简化了复制粘贴的流程。
作为一种可选的实施方式,如图18所示,用户终端还可执行1803和1804部分。
值得一提的是,若用户终端除具有与第一预设距离范围和第二预设距离范围对应的存储区域之外,还具有与预设距离范围N(预设距离范围N不同于第一预设距离范围和第二预设距离范围)对应的存储区域N,则在检测到手指与用户终端之间的距离处于预设距离范围N之内之后,从该存储区域N中获取复制数据,并将该复制数据粘贴到指定位置。
对于用户终端进行数据粘贴的过程,下面通过应用场景8来进行描述。在应用场景8中,用户终端在应用界面1中复制多个数据之后,可切换到应用界面2中粘贴复制的多个数据。
应用场景8:在用户终端经过图16和图17对应的流程,将“ChrisYu”存储至存储区域1,将“27”存储至存储区域2中之后,用户将用户终端的界面切换到应用界面2,并指定在文本输入框1内粘贴已复制的数据。如图19所示,用户终端检测到手指距离用户终端的屏幕之间的距离为4mm。该距离处于第一预设距离范围之内,用户终端从存储区域1中获取“ChrisYu”,并将“ChrisYu”粘贴在文本输入框1中。如图20所示,用户再触摸文本输入框2,指定在文本输入框2内粘贴已复制的数据;用户终端检测到用户手指距离用户终端的屏幕之间的距离为6mm。该距离处于第二预设距离范围之内,用户终端从存储区域2中获取复制数据“27”,并将“27”粘贴在文本输入框2中。
在实际应用中,用户也可在应用界面1中复制多个数据之后,切换到应用界面2,并通过图18所描述的数据粘贴方法,在应用界面2中粘贴一部分数据;用户终端可再从应用界面2切换到应用界面3,并通过图18所描述的数据粘贴方法,在应用界面3中粘贴另一部分数据。该应用场景的原理与应用场景5的原理相同,在此不赘述。
在实际应用中,用户也可在应用界面1和应用界面2中复制多个数据之后,切换到应用界面3,并通过图18所描述的数据粘贴方法,在应用界面3中粘贴复制的数据。该应用场景的原理与应用场景6的原理相同,在此不赘述。
可见,通过实施该实施方式,用户通过对用户终端进行特定的触摸操作,就可便捷地粘贴指定的复制数据,且用户只需要进行一次界面切换,就可将存储区域存储的多份数据分别粘贴到当前界面的指定位置,简化了多个界面之间复制粘贴数据的流程。
作为一种可选的实施方式,在用户终端检测到当前界面不存在多个文本输入框,并且检测到满足第一目标条件的触摸操作之后,用户终端从所有存储区域中获取复制数据,并将所有复制数据粘贴到指定位置。该实施方式的实现原理与图12所示的相关过程的实现原理相同,可参见图12所示的相关过程,在此不赘述。
在实际应用中,用户复制多份数据之后,若需要粘贴数据的界面只有一个文本输入框,则用户很有可能会想把所有复制数据都粘贴在一个文本输入框中。可见,通过实施该实施方式,用户通过对用户终端进行一次特定的触摸操作,就可便捷地、快速地将所有复制数据粘贴到指定的复制数据
作为一种可选的实施方式,在用户终端检测到当前界面存在多个文本输入框,并且检测到满足第二目标条件的触摸操作之后,在文本输入框中粘贴与文本输入框对应的复制数据。其中,该文本输入框根据由上至下的排列顺序,以及根据复制数据的存储时间顺序与复制数据一一对应。该实施方式的实现原理与图13所示的相关过程的实现原理相同,可参见图13所示的相关过程,在此不赘述。
在实际应用中,用户复制多份数据之后,若需要粘贴数据的界面有多个文本输入框,则用户很有可能想把复制数据分别粘贴在不同的文本输入框中。可见,通过实施该实施方式,用户通过对用户终端进行一次特定的触摸操作,就 可便捷地、快速地将复制数据分别粘贴到指定的复制数据。
作为一种可选的实施方式,用户终端检测到满足第三目标条件的触摸操作之后,用户终端输出数据选择列表。该数据选择列表中包括数据选择项,该数据选择项与存储区域中的复制数据一一对应(例如,当复制数据较长时,该数据选择项可以为复制数据的概要);在用户终端接收用户输入的第一选择指令之后,用户终端从存储区域中获取目标复制数据,并将该目标复制数据粘贴在指定位置。其中,该目标复制数据为与第一选择指令选择的数据选择项相对应的复制数据。该实施方式的实现原理与图14所示的相关过程的实现原理相同,可参见图14所示的相关过程,在此不赘述。
可见,通过实施该实施方式,用户可更灵活地选择需要粘贴数据,并将选择的数据粘贴至指定位置。
作为一种可选的实施方式,用户终端在检测到用户手指距用户终端的距离之后,可提示该距离所处的预设距离范围,或提示该距离所处的预设距离范围对应的等级。如图16所示,用户终端会在界面提示距离为4mm时所达到的第一预设距离范围对应的等级。如图17所示,用户终端会在界面提示距离为6mm时所达到的第二预设距离范围对应的等级。
通过实施该实施方式,有利于用户准确地复制数据至对应的存储区域。
作为一种可选的实施方式,用户终端还可在提示区域或粘贴位置提示要粘贴的复制数据(要粘贴的复制数据即为与当前的触摸操作所满足的预设条件相对应的存储区域中的复制数据)。可选的,若要粘贴的复制数据的内容过多,也可只显示要粘贴的复制数据的概要内容。
通过实施该实施方式,有利于用户准确地粘贴想要粘贴的内容至指定位置。
本发明实施例可以根据上述方法示例对用户终端等进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。该硬件或软件包括一个或多个与上述功能相对应的单元。该单元可以是软件和/或硬件。
本发明实施例提供的用户终端以手机为例,图21示出的是与本发明实施例 相关的手机2100的部分结构的框图。参考图21,手机2100包括RF(RadioFrequency,射频)电路2101、存储器2102、其他输入设备2103、显示屏2104、传感器2105、音频电路2106、I/O子系统2107、处理器2108、以及电源2109等部件。本领域技术人员可以理解,图21中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。本领领域技术人员可以理解显示屏2104属于用户界面(UI,User Interface),且手机2100可以包括比图示或者更少的用户界面。
下面结合图21对手机2100的各个构成部件进行具体的介绍:
RF电路2101可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器2108处理;另外,将设计上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路2101还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。
存储器2102可用于存储软件程序以及模块,处理器2108通过运行存储在存储器2102的软件程序以及模块,从而执行手机2100的各种功能应用以及数据处理。存储器2102可主要包括存储程序区和存储数据区(例如,存储数据区可包括上述方法实施例中涉及的用于存储复制数据的存储区域),其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图象播放功能等)等;存储数据区可存储根据手机2100的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器2102可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
其他输入设备2103可用于接收输入的数字或字符信息,以及产生与手机2100的用户设置以及功能控制有关的键信号输入。具体地,其他输入设备2103 可包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆、光鼠(光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸)等中的一种或多种。其他输入设备2103与I/O子系统2107的其他输入设备控制器171相连接,在其他设备输入控制器171的控制下与处理器2108进行信号交互。
显示屏2104可用于显示由用户输入的信息或提供给用户的信息以及手机2100的各种菜单,还可以接受用户输入。具体的显示屏2104可包括显示面板141,以及触控面板142。其中显示面板141可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。触控面板142,也称为触摸屏、触敏屏等,可收集用户在其上或附近的接触或者非接触操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板142上或在触控面板142附近的操作,也可以包括体感操作;该操作包括单点控制操作、多点控制操作等操作类型。),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板142可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位、姿势,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成处理器能够处理的信息,再送给处理器2108,并能接收处理器2108发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板142,也可以采用未来发展的任何技术实现触控面板142。进一步的,触控面板142可覆盖显示面板141,用户可以根据显示面板141显示的内容(该显示内容包括但不限于,软键盘、虚拟鼠标、虚拟按键、图标等等),在显示面板141上覆盖的当触控面板142上或者附近进行操作,触控面板142检测到在其上或附近的触摸操作后,通过I/O子系统2107传送给处理器2108以确定触摸事件的类型以确定用户输入,随后处理器2108根据触摸事件的类型在显示面板根据用户输入通过I/O子系统2107在显示面板141上提供相应的视觉输出。虽然在图21中,触控面板142与显示面板141是作为两个独立的部件来实现手机2100的输入和输入功能,但是在某些实施例中,可以将触控面板142与显示面板141集成而实现手机2100的输入和输出功能。
手机2100还可包括至少一种传感器2105,比如光传感器、运动传感器、压力传感器、距离传感器以及其他传感器。具体地,光传感器可包括环境光传感 器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在手机2100移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。压力传感器可检测用户对用户终端进行按压的力度值。距离传感器可检测用户手指距用户终端的距离。至于手机2100还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路2106、扬声器161,麦克风162可提供用户与手机2100之间的音频接口。音频电路2106可将接收到的音频数据转换后的信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,麦克风162将收集的声音信号转换为信号,由音频电路2106接收后转换为音频数据,再将音频数据输出至RF电路2101以发送给比如另一手机,或者将音频数据输出至存储器2102以便进一步处理。
I/O子系统2107用来控制输入输出的外部设备,可以包括其他输入设备控制器171、传感器控制器172、显示控制器173。可选的,一个或多个其他输入设备控制器171从其他输入设备2103接收信号和/或者向其他输入设备2103发送信号,其他输入设备2103可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮、光鼠(光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸)。值得说明的是,其他输入设备控制器171可以与任一个或者多个上述设备连接。所述I/O子系统2107中的显示控制器173从显示屏2104接收信号和/或者向显示屏2104发送信号。显示屏2104检测到用户输入后,显示控制器173将检测到的用户输入转换为与显示在显示屏2104上的用户界面对象的交互,即实现人机交互。传感器控制器172可以从一个或者多个传感器2105接收信号和/或者向一个或者多个传感器2105发送信号。
处理器2108是手机2100的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器2102内的软件程序和/或模块,以及调用存储在存储器2102内的数据,执行手机2100的各种功能和处理数据,从而对手机进行整体监控。例如,处理器2108可执行上述方法实施例中用户终端的 功能。可选的,处理器2108可包括一个或多个处理单元;优选的,处理器2108可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器2108中。
手机2100还包括给各个部件供电的电源2109(比如电池),优选的,电源可以通过电源管理系统与处理器2108逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗等功能。
尽管未示出,手机2100还可以包括摄像头、蓝牙模块等,在此不再赘述。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护条件,凡在本发明的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明的保护条件之内。

Claims (24)

  1. 一种数据复制方法,应用于用户终端,其特征在于,所述用户终端具有用于存储复制数据的至少两个存储区域,所述方法包括:
    在检测到满足第一预设条件的触摸操作之后,将已选中的待复制数据复制至所述第一预设条件对应的存储区域;
    在检测到满足第二预设条件的触摸操作之后,将已选中的待复制数据复制至所述第二预设条件对应的存储区域,所述第二预设条件对应的存储区域不同于所述第一预设条件对应的存储区域。
  2. 根据权利要求1所述的方法,其特征在于,所述第一预设条件为触摸操作的触摸参数处于第一预设范围之内;所述第二预设条件为触摸操作的触摸参数处于第二预设范围之内。
  3. 根据权利要求1所述的方法,其特征在于,所述第一预设条件为触摸操作的触摸轨迹相匹配于第一预设轨迹;所述第二预设条件为触摸操作的触摸轨迹相匹配于第二预设轨迹。
  4. 根据权利要求1~3任意一项所述的方法,其特征在于,所述将已选中的待复制数据复制至所述第一预设条件对应的存储区域之后,所述方法还包括:
    在检测到满足所述第一预设条件的触摸操作之后,从所述第一预设条件对应的存储区域中获取复制数据,并将所述复制数据粘贴到指定位置;
    所述将已选中的待复制数据复制至所述第二预设条件对应的存储区域之后,所述方法还包括:
    在检测到满足所述第二预设条件的触摸操作之后,从所述第二预设条件对应的存储区域中获取复制数据,并将所述复制数据粘贴到指定位置。
  5. 根据权利要求1~4任意一项所述的方法,其特征在于,所述方法还包括:
    在检测到当前界面不存在多个文本输入框,并且检测到满足第一目标条件 的触摸操作之后,从所有所述存储区域中获取复制数据,并将所有所述复制数据粘贴到指定位置。
  6. 根据权利要求1~4任意一项所述的方法,其特征在于,所述方法还包括:
    在检测到当前界面存在多个文本输入框,并且检测到满足第二目标条件的触摸操作之后,在所述文本输入框中粘贴与所述文本输入框对应的复制数据,所述文本输入框根据由上至下的排列顺序,以及根据所述复制数据的存储时间顺序与所述复制数据一一对应。
  7. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    提示触摸操作的触摸参数所处的预设范围。
  8. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    提示与触摸操作的触摸参数所处的预设范围相对应的等级。
  9. 根据权利要求3所述的方法,其特征在于,所述方法还包括:
    提示与触摸操作的触摸轨迹相匹配的预设轨迹。
  10. 一种数据复制方法,应用于用户终端,其特征在于,所述用户终端具有用于存储复制数据的至少两个存储区域,所述方法包括:
    在检测到用户手指与所述用户终端之间的距离处于第一预设距离范围之后,将已选中的待复制数据复制至所述第一预设距离范围对应的存储区域;
    在检测到用户手指与所述用户终端之间的距离处于第二预设距离范围之后,将已选中的待复制数据复制至所述第二预设距离范围对应的存储区域,所述第二预设距离范围对应的存储区域不同于所述第一预设距离范围对应的存储区域。
  11. 根据权利要求10所述的方法,其特征在于,所述将已选中的待复制数据复制至所述第一预设距离范围对应的存储区域之后,所述方法还包括:
    在检测到用户手指与所述用户终端之间的距离处于第一预设距离范围之后,从所述第一预设距离范围对应的存储区域中获取复制数据,并将所述复制数据粘贴到指定位置;
    所述将已选中的待复制数据复制至所述第二预设距离范围对应的存储区域之后,所述方法还包括:
    在检测到用户手指与所述用户终端之间的距离处于第二预设距离范围之后,从所述第二预设距离范围对应的存储区域中获取复制数据,并将所述复制数据粘贴到指定位置。
  12. 一种用户终端,其特征在于,所述用户终端具有用于存储复制数据的至少两个存储区域,所述用户终端包括:检测模块和复制模块,其中:
    所述复制模块,用于在所述检测模块检测到满足第一预设条件的触摸操作之后,将已选中的待复制数据复制至所述第一预设条件对应的存储区域;
    所述复制模块,还用于在所述检测模块检测到满足第二预设条件的触摸操作之后,将已选中的待复制数据复制至所述第二预设条件对应的存储区域,所述第二预设条件对应的存储区域不同于所述第一预设条件对应的存储区域。
  13. 根据权利要求12所述的用户终端,其特征在于,所述第一预设条件为触摸操作的触摸参数处于第一预设范围之内;所述第二预设条件为触摸操作的触摸参数处于第二预设范围之内。
  14. 根据权利要求12所述的用户终端,其特征在于,所述第一预设条件为触摸操作的触摸轨迹相匹配于第一预设轨迹;所述第二预设条件为触摸操作的触摸轨迹相匹配于第二预设轨迹。
  15. 根据权利要求12~14任意一项所述的用户终端,其特征在于,所述用户终端还包括:
    所述第一粘贴模块,用于在所述检测模块检测到满足所述第一预设条件的触摸操作之后,从所述第一预设条件对应的存储区域中获取复制数据,并将所述复制数据粘贴到指定位置;
    所述第一粘贴模块,还用于在所述检测模块检测到满足所述第二预设条件的触摸操作之后,从所述第二预设条件对应的存储区域中获取复制数据,并将所述复制数据粘贴到指定位置。
  16. 根据权利要求12~15任意一项所述的用户终端,其特征在于,所述用户终端还包括:
    第二粘贴模块,用于在所述检测模块检测到当前界面不存在多个文本输入框,并且检测到满足第一目标条件的触摸操作之后,从所有所述存储区域中获取复制数据,并将所有所述复制数据粘贴到指定位置。
  17. 根据权利要求12~15任意一项所述的用户终端,其特征在于,所述用户终端还包括:
    第三粘贴模块,用于在所述检测模块检测到当前界面存在多个文本输入框,并且检测到满足第二目标条件的触摸操作之后,在所述文本输入框中粘贴与所述文本输入框对应的复制数据,所述文本输入框根据由上至下的排列顺序,以及根据所述复制数据的存储时间顺序与所述复制数据一一对应。
  18. 根据权利要求13所述的用户终端,其特征在于,所述用户终端还包括:
    提示模块,用于提示触摸操作的触摸参数所处的预设范围。
  19. 根据权利要求13所述的用户终端,其特征在于,所述用户终端还包括:
    提示模块,用于提示与触摸操作的触摸参数所处的预设范围相对应的等级。
  20. 根据权利要求14所述的用户终端,其特征在于,所述用户终端还包括:
    提示模块,用于提示与触摸操作的触摸参数所处的预设范围相对应的等级。
  21. 一种用户终端,其特征在于,所述用户终端具有用于存储复制数据的至少两个存储区域,所述用户终端包括:一个或多个处理器、存储器、总线系统以及一个或多个程序,所述处理器和所述存储器通过所述总线系统相连;其中,所述一个或多个程序被存储在所述存储器中,所述一个或多个程序包括指令,所述指令当被所述用户终端执行时使所述用户终端执行如权利要求1至9任一项所述的方法。
  22. 一种用户终端,其特征在于,所述用户终端具有用于存储复制数据的至少两个存储区域,所述用户终端包括检测模块和复制模块,其中:
    所述复制模块,用于在所述检测模块检测到用户手指与所述用户终端之间的距离处于第一预设距离范围之后,将已选中的待复制数据复制至所述第一预设距离范围对应的存储区域;
    所述复制模块,还用于在所述检测模块检测到用户手指与所述用户终端之间的距离处于第二预设距离范围之后,将已选中的待复制数据复制至所述第二预设距离范围对应的存储区域,所述第二预设距离范围对应的存储区域不同于所述第一预设距离范围对应的存储区域。
  23. 根据权利要求22所述的用户终端,其特征在于,所述用户终端还包括:
    第一粘贴模块,用于在所述检测模块检测到用户手指与所述用户终端之间的距离处于第一预设距离范围之后,从所述第一预设距离范围对应的存储区域中获取复制数据,并将所述复制数据粘贴到指定位置;
    第一粘贴模块,用于在所述检测模块检测到用户手指与所述用户终端之间的距离处于第二预设距离范围之后,从所述第二预设距离范围对应的存储区域中获取复制数据,并将所述复制数据粘贴到指定位置。
  24. 一种用户终端,其特征在于,所述用户终端具有用于存储复制数据的至少两个存储区域,所述用户终端包括:一个或多个处理器、存储器、总线系统以及一个或多个程序,所述处理器和所述存储器通过所述总线系统相连;其 中,所述一个或多个程序被存储在所述存储器中,所述一个或多个程序包括指令,所述指令当被所述用户终端执行时使所述用户终端执行如权利要求10或11所述的方法。
PCT/CN2016/097331 2016-08-30 2016-08-30 一种数据复制方法及用户终端 WO2018039914A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2016/097331 WO2018039914A1 (zh) 2016-08-30 2016-08-30 一种数据复制方法及用户终端
CN201680049527.0A CN108040492A (zh) 2016-08-30 2016-08-30 一种数据复制方法及用户终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/097331 WO2018039914A1 (zh) 2016-08-30 2016-08-30 一种数据复制方法及用户终端

Publications (1)

Publication Number Publication Date
WO2018039914A1 true WO2018039914A1 (zh) 2018-03-08

Family

ID=61299519

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/097331 WO2018039914A1 (zh) 2016-08-30 2016-08-30 一种数据复制方法及用户终端

Country Status (2)

Country Link
CN (1) CN108040492A (zh)
WO (1) WO2018039914A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240986A (zh) * 2018-08-15 2019-01-18 腾讯音乐娱乐科技(深圳)有限公司 一种日志处理方法、装置及存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947523A (zh) * 2019-03-28 2019-06-28 努比亚技术有限公司 复制粘贴方法、终端及计算机可读存储介质
CN113760167A (zh) * 2021-07-21 2021-12-07 广州朗国电子科技股份有限公司 一种利用手势复制对象的方法、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101782927A (zh) * 2010-01-12 2010-07-21 广东欧珀移动通信有限公司 一种手持设备文件管理方法
CN104360990A (zh) * 2014-10-27 2015-02-18 深圳市金立通信设备有限公司 一种编辑内容的方法
CN104407787A (zh) * 2014-10-27 2015-03-11 深圳市金立通信设备有限公司 一种终端
CN104657038A (zh) * 2015-02-06 2015-05-27 深圳市艾优尼科技有限公司 一种处理内容的方法
CN105183362A (zh) * 2015-09-25 2015-12-23 深圳市金立通信设备有限公司 一种输入方法及终端

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007094818A (ja) * 2005-09-29 2007-04-12 Internatl Business Mach Corp <Ibm> 複数データの一括コピー及びペースト方法、装置、およびコンピュータ・プログラム
CN102262565B (zh) * 2010-05-28 2015-06-24 腾讯科技(深圳)有限公司 一种跨程序应用剪切板的方法和设备
US8832578B1 (en) * 2011-12-08 2014-09-09 Google Inc. Visual clipboard on soft keyboard
KR102113272B1 (ko) * 2013-03-11 2020-06-02 삼성전자주식회사 전자장치에서 복사/붙여넣기 방법 및 장치
CN103914209B (zh) * 2014-03-28 2018-03-27 联想(北京)有限公司 一种信息处理方法及电子设备
CN105607807A (zh) * 2015-12-22 2016-05-25 惠州Tcl移动通信有限公司 一种基于移动终端的文字处理方法及系统
CN105677788B (zh) * 2015-12-30 2019-12-27 Oppo广东移动通信有限公司 一种文件查找方法及用户终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101782927A (zh) * 2010-01-12 2010-07-21 广东欧珀移动通信有限公司 一种手持设备文件管理方法
CN104360990A (zh) * 2014-10-27 2015-02-18 深圳市金立通信设备有限公司 一种编辑内容的方法
CN104407787A (zh) * 2014-10-27 2015-03-11 深圳市金立通信设备有限公司 一种终端
CN104657038A (zh) * 2015-02-06 2015-05-27 深圳市艾优尼科技有限公司 一种处理内容的方法
CN105183362A (zh) * 2015-09-25 2015-12-23 深圳市金立通信设备有限公司 一种输入方法及终端

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240986A (zh) * 2018-08-15 2019-01-18 腾讯音乐娱乐科技(深圳)有限公司 一种日志处理方法、装置及存储介质
CN109240986B (zh) * 2018-08-15 2021-08-31 腾讯音乐娱乐科技(深圳)有限公司 一种日志处理方法、装置及存储介质

Also Published As

Publication number Publication date
CN108040492A (zh) 2018-05-15

Similar Documents

Publication Publication Date Title
WO2017088131A1 (zh) 一种快速分屏的方法、装置、电子设备、显示界面以及存储介质
CN110069178B (zh) 界面控制方法及终端设备
WO2019228297A1 (zh) 显示控制方法及终端
WO2018027551A1 (zh) 一种消息显示方法、用户终端及图形用户接口
CN107066167A (zh) 一种区域选择方法、装置和图形用户界面
WO2014206101A1 (zh) 一种基于手势的会话处理方法、装置及终端设备
WO2014012472A1 (zh) 一种用户界面的图标管理方法及触控设备
CN108415641B (zh) 一种图标的处理方法及移动终端
CN106445340B (zh) 一种双屏终端显示立体图像的方法和装置
CN110531915B (zh) 屏幕操作方法及终端设备
WO2013135169A1 (zh) 一种输入法键盘的调整方法及其移动终端
WO2017197636A1 (zh) 识别误触摸操作的方法和电子设备
WO2018166204A1 (zh) 一种控制指纹识别模组的方法、移动终端及存储介质
WO2017193496A1 (zh) 应用数据的处理方法、装置和终端设备
CN108475161A (zh) 显示方法及终端
CN106293486B (zh) 一种终端之间的交互方法及装置
WO2019183772A1 (zh) 一种指纹解锁方法及终端
WO2017035818A1 (zh) 控制电子设备的方法、装置及电子设备
WO2017206853A1 (zh) 一种滑动加速响应方法、及相关产品
CN111324257B (zh) 一种应用程序图标排列方法及移动终端
WO2014094456A1 (zh) 页面切换方法、装置及终端
WO2018039914A1 (zh) 一种数据复制方法及用户终端
WO2018112803A1 (zh) 触摸屏手势识别的方法及装置
WO2019047129A1 (zh) 一种移动应用图标的方法及终端
CN111443860B (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: 16914482

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16914482

Country of ref document: EP

Kind code of ref document: A1