CN105354097A - Data operation method and device based on clipboard and electronic equipment - Google Patents

Data operation method and device based on clipboard and electronic equipment Download PDF

Info

Publication number
CN105354097A
CN105354097A CN201510732370.9A CN201510732370A CN105354097A CN 105354097 A CN105354097 A CN 105354097A CN 201510732370 A CN201510732370 A CN 201510732370A CN 105354097 A CN105354097 A CN 105354097A
Authority
CN
China
Prior art keywords
thumbnail
clipbook
script
data
pasted
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.)
Granted
Application number
CN201510732370.9A
Other languages
Chinese (zh)
Other versions
CN105354097B (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201510732370.9A priority Critical patent/CN105354097B/en
Publication of CN105354097A publication Critical patent/CN105354097A/en
Application granted granted Critical
Publication of CN105354097B publication Critical patent/CN105354097B/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]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/543Local

Landscapes

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

Abstract

The embodiment of the invention discloses a data operation method and device based on a clipboard and electronic equipment. The method comprises the following steps: receiving a copy operation instruction, and copying data corresponding to the copy operation instruction to a clipboard for storing a plurality of data; receiving a pasting operation instruction, and respectively presenting each data copied in the clipboard by a thumbnail; and extracting the thumbnail to be pasted selected from the presented thumbnails, and pasting the data corresponding to the thumbnail to be pasted. By applying the invention, the data operation efficiency can be improved.

Description

A kind of data manipulation method based on clipbook, device and electronic equipment
Technical field
The present invention relates to file operation technology, particularly relate to a kind of data manipulation method based on clipbook, device and electronic equipment.
Background technology
Clipbook is the built-in instrument of Windows operating system, for providing one section of storage area of a temporary function and sharing functionality for data, is equivalent to data relay station.The copy and paste function provided by clipbook, can realize transmitting and shared data between various application program.
Clipbook operates in the backstage of Windows operating system, and storage area uses internal resource random access memory or the virtual memory of Windows operating system, in storage area, and the interim data of preserving shearing and copying.Wherein, because the data type of preserving can be diversified temporarily, thus, the function that clipbook provides is widely used.
At present, the data on clipbook are kept at during by shearing or copying, only cliping and pasting or copying other data again, have a power failure or when exiting operating system or remove wittingly, could upgrade or remove the data of the interim storage in clipbook, namely clip and paste or copy a secondary data, repeatedly can paste the position that these data are specified to user, such as, only need the position of the input text of specifying user successively, press CRTL+V key, or choose paste control from the menu that right button ejects, just can paste the interim data stored in clipbook.If but data manipulation is the data cliping and pasting or copy other, before the interim data stored will by current shearing or other data copied cover, when performing paste operation, other data repeatedly can only pasted current shearing or copy.That is, clipbook built-in in Windows operating system is when carrying out data manipulation, a replicate run or data corresponding to shearing manipulation can only be stored temporarily, thus, also the last replicate run or data corresponding to shearing manipulation can only be pasted, make the efficiency of data manipulation low, user can not be met to the storage of historical data and paste operation.Such as, when writing the material of article from internet hunt, need collection material from different web sites, the method adopted can only be search or browse to one section of material, by copying this material, then, opening document or in the new document created, by pasting, the material copied is pasted in the new document created.For the multistage material needed, the mode successively by copying, pasting is chosen and preserves material, needs constantly to switch to document from website, and cause data manipulation needs to switch frequently, the required time is longer, data manipulation efficiency is lower.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of data manipulation method based on clipbook, device and electronic equipment, promotes data manipulation efficiency.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, the embodiment of the present invention provides a kind of data manipulation method based on clipbook, comprising:
Receive replicate run instruction, by data Replica corresponding for described replicate run instruction to being used for the clipbook storing multiple data;
Receive paste operation instruction, each data copied in described clipbook are presented with thumbnail respectively;
Extract the thumbnail to be pasted chosen from the thumbnail presented, data corresponding for described thumbnail to be pasted are pasted.
Preferably, described reception replicate run instruction, comprises data Replica corresponding for described replicate run instruction to the clipbook being used for storing multiple data:
After Windows os starting, trigger the clipbook script monitor user ' operational order injected in advance;
If user operation instruction is replicate run instruction, by data Replica corresponding for described replicate run instruction to being used for the clipbook storing multiple data, and arrange according to the strategy pre-set in described clipbook script.
Preferably, described after Windows os starting, trigger the clipbook script monitor user ' operational order injected in advance and comprise:
The clipbook script engine pre-set is injected in Windows operating system;
After Windows os starting, trigger described clipbook script engine and download the clipbook script of latest edition from the high in the clouds pre-set and upgrade the clipbook script stored;
By the clipbook script injection script language interpreter upgraded, carry out performing described clipbook script, monitor user ' operational order after semanteme is resolved to the clipbook script injected to make script language interpreter.
Preferably, the clipbook script that the described clipbook script engine of described triggering also upgrades storage from the clipbook script of the high in the clouds download latest edition pre-set comprises:
Described clipbook script engine obtains the version information of the clipbook script of current storage, is carried in update request, sends to high in the clouds;
Reception high in the clouds foundation is carried at the update request response that the version information in described update request returns, if carry clipbook script in the response of described update request, upgrades the clipbook script of storage.
Preferably, the described strategy according to pre-setting in described clipbook script carries out arrangement and comprises:
Generate the summary info of data corresponding to described replicate run instruction, generate the thumbnail of data corresponding to described replicate run instruction according to summary info, described thumbnail is arranged in the first place of copying data arranged.
Preferably, after the summary info of data corresponding to described generation described replicate run instruction, before generating the thumbnail of data corresponding to described replicate run instruction according to summary info, described method comprises further:
Concentrate at summary info corresponding to data that copy arranged, whether inquiry exists the summary info identical with the summary info generated, if existed, do not deal with, if there is no, store the summary info of described generation, perform the described step generating the thumbnail of data corresponding to described replicate run instruction according to summary info.
Preferably, described thumbnail is realized by Windows layer window.
Preferably, data corresponding for described thumbnail to be pasted are carried out stickup and are comprised by the thumbnail to be pasted that described extraction is chosen from the thumbnail presented:
Press the shortcut of Ctrl+V user after, the V key number of times pressed when monitor user ' does not unclamp Ctrl, often monitor user and press V key next time, thumbnail to be pasted is displaced downwardly to next thumbnail from current thumbnail figure, described in press the shortcut of Ctrl+V corresponding thumbnail to be pasted be first thumbnail presented;
Monitor after user unclamps the shortcut of Ctrl+V, choose the thumbnail that the V key pressed for the last time is corresponding, data corresponding for thumbnail corresponding for the described V key pressed for the last time are pasted.
Preferably, described thumbnail to be pasted is displaced downwardly to next thumbnail from current thumbnail figure before, described method comprises further:
Obtain the time interval of the V key that front and back time are pressed, if the time interval obtained, in the time interval threshold range pre-set, performs described step thumbnail to be pasted being displaced downwardly to next thumbnail from current thumbnail figure, otherwise, do not deal with.
Preferably, data corresponding for described thumbnail to be pasted are carried out stickup and are comprised by the thumbnail to be pasted that described extraction is chosen from the thumbnail presented:
After user chooses paste event triggering output order, in the time threshold pre-set, monitor user ' is clicked and is chosen thumbnail to be pasted from the thumbnail presented, if do not monitor the click selection operation of user in described time threshold, data user being clicked for the last time the thumbnail chosen corresponding are pasted.
Preferably, described data corresponding for described thumbnail to be pasted are pasted after, described method comprises further:
Thumbnail to be pasted described in clipbook is moved to first in the thumbnail presented.
Second aspect, the embodiment of the present invention provides a kind of data operation device based on clipbook, comprising: replication module, present module and stickup module, wherein,
Replication module, for receiving replicate run instruction, by data Replica corresponding for described replicate run instruction to being used for the clipbook storing multiple data;
Presenting module, for receiving paste operation instruction, each data copied in described clipbook being presented with thumbnail respectively;
Data corresponding for described thumbnail to be pasted, for extracting the thumbnail to be pasted chosen from the thumbnail presented, are pasted by stickup module.
Preferably, described replication module comprises: monitoring means and copied cells, wherein,
Monitoring means, for after Windows os starting, triggers the clipbook script monitor user ' operational order injected in advance;
Copied cells, if user operation instruction is replicate run instruction, by data Replica corresponding for described replicate run instruction to being used for the clipbook storing multiple data, and arranges according to the strategy pre-set in described clipbook script.
Preferably, described monitoring means comprises: inject subelement, upgrade subelement and monitoring subelement, wherein,
Inject subelement, for injecting the clipbook script engine pre-set in Windows operating system;
Upgrade subelement, for after Windows os starting, trigger described clipbook script engine and download the clipbook script of latest edition from the high in the clouds pre-set and upgrade the clipbook script stored;
Monitoring subelement, for the clipbook script injection script language interpreter that will upgrade, carries out performing described clipbook script, monitor user ' operational order after semanteme is resolved to the clipbook script injected to make script language interpreter.
Preferably, the clipbook script that the described clipbook script engine of described triggering also upgrades storage from the clipbook script of the high in the clouds download latest edition pre-set comprises:
Described clipbook script engine obtains the version information of the clipbook script of current storage, is carried in update request, sends to high in the clouds;
Reception high in the clouds foundation is carried at the update request response that the version information in described update request returns, if carry clipbook script in the response of described update request, upgrades the clipbook script of storage.
Preferably, described copied cells comprises: judgment sub-unit, replicon unit, summary info generate subelement, thumbnail generates subelement and arrangement subelement, wherein,
Judgment sub-unit, for judging whether user operation instruction is replicate run instruction, if user operation instruction is replicate run instruction, notice replicon unit;
Replicon unit, for reception notification, by data Replica corresponding for described replicate run instruction to being used for the clipbook storing multiple data;
Summary info generates subelement, for generating the summary info of data corresponding to described replicate run instruction;
Thumbnail generates subelement, for generating the thumbnail of data corresponding to described replicate run instruction according to summary info;
Arrangement subelement, for being arranged in the first place of copying data arranged by described thumbnail.
Preferably, described copied cells comprises further:
Query processing subelement, for concentrating at the summary info copying data corresponding arranged, whether inquiry exists the summary info identical with the summary info generated, if existed, do not deal with, if there is no, store the summary info of described generation, notice thumbnail generates subelement.
Preferably, described thumbnail is realized by Windows layer window.
Preferably, described stickup module comprises: paste the first monitoring means, paste the second monitoring means and application unit, wherein,
Paste the first monitoring means, for press Ctrl+V user shortcut after, the V key number of times pressed when monitor user ' does not unclamp Ctrl, often monitor user and press V key next time, thumbnail to be pasted is displaced downwardly to next thumbnail from current thumbnail figure, described in press the shortcut of Ctrl+V corresponding thumbnail to be pasted be first thumbnail presented;
Paste the second monitoring means, for after monitoring user and unclamping the shortcut of Ctrl+V, notice application unit;
Application unit, for reception notification, chooses the thumbnail that the V key pressed for the last time is corresponding, data corresponding for thumbnail corresponding for the described V key pressed for the last time is pasted.
Preferably, described stickup module comprises further:
Time interval processing unit, for obtaining the time interval of the secondary V key pressed before and after stickup first monitoring means, if the time interval obtained is in the time interval threshold range pre-set, notice stickup first monitoring means performs described step thumbnail to be pasted being displaced downwardly to next thumbnail from current thumbnail figure, otherwise, do not deal with.
Preferably, described stickup module comprises: unit is chosen in stickup monitoring means and stickup, wherein,
Paste monitoring means, for choose paste event triggering output order user after, in the time threshold pre-set, monitor user ' is clicked and is chosen thumbnail to be pasted from the thumbnail presented, if do not monitor the click selection operation of user in described time threshold, unit is chosen in notice stickup;
Unit is chosen in stickup, pastes for data user being clicked for the last time the thumbnail chosen corresponding.
Preferably, described device comprises further:
Order module, for moving to first in the thumbnail presented by thumbnail to be pasted described in clipbook.
The third aspect, the embodiment of the present invention provides a kind of electronic installation, and described electronic installation comprises: housing, processor, storer, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, and processor and storer are arranged on circuit boards; Power circuit, for powering for each circuit of above-mentioned electronic equipment or device; Storer is used for stores executable programs code; Processor runs the program corresponding with executable program code by reading the executable program code stored in storer, for performing aforementioned arbitrary described data manipulation method based on clipbook.
The data manipulation method based on clipbook that the embodiment of the present invention provides, device and electronic equipment, receive replicate run instruction, by data Replica corresponding for described replicate run instruction to being used for the clipbook storing multiple data; Receive paste operation instruction, each data copied in described clipbook are presented with thumbnail respectively; Extract the thumbnail to be pasted chosen from the thumbnail presented, data corresponding for described thumbnail to be pasted are pasted.Like this, by expansion clipbook function, make clipbook can retain data corresponding to multiple copies operational order, and can from the data of multi-pass operations, choose and paste a wherein replicate run or data corresponding to shearing manipulation, effectively reduce the switching times needed for data manipulation, improve the efficiency of data manipulation.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the data manipulation method schematic flow sheet of the embodiment of the present invention based on clipbook;
Fig. 2 is that the embodiment of the present invention receives replicate run instruction, by data Replica corresponding for described replicate run instruction to being used for the clipbook schematic flow sheet storing multiple data;
Fig. 3 be the embodiment of the present invention after Windows os starting, trigger the clipbook script monitor user ' operational order schematic flow sheet that injects in advance;
Fig. 4 is the data operation device structural representation of the embodiment of the present invention based on clipbook;
Fig. 5 is the replication module structural representation of the embodiment of the present invention;
Fig. 6 is stickup module structural representation of the invention process;
Fig. 7 is the structural representation of an electronic equipment of the present invention embodiment.
Embodiment
Below in conjunction with accompanying drawing, the embodiment of the present invention is described in detail.
Should be clear and definite, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the data manipulation method schematic flow sheet of the embodiment of the present invention based on clipbook.See Fig. 1, the method comprises:
Step 101, receives replicate run instruction, by data Replica corresponding for described replicate run instruction to being used for the clipbook storing multiple data;
In this step, as an embodiment, Fig. 2 is that the embodiment of the present invention receives replicate run instruction, by data Replica corresponding for described replicate run instruction to being used for the clipbook schematic flow sheet storing multiple data.See Fig. 2, this flow process comprises:
A01, after Windows os starting, triggers the clipbook script monitor user ' operational order injected in advance;
In this step, as an embodiment, Fig. 3 be the embodiment of the present invention after Windows os starting, trigger the clipbook script monitor user ' operational order schematic flow sheet that injects in advance.See Fig. 3, this flow process comprises:
A11, injects the clipbook script engine pre-set in Windows operating system;
In this step, injecting clipbook script engine is be convenient to upgrade follow-up clipbook script.Be known technology about arranging clipbook script engine and inject clipbook script engine in Windows operating system, omit detailed description at this.
In the embodiment of the present invention, by providing clipbook script engine to reside Windows operating system, as a finger daemon.Like this, after Windows starts, starting up's clipbook script engine, follow-up function is triggered by clipbook script engine.
A12, after Windows os starting, triggers described clipbook script engine and downloads the clipbook script of latest edition from the high in the clouds pre-set and upgrade the clipbook script stored;
In this step, technological development personnel can to the function of clipbook script, namely the logic realized carries out expanding and perfect, after the clipbook script issuing redaction, the clipbook script of the redaction of issue can be stored or be deployed in high in the clouds, to be provided with the client (computing machine) of clipbook script engine upon actuation, automatically to download the clipbook script of redaction from high in the clouds and run.
As an embodiment, trigger described clipbook script engine and comprise from the clipbook script clipbook script that also renewal stores of the high in the clouds download latest edition pre-set:
A21, described clipbook script engine obtains the version information of the clipbook script of current storage, is carried in update request, sends to high in the clouds;
A22, reception high in the clouds foundation is carried at the update request response that the version information in described update request returns, if carry clipbook script in the response of described update request, upgrades the clipbook script of storage.
In this step, high in the clouds receives update request, if have the clipbook script higher with the version information that carries in update request, then the clipbook script of most highest version is carried in update request response, if do not had, return empty update request response to clipbook script engine, client does not deal with after receiving empty update request response.
Certainly, in practical application, high in the clouds, also can by the clipbook script of redaction to the clipbook script engine active push pre-set after having the clipbook script of redaction to issue.
A13, by the clipbook script injection script language interpreter upgraded, carries out performing described clipbook script, monitor user ' operational order after semanteme is resolved to the clipbook script injected to make script language interpreter.
In this step, the clipbook script injection script language interpreter that clipbook script engine will be downloaded, script language interpreter performs described clipbook script to make described clipbook script monitor user ' operational order after carrying out semanteme parsing to the clipbook script injected.
A02, if user operation instruction is replicate run instruction, by data Replica corresponding for described replicate run instruction to being used for the clipbook storing multiple data, and arranges according to the strategy pre-set in described clipbook script.
In this step, replicate run instruction can be the instruction that user presses the shortcut event triggering output of Ctrl+C simultaneously, also can be that user is operated by right button, choose copy control and trigger the instruction exported from the right-click menu hurdle ejected.
In this step, as an embodiment, carry out arrangement according to the strategy pre-set in described clipbook script and comprise:
Generate the summary info of data corresponding to described replicate run instruction, generate the thumbnail of data corresponding to described replicate run instruction according to summary info, described thumbnail is arranged in the first place of copying data arranged.
In this step, after the summary info generating data corresponding to described replicate run instruction, before generating the thumbnail of data corresponding to described replicate run instruction according to summary info, the method comprises further:
Concentrate at summary info corresponding to data that copy arranged, whether inquiry exists the summary info identical with the summary info generated, if existed, do not deal with, if there is no, store the summary info of described generation, perform the described step generating the thumbnail of data corresponding to described replicate run instruction according to summary info.
In this step, for the data of repeat replication, in order to effectively reduce the storage space of clipbook, searching by summary info, if store identical summary info, show that clipbook has stored data corresponding to this summary info.
In the embodiment of the present invention, Message Digest Algorithm 5 (MD5, Message-DigestAlgorithm5) algorithm generating messages can be adopted to make a summary, the corresponding eap-message digest of each different data.
As an embodiment, the data acquisition toroidal memory that clipbook stores described replicate run instruction corresponding realizes, such as, the data that toroidal memory stores predetermined number threshold value can be set, store completely at toroidal memory, if next data arrives, then automatically delete the last item data in toroidal memory tail of the queue.
As another embodiment, carrying out arrangement according to the strategy pre-set in described clipbook script can also comprise:
Extract the key word of data corresponding to described replicate run instruction, classify according to described key word, data corresponding for described replicate run instruction are stored to the memory block that classification is corresponding.
In the embodiment of the present invention, by injecting the clipbook script pre-set, make clipbook can store the data of multiple copies, be convenient to user chooses needs data from the diverse location of webpage, and without the need to frequently performing blocked operation between webpage and document, thus the time of effectively reducing needed for data manipulation, promote data manipulation efficiency.
Step 102, receives paste operation instruction, each data copied is presented with thumbnail respectively in described clipbook;
In this step, paste operation instruction can be the instruction that user presses the shortcut event triggering output of Ctrl+V simultaneously, also can be that user is operated by right button, choose paste control and trigger the instruction exported from the right-click menu hurdle ejected.
In the embodiment of the present invention, the data copied in clipbook are presented in the mode of thumbnail, can so that user to be from the thumbnail presented, the data choosing required thumbnail corresponding are pasted.
In the embodiment of the present invention, the clipbook script that clipbook script engine initiatively downloads latest edition by high in the clouds request loads, and by this clipbook script injection script language interpreter, script language interpreter is after carrying out semanteme and resolving to clipbook script, perform this clipbook script, thus make clipbook script engine as host, by performing clipbook script, moment detects Ctrl+C, Ctrl+V shortcut event, or, copy control and paste control, such as, while retaining historical record, corresponding data are stored when monitoring Ctrl+C shortcut event, clipboard data is selected when monitoring Ctrl+V shortcut event and triggering, show clipboard thumbnail simultaneously.
As an embodiment, thumbnail is realized by Windows layer window.In Windows layer window, be picture as to be pasted, can Show Picture thumbnail, is word as to be pasted, can display section word thumbnail.
In the embodiment of the present invention, by repeatedly Ctrl+C shortcut event by required multiple data Replicas after clipbook, such as, after opening a certain website, the many places data of this website are all that user needs to use and the data obtained, the passage in this website then can be selected to copy, can without the need to carrying out paste operation, the data copied are carried out sequence and are stored by clipbook, user can continue to select the another passage in this website to copy, and clipbook continues automatically to record this another segment data copied.In subsequent applications, if need the sticky data in clipbook to be labelled in document, then by opening or the document of newly-built correspondence, and opening or in newly-built document, needing the location triggered output-stuck operational order of data inserting with pasting data.
Step 103, extracts the thumbnail to be pasted chosen from the thumbnail presented, and data corresponding for described thumbnail to be pasted is pasted.
In this step, as an embodiment, extract the thumbnail to be pasted chosen from the thumbnail presented, data corresponding for described thumbnail to be pasted carried out stickup and comprises:
B01, press the shortcut of Ctrl+V user after, the V key number of times pressed when monitor user ' does not unclamp Ctrl, often monitor user and press V key next time, thumbnail to be pasted is displaced downwardly to next thumbnail from current thumbnail figure, described in press the shortcut of Ctrl+V corresponding thumbnail to be pasted be first thumbnail presented;
In this step, as an embodiment, described thumbnail to be pasted is displaced downwardly to next thumbnail from current thumbnail figure before, the method can further include:
Obtain the time interval of the V key that front and back time are pressed, if the time interval obtained, in the time interval threshold range pre-set, performs described step thumbnail to be pasted being displaced downwardly to next thumbnail from current thumbnail figure, otherwise, do not deal with.
In this step, set interval threshold range, effectively can prevent the maloperation of user, such as, and the maloperation avoiding user always to press V key causing.
B02, monitors after user unclamps the shortcut of Ctrl+V, chooses the thumbnail that the V key pressed for the last time is corresponding, data corresponding for thumbnail corresponding for the described V key pressed for the last time is pasted.
As another embodiment, extract the thumbnail to be pasted chosen from the thumbnail presented, data corresponding for described thumbnail to be pasted carried out stickup and comprises:
After user chooses paste event triggering output order, in the time threshold pre-set, monitor user ' is clicked and is chosen thumbnail to be pasted from the thumbnail presented, if do not monitor the click selection operation of user in described time threshold, data user being clicked for the last time the thumbnail chosen corresponding are pasted.
In the embodiment of the present invention, as an embodiment, described data corresponding for described thumbnail to be pasted are pasted after, the method can further include:
Thumbnail to be pasted described in clipbook is moved to first in the thumbnail presented.
In this step, for the current thumbnail chosen of user, the probability carrying out choosing stickup based on it in follow-up is larger, thus, the selection operation of the position of copying thumbnail corresponding to data arranged in clipbook according to user is upgraded accordingly, effectively can reduce the number of operations that user carries out choosing.
From above-mentioned, the embodiment of the present invention is based on the data manipulation method of clipbook, by injecting clipbook script with monitor user ' operational order, if be replicate run instruction, by data Replica corresponding for described replicate run instruction to being used for the clipbook storing multiple data, make in clipbook, to retain data corresponding to multiple copies operational order; If be paste operation instruction, each data copied in described clipbook are presented with thumbnail respectively; Extract the thumbnail to be pasted chosen from the thumbnail presented, data corresponding for described thumbnail to be pasted are pasted, makes user can choose required thumbnail from multiple thumbnails that clipbook presents and paste.Like this, clipbook built-in in Windows operating system is when carrying out data manipulation, the data that multiple copies operates or shearing manipulation is corresponding can be stored temporarily, thus, can from the data of multi-pass operations, choose and paste a wherein replicate run or data corresponding to shearing manipulation, effectively reduce the switching times needed for data manipulation, shorten the time needed for data manipulation, improve the efficiency of data manipulation, meet user to the storage of historical data and paste operation.
Fig. 4 is the data operation device structural representation of the embodiment of the present invention based on clipbook.See Fig. 4, this device comprises: replication module 41, present module 42 and stickup module 43, wherein,
Replication module 41, for receiving replicate run instruction, by data Replica corresponding for described replicate run instruction to being used for the clipbook storing multiple data;
In the embodiment of the present invention, replicate run instruction can be the instruction that user presses the shortcut event triggering output of Ctrl+C simultaneously, also can be that user is operated by right button, choose copy control and trigger the instruction exported from the right-click menu hurdle ejected.
As an embodiment, the data acquisition toroidal memory that clipbook stores described replicate run instruction corresponding realizes.
Presenting module 42, for receiving paste operation instruction, each data copied in described clipbook being presented with thumbnail respectively;
In the embodiment of the present invention, paste operation instruction can be the instruction that user presses the shortcut event triggering output of Ctrl+V simultaneously, also can be that user is operated by right button, choose paste control and trigger the instruction exported from the right-click menu hurdle ejected.
Data corresponding for described thumbnail to be pasted, for extracting the thumbnail to be pasted chosen from the thumbnail presented, are pasted by stickup module 43.
In the embodiment of the present invention, as an embodiment, described thumbnail is realized by Windows layer window.
As an embodiment, Fig. 5 is the replication module structural representation of the embodiment of the present invention.See Fig. 5, this replication module comprises: monitoring means 51 and copied cells 52, wherein,
Monitoring means 51, for after Windows os starting, triggers the clipbook script monitor user ' operational order injected in advance;
In the embodiment of the present invention, as an embodiment, monitoring means 51 comprises: inject subelement, upgrade subelement and monitoring subelement (not shown), wherein,
Inject subelement, for injecting the clipbook script engine pre-set in Windows operating system;
Upgrade subelement, for after Windows os starting, trigger described clipbook script engine and download the clipbook script of latest edition from the high in the clouds pre-set and upgrade the clipbook script stored;
Monitoring subelement, for the clipbook script injection script language interpreter that will upgrade, carries out performing described clipbook script, monitor user ' operational order after semanteme is resolved to the clipbook script injected to make script language interpreter.
In the embodiment of the present invention, as an embodiment, the described clipbook script engine of described triggering downloads the clipbook script of latest edition from the high in the clouds pre-set and the clipbook script of renewal storage comprises:
Described clipbook script engine obtains the version information of the clipbook script of current storage, is carried in update request, sends to high in the clouds;
Reception high in the clouds foundation is carried at the update request response that the version information in described update request returns, if carry clipbook script in the response of described update request, upgrades the clipbook script of storage.
Copied cells 52, if user operation instruction is replicate run instruction, by data Replica corresponding for described replicate run instruction to being used for the clipbook storing multiple data, and arranges according to the strategy pre-set in described clipbook script.
In the embodiment of the present invention, as an embodiment, copied cells 52 comprises: judgment sub-unit, replicon unit, summary info generate subelement, thumbnail generates subelement and arrangement subelement (not shown), wherein,
Judgment sub-unit, for judging whether user operation instruction is replicate run instruction, if user operation instruction is replicate run instruction, notice replicon unit;
Replicon unit, for reception notification, by data Replica corresponding for described replicate run instruction to being used for the clipbook storing multiple data;
Summary info generates subelement, for generating the summary info of data corresponding to described replicate run instruction;
Thumbnail generates subelement, for generating the thumbnail of data corresponding to described replicate run instruction according to summary info;
Arrangement subelement, for being arranged in the first place of copying data arranged by described thumbnail.
In the embodiment of the present invention, as an embodiment, copied cells 52 comprises further:
Query processing subelement, for concentrating at the summary info copying data corresponding arranged, whether inquiry exists the summary info identical with the summary info generated, if existed, do not deal with, if there is no, store the summary info of described generation, notice thumbnail generates subelement.
In the embodiment of the present invention, as an embodiment, Fig. 6 is stickup module structural representation of the invention process.See Fig. 6, this stickup module comprises: paste the first monitoring means 61, paste the second monitoring means 62 and application unit 63, wherein,
Paste the first monitoring means 61, for press Ctrl+V user shortcut after, the V key number of times pressed when monitor user ' does not unclamp Ctrl, often monitor user and press V key next time, thumbnail to be pasted is displaced downwardly to next thumbnail from current thumbnail figure, described in press the shortcut of Ctrl+V corresponding thumbnail to be pasted be first thumbnail presented;
Paste the second monitoring means 62, for after monitoring user and unclamping the shortcut of Ctrl+V, notice application unit;
Application unit 63, for reception notification, chooses the thumbnail that the V key pressed for the last time is corresponding, data corresponding for thumbnail corresponding for the described V key pressed for the last time is pasted.
In the embodiment of the present invention, as an embodiment, stickup module 43 can further include:
Time interval processing unit 64, for obtaining the time interval of the secondary V key pressed before and after stickup first monitoring means 61, if the time interval obtained is in the time interval threshold range pre-set, notice stickup first monitoring means 61 performs described step thumbnail to be pasted being displaced downwardly to next thumbnail from current thumbnail figure, otherwise, do not deal with.
As another embodiment, stickup module 43 comprises: unit (not shown) is chosen in stickup monitoring means and stickup, wherein,
Paste monitoring means, for choose paste event triggering output order user after, in the time threshold pre-set, monitor user ' is clicked and is chosen thumbnail to be pasted from the thumbnail presented, if do not monitor the click selection operation of user in described time threshold, unit is chosen in notice stickup;
Unit is chosen in stickup, pastes for data user being clicked for the last time the thumbnail chosen corresponding.
In the embodiment of the present invention, as an embodiment, described device can further include:
Order module 44, for moving to first in the thumbnail presented by thumbnail to be pasted described in clipbook.
The embodiment of the present invention also provides a kind of electronic equipment, and described electronic equipment comprises the device described in aforementioned any embodiment.
Fig. 7 is the structural representation of an electronic equipment of the present invention embodiment, the flow process of Fig. 1-6 illustrated embodiment of the present invention can be realized, as shown in Figure 7, above-mentioned electronic equipment can comprise: housing 71, processor 72, storer 73, circuit board 74 and power circuit 75, wherein, circuit board 74 is placed in the interior volume that housing 71 surrounds, and processor 72 and storer 73 are arranged on circuit board 74; Power circuit 75, for powering for each circuit of above-mentioned electronic equipment or device; Storer 73 is for stores executable programs code; Processor 72 runs the program corresponding with executable program code by reading the executable program code stored in storer 73, prevents file by the method for maliciously editing for performing described in aforementioned any embodiment.
The step that the concrete implementation of processor 72 pairs of above-mentioned steps and processor 72 perform further by running executable program code, see the description of Fig. 1-3 illustrated embodiment of the present invention, can not repeat them here.
This electronic equipment exists in a variety of forms, includes but not limited to:
(1) mobile communication equipment: the feature of this kind equipment possesses mobile communication function, and to provide speech, data communication for main target.This Terminal Type comprises: smart mobile phone (such as iPhone), multimedia handset, functional mobile phone, and low-end mobile phone etc.
(2) super mobile personal computer equipment: this kind equipment belongs to the category of personal computer, has calculating and processing capacity, generally also possesses mobile Internet access characteristic.This Terminal Type comprises: PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device: this kind equipment can show and play multimedia data.This kind equipment comprises: audio frequency, video player (such as iPod), handheld device, e-book, and intelligent toy and portable car-mounted navigator.
(4) server: the equipment that calculation services is provided, the formation of server comprises processor, hard disk, internal memory, system bus etc., server and general computer architecture similar, but owing to needing to provide highly reliable service, therefore require higher in processing power, stability, reliability, security, extensibility, manageability etc.
(5) other have the electronic installation of data interaction function.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (10)

1. based on a data manipulation method for clipbook, it is characterized in that, the method comprises:
Receive replicate run instruction, by data Replica corresponding for described replicate run instruction to being used for the clipbook storing multiple data;
Receive paste operation instruction, each data copied in described clipbook are presented with thumbnail respectively;
Extract the thumbnail to be pasted chosen from the thumbnail presented, data corresponding for described thumbnail to be pasted are pasted.
2. method according to claim 1, is characterized in that, described reception replicate run instruction, comprises data Replica corresponding for described replicate run instruction to the clipbook being used for storing multiple data:
After Windows os starting, trigger the clipbook script monitor user ' operational order injected in advance;
If user operation instruction is replicate run instruction, by data Replica corresponding for described replicate run instruction to being used for the clipbook storing multiple data, and arrange according to the strategy pre-set in described clipbook script.
3. method according to claim 2, is characterized in that, described after Windows os starting, triggers the clipbook script monitor user ' operational order injected in advance and comprises:
The clipbook script engine pre-set is injected in Windows operating system;
After Windows os starting, trigger described clipbook script engine and download the clipbook script of latest edition from the high in the clouds pre-set and upgrade the clipbook script stored;
By the clipbook script injection script language interpreter upgraded, carry out performing described clipbook script, monitor user ' operational order after semanteme is resolved to the clipbook script injected to make script language interpreter.
4. method according to claim 3, is characterized in that, the described clipbook script engine of described triggering downloads the clipbook script of latest edition from the high in the clouds pre-set and the clipbook script of renewal storage comprises:
Described clipbook script engine obtains the version information of the clipbook script of current storage, is carried in update request, sends to high in the clouds;
Reception high in the clouds foundation is carried at the update request response that the version information in described update request returns, if carry clipbook script in the response of described update request, upgrades the clipbook script of storage.
5. method according to claim 2, is characterized in that, the described strategy according to pre-setting in described clipbook script carries out arrangement and comprises:
Generate the summary info of data corresponding to described replicate run instruction, generate the thumbnail of data corresponding to described replicate run instruction according to summary info, described thumbnail is arranged in the first place of copying data arranged.
6. method according to claim 5, it is characterized in that, after the summary info of data corresponding to described generation described replicate run instruction, before generating the thumbnail of data corresponding to described replicate run instruction according to summary info, described method comprises further:
Concentrate at summary info corresponding to data that copy arranged, whether inquiry exists the summary info identical with the summary info generated, if existed, do not deal with, if there is no, store the summary info of described generation, perform the described step generating the thumbnail of data corresponding to described replicate run instruction according to summary info.
7. method according to claim 1, is characterized in that, described thumbnail is realized by Windows layer window.
8. the method according to any one of claim 1 to 7, is characterized in that, the thumbnail to be pasted that described extraction is chosen from the thumbnail presented, and data corresponding for described thumbnail to be pasted is carried out stickup and comprises:
Press the shortcut of Ctrl+V user after, the V key number of times pressed when monitor user ' does not unclamp Ctrl, often monitor user and press V key next time, thumbnail to be pasted is displaced downwardly to next thumbnail from current thumbnail figure, described in press the shortcut of Ctrl+V corresponding thumbnail to be pasted be first thumbnail presented;
Monitor after user unclamps the shortcut of Ctrl+V, choose the thumbnail that the V key pressed for the last time is corresponding, data corresponding for thumbnail corresponding for the described V key pressed for the last time are pasted.
9. method according to claim 8, is characterized in that, described thumbnail to be pasted is displaced downwardly to next thumbnail from current thumbnail figure before, described method comprises further:
Obtain the time interval of the V key that front and back time are pressed, if the time interval obtained, in the time interval threshold range pre-set, performs described step thumbnail to be pasted being displaced downwardly to next thumbnail from current thumbnail figure, otherwise, do not deal with.
10. the method according to any one of claim 1 to 7, is characterized in that, the thumbnail to be pasted that described extraction is chosen from the thumbnail presented, and data corresponding for described thumbnail to be pasted is carried out stickup and comprises:
After user chooses paste event triggering output order, in the time threshold pre-set, monitor user ' is clicked and is chosen thumbnail to be pasted from the thumbnail presented, if do not monitor the click selection operation of user in described time threshold, data user being clicked for the last time the thumbnail chosen corresponding are pasted.
CN201510732370.9A 2015-11-02 2015-11-02 Data operation method and device based on clipboard and electronic equipment Active CN105354097B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510732370.9A CN105354097B (en) 2015-11-02 2015-11-02 Data operation method and device based on clipboard and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510732370.9A CN105354097B (en) 2015-11-02 2015-11-02 Data operation method and device based on clipboard and electronic equipment

Publications (2)

Publication Number Publication Date
CN105354097A true CN105354097A (en) 2016-02-24
CN105354097B CN105354097B (en) 2018-10-19

Family

ID=55330071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510732370.9A Active CN105354097B (en) 2015-11-02 2015-11-02 Data operation method and device based on clipboard and electronic equipment

Country Status (1)

Country Link
CN (1) CN105354097B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868034A (en) * 2016-04-19 2016-08-17 乐视控股(北京)有限公司 Man-machine interaction method, man-machine interaction device and mobile equipment
CN106201746A (en) * 2016-07-21 2016-12-07 东莞酷派软件技术有限公司 A kind of data editing method based on shear plate and device
CN107506112A (en) * 2017-08-31 2017-12-22 北京安云世纪科技有限公司 Data processing method, device and terminal device
WO2019024001A1 (en) * 2017-08-02 2019-02-07 深圳传音通讯有限公司 Management method and management system for clipboard of smart device
CN109564531A (en) * 2016-08-08 2019-04-02 微软技术许可有限责任公司 It is interacted with clipbook repository
CN110309004A (en) * 2019-06-25 2019-10-08 维沃移动通信有限公司 The processing method and terminal of data
CN111026559A (en) * 2018-10-09 2020-04-17 奇酷互联网络科技(深圳)有限公司 Terminal, method for copying and pasting data thereof and device with storage function
CN111796952A (en) * 2020-08-12 2020-10-20 Oppo(重庆)智能科技有限公司 Content operation method and device and computer readable storage medium
CN112395109A (en) * 2020-11-19 2021-02-23 三星电子(中国)研发中心 Clipboard content processing method and device
CN114201258A (en) * 2021-12-10 2022-03-18 金蝶软件(中国)有限公司 Copy and paste method, device, computer equipment and storage medium
CN114201258B (en) * 2021-12-10 2024-06-07 金蝶软件(中国)有限公司 Copy and paste method, apparatus, computer device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6961907B1 (en) * 1996-07-03 2005-11-01 International Business Machines Corporation “Append” extension to cut and copy commands for a clipboard function in a computer system
CN102262565A (en) * 2010-05-28 2011-11-30 腾讯科技(深圳)有限公司 Method and equipment for cross-program application of clipboard
CN103020029A (en) * 2012-11-30 2013-04-03 珠海金山办公软件有限公司 Clipboard content displaying method, system and device
CN103019814A (en) * 2012-11-21 2013-04-03 北京荣之联科技股份有限公司 System and method for managing shear plate
CN103617154A (en) * 2013-11-29 2014-03-05 百度在线网络技术(北京)有限公司 Method and device for having control over content paste operation
CN104317566A (en) * 2014-09-26 2015-01-28 北京国双科技有限公司 Data reproduction processing method and device for software interface
CN104346092A (en) * 2013-08-01 2015-02-11 腾讯科技(深圳)有限公司 Method and device used for displaying clipboard contents at mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6961907B1 (en) * 1996-07-03 2005-11-01 International Business Machines Corporation “Append” extension to cut and copy commands for a clipboard function in a computer system
CN102262565A (en) * 2010-05-28 2011-11-30 腾讯科技(深圳)有限公司 Method and equipment for cross-program application of clipboard
CN103019814A (en) * 2012-11-21 2013-04-03 北京荣之联科技股份有限公司 System and method for managing shear plate
CN103020029A (en) * 2012-11-30 2013-04-03 珠海金山办公软件有限公司 Clipboard content displaying method, system and device
CN104346092A (en) * 2013-08-01 2015-02-11 腾讯科技(深圳)有限公司 Method and device used for displaying clipboard contents at mobile terminal
CN103617154A (en) * 2013-11-29 2014-03-05 百度在线网络技术(北京)有限公司 Method and device for having control over content paste operation
CN104317566A (en) * 2014-09-26 2015-01-28 北京国双科技有限公司 Data reproduction processing method and device for software interface

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868034A (en) * 2016-04-19 2016-08-17 乐视控股(北京)有限公司 Man-machine interaction method, man-machine interaction device and mobile equipment
CN106201746A (en) * 2016-07-21 2016-12-07 东莞酷派软件技术有限公司 A kind of data editing method based on shear plate and device
CN109564531A (en) * 2016-08-08 2019-04-02 微软技术许可有限责任公司 It is interacted with clipbook repository
CN109564531B (en) * 2016-08-08 2023-11-28 微软技术许可有限责任公司 Clipboard repository interaction
WO2019024001A1 (en) * 2017-08-02 2019-02-07 深圳传音通讯有限公司 Management method and management system for clipboard of smart device
CN107506112A (en) * 2017-08-31 2017-12-22 北京安云世纪科技有限公司 Data processing method, device and terminal device
CN111026559A (en) * 2018-10-09 2020-04-17 奇酷互联网络科技(深圳)有限公司 Terminal, method for copying and pasting data thereof and device with storage function
CN111026559B (en) * 2018-10-09 2023-10-03 奇酷互联网络科技(深圳)有限公司 Terminal, method for copying and pasting data of terminal and device with storage function
CN110309004A (en) * 2019-06-25 2019-10-08 维沃移动通信有限公司 The processing method and terminal of data
CN111796952A (en) * 2020-08-12 2020-10-20 Oppo(重庆)智能科技有限公司 Content operation method and device and computer readable storage medium
CN112395109A (en) * 2020-11-19 2021-02-23 三星电子(中国)研发中心 Clipboard content processing method and device
CN114201258A (en) * 2021-12-10 2022-03-18 金蝶软件(中国)有限公司 Copy and paste method, device, computer equipment and storage medium
CN114201258B (en) * 2021-12-10 2024-06-07 金蝶软件(中国)有限公司 Copy and paste method, apparatus, computer device and storage medium

Also Published As

Publication number Publication date
CN105354097B (en) 2018-10-19

Similar Documents

Publication Publication Date Title
CN105354097A (en) Data operation method and device based on clipboard and electronic equipment
US9367403B2 (en) Terminal and application restoring method
CN102968338A (en) Method and device for classifying application program of electronic equipment and electronic equipment
CN103092604A (en) Application program classification method and device
CN105701398A (en) Method and device for opening auxiliary function permission and electronic equipment
CN105550252A (en) File positioning method and device and electronic equipment
CN106095458A (en) The management method of plug-in unit and device in a kind of application program
CN102779151A (en) Searching method , device and system for application program
CN111490927B (en) Method, device and equipment for displaying message
CN102984357B (en) Contact person information managing method and managing device
CN104090781A (en) Method and device for processing upgrading information
CN106776908B (en) Data cleaning method and device and terminal
CN105573587A (en) Icon management method and device
CN104484482A (en) Webpage information updating method and system of network platform
CN105468419A (en) Method and device for realizing broadcast based on application software and electronic equipment
CN112363871A (en) Data file returning method, device and storage medium
CN105843824A (en) Multi-object copy method and device
CN113127432A (en) Operation execution method, device, electronic equipment and medium
CN109656444A (en) List localization method, device, equipment and storage medium
CN103593233A (en) Method and system for pushing software information
CN112652302B (en) Voice control method, device, terminal and storage medium
CN108334330A (en) Using discharging method, device, storage medium and electronic equipment
CN111796747A (en) Multi-open application processing method and device and electronic equipment
CN105335195A (en) Device driver upgrading method and device and electronic device
CN101470609A (en) Software upgrading method, system and electronic equipment thereof

Legal Events

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