CN109739658A - A kind of data manipulation method and device - Google Patents

A kind of data manipulation method and device Download PDF

Info

Publication number
CN109739658A
CN109739658A CN201811459572.0A CN201811459572A CN109739658A CN 109739658 A CN109739658 A CN 109739658A CN 201811459572 A CN201811459572 A CN 201811459572A CN 109739658 A CN109739658 A CN 109739658A
Authority
CN
China
Prior art keywords
duplication
target pages
data
data manipulation
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.)
Pending
Application number
CN201811459572.0A
Other languages
Chinese (zh)
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 Haitai Fangyuan High Technology Co Ltd
Original Assignee
Beijing Haitai Fangyuan High Technology 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 Haitai Fangyuan High Technology Co Ltd filed Critical Beijing Haitai Fangyuan High Technology Co Ltd
Priority to CN201811459572.0A priority Critical patent/CN109739658A/en
Publication of CN109739658A publication Critical patent/CN109739658A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of data manipulation method and devices.The described method includes: the data manipulation on detection target pages, data manipulation includes duplication operation or paste operation, the determining and matched operation strategy of target pages, according to operation strategy, execute data manipulation, wherein, operation strategy is used to indicate the position range that data could be adhered to, realize the flexible control of the position range pasted for content of pages duplication, avoid the problem of only not allowing completely and allowing two kinds of extreme states completely, the flexibility for improving the control pasted for duplication, brings operational convenience to user.

Description

A kind of data manipulation method and device
Technical field
The present invention relates to technical field of data processing, fill more particularly to a kind of data manipulation method, a kind of data manipulation It sets, a kind of storage medium and a kind of processor.
Background technique
Currently, what duplication paste functionality was realized generally by system clipboard, for example, by some page in browser Content duplication paste in other applications outside browser, or by the content in the other applications outside browser Duplication pastes in browser on some page.
Protection of secrecy or copyright for sensitive information etc. needs, and the partial page of browser is to need to forbid again Paste content processed, but in current technology scheme, the control that duplication is pasted only is able to achieve not to be allowed and completely completely Allow two kinds of extreme states, once the duplication of prohibiting page content is pasted, will result in no matter to replicate content of pages and glue Be attached to where, be not allowed to, it is clear that this control mode is inflexible, brings inconvenience to user.
Summary of the invention
In view of the above problems, a kind of data manipulation method, device, storage medium and processor are proposed, to solve to replicate The problem of control mode of stickup is inflexible, brings inconvenience to user.
According to one aspect of the present invention, a kind of data manipulation method is provided, comprising:
The data manipulation on target pages is detected, the data manipulation includes duplication operation or paste operation;
The determining and matched operation strategy of the target pages, wherein the operation strategy is used to indicate data Pasting The position range arrived;
According to the operation strategy, the data manipulation is executed.
Optionally, the determination includes: with the matched operation strategy of the target pages
Obtain the page address of the target pages;
It searches and the matched operation strategy in the page address.
Optionally, the position range includes in the destination application where duplication operates corresponding target pages, when The data manipulation is duplication operation, and described according to the operation strategy, executing the data manipulation includes:
The target data for being directed to the duplication operation is prevented to be saved in the clipbook of operating system;
By the duplication operation for target data replicate and be saved in the target application journey where the target pages The memory headroom of sequence;
When the data manipulation is paste operation, described according to the operation strategy, executing the data manipulation includes:
It prevents to obtain the target data from the clipbook of operating system;
The target data is obtained from the memory headroom of the destination application where the target pages.
Optionally, the position range includes that duplication operates in corresponding target pages, when the data manipulation is duplication Operation, it is described according to the operation strategy, execute the data manipulation further include:
Obtain the page address that the duplication operates corresponding target pages;
The page address that the duplication operates corresponding target pages is saved to the memory headroom;
When the data manipulation is paste operation, in the memory from the destination application where the target pages Before space obtains the target data, the method also includes:
Obtain the page address of the corresponding target pages of the paste operation;
The page address that duplication operates corresponding target pages is obtained from the memory headroom;
Determine the page address of the corresponding target pages of paste operation target pages corresponding with the duplication operation Match.
Optionally, before the data manipulation on the detection target pages, the method also includes:
After opening the page or the switching page, the corresponding operation strategy of at least one page is obtained from server;
Or, operation strategy corresponding at least one page is locally configured.
According to another aspect of the invention, a kind of data operation device is provided, comprising:
Operate detection module, for detecting the data manipulation on target pages, the data manipulation include duplication operation or Paste operation;
Tactful determining module, for the determining and matched operation strategy of the target pages, wherein the operation strategy is used In the position range that designation date could be adhered to;
Operation executing module, for executing the data manipulation according to the operation strategy.
Optionally, the tactful determining module includes:
First address acquisition submodule, for obtaining the page address of the target pages;
Submodule is searched in processing, for searching and the matched operation strategy in the page address.
Optionally, the position range includes in the destination application where duplication operates corresponding target pages, when The data manipulation is duplication operation, and the operation executing module includes:
Duplication prevents submodule, for preventing the target data for being directed to the duplication operation from being saved in cutting for operating system Pasting board;
Submodule is saved, the target data for the duplication operation to be directed to replicates and is saved in the target pages institute Destination application memory headroom;
When the data manipulation is paste operation, the operation executing module includes:
It pastes and prevents submodule, obtain the target data from the clipbook of operating system for preventing;
Data acquisition submodule, described in being obtained from the memory headroom of the destination application where the target pages Target data.
Optionally, the position range includes that duplication operates in corresponding target pages, when the data manipulation is duplication Operation, the operation executing module further include:
Second address acquisition submodule operates the page address of corresponding target pages for obtaining the duplication;
Address saves submodule, and the page address for the duplication to be operated corresponding target pages is saved to described interior Deposit space;
When the data manipulation is paste operation, described device further include:
First address acquisition module, in the memory headroom from the destination application where the target pages Before obtaining the target data, the page address of the corresponding target pages of the paste operation is obtained;
Second address acquisition module, for being obtained from the memory headroom with replicating the page for operating corresponding target pages Location;
Determining module is matched, for determining the corresponding target pages of paste operation mesh corresponding with the duplication operation The page address of the mark page matches.
Optionally, described device further include:
Strategy obtains module, before the data manipulation on the detection target pages, when the opening page or switching After the page, the corresponding operation strategy of at least one page is obtained from server;
Or, tactful configuration module, for operation strategy corresponding at least one page to be locally configured.
According to another aspect of the invention, a kind of storage medium is provided, the storage medium includes the program of storage, Wherein, the equipment where the storage medium is controlled when described program is run executes such as above-mentioned one or more methods.
According to another aspect of the invention, a kind of processor is provided, the processor is for running program, wherein Such as above-mentioned one or more methods are executed when described program is run.
According to an embodiment of the present invention, by detection target pages on data manipulation, data manipulation include duplication operation or Paste operation, it is determining that data manipulation is executed, wherein operation strategy according to operation strategy with target pages matched operation strategy It is used to indicate the position range that data could be adhered to, realizes the flexible pipe of the position range pasted for content of pages duplication Control avoids the problem of only not allowing completely and allowing two kinds of extreme states completely, improves the pipe pasted for duplication The flexibility of control brings operational convenience to user.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of flow chart of according to embodiments of the present invention one data manipulation method;
Fig. 2 is a kind of flow chart of according to embodiments of the present invention two data manipulation method;
Fig. 3 is a kind of structural block diagram of according to embodiments of the present invention three data operation device.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Embodiment one
Referring to Fig.1, the flow chart of one of the embodiment of the present invention one data manipulation method is shown, specifically can wrap It includes:
Step 101, the data manipulation on target pages is detected, the data manipulation includes duplication operation or paste operation.
In embodiments of the present invention, the page includes the webpage or other applications in browser in the respective option card In each page, can specifically include any suitable page, the embodiment of the present invention is without limitation.User is in page object The data manipulation carried out on face includes duplication operation or paste operation, paste operation may include shearing manipulation.Data manipulation can To be the duplication operation carried out by shortcut key or paste operation, it is also possible to the duplication selected in right mouse button menu operation Or paste operation.
In embodiments of the present invention, in order to flexibly be managed to the data manipulation in browser or other applications Control, in the browser or application program managed, detects the data manipulation on the page, detects and carries out on target pages Data manipulation.
Step 102, the determining and matched operation strategy of the target pages, wherein the operation strategy is used to indicate number According to the position range that could be adhered to.
In embodiments of the present invention, after detecting the data manipulation on target pages, determination is matched with target pages Operation strategy, the different pages can be corresponding with different operation strategies.Operation strategy, which is used to indicate the data in the page, to be glued The position range being attached to, position range includes in application program where target pages, in target pages, application program it is inner and outer Deng or any other applicable position range, the embodiment of the present invention it is without limitation.
In embodiments of the present invention, the determining implementation with the matched operation strategy of target pages may include: to obtain The page address of target pages, lookup and the matched operation strategy in page address or any other applicable implementation, this Inventive embodiments are without limitation.For example, opening new tab (label) page or switching tab (mark in browser Label) page when, the network address of the page of current active is saved in memory, when user replicates or pastes, obtain The network address of target pages searches matched operation strategy according to network address.
Step 103, according to the operation strategy, the data manipulation is executed.
In embodiments of the present invention, data manipulation is executed according to operation strategy, to realize the operation plan according to target pages The execution of the position range control data manipulation slightly indicated, when specific implementation, including following several situations:
If the position range of the matched operation strategy instruction of target pages includes that duplication operates corresponding target pages place Destination application in, then prevent the clipbook that the target data that is directed to of duplication operation is saved in operating system, will replicate Operate for the target data memory headroom of destination application that replicates and be saved in where target pages, work as data manipulation When for paste operation, then prevent to obtain target data from the clipbook of operating system, from the target application journey where target pages The memory headroom of sequence obtains target data.
If the position range of the matched operation strategy instruction of target pages includes that duplication operates in corresponding target pages, It prevents the target data for being directed to duplication operation from being saved in the clipbook of operating system, the target data that duplication operation is directed to is answered The memory headroom of destination application made and be saved in where target pages, and obtain duplication and operate corresponding target pages Page address, duplication is operated into the page addresses of corresponding target pages and is saved to memory headroom, when data manipulation is to paste When operation, the page address of the corresponding target pages of paste operation is obtained;Duplication, which is obtained, from memory headroom operates corresponding target The page address of the page determines the page address phase of the corresponding target pages of paste operation target pages corresponding with operation is replicated Matching prevents to obtain target data from the clipbook of operating system, empty from the memory of the destination application where target pages Between obtain target data.
If the position range of the matched operation strategy instruction of target pages includes that destination application is inner and outer, i.e., do not align Range is set to be limited, then take operating system default duplication bonding method, i.e., using the clipbook of operating system come It realizes that duplication is pasted, the data that duplication operation is directed to is copied to Clipboard down, when being pasted outside destination application just The available data under clipbook only need to obtain clipbook if copied in destination application from outside Under data can be pasted in destination application.
According to an embodiment of the present invention, by detection target pages on data manipulation, data manipulation include duplication operation or Paste operation, it is determining that data manipulation is executed, wherein operation strategy according to operation strategy with target pages matched operation strategy It is used to indicate the position range that data could be adhered to, realizes the flexible pipe of the position range pasted for content of pages duplication Control avoids the problem of only not allowing completely and allowing two kinds of extreme states completely, improves the pipe pasted for duplication The flexibility of control brings operational convenience to user.
Embodiment two
Referring to Fig. 2, the flow chart of one of the embodiment of the present invention two data manipulation method is shown, specifically can wrap It includes:
Step 201, after opening the page or the switching page, the corresponding operation plan of at least one page is obtained from server Slightly.
In embodiments of the present invention, after opening the new page every time or switching over the page, just from server obtain to Few corresponding operation strategy of a page, to obtain the operation strategy of latest configuration, without restarting just more until application program New operation strategy.
Step 202, operation strategy corresponding at least one page is being locally configured.
In embodiments of the present invention, other than the mode of step 201, it is arranged side by side can also client be locally configured with extremely Few corresponding operation strategy of a page can be one in the configuration page for example, opening the configuration page in a browser Page configuration operation strategy, or multiple page configuration operation strategies are stored in local with the operation strategy postponed, use When, the operation strategy locally saved can be read, the operation strategy downloaded from server can also be read, will can also locally be matched The operation strategy that the operation strategy and server set issue merges, and is the strategy to come into force with newest operation strategy, specifically may be used With by the way of any suitable, the embodiment of the present invention is without limitation.
Step 203, the data manipulation on target pages is detected, the data manipulation includes duplication operation or paste operation.
In embodiments of the present invention, the specific implementation of this step may refer to the description in previous embodiment, herein It does not repeat separately.
In embodiments of the present invention, optionally, the corresponding son of the duplication operation in right mouse button menu or paste operation The position range that menu can prompt duplication to paste: application is interior, this page is interior, application program is inner and outer etc..
Step 204, the page address of the target pages is obtained.
In embodiments of the present invention, after detecting the data manipulation on target pages, the page address of target pages is obtained.
Step 205, it searches and the matched operation strategy in the page address.
In embodiments of the present invention, operation strategy is preservation corresponding with page address, is searched and is matched according to page address Operation strategy, page address matching may include that page address is identical or the page address of target pages in include operation The corresponding address of strategy, specifically can the matched mode in page address determine according to actual needs, the embodiment of the present invention to this not It is limited.
Step 206, according to the operation strategy, the data manipulation is executed.
In embodiments of the present invention, the specific implementation of this step may refer to the description in previous embodiment, herein It does not repeat separately.
In embodiments of the present invention, optionally, position range includes the target where the corresponding target pages of duplication operation In application program, when the data manipulation be duplication operation, according to the operation strategy, execute a kind of reality of the data manipulation Existing mode may include: the clipbook for preventing the target data for being directed to duplication operation from being saved in operating system;Duplication is operated For the target data memory headroom of destination application that replicates and be saved in where target pages.It specifically can be in target Apply for memory headroom in application program, for saving the target data of duplication.When the outside of destination application or other answer With in program, when carrying out paste operation, this memory headroom can not be accessed, also target data would not be pasted target application Position range except program.
When data manipulation executes a kind of implementation of the data manipulation according to the operation strategy for paste operation It may include: to prevent to obtain target data from the clipbook of operating system;Out of, destination application where target pages It deposits space and obtains target data, then can paste in the targeted target pages of paste operation.
In embodiments of the present invention, optionally, position range not only may be limited to duplication and operate corresponding target pages In the destination application at place, duplication can also be limited in and operated in corresponding target pages, in this case, not only to be hindered The target data that duplication operation is directed to only is saved in the clipbook of operating system;The target data duplication that duplication operation is directed to And it is saved in the memory headroom of the destination application where target pages, according to the operation strategy, execute the data behaviour It also wants: obtaining the page address that duplication operates corresponding target pages;With operating the page of corresponding target pages by duplication Location is saved to memory headroom.
When data manipulation be paste operation, from the memory headroom of the destination application where the target pages obtain It can also include: the page address for obtaining the corresponding target pages of paste operation before the target data;It is obtained from memory headroom Duplication is taken to operate the page address of corresponding target pages;Determine that the corresponding target pages of paste operation are corresponding with duplication operation The page address of target pages matches, and shows that duplication operates and paste operation is in the same target pages if matched On, it can be pasted.
According to an embodiment of the present invention, by detection target pages on data manipulation, data manipulation include duplication operation or Paste operation, it is determining that data manipulation is executed, wherein operation strategy according to operation strategy with target pages matched operation strategy It is used to indicate the position range that data could be adhered to, realizes the flexible pipe of the position range pasted for content of pages duplication Control avoids the problem of only not allowing completely and allowing two kinds of extreme states completely, improves the pipe pasted for duplication The flexibility of control brings operational convenience to user.
Further, by obtaining the corresponding operation of at least one page from server after opening the page or the switching page Strategy realizes administrator and the unified of the data manipulation on the page in multiple client is managed, to obtain latest configuration Operation strategy, without until application program restart just update operation strategy.It also supports be locally configured and at least one page Corresponding operation strategy, voluntarily flexibly manages data manipulation convenient for user, maloperation bring risk when avoiding work.
Embodiment three
Referring to Fig. 3, the structural block diagram of one of the embodiment of the present invention three data operation device is shown, specifically can wrap It includes:
Detection module 301 is operated, for detecting the data manipulation on target pages, the data manipulation includes duplication operation Or paste operation;
Tactful determining module 302, for the determining and matched operation strategy of the target pages, wherein the operation plan Slightly it is used to indicate the position range that data could be adhered to;
Operation executing module 303, for executing the data manipulation according to the operation strategy.
In embodiments of the present invention, optionally, the tactful determining module includes:
First address acquisition submodule, for obtaining the page address of the target pages;
Submodule is searched in processing, for searching and the matched operation strategy in the page address.
In embodiments of the present invention, optionally, the position range includes where replicating the corresponding target pages of operation In destination application, when the data manipulation is duplication operation, the operation executing module includes:
Duplication prevents submodule, for preventing the target data for being directed to the duplication operation from being saved in cutting for operating system Pasting board;
Submodule is saved, the target data for the duplication operation to be directed to replicates and is saved in the target pages institute Destination application memory headroom;
When the data manipulation is paste operation, the operation executing module includes:
It pastes and prevents submodule, obtain the target data from the clipbook of operating system for preventing;
Data acquisition submodule, described in being obtained from the memory headroom of the destination application where the target pages Target data.
In embodiments of the present invention, optionally, the position range includes that duplication operates in corresponding target pages, works as institute Data manipulation is stated as duplication operation, the operation executing module further include:
Second address acquisition submodule operates the page address of corresponding target pages for obtaining the duplication;
Address saves submodule, and the page address for the duplication to be operated corresponding target pages is saved to described interior Deposit space;
When the data manipulation is paste operation, described device further include:
First address acquisition module, in the memory headroom from the destination application where the target pages Before obtaining the target data, the page address of the corresponding target pages of the paste operation is obtained;
Second address acquisition module, for being obtained from the memory headroom with replicating the page for operating corresponding target pages Location;
Determining module is matched, for determining the corresponding target pages of paste operation mesh corresponding with the duplication operation The page address of the mark page matches.
In embodiments of the present invention, optionally, described device further include:
Strategy obtains module, before the data manipulation on the detection target pages, when the opening page or switching After the page, the corresponding operation strategy of at least one page is obtained from server;
Or, tactful configuration module, for operation strategy corresponding at least one page to be locally configured.
According to an embodiment of the present invention, by detection target pages on data manipulation, data manipulation include duplication operation or Paste operation, it is determining that data manipulation is executed, wherein operation strategy according to operation strategy with target pages matched operation strategy It is used to indicate the position range that data could be adhered to, realizes the flexible pipe of the position range pasted for content of pages duplication Control avoids the problem of only not allowing completely and allowing two kinds of extreme states completely, improves the pipe pasted for duplication The flexibility of control brings operational convenience to user.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
In embodiment of the disclosure, the data operation device includes processor and memory, above-mentioned module and submodule Block etc. stores in memory as program unit, executes above procedure unit stored in memory by processor Lai real Now corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one Or more, by the data manipulation on detection target pages, data manipulation includes duplication operation or paste operation, determining and target The matched operation strategy of the page executes data manipulation, wherein operation strategy is used to indicate data Pasting according to operation strategy The position range arrived realizes the flexible control of the position range pasted for content of pages duplication, avoids only completely The problem of not allowing and allowing two kinds of extreme states completely, the flexibility for the control pasted for duplication is improved, user is given Bring operational convenience.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited Store up chip.
The embodiment of the invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor The existing data manipulation method.
The embodiment of the invention provides a kind of processor, the processor is for running program, wherein described program operation Data manipulation method described in Shi Zhihang.
The embodiment of the invention provides a kind of equipment, equipment include processor, memory and storage on a memory and can The program run on a processor, processor perform the steps of when executing program
The data manipulation on target pages is detected, the data manipulation includes duplication operation or paste operation;
The determining and matched operation strategy of the target pages, wherein the operation strategy is used to indicate data Pasting The position range arrived;
According to the operation strategy, the data manipulation is executed.
Optionally, the determination includes: with the matched operation strategy of the target pages
Obtain the page address of the target pages;
It searches and the matched operation strategy in the page address.
Optionally, the position range includes in the destination application where duplication operates corresponding target pages, when The data manipulation is duplication operation, and described according to the operation strategy, executing the data manipulation includes:
The target data for being directed to the duplication operation is prevented to be saved in the clipbook of operating system;
By the duplication operation for target data replicate and be saved in the target application journey where the target pages The memory headroom of sequence;
When the data manipulation is paste operation, described according to the operation strategy, executing the data manipulation includes:
It prevents to obtain the target data from the clipbook of operating system;
The target data is obtained from the memory headroom of the destination application where the target pages.
Optionally, the position range includes that duplication operates in corresponding target pages, when the data manipulation is duplication Operation, it is described according to the operation strategy, execute the data manipulation further include:
Obtain the page address that the duplication operates corresponding target pages;
The page address that the duplication operates corresponding target pages is saved to the memory headroom;
When the data manipulation is paste operation, in the memory from the destination application where the target pages Before space obtains the target data, the method also includes:
Obtain the page address of the corresponding target pages of the paste operation;
The page address that duplication operates corresponding target pages is obtained from the memory headroom;
Determine the page address of the corresponding target pages of paste operation target pages corresponding with the duplication operation Match.
Optionally, before the data manipulation on the detection target pages, the method also includes:
After opening the page or the switching page, the corresponding operation strategy of at least one page is obtained from server;
Or, operation strategy corresponding at least one page is locally configured.
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just The program of beginningization there are as below methods step:
The data manipulation on target pages is detected, the data manipulation includes duplication operation or paste operation;
The determining and matched operation strategy of the target pages, wherein the operation strategy is used to indicate data Pasting The position range arrived;
According to the operation strategy, the data manipulation is executed.
Optionally, the determination includes: with the matched operation strategy of the target pages
Obtain the page address of the target pages;
It searches and the matched operation strategy in the page address.
Optionally, the position range includes in the destination application where duplication operates corresponding target pages, when The data manipulation is duplication operation, and described according to the operation strategy, executing the data manipulation includes:
The target data for being directed to the duplication operation is prevented to be saved in the clipbook of operating system;
By the duplication operation for target data replicate and be saved in the target application journey where the target pages The memory headroom of sequence;
When the data manipulation is paste operation, described according to the operation strategy, executing the data manipulation includes:
It prevents to obtain the target data from the clipbook of operating system;
The target data is obtained from the memory headroom of the destination application where the target pages.
Optionally, the position range includes that duplication operates in corresponding target pages, when the data manipulation is duplication Operation, it is described according to the operation strategy, execute the data manipulation further include:
Obtain the page address that the duplication operates corresponding target pages;
The page address that the duplication operates corresponding target pages is saved to the memory headroom;
When the data manipulation is paste operation, in the memory from the destination application where the target pages Before space obtains the target data, the method also includes:
Obtain the page address of the corresponding target pages of the paste operation;
The page address that duplication operates corresponding target pages is obtained from the memory headroom;
Determine the page address of the corresponding target pages of paste operation target pages corresponding with the duplication operation Match.
Optionally, before the data manipulation on the detection target pages, the method also includes:
After opening the page or the switching page, the corresponding operation strategy of at least one page is obtained from server;
Or, operation strategy corresponding at least one page is locally configured.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (10)

1. a kind of data manipulation method characterized by comprising
The data manipulation on target pages is detected, the data manipulation includes duplication operation or paste operation;
The determining and matched operation strategy of the target pages, wherein the operation strategy is used to indicate what data could be adhered to Position range;
According to the operation strategy, the data manipulation is executed.
2. the method according to claim 1, wherein the determination and the matched operation strategy of the target pages Include:
Obtain the page address of the target pages;
It searches and the matched operation strategy in the page address.
3. the method according to claim 1, wherein the position range includes that duplication operates corresponding page object It is described according to the operation strategy when the data manipulation is duplication operation in destination application where face, described in execution Data manipulation includes:
The target data for being directed to the duplication operation is prevented to be saved in the clipbook of operating system;
By the duplication operation for target data replicate and the destination application that is saved in where the target pages Memory headroom;
When the data manipulation is paste operation, described according to the operation strategy, executing the data manipulation includes:
It prevents to obtain the target data from the clipbook of operating system;
The target data is obtained from the memory headroom of the destination application where the target pages.
4. according to the method described in claim 3, it is characterized in that, the position range includes that duplication operates corresponding page object In face, when the data manipulation be duplication operation, it is described according to the operation strategy, execute the data manipulation further include:
Obtain the page address that the duplication operates corresponding target pages;
The page address that the duplication operates corresponding target pages is saved to the memory headroom;
When the data manipulation is paste operation, in the memory headroom from the destination application where the target pages Before obtaining the target data, the method also includes:
Obtain the page address of the corresponding target pages of the paste operation;
The page address that duplication operates corresponding target pages is obtained from the memory headroom;
Determine the page address phase of the corresponding target pages of paste operation target pages corresponding with the duplication operation Match.
5. the method according to claim 1, wherein it is described detection target pages on data manipulation before, The method also includes:
After opening the page or the switching page, the corresponding operation strategy of at least one page is obtained from server;
Or, operation strategy corresponding at least one page is locally configured.
6. a kind of data operation device characterized by comprising
Detection module is operated, for detecting the data manipulation on target pages, the data manipulation includes duplication operation or pastes Operation;
Tactful determining module, for the determining and matched operation strategy of the target pages, wherein the operation strategy is for referring to Registration is according to the position range that could be adhered to;
Operation executing module, for executing the data manipulation according to the operation strategy.
7. device according to claim 6, which is characterized in that it is described strategy determining module include:
First address acquisition submodule, for obtaining the page address of the target pages;
Submodule is searched in processing, for searching and the matched operation strategy in the page address.
8. device according to claim 6, which is characterized in that the position range includes that duplication operates corresponding page object In destination application where face, when the data manipulation is duplication operation, the operation executing module includes:
Duplication prevents submodule, for preventing the target data for being directed to the duplication operation from being saved in cliping and pasting for operating system Plate;
Save submodule, for by the duplication operation for target data replicate and be saved in where the target pages The memory headroom of destination application;
When the data manipulation is paste operation, the operation executing module includes:
It pastes and prevents submodule, obtain the target data from the clipbook of operating system for preventing;
Data acquisition submodule, for obtaining the target from the memory headroom of the destination application where the target pages Data.
9. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program When control the equipment where the storage medium and execute one or more methods as described in claim 1 to 5.
10. a kind of processor, which is characterized in that the processor is for running program, wherein executed such as when described program is run One or more methods described in claim 1 to 5.
CN201811459572.0A 2018-11-30 2018-11-30 A kind of data manipulation method and device Pending CN109739658A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811459572.0A CN109739658A (en) 2018-11-30 2018-11-30 A kind of data manipulation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811459572.0A CN109739658A (en) 2018-11-30 2018-11-30 A kind of data manipulation method and device

Publications (1)

Publication Number Publication Date
CN109739658A true CN109739658A (en) 2019-05-10

Family

ID=66358356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811459572.0A Pending CN109739658A (en) 2018-11-30 2018-11-30 A kind of data manipulation method and device

Country Status (1)

Country Link
CN (1) CN109739658A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115292740A (en) * 2022-10-09 2022-11-04 北京时代亿信科技股份有限公司 Method and device for managing clipboard and nonvolatile storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441622A (en) * 2008-12-29 2009-05-27 成都市华为赛门铁克科技有限公司 Method and apparatus for controlling operation of document
CN102609642A (en) * 2012-01-09 2012-07-25 中标软件有限公司 Clipboard control method and clipboard control system
CN104361294A (en) * 2014-10-28 2015-02-18 深圳市大成天下信息技术有限公司 Document protection method, device and system
US9672366B1 (en) * 2015-03-31 2017-06-06 Symantec Corporation Techniques for clipboard monitoring
CN106919381A (en) * 2017-01-13 2017-07-04 网易宝有限公司 Method and apparatus for realizing Password Input frame

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441622A (en) * 2008-12-29 2009-05-27 成都市华为赛门铁克科技有限公司 Method and apparatus for controlling operation of document
CN102609642A (en) * 2012-01-09 2012-07-25 中标软件有限公司 Clipboard control method and clipboard control system
CN104361294A (en) * 2014-10-28 2015-02-18 深圳市大成天下信息技术有限公司 Document protection method, device and system
US9672366B1 (en) * 2015-03-31 2017-06-06 Symantec Corporation Techniques for clipboard monitoring
CN106919381A (en) * 2017-01-13 2017-07-04 网易宝有限公司 Method and apparatus for realizing Password Input frame

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王建华,程正兴: "《信息技术应用基础》", 31 May 2017, 科学技术文献出版社 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115292740A (en) * 2022-10-09 2022-11-04 北京时代亿信科技股份有限公司 Method and device for managing clipboard and nonvolatile storage medium

Similar Documents

Publication Publication Date Title
AU2011238676B2 (en) Virtual application extension points
CN108664812A (en) Information desensitization method, apparatus and system
EP3369010A1 (en) Reducing resource consumption associated with storage and operation of containers
CN106201566A (en) The rich big special hot upgrade method of software of profit and equipment
CN109814948B (en) Method and device for hook on native layer function based on xposed framework and electronic device
US20170003941A1 (en) Initialization status of a register employed as a pointer
US20070083378A1 (en) Secure application programming interface
CN108282518A (en) A kind of customer terminal webpage generation method and device
US10140133B2 (en) Marking external sibling caller routines
CN108268609A (en) A kind of foundation of file path, access method and device
US20180165075A1 (en) Call sequence generation based on type of routine
US9098316B2 (en) Routing function calls to specific-function dynamic link libraries in a general-function environment
CN105955805A (en) Application container transferring method and device
CN104731622A (en) Application program loading method and device and mobile terminal
CN108170430A (en) A kind of method and system of showing interface
US9218139B2 (en) Minimally disruptive virtual machine snapshots
CN103473113A (en) Universal virtual-machine adopting method
CN106843857A (en) The method and apparatus that code library changes SDK are realized based on SRP
CN109739658A (en) A kind of data manipulation method and device
CN110245074A (en) A kind of generation method of log recording, device, storage medium and server
CN106557343A (en) Systematic function application and the method and device of loading resource
CN109271194A (en) Branch's access method and device based on distributed version control system
CN109190367A (en) Utilize the method and device of sandbox operation application program installation kit
CN110955415A (en) Method for adapting projection multi-platform service
CN103530180A (en) Method and device for switching storage space of application programs

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190510

RJ01 Rejection of invention patent application after publication