CN107908332A - One kind applies interior text clone method, reproducing unit, storage medium and electronic equipment - Google Patents

One kind applies interior text clone method, reproducing unit, storage medium and electronic equipment Download PDF

Info

Publication number
CN107908332A
CN107908332A CN201711185675.8A CN201711185675A CN107908332A CN 107908332 A CN107908332 A CN 107908332A CN 201711185675 A CN201711185675 A CN 201711185675A CN 107908332 A CN107908332 A CN 107908332A
Authority
CN
China
Prior art keywords
text
event
application
onrelease
button
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
CN201711185675.8A
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.)
Neusoft Corp
Original Assignee
Neusoft Corp
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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201711185675.8A priority Critical patent/CN107908332A/en
Publication of CN107908332A publication Critical patent/CN107908332A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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]

Abstract

The present invention provides one kind and applies interior text clone method, comprises the following steps:One kind applies interior text clone method, comprises the following steps:Obtaining includes the trigger signal for the event that text replicates operation;Call default button.onrelease corresponding with the event;The content of text write-in application memory storage system for needing to replicate is obtained, the application memory storage system is forbidden applying outer access;If the button.onrelease needs to perform other operations beyond text replicates, other described operations are completed;Terminate the button.onrelease.The present invention can make to paste in application using outer reproducting content and make to apply in reproducting content can not paste using outer, do not influence the duplication in applying also, paste.

Description

One kind applies interior text clone method, reproducing unit, storage medium and electronic equipment
Technical field
It is more particularly to a kind of to apply interior text clone method and reproducing unit the present invention relates to computer realm.
Background technology
With the development of wireless technology and the rise of smart mobile phone, the immediate communication tool for being capable of real-time exchange information is more next More it is subject to people to welcome.
In order to facilitate the editor of information, existing immediate communication tool generally there is text to replicate paste functionality.But current Replicate to paste and all realized by system clipboard, so have a drawback, can exactly be copied using the message of interior duplication Shellfish is outer to application, and in some applications particularly enterprise instant communication application, user's imprudence may just reveal enterprise's sensitivity Information.Moreover, for requiring stringenter enterprises to information security for those, demand therein just include should anti-exterior chain answer System, i.e. text message cannot be copied in the other application outside application.Therefore, duplication existing in the prior art to be solved asks Topic.
The content of the invention
The defects of for the prior art, the present invention provide one kind and apply interior text clone method and device, and can realize should The demand outside application cannot be copied to interior message.
According to an aspect of the present invention, there is provided one kind applies interior text clone method, comprises the following steps:
One kind applies interior text clone method, comprises the following steps:
Obtaining includes the trigger signal for the event that text replicates operation;
Call default button.onrelease corresponding with the event;
The content of text write-in application memory storage system for needing to replicate is obtained, the application memory storage system is forbidden using outer Access;
If the button.onrelease needs to perform other operations beyond text replicates, other described behaviour are completed Make;
Terminate the button.onrelease.
Further, the acquisition includes further including before the trigger signal step for the event that text replicates operation, establishes The monitoring program of Event trigger.
Further, described call further includes before default button.onrelease step corresponding with the event, right In include text replicate operation OS Events, by its corresponding OS Events processing routine be changed to it is default with The corresponding button.onrelease of the event.
Further, the content of text write-in application memory storage system step for needing to replicate that obtains further includes before, Establish application memory storage system.
Further, the event including text duplication operation includes but not limited to following at least one, replicates, cuts Cut, forward, share.
Further, when the event is shears, completing other described operating procedures includes, and deletes the text for needing to shear This;
When the event is the forwarding of this application or shares, completing other described operating procedures includes, and is stored up from application memory System reads the text forwarding after replicating or shares in this application.
Further, the end button.onrelease step further includes, and quiescing system is to the event Subsequent treatment, avoids text from being copied into clipbook.
Further, it is described to terminate to further include after the button.onrelease step:It is default when getting this application During paste event trigger signal, the text read from application memory storage system after replicating is pasted in this application.
Further, the default paste event trigger signal step of this application that gets further includes before:In function The default stickup menu of this application is added in menu, for triggering the default paste event trigger signal of this application.
According to another aspect of the present invention, also provide a kind of using interior text reproducing unit, including following procedure unit:
Acquiring unit, the trigger signal for the event that text replicates operation is included for obtaining;
Call unit, for calling default button.onrelease corresponding with the event;
Writing unit, application memory storage system is write for obtaining the content of text for needing to replicate;
Processing unit, for performing button.onrelease and other operations.
Further, described device further includes:Monitoring unit, for establishing the monitoring program of Event trigger.
Further, described device further includes:Application memory storage unit, for storing the content of text for needing to replicate, and Forbid applying outer access.
According to another aspect of the present invention, a kind of computer-readable recording medium is also provided, is stored thereon with computer journey Sequence, the step of any one of as above the method is realized when which is executed by processor.
According to another aspect of the present invention, a kind of electronic equipment is also provided, including:Above-mentioned computer-readable storage medium Matter;And
One or more processors, for performing the program in the computer-readable recording medium.
According to another aspect of the present invention, a kind of computer program product is also provided, it includes the journey that processor can perform Sequence, the step of realization when which is executed by processor as weighed any one of upper the method.
Above-mentioned technical proposal provided by the present invention can be seen that the interior text clone method of application and device of the present invention, The reproducting content in pasting in application using outer reproducting content and make to apply can be made can not to paste using outer, also not Influence the duplication in application, paste.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this area Technical staff will be clear understanding.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the disclosure Limitation.And in whole attached drawing, identical component is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 is the interior text clone method flow diagram of application of one embodiment of the invention.
Fig. 2 is the interior text clone method flow diagram of application of another embodiment of the present invention.
Fig. 3 is the structure diagram using interior text reproducing unit of another embodiment of the present invention.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown 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 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 Completely it is communicated to those skilled in the art.
As shown in Figure 1, a kind of apply interior text clone method, comprise the following steps:
Step S110, obtains the trigger signal for including the event that text replicates operation.
The specific manifestation form of the operation of applicating text duplication at present is divided into two kinds:A kind of is the control operation that system carries, Such as text box EditText operations, or TextView operations, another kind is to apply interior customized action event.
The text box operations that system carries refer to the text behaviour of the long-press text meeting ejection system acquiescence on input text box Make menu, such as the menu such as " full choosing ", " shearing ", " duplication ", " stickup ", " sharing ", be also possible that " insertion " in addition, " glue The text insertion operation menus such as patch ", are saved in text in system clipboard when clicking on duplication or shearing, when click paste Copied out again from system clipboard, these operations and the pop-up of menu are all that internal system is realized.
Refer to that the text message long-press in chat list can be ejected using interior customized action event to customize using oneself Duplication menu item, long-press can eject " replicate, delete, forwarding " menu such as in wechat message.Preserved after " duplication " is clicked on Reproducting content takes out reproducting content again into system clipboard, in the place of stickup from system clipboard and is pasted into.
Any one menu item on text maninulation menu is clicked on, can become includes the event that text duplication operates Trigger signal, the specific implementation form of these trigger signals can be message, event or interruption in operating system or application; Such as " duplication " menu item on click menu, just become the trigger signal that text replicates action event, to transfer follow-up place Manage program.It is this operation is replicated including text event can be duplication, shearing, forward, share etc. in it is at least one.
By taking android system as an example, when handling system text box (EditText), in onActionItemClicked A trigger signal, after android system gets this trigger signal, meeting are produced to the clicking operation of menu in method Further call follow-up processing routine.
Step S120, calls default button.onrelease corresponding with the event.
After trigger signal is obtained, corresponding default button.onrelease is transferred to the event, i.e. intercepting system carries Text box " duplication ", the button.onrelease of " shearing " menu item, therefore " duplication ", the content of " shearing " will not be saved in In system shear plate, it is only allowed in button.onrelease and carries out the operation such as " duplication ", " shearing ", " stickup ", and then prevent " duplication ", " shearing " information leak.
By taking android system as an example, when handling system text box (EditText), the interface of button.onrelease is called ActionMode.Callback2 () interface is arranged to, the button.onrelease carried without recalling system.And for application The customized event handling including replicating operation, its button.onrelease is originally by application oneself setting, therefore only Need to pre-set its corresponding button.onrelease.
Step S130, obtains the content of text write-in application memory storage system for needing to replicate, the application memory storage system Forbid applying outer access.
The text box operations form either carried for system, or for using interior customized action event shape Formula, only writes application memory storage system, which is to forbid applying visiting abroad to the content of text that needs replicate Ask.
Application memory storage system can be pre-established before this step or this method or needed again obtaining Established after the content of text of system.
By taking android system as an example, in order to accomplish to replicate stickup, it is necessary to establish the storage system in application using interior, this In with the lightweight of android system storage class SharePreferences, while operator scheme is arranged to MODE_PRIVATE, Represent that application can not access outside.SharePreferences stores data in the form of key-value pair, it is a kind of Map structures, this In set the key of duplication to be " snap_copy ".The text that will be replicated is write in this key.
Further, for different Event triggers, other different follow-up operations may be related to, for example work as thing When part trigger signal is " shearing ", while content write-in application memory storage system is sheared or after which, it is additionally included in aobvious Show the operation that shearing content is deleted on interface;When Event trigger is " forwarding " or " sharing ", in forwarding or sharing contents While write-in application memory storage system or after which, further include and the text forwarding after replicating is read from application memory storage system Or share in this application;And after all texts replicate operation, further include processing and close menu, recover top-level windows etc. Other necessary processing operations.
Step S140, terminates the button.onrelease.
Terminate the button.onrelease, including quiescing system avoids text quilt to the subsequent treatment of the event It is copied into system clipboard, it is therefore prevented that the exterior chain operation of message.
By the embodiment of the present invention as can be seen that the present invention is after trigger signal is obtained, have invoked default tactile with this Signal corresponding button.onrelease, rather than the processing routine that call operation system carries, in the text that its needs replicates It is also to be written with default application memory storage system to hold, therefore the effective content isolated in application copies to the way outside application Footpath, not only ensure that the flexibility of original dubbing system, but realize using interior reproducting content can not exterior chain replicate function, ensure Prevent the security of information leakage.
On the basis of a upper embodiment, invention further provides another more detailed embodiment, for this implementation The example step identical with above-described embodiment principle, repeats no more in the present embodiment.As shown in Fig. 2, a kind of answer using interior text Method processed, comprises the following steps:
Step S210, establishes the monitoring program of Event trigger.
, it is necessary to establish the monitoring program of Event trigger before trigger signal is obtained, to monitor that trigger signal is hair Life is under the operational scenario for the text box that system carries, or occurs under the interior customized action event operational scenario of application, For different situations, the different button.onrelease of subsequent execution.
Step S220, obtaining includes the trigger signal that text replicates action event.
Including text replicate operation event can be duplication, shearing, forward, share etc. in it is at least one.
Step S230, the OS Events for replicating operation including text, at its corresponding OS Events Reason program is changed to default button.onrelease corresponding with the event.
The original menu item of system text box " duplication ", " shearing " are intercepted.
Specifically, by taking android system as an example, text selection menu is set to intercept behaviour system text box (EditText) The method of work sets EditText to set the setCustomSelectionActionModeCallback methods of EditText It is to set the setCustomSelectionActionModeCallback side of EditText to be inserted into menu and intercept the method operated Method, realizes ActionMode.Callback2 () interface, to menu in onActionItemClicked methods in method Clicking operation is selected to be intercepted.
Further, step S230 can be placed on before step S220, or is placed on before step S210.
Step S240, calls default button.onrelease corresponding with the event.
Step S250, obtains the content of text write-in application memory storage system for needing to replicate, the application memory storage system Forbid applying outer access;If event handling needs to perform other operations beyond text replicates, other operations are completed.
Step S260, when getting the default paste event trigger signal of this application, reads from application memory storage system Text after duplication is pasted in this application.
Operated for " stickup " come outside self-application, system obtains last time from system shear plate automatically without intercepting The text (it is to apply the reproducting content outside outside, will applying to paste into application to replicate source here) of duplication, is then inserted into Pasted at the cursor of text box.
When getting the default paste event trigger signal of this application, i.e., when the interior execution " stickups " of application operates, from The text that application memory storage system reads after replicating is pasted in this application.
Before this step, the addition default stickup menu of this application in function menu is additionally may included in, for triggering The default paste event trigger signal of this application.
Below with the specific application scenarios specific embodiment that the present invention is further explained, by taking android system as an example, Accomplish to replicate, before stickup using interior, initially set up application memory storage system:Here stored with the lightweight of android system Class SharePreferences, while operator scheme is arranged to MODE_PRIVATE, represents that application can not access outside. SharePreferences stores data in the form of key-value pair, it is a kind of Map structures, and the key for setting duplication here is " snap_copy”。
Next handled for two kinds of forms that stickup is replicated in current instant messaging.
The first situation is, for example, the processing for system text box (EditText):
To the text selection menu and insertion menu setting blocker of system text box (EditText), to original menu Item " duplication ", " shearing " are intercepted.
Specifically, text selection menu is set to intercept the method for operation as setting EditText's to EditText SetCustomSelectionActionModeCallback methods, the method for setting EditText insertion menu interception operations are The setCustomSelectionActionModeCallback methods of EditText are set, are realized in method ActionMode.Callback2 () interface, selects clicking operation to block menu in onActionItemClicked methods Cut.
(1) intercepted, be handled as follows for " duplication " option operations:
Text selected by current text frame is obtained, is specially that selected scope initial position " is produced to final position, such as in short On 161 servers, you go to take product document ", user may carry out long-press to " product documentation is on 161 servers ", Then it have selected duplication, then, this selected text is " product documentation is on 161 servers ";
It is key in SharePreferences in selected text deposit application memory storage system, is specially set The value values of " snap_copy " are " product documentation is on 161 servers ";
Menu is closed, does not continue to give system processing, that is, this time replication processes terminate.
(2) intercepted, be handled as follows for " shearing " option operations:
Text selected by current text frame is obtained, is specially that selected scope initial position " is produced to final position, such as in short On 161 servers, you go to take product document ", user may carry out long-press to " product documentation is on 161 servers ", Then it have selected shearing, then, this selected text is " product documentation is on 161 servers ";
To text box again assignment, in this example, be assigned a value of again ", you go to take ";
It is key in SharePreferences in selected text deposit application memory storage system, is specially set The value values of " snap_copy " are " product documentation is on 161 servers ";
Menu is closed, does not continue to give system processing, that is, this time shear treatment terminates.
(3) for " stickup " option operations without intercepting, system obtains what last time replicated from system shear plate automatically Text (it is that application is outer to replicate source here), is then inserted at the cursor of text box and is pasted.
So far, content of text can not paste application after we realize the interior duplication of application and shearing for EditText Outer function, the function in applying can be pasted by also remaining original content using outer duplication.
Second case is, for example, for using interior self-defined long-press event handling:
The dish such as the long-press event in, for example long-press can eject in text message " duplication ", " forwarding ", " deletion " It is single.
(1) " duplication " option operations are directed to, are handled as follows;
The message content of current long-press text message is obtained, for example " on 161 servers, you go to take one product documentation Under ";
It is key in SharePreferences in text message content deposit application memory storage system, is specially set The value values of " snap_copy " are " on 161 servers, you go to take product documentation ";
Long-press popup menu is closed, processing terminates.
(2) " stickup " option operations are directed to, are handled as follows;
Text selection menu and text insertion menu are intercepted, in ActionMode.Callback2 () interface A customized menu is added in onCreateActionMode methods, is named such as " snap stickups ", Gu name Si Yi, the meaning For the stickup in snap applications, while be directed to " snap stickup ", make to handle below:
Key is taken out from application memory storage system SharePreferences is " snap_copy " value, such as " product Document is on 161 servers ";
The content of text that previous step obtains is inserted at the cursor of text box (EditText);
This processing terminates.
The addition and processing of processing and " snap stickups " menu more than to System menu " duplication ", " shearing ", I Realize and replicated, in the storage system in shearing content deposit application using interior, it is therefore prevented that the operation of the exterior chain of message, same to hour hands Reproducting content outside to application, can paste in application, not only ensure that necessarily security, but also cut without original system is destroyed The flexibility of cutting plate.
In some enterprises, enterprise staff is the mobile phone of enterprise's hair in unit, while applies such as enterprise instant Communication software is also mounted on these mobile phones, such as Huawei's Mate8, Mate9 mobile phone, in such a scenario, in this patent Technical solution meet enterprise anti-exterior chain replicate demand.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of action group Close, but those skilled in the art should know, the embodiment of the present invention and from the limitation of described sequence of movement, because according to According to the embodiment of the present invention, some steps can use other orders or be carried out at the same time.Secondly, those skilled in the art also should This knows that embodiment described in this description is preferred embodiment, and the involved action not necessarily present invention is implemented Necessary to example.
According to another aspect of the present invention, as shown in figure 3, a kind of apply interior text reproducing unit 300, including following procedure Unit:
Acquiring unit 301, the trigger signal for the event that text replicates operation is included for obtaining;
Call unit 302, for calling default processing unit corresponding with the event;
Processing unit 303, for performing button.onrelease or system program, and other operations;
Writing unit 304, application memory storage system is write for obtaining the content of text for needing to replicate.
Further, further included using interior text reproducing unit 300:
Monitoring unit 305, for establishing the monitoring program of Event trigger;
Application memory storage unit 306, for storing the content of text for needing to replicate, and forbids applying outer access.
For device embodiment, since it is substantially similar to embodiment of the method, so description is fairly simple, it is related Part refers to the part explanation of embodiment of the method, no longer carries out excessive repeat.
According to another aspect of the present invention, a kind of computer-readable recording medium is also provided, is stored thereon with computer journey Sequence, the program realize following steps when being executed by processor:
Obtaining includes the trigger signal for the event that text replicates operation;
Call default button.onrelease corresponding with the event;
The content of text write-in application memory storage system for needing to replicate is obtained, the application memory storage system is forbidden using outer Access;
If the button.onrelease needs to perform other operations beyond text replicates, other described behaviour are completed Make;
Terminate the button.onrelease.
According to another aspect of the present invention, a kind of electronic equipment is also provided, including:
Computer-readable recording medium as described above;And
One or more processors, for performing the program in the computer-readable recording medium.
According to another aspect of the present invention, a kind of computer program product is also provided, it includes the journey that processor can perform Sequence, the program realize following steps when being executed by processor:
Obtaining includes the trigger signal for the event that text replicates operation;
Call default button.onrelease corresponding with the event;
The content of text write-in application memory storage system for needing to replicate is obtained, the application memory storage system is forbidden using outer Access;
If the button.onrelease needs to perform other operations beyond text replicates, other described behaviour are completed Make;
Terminate the button.onrelease.
The present invention not only ensure that the flexibility of original dubbing system, but also realizes and apply interior reproducting content can not exterior chain duplication Function.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the disclosure Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit requires, summary and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation Replace.Involved in this specification to the step of numbering be only used for distinguishing each step, and time being not limited between each step Or the relation of logic, restriction unless the context clearly, otherwise the relation between each step include various possible situations.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiments means to be in the disclosure Within the scope of and form different embodiments.For example, embodiment claimed in detail in the claims is one of any Mode it can use in any combination.
The all parts embodiment of the disclosure can be with hardware realization, or to be run on one or more processor Software module realize, or realized with combinations thereof.The disclosure is also implemented as being used to perform side as described herein The some or all equipment or program of device (for example, computer program and computer program product) of method.It is such Realizing the program of the disclosure can store on a computer-readable medium, or can have the shape of one or more signal Formula.Such signal can be downloaded from internet website and obtained, and either be provided or with any other shape on carrier signal Formula provides.
The disclosure is limited it should be noted that above-described embodiment illustrates rather than the disclosure, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.Word "comprising" is not arranged Except there are element or step not listed in the claims.Word "a" or "an" before element does not exclude the presence of more A such element.The disclosure can be by means of including the hardware of some different elements and by means of properly programmed calculating Machine is realized.In if the unit claim of equipment for drying is listed, several in these devices can be by same Hardware branch embodies.
The above is only the embodiment of the disclosure, it is noted that for the ordinary skill people of this area Member for, on the premise of disclosure spirit is not departed from, can make it is some improve, modification and deformation, these improve, modification, It is regarded as in the protection domain of the application with deformation.

Claims (10)

1. one kind applies interior text clone method, comprise the following steps:
Obtaining includes the trigger signal for the event that text replicates operation;
Call default button.onrelease corresponding with the event;
The content of text write-in application memory storage system for needing to replicate is obtained, the application memory storage system is forbidden applying visiting abroad Ask;
Terminate the button.onrelease.
It is 2. as claimed in claim 1 a kind of using interior text clone method, it is characterised in that:
The acquisition includes further including before the trigger signal step for the event that text replicates operation, establishes Event trigger Monitoring program.
It is 3. as claimed in claim 1 a kind of using interior text clone method, it is characterised in that:
Described call further includes before default button.onrelease step corresponding with the event, for being replicated including text The OS Events of operation, its corresponding OS Events processing routine are changed to default corresponding with the event Button.onrelease.
It is 4. as claimed in claim 1 a kind of using interior text clone method, it is characterised in that:
The content of text write-in application memory storage system step for needing to replicate that obtains further includes before, establishes application memory storage System.
It is 5. as claimed in claim 1 a kind of using interior text clone method, it is characterised in that:
The event including text duplication operation is including but not limited to following at least one, replicates, shears, forwards, shares.
It is 6. as claimed in claim 5 a kind of using interior text clone method, it is characterised in that:
When the event is shears, completing other described operating procedures includes, and deletes the text for needing to shear;
When the event is the forwarding of this application or shares, completing other described operating procedures includes, from application memory storage system Read the forwarding of the text after replicating or share in this application.
It is 7. as claimed in claim 1 a kind of using interior text clone method, it is characterised in that:
The end button.onrelease step further includes, and quiescing system avoids the subsequent treatment of the event Text is copied into clipbook.
It is 8. as claimed in claim 1 a kind of using interior text clone method, it is characterised in that:
It is described to terminate to further include after the button.onrelease step:Believe when getting the default paste event triggering of this application Number when, from application memory storage system read replicate after text paste in this application.
It is 9. as claimed in claim 8 a kind of using interior text clone method, it is characterised in that:
The default paste event trigger signal step of this application that gets further includes before:Being added in function menu should With default stickup menu, for triggering the default paste event trigger signal of this application.
10. one kind applies interior text reproducing unit, it is characterised in that including following procedure unit:
Acquiring unit, the trigger signal for the event that text replicates operation is included for obtaining;
Call unit, for calling default processing unit corresponding with the event;
Processing unit, for performing button.onrelease or system program, and other operations;
Writing unit, application memory storage system is write for obtaining the content of text for needing to replicate.
CN201711185675.8A 2017-11-23 2017-11-23 One kind applies interior text clone method, reproducing unit, storage medium and electronic equipment Pending CN107908332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711185675.8A CN107908332A (en) 2017-11-23 2017-11-23 One kind applies interior text clone method, reproducing unit, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711185675.8A CN107908332A (en) 2017-11-23 2017-11-23 One kind applies interior text clone method, reproducing unit, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN107908332A true CN107908332A (en) 2018-04-13

Family

ID=61847359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711185675.8A Pending CN107908332A (en) 2017-11-23 2017-11-23 One kind applies interior text clone method, reproducing unit, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN107908332A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108777808A (en) * 2018-06-04 2018-11-09 深圳Tcl数字技术有限公司 Text-to-speech method, display terminal and storage medium based on display terminal
CN109784036A (en) * 2018-12-12 2019-05-21 平安科技(深圳)有限公司 Anti- processing method of divulging a secret, device, medium and the electronic equipment of application program
CN110399232A (en) * 2019-06-21 2019-11-01 平安普惠企业管理有限公司 Paste processing method, device, equipment and computer readable storage medium
CN110417638A (en) * 2019-06-10 2019-11-05 腾讯科技(深圳)有限公司 Processing method of communication data and device, storage medium and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060110200A1 (en) * 2004-11-24 2006-05-25 Yasuhiro Kujirai Method of protecting leakage of information, and information processing apparatus and driver program which implement the method
CN101441622A (en) * 2008-12-29 2009-05-27 成都市华为赛门铁克科技有限公司 Method and apparatus for controlling operation of document
CN101527637A (en) * 2009-03-23 2009-09-09 北京安高科技有限公司 Virtual proprietary organization platform system and method thereof
CN102822790A (en) * 2010-04-02 2012-12-12 诺基亚公司 Methods and apparatuses for providing an enhanced user interface
CN103020493A (en) * 2012-12-28 2013-04-03 杭州晟元芯片技术有限公司 Anti-copy software protecting and operating device and anti-copy software protecting and operating method
CN104268479A (en) * 2014-09-29 2015-01-07 北京奇虎科技有限公司 Text operation isolating method, device and mobile terminal
US20160019104A1 (en) * 2014-07-17 2016-01-21 Blackberry Limited Cross-domain data sharing with permission control
CN105956464A (en) * 2016-04-25 2016-09-21 北京珊瑚灵御科技有限公司 Android platform-based clipboard control system and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060110200A1 (en) * 2004-11-24 2006-05-25 Yasuhiro Kujirai Method of protecting leakage of information, and information processing apparatus and driver program which implement the method
CN101441622A (en) * 2008-12-29 2009-05-27 成都市华为赛门铁克科技有限公司 Method and apparatus for controlling operation of document
CN101527637A (en) * 2009-03-23 2009-09-09 北京安高科技有限公司 Virtual proprietary organization platform system and method thereof
CN102822790A (en) * 2010-04-02 2012-12-12 诺基亚公司 Methods and apparatuses for providing an enhanced user interface
CN103020493A (en) * 2012-12-28 2013-04-03 杭州晟元芯片技术有限公司 Anti-copy software protecting and operating device and anti-copy software protecting and operating method
US20160019104A1 (en) * 2014-07-17 2016-01-21 Blackberry Limited Cross-domain data sharing with permission control
CN104268479A (en) * 2014-09-29 2015-01-07 北京奇虎科技有限公司 Text operation isolating method, device and mobile terminal
CN105956464A (en) * 2016-04-25 2016-09-21 北京珊瑚灵御科技有限公司 Android platform-based clipboard control system and method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108777808A (en) * 2018-06-04 2018-11-09 深圳Tcl数字技术有限公司 Text-to-speech method, display terminal and storage medium based on display terminal
CN108777808B (en) * 2018-06-04 2021-01-12 深圳Tcl数字技术有限公司 Text-to-speech method based on display terminal, display terminal and storage medium
CN109784036A (en) * 2018-12-12 2019-05-21 平安科技(深圳)有限公司 Anti- processing method of divulging a secret, device, medium and the electronic equipment of application program
CN110417638A (en) * 2019-06-10 2019-11-05 腾讯科技(深圳)有限公司 Processing method of communication data and device, storage medium and electronic device
CN110399232A (en) * 2019-06-21 2019-11-01 平安普惠企业管理有限公司 Paste processing method, device, equipment and computer readable storage medium
CN110399232B (en) * 2019-06-21 2024-03-05 平安普惠企业管理有限公司 Paste processing method, paste processing device, paste processing equipment and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN107908332A (en) One kind applies interior text clone method, reproducing unit, storage medium and electronic equipment
CN114556245A (en) Man-machine looped robot training for robot process automation
CN106227494B (en) A kind of application operating method and terminal
DE202010018488U1 (en) Virtual object referencing in a hosted computing environment
US9245256B2 (en) Assigning and managing reviews of a computing file
CN103873567B (en) The data transmission method and data transmission device of task based access control
JP6059361B2 (en) Product receipt information processing method, apparatus, program, and recording medium
CN107832113A (en) A kind of interface display method and device of android system application program
CN109657177A (en) The generation method of the page, device, storage medium and computer equipment after upgrading
CN110231975A (en) A kind of applied program processing method, device and electronic equipment
CN104361032B (en) A kind of method of operation log management
US8712967B1 (en) Systems and methods for simultaneously configuring multiple independent backups
US10020996B1 (en) Real-time policy management of data management life cycle
CN107577527A (en) Task generation and scheduling method and device
CN107016262A (en) Application program right management method and client
US9021389B1 (en) Systems and methods for end-user initiated data-loss-prevention content analysis
CN109982315A (en) Log method for uploading and relevant device
CN112965760A (en) Method and device for modifying root directory, electronic equipment and readable storage medium
EP4007955A1 (en) Parallel cloned workflow execution
CN107203417A (en) A kind of data clearing method, relevant apparatus and electronic equipment
CN109302503A (en) The sharing method and device of the generation method of signature, signature template
CN103107898A (en) Method, device and system for sending or receiving multiple managed objects simultaneously
CN109684620A (en) Change to the contract information recording method, device and computer readable storage medium
US9075635B1 (en) Systems and methods for merging virtual layers
CN109189593A (en) A kind of method, apparatus of data processing, computer equipment and storage medium

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

Application publication date: 20180413