CN107291564A - Information copying and pasting method and device and electronic equipment - Google Patents

Information copying and pasting method and device and electronic equipment Download PDF

Info

Publication number
CN107291564A
CN107291564A CN201710425944.7A CN201710425944A CN107291564A CN 107291564 A CN107291564 A CN 107291564A CN 201710425944 A CN201710425944 A CN 201710425944A CN 107291564 A CN107291564 A CN 107291564A
Authority
CN
China
Prior art keywords
information
target window
replicated
target
page
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
CN201710425944.7A
Other languages
Chinese (zh)
Other versions
CN107291564B (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 CN201710425944.7A priority Critical patent/CN107291564B/en
Publication of CN107291564A publication Critical patent/CN107291564A/en
Application granted granted Critical
Publication of CN107291564B publication Critical patent/CN107291564B/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)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides an information copying and pasting method, an information copying and pasting device and electronic equipment, wherein the method comprises the following steps: receiving a replication instruction, wherein the replication instruction carries replicated information; displaying a target window in the page, wherein the target window displays copied information; searching an editable area on a page when the dragging operation of the target window is detected; when the fact that the dragging operation is stopped being executed on the target window is detected, selecting a target area from the searched editable areas according to the distance between the end position of the dragging operation and the target window; the copied information is pasted to the target area. The method realizes that the copied information is displayed through the target window and pasted to the target area in the searched editable area, and solves the technical problems that the copied information cannot be displayed and the copy and paste cannot be carried out due to conventional copy and paste operations such as long press, double click and the like in the prior art.

Description

Information replicates method of attaching, device and electronic equipment
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of duplication method of attaching, device and electronic equipment.
Background technology
When in daily life using mobile terminals such as mobile phone, tablet personal computers, often use duplication and paste.Conventional It is the duplication operation for receiving user to replicate the process pasted, and Copy Info is stored in the clipbook of system, further takes out and cuts Information stickup in pasting board is in the target area.
But, because system clipboard can only at most deposit an information, therefore the history duplication letter of user can not be provided Breath, so that it is comparatively laborious, not smooth enough to replicate paste operation.
The content of the invention
It is contemplated that at least solving one of technical problem in correlation technique to a certain extent.
Therefore, first purpose of the present invention is to propose that a kind of information replicates method of attaching, to realize that display has been replicated Information, and the target area pasted it into the editable region searched, solution is unable to displaying duplication in the prior art The technical problem of stickup can not be replicated caused by information, and conventional paste operation.
Second object of the present invention is to propose that a kind of information replicates sticker.
Third object of the present invention is to propose a kind of electronic equipment.
Fourth object of the present invention is to propose a kind of non-transitorycomputer readable storage medium.
The 5th purpose of the present invention is to propose a kind of computer program product.
For up to above-mentioned purpose, first aspect present invention embodiment proposes a kind of information and replicates method of attaching, including:Receive The information replicated is carried in duplicate instructions, duplicate instructions;The display target window in the page, wherein, target window is shown The information replicated;When detecting the drag operation to target window, in page search editable region;When detecting to mesh , can from what is searched according to the distance of the final position of drag operation and target window when marking window stopping execution drag operation Selection target region in editing area;By the information stickup replicated to target area.
Alternatively, as the first possible implementation of first aspect, after reception duplicate instructions, in addition to:It is raw Into the timestamp of duplicate instructions;By the information replicated carried in duplicate instructions, and timestamp is as history duplicated record, Store into system clipboard database.
Alternatively, as second of possible implementation of first aspect, in the page before display target window, also Including:Call and redraw target window, wherein, target window includes region and the control for being used to show the information replicated, Control is used for the history duplicated record in look-up system clipboard data storehouse.
Alternatively, as the third possible implementation of first aspect, target window is stopped to perform when detecting After drag operation, in addition to:If detecting the operation that history duplicated record is consulted and selected by control, by selected history Duplicated record affixes to target area.
Alternatively, as the 4th kind of possible implementation of first aspect, after page search editable region, also Including:If detecting during performing drag operation to target window, editable region is not searched in the page, stops display Target window.
Alternatively, as the 5th kind of possible implementation of first aspect, by the information stickup replicated to target area Domain, including:The interface in invocation target region;By interface, by the information replicated with the corresponding form in target area, affix to Target area.
The information of the embodiment of the present invention replicates method of attaching, and the duplicate instructions of the information replicated are carried by first receiving, Then the display target window in the page, target window shows the information replicated, when detecting the behaviour of the dragging to target window When making, editable region is searched in the page, when detecting to target window stopping execution drag operation, according to drag operation Final position and target window distance, the selection target region from the editable region searched, and by the letter replicated Breath affixes to the target area.Hereby it is achieved that show the information replicated by target window, and paste it into and search Editable region in target area, solve and be unable to displaying duplication information in the prior art, and such as long-press, double-click it is normal The technical problem of stickup can not be replicated caused by paste operation processed by restoring to norm.
For up to above-mentioned purpose, second aspect of the present invention embodiment proposes a kind of information and replicates sticker, including:Receive Module, the information replicated is carried for receiving in duplicate instructions, duplicate instructions;Display module, for showing mesh in the page Window is marked, wherein, target window shows the information replicated;Search module, for working as the dragging detected to target window During operation, in page search editable region;Selecting module, stops performing drag operation for working as to detect to target window When, according to the distance of the final position of drag operation and target window, the selection target region from the editable region searched; Stickup module, for by the information stickup replicated to target area.
Alternatively, as the first possible implementation of second aspect, information, which replicates sticker, also to be included:Generation Module, the timestamp for generating duplicate instructions;Memory module, for by the information replicated carried in duplicate instructions, with And timestamp is as history duplicated record, store into system clipboard database.
Alternatively, as second of possible implementation of second aspect, information, which replicates sticker, also to be included:Redraw Module, for calling and redrawing target window, wherein, target window includes region and the control for being used to show the information replicated Part, control is used for the history duplicated record in look-up system clipboard data storehouse.
Alternatively, as the third possible implementation of second aspect, stickup module passes through if being additionally operable to detect Control is consulted and selectes the operation of history duplicated record, and selected history duplicated record is affixed into target area.
Alternatively, as the 4th kind of possible implementation of second aspect, display module, if being additionally operable to detect to mesh During marking window execution drag operation, editable region is not searched in the page, stops display target window.
Alternatively, as the 5th kind of possible implementation of second aspect, stickup module, including:Call unit, is used for The interface in invocation target region;Application unit, for by interface, by the information replicated with the corresponding form in target area, Affix to target area.
The information of the embodiment of the present invention replicates sticker, and the duplicate instructions of the information replicated are carried by receiving, Display target window in the page, target window shows the information replicated, when detecting the drag operation to target window, Search editable region in the page, when detecting to target window stopping execution drag operation, according to the termination of drag operation Position and the distance of target window, the selection target region from the editable region searched, and by the information stickup replicated To the target area.Hereby it is achieved that show the information replicated by target window, and paste it into compiling of searching The target area in region is collected, solves and is unable to displaying duplication information in the prior art, and such as long-press, the conventional duplication of double-click The technical problem of stickup can not be replicated caused by paste operation.
For up to above-mentioned purpose, third aspect present invention embodiment proposes electronic equipment, including:Housing, processor, storage Device, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing is surrounded, and processor and memory are arranged on On circuit board;Power circuit, for being powered for each circuit or device of above-mentioned electronic equipment;Memory is used to store executable Program code;The executable program code that processor is stored by reading in memory is corresponding with executable program code to run Program, replicate method of attaching for performing information described in first aspect.
To achieve these goals, fourth aspect present invention embodiment proposes a kind of computer-readable storage of non-transitory Medium, when the instruction in the storage medium is performed by electronics processors so that electronic equipment is able to carry out one kind Information replicates method of attaching, and methods described includes:Receive in duplicate instructions, duplicate instructions and carry the information replicated;In the page Middle display target window, wherein, target window shows the information replicated;When detecting the drag operation to target window When, in page search editable region;When detecting to target window stopping execution drag operation, according to the end of drag operation Stop bit puts the distance with target window, the selection target region from the editable region searched;By the information stickup replicated To target area.
To achieve these goals, fifth aspect present invention embodiment proposes a kind of computer program product, when described Instruction in computer program product by computing device when, perform a kind of information and replicate method of attaching, methods described includes:Connect Receive in duplicate instructions, duplicate instructions and carry the information replicated;The display target window in the page, wherein, target window is shown There is the information replicated;When detecting the drag operation to target window, in page search editable region;When detecting pair When target window stops performing drag operation, according to the distance of the final position of drag operation and target window, from what is searched Selection target region in editable region;By the information stickup replicated to target area.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Substantially and be readily appreciated that, wherein:
A kind of information that Fig. 1 is provided by the embodiment of the present invention replicates the schematic flow sheet of method of attaching;
Another information that Fig. 2 is provided by the embodiment of the present invention replicates the schematic flow sheet of method of attaching;
A kind of target window that Fig. 3 is provided by the embodiment of the present invention interacts schematic diagram;
A kind of information for specific embodiment that Fig. 4 is provided by the embodiment of the present invention replicates the flow signal of method of attaching Figure;
A kind of information that Fig. 5 is provided by the embodiment of the present invention replicates the structural representation of sticker;
Another information that Fig. 6 is provided by the embodiment of the present invention replicates the structural representation of sticker;
Another information that Fig. 7 is provided by the embodiment of the present invention replicates the structural representation of sticker;
Fig. 8 is the structural representation of electronic equipment one embodiment of the present invention.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and be not considered as limiting the invention.
Below with reference to the accompanying drawings the information for describing the embodiment of the present invention replicates method of attaching, device and electronic equipment.
When in daily life using mobile terminals such as mobile phone, tablet personal computers, often use duplication and paste.Conventional It is the duplication operation for receiving user to replicate the process pasted, and Copy Info is stored in the clipbook of system, further takes out and cuts Information stickup in pasting board is in the target area.
But, because system clipboard can only at most deposit an information, therefore the history duplication letter of user can not be provided Breath, cannot also consult history Copy Info, so that it is comparatively laborious, not smooth enough to replicate paste operation.
Therefore, the embodiment of the present invention, which provides a kind of information, replicates method of attaching, including:Receive duplicate instructions, duplicate instructions It is middle to carry the information replicated;The display target window in the page, wherein, target window shows the information replicated;Work as spy When measuring the drag target operation to target window, in page search editable region;Target window is stopped to hold when detecting During row drag operation, according to the distance of the final position of drag operation and target window, selected from the editable region searched Select target area;By the information stickup replicated to target area.
A kind of information that Fig. 1 is provided by the embodiment of the present invention replicates the schematic flow sheet of method of attaching, as shown in figure 1, Method comprises the following steps:
S101, receives in duplicate instructions, duplicate instructions and carries the information replicated.
For example, user is during mobile terminal such as mobile phone, tablet personal computer is used, it can choose and to answer by long-press operation The content of system.Now, the duplicate instructions of system clipboard generation can be received by performing the application program of the embodiment of the present invention, and should The information replicated, such as text message are carried in duplicate instructions.
S102, the display target window in the page, wherein, target window shows the information replicated.
In an embodiment of the present invention, application program is after duplicate instructions are received, the display target window in the page, and The information replicated is shown in target window.
What the embodiment of the present invention was proposed shows the information replicated by target window, and usable family conveniently knows that it is thought Whether the content to be replicated is replicated success, while improving visuality.
S103, when detecting the drag operation to target window, in page search editable region.
Wherein, editable region is the region operation such as refer to be edited, paste.
In an embodiment of the present invention, user can be by drag operation, moving target window, to realize disappearing for having replicated Breath is moved to the region to be pasted.
When detecting target window and starting dragged, mobile terminal system scans editable region in current activity Interface, and the position of the editable region in the page.Also, during target window is trailing, dynamic adjustment Position of the target window in the page.
S104, when detecting to target window stopping execution drag operation, according to the final position and mesh of drag operation Mark the distance of window, the selection target region from the editable region searched.
When user, which removes finger or finger, stops mobile, mobile terminal system, which may detect target window and be stopped, to be dragged It is dynamic, at this moment, the distance between target window position when being terminated according to the editable region searched with drag operation, selection Closest editable region is used as target area.
S105, by the information stickup replicated to target area.
Behind selection target region, the interface in invocation target region, that is, call the editable area as target area The interface in domain, by the interface, by the information replicated according to the corresponding form in target area, to affix directly to target area Domain.
For example, 10 characters of the Information commons replicated, and often row is at best able to deposit 8 characters for target area, at this moment Need the information that will have been replicated to be divided into two lines and affix to target area.And for example, do not allow the presence of spcial character in target area "/", when there is the spcial character in the information replicated, it is necessary to which the spcial character is removed after, then affix to target area.
Method of attaching in the present embodiment, it is not necessary to pasted using long-press or the mode of double-click, paste duplication It is more convenient, quick, improve duplication sticking efficiency.
In addition, it is necessary to explanation, before paste operation is carried out, if existing character in target area, by The information of duplication at the end of existing character paste.
The information of the present embodiment replicates method of attaching, the duplicate instructions of the information replicated is carried by first receiving, then The display target window in the page, target window shows the information replicated, when detecting the drag operation to target window, Editable region is searched in the page, when detecting to target window stopping execution drag operation, according to the end of drag operation Stop bit puts the distance with target window, the selection target region from the editable region searched, and the information replicated is glued It is labelled to the target area.Hereby it is achieved that show the information replicated by target window, and paste it into search can Target area in editing area, solves and is unable to displaying duplication information in the prior art, and such as long-press, double-click routine are multiple The technical problem of stickup can not be replicated caused by paste operation processed.
For an embodiment in clear explanation, present embodiments provide another information and replicate method of attaching, Fig. 2 is this hair Another information that bright embodiment is provided replicates the schematic flow sheet of method of attaching, as shown in Fig. 2 the information replicates stickup side Method, including:
S201, receives in duplicate instructions, duplicate instructions and carries the information replicated.
For example, user is during mobile terminal such as mobile phone, tablet personal computer is used, it can choose and to answer by long-press operation The content of system.Now, the duplicate instructions of system clipboard generation can be received by performing the application program of the embodiment of the present invention, and should The information replicated, such as text message are carried in duplicate instructions.
S202, generates the timestamp of duplicate instructions.
Wherein, timestamp represents to receive the time of duplicate instructions.
Application program generates the timestamp of the duplicate instructions after duplicate instructions are received, to record duplication operation Time, it is easy to take out the Copy Info of newest time.
S203, by the information replicated carried in duplicate instructions, and timestamp is as history duplicated record, store to In system clipboard database.
In an embodiment of the present invention, a system clipboard for being used to deposit Copy Info can be created in systems in advance Database, and corresponding calling interface and content field content are provided.
After the timestamp of generation duplicate instructions, by the Copy Info carried in duplicate instructions, and the duplicate instructions Timestamp is stored into system clipboard database as history duplicated record.
When user carries out duplication paste operation every time, system clipboard deposits the information of duplication and corresponding timestamp Into system clipboard database, so that user can consult the historical record of conventional Copy Info.
S204, calls and redraws target window.
Copy Info and corresponding timestamp are stored in after system clipboard database in system clipboard, system is opened Beginning invocation target window.
In order to improve the visuality of target window, mobile terminal system can be according to the size of the page or screen, to target The size and location of window is redrawn, and background color, displaying time, the official documents and correspondence to target window are adapted to and redrawn.
In the present embodiment, target window is except including the region for showing the information replicated, may also include is used for The control of the history duplicated record in look-up system clipboard data storehouse.
A kind of target window that Fig. 3 is provided by the embodiment of the present invention interacts schematic diagram.Target window shown in Fig. 3 is shown Copy Info be " Internet financial ", that is to say, that " Internet financial " will currently be replicated Content, " Historical Record " be target window in control, when click on " during Historical Record ", can be following Pull out history duplicated record.
S205, shows the target window containing Copy Info in the page.
Specifically, calling system clipboard data bank interface, takes out from the content fields of system clipboard database The Copy Info of newest time, and it is included in target window region.And then show target window in the page.So as to, Realizing user can be by the target window in the page, it is seen that the information replicated, improves the visuality of the information replicated.
S206, when detecting the drag operation to target window, in page search editable region.
When detecting target window and starting dragged, mobile terminal system scans editable region in current activity Interface, and the position of the editable region in the page.Also, during target window is trailing, dynamic adjustment Position of the target window in the page.
If target window is during trailing, system does not search editable region in the page, then in the page Interior stopping display target window.
S207, when detecting to target window stopping execution drag operation, according to the final position and mesh of drag operation Mark the distance of window, the selection target region from the editable region searched.
S208, by the information stickup replicated to target area.
Because step S207 to S208 is similar with the step S104 to S105 in above-described embodiment, so no longer going to live in the household of one's in-laws on getting married herein State.
S209, if detecting the operation that history duplicated record is consulted and selected by control, selected history is replicated and remembered Record affixes to target area.
In actual application, it is possible that replicating the content identical situation of stickup twice or more than twice.Example Such as, certain user inputs the title of the song of a first song and scanned in a search engine, after the specifying information of this song is understood, will search Title of the song during index is held up is replicated to paste and scanned in the search box of music player.Afterwards, user is passing through chat software During good friend's chat, want this song being shared with good friend.At this moment, user complete other guide paste operation after, The paste operation of title of the song can conveniently and efficiently be completed, and be sent in chat interface edit box by history duplicated record Friend.
Specifically, after by the information stickup replicated to target area, user can be by clicking in target window Control, consult history duplicated record in the presence or absence of want replicate content.In being replicated in history duplicated record Rong Shi, selectes the history duplicated record, and system, which is detected, consults and after the operation of selected history duplicated record, by selected history The information and selected history that record affixes to the content pasted in target area, final goal region and includes having replicated replicate note Record two parts content.
The present invention implement in duplication method of attaching, by showing the information that has replicated and by for looking into target window The control of history duplicated record is read and selected, realizes and conventional duplication paste operation is replaced by way of information exchange, make Duplication paste operation is easier, improves and replicates the convenience pasted, visuality.
For an embodiment in clearer explanation, illustrate that the present invention is carried by a specific embodiment with reference to Fig. 4 The information gone out replicates method of attaching.
Include as shown in figure 4, the information replicates method of attaching:
S401, user's Copy Info.
User can operate the reproduction button occurred by long-press, the content for wanting to replicate is entered when using mobile terminal Row is replicated.At this moment, system clipboard can generate duplicate instructions according to operation is replicated.
S402, Copy Info is stored in system clipboard database.
System clipboard calling system clipboard data bank interface, by the Copy Info and the timestamp of duplicate instructions, It is stored in the system clipboard database pre-established.
For convenience of description, redraw target window and newest Copy Info, two are taken out from system clipboard database Individual process is to carry out simultaneously.In Fig. 4, after step S402, it is indicated by Liang Ge branches.
S403, redraws target window.
Specifically, system carries out redrawing operation to target window, such as draws the size of target window, determines that target window exists The position of webpage representation, the background color of post-processing object window, drafting target window can pull attribute etc..
When being redrawn to target window, while performing step S404, S405.
S404, data content is captured from the content fields in system clipboard database.
Specifically, calling system clipboard data bank interface, from the content fields crawl in system clipboard database Data content.Wherein, the data content of crawl includes in the past all Copy Infos and corresponding timestamp.
S405, captures newest Copy Info.
According to timestamp from the data content of crawl, then capture newest Copy Info.
S406, adds Copy Info in target window.
The nearest Copy Info of crawl is added in the target window after redrawing.
S407, shows target window.
S408, judges that the page whether there is editable interface.
During user's drag target window, system can be by the way that scan at predetermined time intervals can in current activity The interface of editing area, and the position of the editable region in the page, judge the page connecing with the presence or absence of editable region Mouthful.For example, can every 1 second run-down, altogether scanning 15 times.
S409, target window shows disappearance in 15 seconds.
If scanning 15 times, does not still find the interface in editable region, then target window disappears.
S410, reads position of the editable region on the page.
During scanning, if scanning is to the interface in editable region, editable region is read on the page Position.
S411, drag target window to editable overlying regions.
If user's drag target window is to editable overlying regions, it is of course also possible to be other directions, such as left side, the right side Side etc., then calculate target window and the distance in editable region.
S412, calls editable Area Interfaces, and Copy Info is affixed into editable region.
If the distance in target window and editable region is less than default threshold value, such as 0.5 millimeter, then system, which is called, to compile Area Interfaces are collected, and the Copy Info on target window is affixed directly into editable according to the corresponding form in editable region Region, is realized when pasting without the mode using long-press or double-click, is made duplication paste operation more convenient, quick, is improved Sticking efficiency.
In order to realize above-described embodiment, the present invention also proposes that a kind of information replicates sticker.
Fig. 5 replicates the structural representation of sticker for a kind of information provided in an embodiment of the present invention.
Include as shown in figure 5, the information replicates sticker:Receiving module 510, display module 520, search module 530, Selecting module 540, stickup module 550.
Receiving module 510 is used to receive the information for carrying and having replicated in duplicate instructions, duplicate instructions.
Display module 520 is used for the display target window in the page, wherein, target window shows the information replicated.
Search module 530 is used for when detecting the drag operation to target window, in page search editable region.
Selecting module 540 is used for when detecting to target window stopping execution drag operation, according to the end of drag operation Stop bit puts the distance with target window, the selection target region from the editable region searched.
Stickup module 550 be used for will the information stickup that replicate to target area.
A possible implementation of kind of sticker is replicated as the information of we's invention, as shown in fig. 6, pasting mould Block 550 includes:Call unit 551, application unit 552.
Call unit 551 is used for the interface in invocation target region.
Application unit 552 is used to, by interface, by the information replicated with the corresponding form in target area, affix to target Region.
It should be noted that foregoing be also applied for the embodiment to the explanation that information replicates method of attaching embodiment Information replicates sticker, and here is omitted.
Based on above-described embodiment, the embodiment of the present invention additionally provides the possible realization that another information replicates sticker Mode.Fig. 7 replicates the structural representation of sticker for another information provided in an embodiment of the present invention, in a upper embodiment On the basis of, information, which replicates sticker, also to be included:Generation module 560, memory module 570, redraw module 580.
Generation module 560 is used for the timestamp for generating duplicate instructions.
Memory module 570 is used for the information replicated that will be carried in duplicate instructions, and timestamp is replicated as history Record, is stored into system clipboard database.
Redrawing module 580 is used to call and redraw target window, wherein, target window includes being used to show the letter replicated The region of breath and control, control are used for the history duplicated record in look-up system clipboard data storehouse.
It should be noted that foregoing be also applied for the embodiment to the explanation that information replicates method of attaching embodiment Information replicates sticker, and here is omitted.
The information stickup device of the embodiment of the present invention, the duplicate instructions of the information replicated is carried by receiving, in the page Middle display target window, target window shows the information replicated, when detecting the drag operation to target window, in the page Interior search editable region, when detecting to target window stopping execution drag operation, according to the final position of drag operation With the distance of target window, the selection target region from the editable region searched, and the information stickup replicated extremely should Target area.Hereby it is achieved that showing the information replicated by target window, and paste it into the editable area searched Target area in domain, is solved and is unable to displaying duplication information in the prior art, and such as long-press, conventional replicate of double-click are pasted The technical problem of stickup can not be replicated caused by operation.
Fig. 8 is the structural representation of electronic equipment one embodiment of the present invention, it is possible to achieve Fig. 1, Fig. 2, Fig. 4 institute of the present invention Show the flow of embodiment, as shown in figure 8, above-mentioned electronic equipment can include:Housing 810, processor 820, memory 830, electricity Road plate 840 and power circuit 850, wherein, circuit board 840 is placed in the interior volume that housing 810 is surrounded, and processor 820 and deposits Reservoir 830 is arranged on circuit board 840;Power circuit 850, for being powered for each circuit or device of above-mentioned electronic equipment; Memory 830 is used to store executable program code;Processor 820 is by reading the executable program stored in memory 830 Code runs program corresponding with executable program code, is pasted for performing the information described in foregoing any embodiment and replicating Method.
Processor 820 is to the specific implementation procedure and processor 820 of above-mentioned steps by running executable program code The step of further to perform, Fig. 1 of the present invention, Fig. 2, the description of embodiment illustrated in fig. 4 are may refer to, be will not be repeated here.
The electronic equipment exists in a variety of forms, includes but is not limited to:
(1) mobile communication equipment:The characteristics of this kind equipment is that possess mobile communication function, and to provide speech, data Communicate as main target.This Terminal Type includes:Smart mobile phone (such as iPhone), multimedia handset, feature mobile phone, and it is low Hold mobile phone etc..
(2) super mobile personal computer equipment:This kind equipment belongs to the category of personal computer, there is calculating and processing work( Can, typically also possess mobile Internet access characteristic.This Terminal Type includes:PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device:This kind equipment can show and play content of multimedia.The kind equipment includes:Audio, Video player (such as iPod), handheld device, e-book, and intelligent toy and portable car-mounted navigation equipment.
(4) server:The equipment for providing the service of calculating, the composition of server is total including processor, hard disk, internal memory, system Line etc., server is similar with general computer architecture, but is due to need to provide highly reliable service, therefore in processing energy Require higher in terms of power, stability, reliability, security, scalability, manageability.
(5) other electronic equipments with data interaction function.
To achieve these goals, the invention also provides a kind of non-transitorycomputer readable storage medium, when described When instruction in storage medium is performed by electronics processors so that electronic equipment is able to carry out a kind of information and replicates stickup Method, methods described includes:Receive in duplicate instructions, duplicate instructions and carry the information replicated;The display target window in the page Mouthful, wherein, target window shows the information replicated;When detect target window is started performance objective operation when, in page Faceted search editable region;When detect stop performance objective operation to target window when, according to the distance with target window, from Selection target region in the editable region searched;By the information stickup replicated to target area.
To achieve these goals, the invention also provides a kind of computer program product, when computer program production Instruction in product by computing device when, perform a kind of information and replicate method of attaching, methods described includes:Receive duplicate instructions, The information replicated is carried in duplicate instructions;The display target window in the page, wherein, target window shows the letter replicated Breath;When detect start performance objective operation to target window when, in page search editable region;When detecting to target window When mouth stops performance objective operation, according to the distance with target window, the selection target region from the editable region searched; By the information stickup replicated to target area.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means to combine specific features, structure, material or the spy that the embodiment or example are described Point is contained at least one embodiment of the present invention or example.In this manual, to the schematic representation of above-mentioned term not Identical embodiment or example must be directed to.Moreover, specific features, structure, material or the feature of description can be with office Combined in an appropriate manner in one or more embodiments or example.In addition, in the case of not conflicting, the skill of this area Art personnel can be tied the not be the same as Example or the feature of example and non-be the same as Example or example described in this specification Close and combine.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that indicating or implying relative importance Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can express or Implicitly include at least one this feature.In the description of the invention, " multiple " are meant that at least two, such as two, three It is individual etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, represent to include Module, fragment or the portion of the code of one or more executable instructions for the step of realizing custom logic function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not be by shown or discussion suitable Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Represent in flow charts or logic and/or step described otherwise above herein, for example, being considered use In the order list for the executable instruction for realizing logic function, it may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or the dress for combining these instruction execution systems, device or equipment and using Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wirings Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits Reservoir (CDROM).In addition, can even is that can be in the paper of printing described program thereon or other are suitable for computer-readable medium Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, the software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage Or firmware is realized.Such as, if realized with hardware with another embodiment, following skill well known in the art can be used Any one of art or their combination are realized:With the logic gates for realizing logic function to data-signal from Scattered logic circuit, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can be compiled Journey gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method is carried Rapid to can be by program to instruct the hardware of correlation to complete, described program can be stored in a kind of computer-readable storage medium In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing module, can also That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.The integrated module is such as Fruit is realized using in the form of software function module and as independent production marketing or in use, can also be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..Although having been shown and retouching above Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention System, one of ordinary skill in the art can be changed to above-described embodiment, change, replace and become within the scope of the invention Type.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, the change or replacement that can be readily occurred in, all should It is included within the scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (10)

1. a kind of information replicates method of attaching, it is characterised in that comprise the following steps:
Receive in duplicate instructions, the duplicate instructions and carry the information replicated;
The display target window in the page, wherein, the target window shows the information replicated;
When detecting the drag operation to the target window, in page search editable region;
When detect to the target window stop perform the drag operation when, according to the final position of the drag operation with The distance of the target window, the selection target region from the editable region searched;
By the information stickup replicated to the target area.
2. information according to claim 1 replicates method of attaching, it is characterised in that after the reception duplicate instructions, also Including:
Generate the timestamp of the duplicate instructions;
The information replicated that will be carried in the duplicate instructions, and the timestamp is as history duplicated record, store to In system clipboard database.
3. information according to claim 2 replicates method of attaching, it is characterised in that the display target window in the page Before, in addition to:
Call and redraw the target window, wherein, the target window include being used for showing the region of information replicated with And control, history duplicated record of the control for consulting the system clipboard database.
4. information according to claim 3 replicates method of attaching, it is characterised in that described to detect to the target window Mouth stops after the execution drag operation, in addition to:
If detecting the operation that history duplicated record is consulted and selected by the control, selected history duplicated record is pasted To the target area.
5. the information according to claim any one of 1-4 replicates method of attaching, it is characterised in that described to be searched in the page After rope editable region, in addition to:
If detecting during performing the drag operation to the target window, editable area is not searched in the page Domain, stops the display target window.
6. the information according to claim any one of 1-4 replicates method of attaching, it is characterised in that described by the letter replicated Breath affixes to the target area, including:
Call the interface of the target area;
By the interface, by the information replicated with the corresponding form in the target area, the target area is affixed to Domain.
7. a kind of information replicates sticker, it is characterised in that including:
Receiving module, the information replicated is carried for receiving in duplicate instructions, the duplicate instructions;
Display module, for the display target window in the page, wherein, the target window shows the information replicated;
Search module, for when detecting the drag operation to the target window, in page search editable region;
Selecting module, for when detecting to the target window stopping execution drag operation, being grasped according to the dragging The distance of the final position of work and the target window, the selection target region from the editable region searched;
Stickup module, for by the information stickup replicated to the target area.
8. a kind of electronic equipment, it is characterised in that including:Housing, processor, memory, circuit board and power circuit, wherein, Circuit board is placed in the interior volume that housing is surrounded, and processor and memory are set on circuit boards;Power circuit, for for Each circuit or device for stating electronic equipment are powered;Memory is used to store executable program code;Processor is deposited by reading The executable program code stored in reservoir runs program corresponding with executable program code, and 1- is required for perform claim Information described in 6 any one replicates method of attaching.
9. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, it is characterised in that the program quilt Realize that the information as described in claim any one of 1-6 replicates method of attaching during computing device.
10. a kind of computer program product, when the instruction in the computer program product is by computing device, is performed as weighed Profit requires that the information described in any one of 1-6 replicates method of attaching.
CN201710425944.7A 2017-06-08 2017-06-08 Information copying and pasting method and device and electronic equipment Active CN107291564B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710425944.7A CN107291564B (en) 2017-06-08 2017-06-08 Information copying and pasting method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710425944.7A CN107291564B (en) 2017-06-08 2017-06-08 Information copying and pasting method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN107291564A true CN107291564A (en) 2017-10-24
CN107291564B CN107291564B (en) 2020-06-26

Family

ID=60096842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710425944.7A Active CN107291564B (en) 2017-06-08 2017-06-08 Information copying and pasting method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN107291564B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108803985A (en) * 2018-05-03 2018-11-13 网易(杭州)网络有限公司 A kind of clone method and device of control data
CN111832267A (en) * 2019-03-28 2020-10-27 珠海金山办公软件有限公司 Cell pasting method and device
CN112534413A (en) * 2018-08-21 2021-03-19 深圳市欢太科技有限公司 Character shorthand method, terminal and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040123052A1 (en) * 2002-12-19 2004-06-24 Beers Robert H. Non-speculative distributed conflict resolution for a cache coherency protocol
CN103617154A (en) * 2013-11-29 2014-03-05 百度在线网络技术(北京)有限公司 Method and device for having control over content paste operation
CN104375980A (en) * 2014-11-18 2015-02-25 小米科技有限责任公司 Selection method and device for text content
CN104657038A (en) * 2015-02-06 2015-05-27 深圳市艾优尼科技有限公司 Method for processing content
CN106547442A (en) * 2015-09-18 2017-03-29 腾讯科技(深圳)有限公司 A kind of message treatment method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040123052A1 (en) * 2002-12-19 2004-06-24 Beers Robert H. Non-speculative distributed conflict resolution for a cache coherency protocol
CN103617154A (en) * 2013-11-29 2014-03-05 百度在线网络技术(北京)有限公司 Method and device for having control over content paste operation
CN104375980A (en) * 2014-11-18 2015-02-25 小米科技有限责任公司 Selection method and device for text content
CN104657038A (en) * 2015-02-06 2015-05-27 深圳市艾优尼科技有限公司 Method for processing content
CN106547442A (en) * 2015-09-18 2017-03-29 腾讯科技(深圳)有限公司 A kind of message treatment method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108803985A (en) * 2018-05-03 2018-11-13 网易(杭州)网络有限公司 A kind of clone method and device of control data
CN108803985B (en) * 2018-05-03 2021-03-02 网易(杭州)网络有限公司 Control data copying method and device
CN112534413A (en) * 2018-08-21 2021-03-19 深圳市欢太科技有限公司 Character shorthand method, terminal and computer storage medium
CN111832267A (en) * 2019-03-28 2020-10-27 珠海金山办公软件有限公司 Cell pasting method and device

Also Published As

Publication number Publication date
CN107291564B (en) 2020-06-26

Similar Documents

Publication Publication Date Title
US10565404B2 (en) Autodetection of types and patterns
US8751921B2 (en) Presenting annotations in hierarchical manner
CN109791653A (en) Automatic recommendation for content cooperation
EP3014862B1 (en) Automatic presentation of slide design suggestions
CN110741348A (en) Emoticon advisor and adapted user interface
WO2019226401A2 (en) Progressive presence user interface for collaborative documents
CN115087984A (en) Method, computer-readable medium, and system for creating, organizing, viewing, and connecting annotations
CN103608760A (en) Gestures for selecting text
CN105229631A (en) The collection of reading content, follow the tracks of and present
CN108369806B (en) Configurable generic language understanding model
CN106407163A (en) Transforming data into consumable content
CN107562320A (en) A kind of method and intelligent touch screen terminal equipment of the function that application program is provided
CN105706038B (en) The two step content selections with automated content classification
CN106982283A (en) Contact person's packet processing method, device and mobile terminal
CN107291564A (en) Information copying and pasting method and device and electronic equipment
CN108763320A (en) A kind of writing note data storage method, device, terminal and storage medium
US20210377198A1 (en) Method and system for presenting conversation thread
CN108628944A (en) Online assignment input method, client, server, computer equipment and medium
CN108874915A (en) Method of Knowledge Organization, system, electronic equipment and storage medium
WO2010103540A2 (en) Systems and methods to use collaborative mind maps
Kelly et al. NSF workshop on task-based information search systems
CN109783740A (en) Pay close attention to the sort method and device of the page
CN105912218A (en) Method and device for displaying application icons and electronic equipment
CN107766108A (en) A kind of method of interception image, terminal and computer-readable medium
CN109446503A (en) Document content deriving method and device

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