Summary of the invention
The purpose of the embodiment of the present invention is to provide a kind of data method of attaching and device, to improve sticking efficiency,
Improve Consumer's Experience effect.
For reaching above-mentioned purpose, the embodiment of the invention discloses a kind of data method of attaching, in memory space
Allocate in advance and store the different memory space replicating data for simultaneously;Method includes:
Receive and paste instruction;
After receiving stickup instruction, stored in the described memory space of display at paste position is each
Replicate the data message that data are corresponding;
Receive user's selection instruction for shown data message;
Select instruction according to described, determine data to be pasted;
At paste position, data to be pasted determined by stickup.
It is also preferred that the left the identification information that described duplication data are file or catalogue;
Described according to described select instruction, determine data to be pasted, including:
According to described select instruction, by user select data message corresponding, in described memory space store
File corresponding to identification information or catalogue, be defined as data to be pasted.
It is also preferred that the left described duplication data are not the identification information of file or catalogue;
Described according to described select instruction, determine data to be pasted, including:
According to described select instruction, by user select data message corresponding, in described memory space store
Duplication data itself, be defined as data to be pasted.
It is also preferred that the left further menu at " right button menu " " pastes " that to be provided for display in item described in advance
The second-level menu item of the data message that each duplication data of being stored in memory space are corresponding;
The data that the described each duplication data stored in the described memory space of display at paste position are corresponding
Information, including:
At described paste position, show that the further menu of " right button menu " " pastes " the second-level menu item of item,
Described second-level menu item includes the data letter that each duplication data of being stored in described memory space are corresponding
Breath.
It is also preferred that the left described method also includes:
Receive user's flush instructions for described memory space;
After receiving described flush instructions, delete the duplication data of storage in described memory space.
For reaching above-mentioned purpose, the embodiment of the invention discloses a kind of data sticker, including: storage sky
Between distribute module, paste command reception module, data message display module, select command reception module, number
According to determining module and stickup module, wherein,
Described memory allocation module, stores difference again for allocating in advance in memory space for simultaneously
The memory space of data processed;
Described stickup command reception module, is used for receiving stickup instruction;
Described data message display module, pastes instruction for receiving in described stickup command reception module
After, stored in the memory space of the described memory allocation module assignment of display at paste position is each
Replicate the data message that data are corresponding;
Described selection command reception module, for receiving what user showed for described data message display module
The selection instruction of data message;
Described data determining module, for the selection instruction received according to described selection command reception module, really
Fixed data to be pasted;
Described stickup module, at paste position, that pastes that described data determining module determines is to be pasted
Data.
It is also preferred that the left the identification information that described duplication data are file or catalogue;Described data determining module, tool
Body is used for:
The selection instruction received according to described selection command reception module, data message user selected is corresponding
, the file corresponding to identification information of storage or catalogue in described memory space, be defined as data to be pasted.
It is also preferred that the left described duplication data are not the identification information of file or catalogue;Described data determining module,
Specifically for:
The selection instruction received according to described selection command reception module, data message user selected is corresponding
, in described memory space storage duplication data itself, be defined as data to be pasted.
It is also preferred that the left described device also includes: second-level menu item arranges module,
Described second-level menu item arranges module, " pastes " for further menu at " right button menu " in advance
It is provided for showing the two of data message corresponding to each duplication data stored in described memory space in Xiang
Level menu item;
Described data message display module, specifically for:
After described stickup command reception module receives stickup instruction, show " right at described paste position
Key menu " further menu " paste " the second-level menu item of item, described second-level menu item include described in deposit
Store up the data message that each duplication data stored in space are corresponding.
It is also preferred that the left described device also includes: flush instructions receiver module and removing module, wherein,
Described flush instructions receiver module, for receiving user's flush instructions for described memory space;
Described removing module, for after described flush instructions receiver module receives flush instructions, deletes
The duplication data of storage in described memory space.
As seen from the above technical solutions, embodiments provide a kind of data method of attaching and device,
Memory space is allocated in advance and stores the different memory space replicating data for simultaneously;Method includes: connect
Receive and paste instruction;After receiving stickup instruction, show in described memory space at paste position and deposited
The data message corresponding to each duplication data of storage;Reception user refers to for the selection of shown data message
Order;Select instruction according to described, determine data to be pasted;At paste position, wait determined by stickup to glue
Patch data.Application the embodiment of the present invention provide technical scheme, when user position a cursor over position to be pasted,
After instruction is pasted in input, showing the different duplication corresponding data message of data at paste position, user selects
Data message, can paste.Without making mouse focus move back in documents editing region and clipbook
Dynamic, improve sticking efficiency, improve Consumer's Experience effect.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation
The every other embodiment obtained under property work premise, broadly falls into the scope of protection of the invention.
Below by specific embodiment, the present invention is described in detail.
In actual applications, need to allocate in advance in memory space and store different duplication number for simultaneously
According to memory space.
The first schematic flow sheet of the data method of attaching that Fig. 1 provides for the embodiment of the present invention;May include that
S101: receive and paste instruction;
S102: show the number that each duplication data stored in described memory space are corresponding at paste position
It is believed that breath;
S103: receive user's selection instruction for shown data message;
S104: select instruction according to described, determine data to be pasted;
S105: at paste position, data to be pasted determined by stickup.
Exemplary, it is assumed that allocate in advance in internal memory and stored the different storage sky replicating data for simultaneously
Between, the duplication data being currently stored in memory space are respectively as follows: the application embodiment of the present invention, data are pasted
Method, data sticker.
Receive and paste instruction, after receiving stickup instruction, at paste position, show institute in memory space
The data message of " the application embodiment of the present invention " of storage, the data message of " data method of attaching " and " number
According to sticker " data message.In actual applications, data message can be to replicate data itself, also
Can be to comprise part to replicate the data of data.The concrete manifestation form of data message is not limited by the application
Fixed, any possible mode is all applied in the application.Assume the data message of display at paste position
As follows:
You please be select to carry out the data pasted:
1, the application embodiment of the present invention
2, data method of attaching
3, data sticker
In actual applications, it is also possible to the further menu at " right button menu " " is pasted " in item and arranged in advance
For showing the second-level menu of data message corresponding to each duplication data stored in described memory space
, at paste position, show that the further menu of " right button menu " " pastes " the second-level menu item of item, two
Level menu item includes the data message that each duplication data of being stored in memory space are corresponding.
Exemplary, when user utilizes " stickup " item in " right button menu " to paste, " stickup " item
Lower display second-level menu item, such as, second-level menu item is as follows:
Paste default content (the application embodiment of the present invention)
Content 2 (data method of attaching)
Content 3 (data sticker)
After the position video data information pasted, user can select in shown data message
Select, it is assumed that user have selected " data method of attaching ", then " data method of attaching " is defined as number to be pasted
According to, at paste position, paste " data method of attaching ".
In actual applications, it is also possible to the further menu at " right button menu " " replicates " item and " shearing "
Second-level menu item is set under Xiang, " pastes " second-level menu item phase under item with the further menu of " right button menu "
Corresponding.
In actual applications, replicate the identification information that data can be file or catalogue, can refer to according to selection
Order, the literary composition that data message is corresponding, in described memory space, the identification information of storage is corresponding that user is selected
Part or catalogue, be defined as data to be pasted.
Concrete, identification information can be store path, it is also possible to for storage address.Assume that replicating data is
File or the store path of catalogue, the duplication data being currently stored in memory space are respectively as follows:
“C:\Windows\System32\drivers\disk.sys”、“C:\Windows\System32\en”。
Assume user select " C: Windows System32 drivers disk.sys ", then by Windows under C dish
Under catalogue, under System32 catalogue, the disk.sys file under drivers catalogue is defined as data to be pasted, viscous
Disk.sys file is pasted in patch position.
Assume user select " C: Windows System32 en ", then by under windows directory under C dish
The catalogue of the entitled en under System32 catalogue, is defined as data to be pasted, pastes en at paste position
Catalogue.
In actual applications, replicate the identification information that data can not be file or catalogue, can be in document
Certain section of word content, a certain picture etc. in document, i.e. replicate data can be user replicate operate or cut
Cut the object corresponding to operation itself, in the case, when carrying out pasting data and being determined, Ke Yizhi
Connect the duplication data itself that data message user selected is corresponding, store in memory space, be defined as treating
Pasting data.
It should be noted that Word clipbook of the prior art, only can be by be pasted in clipbook
Hold in the different assemblies being applied under same application, such as: Excel, PowerPoint etc.;And can not
To be applied in other application programs, paste in other application programs, can only paste last multiple
System or the data sheared, such as, be pasted onto in Word the data replicated in notepad.
The technical scheme that the application provides, can apply to carry out the most different at the first application program continuously
Replicate, the second application program carries out the scene pasted, and without replicating once in the first application program,
Second application program is pasted once, replicate and paste cycle alternation successively.Improve sticking efficiency, carry
High Consumer's Experience effect.
Apply embodiment illustrated in fig. 1 of the present invention, when user positions a cursor over position to be pasted, input stickup
After instruction, showing the different duplication corresponding data message of data at paste position, user-selected number it is believed that breath,
Can paste.Without making mouse focus move back and forth in documents editing region and clipbook, improve
Sticking efficiency, improves Consumer's Experience effect.
The second schematic flow sheet of the data method of attaching that Fig. 2 provides for the embodiment of the present invention;Fig. 2 of the present invention
Illustrated embodiment increases following two step on the basis of embodiment illustrated in fig. 1:
S106: receive user's flush instructions for described memory space;
S107: delete the duplication data of storage in described memory space.
Exemplary, when user need not carry out data stickup again, it is possible to release memory space, will storage
The data deletion of storage in space;Now user can send flush instructions for memory space, receives use
After family is for the flush instructions of memory space, the duplication data of storage in deletion memory space, Free up Memory,
To improve the utilization rate of memory space.
Applying embodiment illustrated in fig. 2 of the present invention, when user need not carry out data stickup again, user is permissible
The duplication data deletion that will store in memory space, improves the utilization rate of memory space.
Corresponding with above-mentioned embodiment of the method, the embodiment of the present invention additionally provides data sticker.
The first structural representation of the data sticker that Fig. 3 provides for the embodiment of the present invention;May include that
Memory allocation module 201, stickup command reception module 202, data message display module 203, selection refer to
Make receiver module 204, data determining module 205 and stickup module 206, wherein,
Memory allocation module 201, stores different duplication for allocating in advance in memory space for simultaneously
The memory space of data;
Paste command reception module 202, be used for receiving stickup instruction;
Data message display module 203, after receiving stickup instruction in stickup command reception module 202,
The each duplication stored in the memory space of described memory allocation module assignment is shown at paste position
The data message that data are corresponding;
Select command reception module 204, for receiving the number that user shows for data message display module 203
It is believed that the selection instruction of breath;
Data determining module 205, for according to the selection instruction selecting command reception module 204 to receive, determining
Data to be pasted;
Described duplication data are the identification information of file or catalogue, the data determining module of the embodiment of the present invention
205, specifically may be used for:
According to the selection instruction selecting command reception module 204 to receive, data message user selected is corresponding
, the file corresponding to identification information of storage or catalogue in described memory space, be defined as data to be pasted.
Described duplication data are not the identification information of file or catalogue, the data determining module of the embodiment of the present invention
205, specifically may be used for:
According to the selection instruction selecting command reception module 204 to receive, data message user selected is corresponding
, in described memory space storage duplication data itself, be defined as data to be pasted.
Stickup module 206, at paste position, pastes the number to be pasted that described data determining module determines
According to.
Apply embodiment illustrated in fig. 3 of the present invention, when user positions a cursor over position to be pasted, input stickup
After instruction, showing the different duplication corresponding data message of data at paste position, user-selected number it is believed that breath,
Can paste.Without making mouse focus move back and forth in documents editing region and clipbook, improve
Sticking efficiency, improves Consumer's Experience effect.
The second structural representation of the data sticker that Fig. 4 provides for the embodiment of the present invention;Fig. 4 of the present invention
Illustrated embodiment increases on the basis of embodiment illustrated in fig. 3: second-level menu item arranges module 207,
Second-level menu item arranges module 207, " pastes " item for further menu at " right button menu " in advance
In be provided for showing two grades of data message corresponding to each duplication data stored in described memory space
Menu item;
The data message display module 203 of the embodiment of the present invention, specifically may be used for:
After pasting command reception module 202 and receiving stickup instruction, show " right at described paste position
Key menu " further menu " paste " the second-level menu item of item, described second-level menu item include described in deposit
Store up the data message that each duplication data stored in space are corresponding.
Applying embodiment illustrated in fig. 4 of the present invention, the further menu of " right button menu " " is pasted " and is comprised use under item
The second-level menu item of the data message that each duplication data of being stored are corresponding in display memory space;When with
When family utilizes " stickup " item in " right button menu " to paste, under " stickup ", show second-level menu item,
User selects data message in shown second-level menu item, improves Consumer's Experience effect.
The third structural representation of the data sticker that Fig. 5 provides for the embodiment of the present invention;Fig. 5 of the present invention
Illustrated embodiment increases on the basis of embodiment illustrated in fig. 3: flush instructions receiver module 208 and deletion mould
Block 209, wherein,
Flush instructions receiver module 208, for receiving user's flush instructions for described memory space;
Removing module 209, for after flush instructions receiver module 208 receives flush instructions, deletes institute
State the duplication data of storage in memory space.
Applying embodiment illustrated in fig. 5 of the present invention, when user need not carry out data stickup again, user is permissible
The duplication data deletion that will store in memory space, improves the utilization rate of memory space.
It should be noted that in this article, the relational terms of such as first and second or the like be used merely to by
One entity or operation separate with another entity or operating space, and not necessarily require or imply these
Relation or the order of any this reality is there is between entity or operation.And, term " includes ", " comprising "
Or its any other variant is intended to comprising of nonexcludability, so that include the mistake of a series of key element
Journey, method, article or equipment not only include those key elements, but also other including being not expressly set out
Key element, or also include the key element intrinsic for this process, method, article or equipment.Do not having
In the case of more restrictions, statement " including ... " key element limited, it is not excluded that including described wanting
Process, method, article or the equipment of element there is also other identical element.
Each embodiment in this specification all uses relevant mode to describe, phase homophase between each embodiment
As part see mutually, what each embodiment stressed is the difference with other embodiments.
For device embodiment, owing to it is substantially similar to embodiment of the method, so the comparison described
Simply, relevant part sees the part of embodiment of the method and illustrates.
One of ordinary skill in the art will appreciate that all or part of step realizing in said method embodiment
The program that can be by completes to instruct relevant hardware, and described program can be stored in computer-readable
Take in storage medium, the storage medium obtained designated herein, such as: ROM/RAM, magnetic disc, CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit protection scope of the present invention.
All any modification, equivalent substitution and improvement etc. made within the spirit and principles in the present invention, are all contained in
In protection scope of the present invention.