CN111026559B - Terminal, method for copying and pasting data of terminal and device with storage function - Google Patents

Terminal, method for copying and pasting data of terminal and device with storage function Download PDF

Info

Publication number
CN111026559B
CN111026559B CN201811174763.2A CN201811174763A CN111026559B CN 111026559 B CN111026559 B CN 111026559B CN 201811174763 A CN201811174763 A CN 201811174763A CN 111026559 B CN111026559 B CN 111026559B
Authority
CN
China
Prior art keywords
data
priority
clipboard
terminal
copying
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811174763.2A
Other languages
Chinese (zh)
Other versions
CN111026559A (en
Inventor
郑雪慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qiku Internet Network Scientific Shenzhen Co ltd
Original Assignee
Qiku Internet Network Scientific Shenzhen Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qiku Internet Network Scientific Shenzhen Co ltd filed Critical Qiku Internet Network Scientific Shenzhen Co ltd
Priority to CN201811174763.2A priority Critical patent/CN111026559B/en
Publication of CN111026559A publication Critical patent/CN111026559A/en
Application granted granted Critical
Publication of CN111026559B publication Critical patent/CN111026559B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a terminal, a method for copying and pasting data of the terminal and a device with a storage function. The method comprises the following steps: copying a plurality of data of the terminal to at least one clipboard respectively; acquiring the priority of each piece of data, sequencing and merging the pieces of data according to the priority to obtain merged data; when a pasting instruction is received, a position to be pasted is obtained from the pasting instruction, and the combined data is pasted to the position to be pasted. By the method, the efficiency and the flexibility of data copying and pasting can be improved.

Description

Terminal, method for copying and pasting data of terminal and device with storage function
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a terminal, a method for copying and pasting data on the terminal, and a device with a storage function.
Background
With the development of electronic information, the use frequency of the copy and paste function of the terminal is very higher and higher. At present, mobile phones, tablet computers, PCs (Personal Computer, personal computers) and the like generally have copy and paste functions.
In the long-term research and development process, the inventor of the application finds that in the prior art, no matter the system is a PC terminal or a mobile terminal, the pasting function of the system is limited to the latest copied content, the merging and pasting of a plurality of contents can not be realized, and the pasted content can not be adjusted according to actual needs, so that the copying and pasting efficiency and flexibility are not high, and great inconvenience is brought to the work and life of people.
Disclosure of Invention
The application mainly solves the technical problem of how to improve the efficiency and the flexibility of data copying and pasting.
In order to solve the technical problems, the application adopts a technical scheme that: there is provided a method of copying and pasting data for a terminal, the method comprising: copying a plurality of data of the terminal to at least one clipboard respectively; acquiring the priority of each piece of data, sequencing and merging the pieces of data according to the priority to obtain merged data; when a pasting instruction is received, a position to be pasted is obtained from the pasting instruction, and the combined data is pasted to the position to be pasted.
The terminal is further provided with a copy cursor, the copy cursor is used for selecting data, and the step of acquiring the priority of each piece of data comprises the following steps: after the data is selected, acquiring a first duration of time when the copy cursor is positioned on the data; the priority of the data is obtained according to the first time length.
The terminal is further provided with a copy cursor, the copy cursor is used for selecting data, and the step of acquiring the priority of each piece of data comprises the following steps: acquiring the first time of selecting data by a copying cursor corresponding to each piece of data; the ratio of the first time to the number of the selected characters is obtained, and the priority of the data is obtained according to the ratio.
The step of pasting the combined data to the to-be-pasted position further comprises the following steps: judging whether the pasting priority of the data is larger than a preset priority; if yes, setting the attribute of the data according to the preset condition.
Wherein the preset condition includes a display size, a display color, or a highlighting, and the step of setting the attribute of the data according to the preset condition includes: the attribute of the data is set to a preset display size, display color, or highlighting.
Wherein the plurality of data at least comprises first data and second data, the at least one clipboard comprises a first clipboard and a second clipboard, and the step of copying the plurality of data to the clipboard respectively comprises: copying the first data and the second data to a first clipboard; the step of copying the plurality of pieces of data to the clipboard, respectively, further comprises: and when receiving a selection instruction of the first data, moving the first data from the first clipboard to the second clipboard.
The terminal is provided with a suspension window, the priority of each piece of data is obtained, the pieces of data are sequenced according to the priority and then combined, and the step of obtaining the combined data further comprises the following steps: judging whether the length of the data positioned on the clipboard exceeds a first preset length; if yes, displaying the data positioned on the clipboard in the floating window.
Wherein, after the step of displaying the target pasting data in the floating window, the method further comprises: judging whether the length of the data in the floating window exceeds a second preset length; if yes, a page turning button of the floating window is started, so that data in the floating window can be checked through the page turning button.
In order to solve the technical problems, the application adopts another technical scheme that: there is provided a terminal including: at least one clipboard for storing copied data; the processor is coupled with the clipboard and used for copying a plurality of pieces of data of the terminal to the clipboard respectively, acquiring the priority of each piece of data, sequencing the plurality of pieces of data according to the priority and then merging the data to obtain merged data; and the processor is used for acquiring a position to be pasted from the pasting instruction when receiving the pasting instruction, and pasting the combined data to the position to be pasted.
In order to solve the technical problems, the application adopts another technical scheme that: there is provided an apparatus having a storage function, which stores program data that can be executed to implement the above-described copy-and-paste data method.
The embodiment of the application has the beneficial effects that: unlike the prior art, the method for copying and pasting data is used for a terminal, and the method comprises the following steps: copying a plurality of data of the terminal to at least one clipboard respectively; acquiring the priority of each piece of data, sequencing and merging the pieces of data according to the priority to obtain merged data; when a pasting instruction is received, a position to be pasted is obtained from the pasting instruction, and the combined data is pasted to the position to be pasted. In this way, a plurality of pieces of data which are copied for many times can be pasted to the position to be pasted at one time without pasting operation on the data which are copied each time, so that the efficiency of data copying and pasting can be improved; meanwhile, before data pasting, the copied pieces of data can be ordered according to the priority of the data, the pieces of data can be pasted after being combined according to the ordering, and the priority can be set according to the needs of users, so that the flexibility of data pasting can be improved, and the needs of users can be met.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a first embodiment of a method of copying and pasting data in accordance with the present application;
FIG. 2A is a schematic diagram of a terminal according to an embodiment of the present application;
FIG. 2B is a schematic view of the structure of the shear plate in the terminal of FIG. 2A;
FIG. 2C is a schematic diagram of the terminal of FIG. 2A in another state;
FIG. 3 is a flowchart illustrating a step S102 in the method for copying and pasting data according to the embodiment of FIG. 1;
FIG. 4 is a schematic flowchart of a step S102 in the method for copying and pasting data according to the embodiment of FIG. 1;
FIG. 5 is a flow chart of a second embodiment of a method of copying and pasting data in accordance with the present application;
FIG. 6 is a schematic diagram of a third state of the terminal of FIG. 2A;
fig. 7 is a schematic structural view of a second embodiment of the terminal of the present application;
FIG. 8 is a flow chart of a third embodiment of a method of copying and pasting data in accordance with the present application;
fig. 9 is a schematic structural view of a third embodiment of the terminal of the present application;
FIG. 10 is a flow chart of a fourth embodiment of a method of copying and pasting data in accordance with the present application;
fig. 11 is a schematic structural view of a fourth embodiment of the terminal of the present application;
fig. 12 is a schematic structural diagram of an embodiment of the device with memory function of the present application.
Detailed Description
The application is described in further detail below with reference to the drawings and examples. It is specifically noted that the following examples are only for illustrating the present application, but do not limit the scope of the present application. Likewise, the following examples are only some, but not all, of the examples of the present application, and all other examples, which a person of ordinary skill in the art would obtain without making any inventive effort, are within the scope of the present application.
The application firstly proposes a method for copying and pasting data, which is used for a terminal, as shown in fig. 1, and fig. 1 is a flow diagram of a first embodiment of the method for copying and pasting data. The method of the embodiment specifically comprises the following steps:
step S101: and copying the pieces of data of the terminal to at least one clipboard respectively.
Optionally, as shown in fig. 2A and fig. 2B, the terminal 201 is further provided with a replication cursor, where the replication cursor is used to select data, and in this embodiment, the terminal 201 may select a plurality of pieces of data through the replication cursor, where data between a start point and an end point of dragging of the replication cursor is selected (black characters), and when the terminal 201 obtains a replication instruction, the terminal copies the selected data to the clipboard 202; multiple pieces of data may be copied to clipboard 202 by multiple similar operations.
As to the specific implementation method of data replication, an existing data replication method may be adopted, which is not described herein.
Step S102: and acquiring the priority of each piece of data, sequencing the pieces of data according to the priority, and then merging the pieces of data to obtain merged data.
The priority of the data may be obtained by a method as shown in fig. 3, where the method of the present embodiment includes:
step S301: after the data is selected, a first duration in which the copy cursor is located in the data is acquired.
Specifically, after the terminal 201 determines that the currently copied data is selected, the first duration of stay of the copy cursor in the data display area is further detected, where the first duration in this embodiment is a first duration from when the data is selected to when the copy cursor moves again, and the first duration may be obtained by a counter of the terminal 201.
Step S302: the priority of the data is obtained according to the first time length.
The mapping relationship between the first duration and the priority of the data may be stored in the terminal 201 in advance, as shown in table 1, where the first priority is higher than the second priority, the second priority is higher than the third priority, and so on.
TABLE 1 first duration and priority of data
First time length Priority of data
4S First priority level
3.5S Second priority level
3S Third priority level
For example, how to implement adaptive selective pasting of multiple pieces of copy content by detecting that the copy cursor is located on the first data by the terminal 201 has become a problem to be solved. The first duration of "(as shown in fig. 2A) is 3S, and the priority of acquiring the first data is the third priority, and for another example, the terminal 201 detects that the copy cursor is located on the second data" regardless of whether it is the PC side or the mobile side, the copy and paste function of the system is limited to the latest piece of content, and the first duration of "is 4S, and the priority of acquiring the second data is the first priority.
Step S303: and sequencing and combining the plurality of data according to the priority, and obtaining combined data.
The terminal 201 ranks the second data having the first priority before the first data having the third priority, and merges the first data and the second data in this ranking.
Of course, the priority of the data may also be obtained by the method shown in fig. 4, where the method of this embodiment includes:
step S401: and acquiring the first time of selecting data by the copy cursor corresponding to each piece of data.
Unlike the first time period described above, the first time of the present embodiment is the time taken for the data to start copying to end.
Step S402: the ratio of the first time to the number of the selected characters is obtained, and the priority of the data is obtained according to the ratio.
The terminal 201 obtains the number of characters of the selected data and further obtains the ratio of the first time to the number of characters. Since the speed of copying data is substantially unchanged, the ratio of the first time to the number of characters is substantially unchanged.
For example, the terminal 201 may set a preset ratio according to a user data copying habit, and if the terminal determines that the difference between the ratio corresponding to the first data and the preset ratio is smaller than the preset difference, it may determine that the time that the copying cursor stays in the process of copying the first data is shorter, or the speed of copying the first data is not slowed down to a small extent, so as to obtain the priority of the first data as a low priority; if the terminal judges that the difference between the proportion corresponding to the second data and the preset proportion is larger than the preset difference, the terminal can judge that the time of the copying cursor staying in the process of copying the first data is longer or the speed of copying the second data is slower, so that the priority of the second data is high.
Of course, in other embodiments, the magnitude relation of the priorities of the first data and the second data may also be determined according to the magnitude relation between the above ratios of the two.
Step S403: and sequencing and combining the plurality of data according to the priority, and obtaining combined data.
Step S403 in this embodiment is the same as step S303 described above, and is not described here again.
Of course, in other embodiments, a larger first time period or first time period may also be associated with a low priority.
In the above embodiment, the terminal 201 acquires the priority of the data by the copy time of the data, and the user may control the copy time of the data according to specific needs when copying the data, so that the terminal 201 acquires the priority of the data according to the copy time. In other embodiments, the priority of the data may also be set and acquired in other manners, for example, copying a moving track, a moving direction, etc. of the cursor, or other operations of the terminal.
Step S103: when a pasting instruction is received, a position to be pasted is obtained from the pasting instruction, and the combined data is pasted to the position to be pasted.
The pasting instruction in this embodiment at least includes pasting control information and pasting position information, where the terminal 201 obtains a position to be pasted according to the pasting position information, and pastes the combined data to the position to be pasted according to the pasting control information.
From the above analysis, how to implement adaptive selective pasting of multiple pieces of copy content in the first data has become a problem to be solved. "lower than the second data" regardless of whether it is the PC side or the mobile side at present, the copy-paste function of the system is limited to the latest piece of content, "priority, and thus, the terminal 201 pastes the sorted and combined data to the position to be pasted as shown in fig. 2C.
It should be noted that, in this embodiment, the terminal 201 does not update the sorted and combined data to the clipboard 202, that is, each time the terminal 201 copies a piece of data, the data is sequentially displayed in the clipboard 202. Of course, in other embodiments, the terminal may update the sorted and combined data to the clipboard, or may adjust the sorting of the copied data in the clipboard according to the priority of the copied data after each piece of data is copied by the terminal.
In this way, the method of the embodiment can paste a plurality of pieces of data copied for a plurality of times to the to-be-pasted position at one time without pasting operation on the data copied each time, so that the efficiency of data copying and pasting can be improved; meanwhile, before data pasting, the copied pieces of data can be ordered according to the priority of the data, the pieces of data can be pasted after being combined according to the ordering, and the priority can be set according to the needs of users, so that the flexibility of data pasting can be improved, and the needs of users can be met.
The present application further proposes a method for copying and pasting data according to a second embodiment, as shown in fig. 5, for the terminal 201, the method of this embodiment comprising the steps of:
step S501: and copying the pieces of data of the terminal to at least one clipboard respectively.
Step S502: and acquiring the priority of each piece of data, sequencing the pieces of data according to the priority, and then merging the pieces of data to obtain merged data.
Step S503: when a pasting instruction is received, a position to be pasted is obtained from the pasting instruction, and the combined data is pasted to the position to be pasted.
Steps S501 to S503 of this embodiment are the same as steps S101 to S103 described above, and are not described here again.
Step S504: judging whether the pasting priority of the data is greater than the preset priority, if so, entering step S505, and if not, entering step S506.
Step S505: and setting the attribute of the data according to the preset condition.
The attributes of the data of the present embodiment mainly include display attributes of the data.
Optionally, the preset condition of the present embodiment includes a display size, a display color, or a highlighting. Highlighting of this embodiment may include highlighting the data, adding a label display, bolding the display, etc.
The present embodiment may set the attribute of the data to a preset display size, display color, or highlighting.
For example, as shown in fig. 6, the terminal 201 judges the second data "regardless of whether it is the PC side or the mobile side at present, the copy-and-paste function of the system is limited to the latest piece of content," the priority of which is greater than the preset priority (second or third priority), and sets the attribute of the second data to bold and blacken display.
Step S506: no attribute setting is performed.
If the terminal 201 determines that the pasting priority of the data is less than or equal to the preset priority, the attribute of the data is not reset, and the data is displayed by adopting the default attribute.
In this way, the method of the embodiment can set the attribute of the data with higher priority (usually the important data focused by the user) so as to facilitate the user to check, and avoid missing the important data when the copy data is more.
The present application further proposes a terminal of a second embodiment, as shown in fig. 7, the terminal 701 of this embodiment being provided with a first clipboard 702 and a second clipboard 703. The present application further proposes a method of copying and pasting data of the third embodiment, for use with the terminal 701 described above. The plurality of pieces of data in this embodiment at least includes first data and second data, as shown in fig. 8, the method in this embodiment includes the following steps:
step S801: the first data and the second data are copied to the first clipboard 702.
Step S802: upon receiving a select instruction of the first data, the first data is moved from the first clipboard 702 to the second clipboard 703.
In an application scenario, when a plurality of articles are arranged into one article, a required paragraph is usually obtained in the plurality of articles, then required sentences or keywords are respectively obtained in the plurality of paragraphs, for this case, the terminal 701 may copy the first data and the second data to the first clipboard 702 first, and then move the first data to the second clipboard 703 according to a selection instruction of the first data (sentences or keywords).
Of course, the first data may be a whole piece of data.
Step S803: the priorities of the first data in the second clipboard 703 are acquired, and the plurality of first data are sorted according to the priorities and then combined, so as to obtain combined data.
Step S804: when a pasting instruction is received, a position to be pasted is obtained from the pasting instruction, and the combined data is pasted to the position to be pasted.
Step S804 in this embodiment is the same as step S103 described above, and is not described here again.
In this way, the method of the present embodiment can implement two selections of data through the first clipboard 702 and the second clipboard 703 and the two copying operations, and can improve the accuracy and flexibility of data copying and pasting.
In other embodiments, the same shear plate may be divided into a first shear region and a second shear region.
The present application further proposes a terminal of a second embodiment, as shown in fig. 9, the terminal 901 of this embodiment being provided with a floating window 902. The present application further proposes a method for copying and pasting data according to a fourth embodiment, for the terminal 901, as shown in fig. 10, where the method of this embodiment includes the following steps:
step S1001: and copying the pieces of data of the terminal to at least one clipboard respectively.
Step S1002: and acquiring the priority of each piece of data, sequencing the pieces of data according to the priority, and then merging the pieces of data to obtain merged data.
Steps S1001 to S1002 of the present embodiment are the same as steps S101 to S102 of the above embodiment, and are not described here.
Step S1003: whether the length of the data located on the clipboard 903 exceeds the first preset length is determined, if yes, step S1004 is performed, and if not, step S1005 is performed.
The first preset length of this embodiment is the maximum length of data that can be displayed by the clipboard 903.
Step S1004: the data on clipboard 903 is displayed in a floating window,
specifically, the terminal 901 judges that the length of data located on the clipboard 903 exceeds the maximum length, pops up the floating window 902, and displays the data located on the clipboard 903 in the floating window 902.
Wherein the maximum length of data that the floating window 902 can display is greater than the maximum length of data that the clipboard 903 can display.
Step S1005: no treatment is done.
In this way, when the clipboard 903 cannot completely display the copied data due to insufficient size or capacity, the terminal 901 may display the copied data in the floating window 902, which is convenient for the user to preview and can improve the user experience.
Optionally, the method of the present embodiment may further include steps S1006 to S1007 after step S1004:
step S1006: judging whether the length of the data in the floating window 902 exceeds the second preset length, if so, proceeding to step S1007, otherwise proceeding to step S1005.
The second preset length of this embodiment is the maximum length of data that the floating window 902 can display.
Step S1007: and starting a page turning button of the floating window to view the data in the floating window through the page turning button.
Specifically, if the terminal 901 determines that the length of the data located in the floating window 902 exceeds the maximum length, the terminal activates the page-turning button of the floating window 902, and can view the data in the floating window 902 through the page-turning button.
In this way, when the floating window 902 cannot completely display the copied data due to insufficient size or capacity, the terminal 901 can start the page turning button of the floating window 902, and the data in the floating window 902 can be checked through the page turning button, so that the user can preview conveniently, and the user experience can be improved.
The data pieces of the present application may be combined into separate segments, or combined into a whole segment, without limitation.
The present application further proposes a terminal according to a fourth embodiment, as shown in fig. 11, where the terminal 1101 of this embodiment includes a processor 1102 and at least one clipboard 1103, where the clipboard 1103 is used for storing copied data; the processor 1102 is coupled to the clipboard 1103, and the processor 1102 is configured to copy a plurality of pieces of data of the terminal 1101 to the clipboard 1103, obtain a priority of each piece of data, sort the plurality of pieces of data according to the priority, and combine the plurality of pieces of data to obtain combined data; the processor 1102 is configured to obtain a to-be-pasted position from the pasting instruction when receiving the pasting instruction, and paste the combined data to the to-be-pasted position.
The method for copying and pasting data in the terminal 1101 of this embodiment is the same as that described above and is not repeated here.
Unlike the prior art, the terminal 1101 of this embodiment is capable of pasting multiple pieces of data that are copied multiple times to a location to be pasted at one time without requiring a pasting operation for each piece of copied data, and therefore, the efficiency of data copy-paste can be improved; meanwhile, before data pasting, the copied pieces of data can be ordered according to the priority of the data, the pieces of data can be pasted after being combined according to the ordering, and the priority can be set according to the needs of users, so that the flexibility of data pasting can be improved, and the needs of users can be met.
The terminal 1101 of this embodiment may be a cell phone, tablet, IPAD, wearable device, or the like.
The present application further provides a device with a storage function, as shown in fig. 12, and fig. 12 is a schematic structural diagram of an embodiment of the device with a storage function of the present application. The apparatus 1201 with a storage function of the present embodiment is configured to store the related data 1202 and the program data 1203 of the above embodiment, where the related data 1202 includes at least the priority of the above data, and the program data 1203 can be executed in the method of the above method embodiment. The related data 1202 and the program data 1203 are described in detail in the above method embodiments, and are not described here again.
The device 1201 with the storage function of the present embodiment may be, but is not limited to, a usb disk, an SD card, a PD optical drive, a mobile hard disk, a high-capacity floppy drive, a flash memory, a multimedia memory card, a server, etc.
Unlike the prior art, the method for copying and pasting data is used for a terminal, and the method comprises the following steps: copying a plurality of data of the terminal to at least one clipboard respectively; acquiring the priority of each piece of data, sequencing and merging the pieces of data according to the priority to obtain merged data; when a pasting instruction is received, a position to be pasted is obtained from the pasting instruction, and the combined data is pasted to the position to be pasted. In this way, a plurality of pieces of data which are copied for many times can be pasted to the position to be pasted at one time without pasting operation on the data which are copied each time, so that the efficiency of data copying and pasting can be improved; meanwhile, before data pasting, the copied pieces of data can be ordered according to the priority of the data, the pieces of data can be pasted after being combined according to the ordering, and the priority can be set according to the needs of users, so that the flexibility of data pasting can be improved, and the needs of users can be met.
In addition, the above-described functions, if implemented in the form of software functions and sold or used as a separate product, may be stored in a mobile terminal-readable storage medium, i.e., the present application also provides a storage device storing program data that can be executed to implement the method of the above-described embodiments, the storage device may be, for example, a U-disk, an optical disk, a server, or the like. That is, the present application may be embodied in the form of a software product comprising instructions for causing a smart terminal to perform all or part of the steps of the method described in the various embodiments.
In the description of the present application, a description of the terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present application, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., may be considered as a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device (which can be a personal computer, server, network device, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions). For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
The foregoing description is only of embodiments of the present application, and is not intended to limit the scope of the application, and all equivalent structures or equivalent processes using the descriptions and the drawings of the present application or directly or indirectly applied to other related technical fields are included in the scope of the present application.

Claims (8)

1. A method of copying and pasting data for a terminal, the method comprising:
copying a plurality of pieces of data of the terminal to at least one clipboard respectively;
acquiring the priority of each piece of data, sequencing and merging the pieces of data according to the priority to obtain merged data;
when a pasting instruction is received, a to-be-pasted position is obtained from the pasting instruction, and the combined data is pasted to the to-be-pasted position;
the terminal is further provided with a copy cursor, the copy cursor is used for selecting the data, and the step of acquiring the priority of each piece of data comprises the following steps:
after the data is selected, acquiring a first duration of time when the copy cursor is positioned on the data;
acquiring the priority of the data according to the first time length; or (b)
The step of acquiring the priority of each piece of data comprises the following steps:
acquiring a first time when a copy cursor corresponding to each piece of data selects the data;
and acquiring the ratio of the first time to the selected character number, and acquiring the priority of the data according to the ratio.
2. The method of claim 1, further comprising, after the step of pasting the merged data to the to-be-pasted location:
judging whether the pasting priority of the data is greater than a preset priority;
if yes, setting the attribute of the data according to preset conditions.
3. The method of claim 2, wherein the preset condition includes a display size, a display color, or a highlighting, and the step of setting the attribute of the data according to the preset condition includes:
and setting the attribute of the data to be a preset display size, display color or highlighting.
4. The method of claim 1, wherein the plurality of pieces of data includes at least first data and second data, the at least one clipboard includes a first clipboard and a second clipboard, and the step of copying the plurality of pieces of data to the clipboard, respectively, includes:
copying the first data and the second data to the first clipboard;
after the step of copying the pieces of data to the clipboard separately, further comprises:
and when receiving a selection instruction of the first data, moving the first data from the first clipboard to the second clipboard.
5. The method according to claim 1, wherein the terminal is provided with a floating window, and the step of obtaining the priority of each piece of data, sorting and then combining the pieces of data according to the priority, and obtaining the combined data further comprises:
judging whether the length of the data positioned on the clipboard exceeds a first preset length or not;
if yes, displaying the data positioned on the clipboard in the floating window.
6. The method of claim 5, further comprising, after the step of displaying the data located on the clipboard in the floating window:
judging whether the length of the data in the floating window exceeds a second preset length;
if yes, a page turning button of the floating window is started, and data in the floating window is checked through the page turning button.
7. A terminal, the terminal comprising:
at least one clipboard for storing copied data;
the processor is coupled with the clipboard and is used for respectively copying a plurality of pieces of data of the terminal to the clipboard, acquiring the priority of each piece of data, sorting and combining the plurality of pieces of data according to the priority to obtain combined data; the processor is used for acquiring a to-be-pasted position from the pasting instruction when receiving the pasting instruction, and pasting the combined data to the to-be-pasted position;
the terminal is further provided with a copying cursor, the copying cursor is used for selecting the data, and the processor is used for acquiring a first time length of the copying cursor on the data after the data is selected and acquiring the priority of the data according to the first time length; or the processor is used for acquiring the first time of selecting the data by the copy cursor corresponding to each piece of data, acquiring the ratio of the first time to the selected character number, and acquiring the priority of the data according to the ratio.
8. An apparatus having a storage function, wherein the apparatus stores program data executable to implement the method of copy-and-paste data of any of claims 1-6.
CN201811174763.2A 2018-10-09 2018-10-09 Terminal, method for copying and pasting data of terminal and device with storage function Active CN111026559B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811174763.2A CN111026559B (en) 2018-10-09 2018-10-09 Terminal, method for copying and pasting data of terminal and device with storage function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811174763.2A CN111026559B (en) 2018-10-09 2018-10-09 Terminal, method for copying and pasting data of terminal and device with storage function

Publications (2)

Publication Number Publication Date
CN111026559A CN111026559A (en) 2020-04-17
CN111026559B true CN111026559B (en) 2023-10-03

Family

ID=70191421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811174763.2A Active CN111026559B (en) 2018-10-09 2018-10-09 Terminal, method for copying and pasting data of terminal and device with storage function

Country Status (1)

Country Link
CN (1) CN111026559B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375980A (en) * 2014-11-18 2015-02-25 小米科技有限责任公司 Selection method and device for text content
CN105354097A (en) * 2015-11-02 2016-02-24 北京金山安全软件有限公司 Data operation method and device based on clipboard and electronic equipment
CN106095243A (en) * 2016-06-15 2016-11-09 维沃移动通信有限公司 A kind of method replicating stickup and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346092A (en) * 2013-08-01 2015-02-11 腾讯科技(深圳)有限公司 Method and device used for displaying clipboard contents at mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375980A (en) * 2014-11-18 2015-02-25 小米科技有限责任公司 Selection method and device for text content
CN105354097A (en) * 2015-11-02 2016-02-24 北京金山安全软件有限公司 Data operation method and device based on clipboard and electronic equipment
CN106095243A (en) * 2016-06-15 2016-11-09 维沃移动通信有限公司 A kind of method replicating stickup and mobile terminal

Also Published As

Publication number Publication date
CN111026559A (en) 2020-04-17

Similar Documents

Publication Publication Date Title
AU2016202724B2 (en) Devices, methods, and graphical user interfaces for document manipulation
US9003283B2 (en) Copying text using parameters displayed on a clipboard
CN111324266B (en) Device, method and graphical user interface for sharing content objects in a document
US9696880B2 (en) Screen management system
US9372872B2 (en) Display control apparatus, display control method, and storage medium for displaying a content of a file on a display apparatus
US20140310638A1 (en) Apparatus and method for editing message in mobile terminal
CN109445657B (en) Document editing method and device
US20120102401A1 (en) Method and apparatus for providing text selection
CN106033407B (en) Data pasting method and device
CN108874279B (en) Selection method and device, terminal equipment and readable storage medium
US20120030558A1 (en) Electronic Book and Method for Displaying Annotation Thereof
CN107562320A (en) A kind of method and intelligent touch screen terminal equipment of the function that application program is provided
CN104462232A (en) Data storage method and device
CN111045561A (en) Display method and device of function keys, terminal equipment and storage medium
CN112269523B (en) Object editing processing method and device and electronic equipment
CN111026559B (en) Terminal, method for copying and pasting data of terminal and device with storage function
CN113268182A (en) Application icon management method and electronic equipment
CN107766524A (en) Application program searching method and device and intelligent terminal
CN112417830A (en) Document page management method and device, electronic equipment and storage medium
US20160350273A1 (en) Data processing method
WO2023284640A9 (en) Picture processing method and electronic device
CN111352572B (en) Resource processing method, mobile terminal and computer-readable storage medium
CN109375842B (en) Application rapid classification method, electronic equipment and device with storage function
CN112925456A (en) Display method and device and electronic equipment
CN113342222A (en) Application classification method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant