CN107239351A - Method of attaching and device - Google Patents

Method of attaching and device Download PDF

Info

Publication number
CN107239351A
CN107239351A CN201710376454.2A CN201710376454A CN107239351A CN 107239351 A CN107239351 A CN 107239351A CN 201710376454 A CN201710376454 A CN 201710376454A CN 107239351 A CN107239351 A CN 107239351A
Authority
CN
China
Prior art keywords
input frame
case
stickup
reproducting content
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710376454.2A
Other languages
Chinese (zh)
Other versions
CN107239351B (en
Inventor
陈信吉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710376454.2A priority Critical patent/CN107239351B/en
Publication of CN107239351A publication Critical patent/CN107239351A/en
Application granted granted Critical
Publication of CN107239351B publication Critical patent/CN107239351B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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

Landscapes

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

Abstract

The disclosure is directed to a kind of method of attaching and device.This method includes:In the case where detecting duplication operation, the time that performs for replicating operation is write in the timestamp field of pasting boards;In the case where detecting the first operation for input frame, the execution time for replicating operation is obtained from the timestamp field of the pasting boards;Determine the time interval between the execution time of first operation and the execution time of duplication operation;In the case where determining that first operation meets stickup condition according to the time interval, described replicate is pasted in the input frame and operates corresponding reproducting content, wherein, the stickup condition includes:The time interval is less than time threshold.The disclosure can simplify taping process, greatly improve the simple operation of paste operation, realize Rapid pasting.

Description

Method of attaching and device
Technical field
This disclosure relates to field of computer technology, more particularly to method of attaching and device.
Background technology
In the mistake using terminal devices such as mobile phone, tablet personal computer or PC (Personal Computer, personal computer) Cheng Zhong, there is a large amount of application scenarios for needing to use duplication paste operation.For example, being replicated from short message after identifying code, in input frame Middle stickup identifying code;Replicated from JICQ after cell-phone number, being pasted in address list application or phone application should Cell-phone number;Replicate after network address, the network address is pasted in the input field of browser.
In correlation technique, after duplication operation is carried out, paste operation is if desired carried out, then is usually required in current interface Input frame, long-press input frame are found so as to eject Paste in current interface, and selects to paste.The process of this bonding method Cumbersome, simple operation is relatively low.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of method of attaching and device.
According to the first aspect of the embodiment of the present disclosure there is provided a kind of method of attaching, including:
In the case where detecting duplication operation, by the timestamp word for performing time write-in pasting boards for replicating operation Duan Zhong;
In the case where detecting the first operation for input frame, institute is obtained from the timestamp field of the pasting boards State the execution time for replicating operation;
Determine the time interval between the execution time of first operation and the execution time of duplication operation;
In the case where determining that first operation meets stickup condition according to the time interval, in the input frame Paste described replicate and operate corresponding reproducting content,
Wherein, the stickup condition includes:The time interval is less than time threshold.
In a kind of possible implementation, the stickup condition also includes:The type of the reproducting content with it is described defeated Entering frame allows the type matching of input, and the reproducting content includes word, picture.
In a kind of possible implementation, the stickup condition also includes:The character types of the reproducting content and institute Stating input frame allows the character types of input to match.
In a kind of possible implementation, methods described also includes:
In the case where detecting the duplication operation, the input frame according to the position display of the input frame is corresponding Cue button is pasted, wherein, show that the corresponding maximum duration for pasting cue button of the input frame is equal to the time threshold.
In a kind of possible implementation, for the first operation of input frame, including following any one:
The first operation carried out in the input frame;
For corresponding the first operation for pasting cue button of the input frame.
According to the second aspect of the embodiment of the present disclosure there is provided a kind of sticker, including:
Writing module, in the case where detecting duplication operation, the execution time for replicating operation being write and glued In the timestamp field of pasting board;
Acquisition module, in the case where detecting the first operation for input frame, from the time of the pasting boards The execution time for replicating operation is obtained in stamp field;
Determining module, for determining between the execution time of first operation and the execution time of duplication operation Time interval;
Stickup module, for determined according to the time interval it is described first operation meet stickup condition in the case of, Described replicate is pasted in the input frame and operates corresponding reproducting content,
Wherein, the stickup condition includes:The time interval is less than time threshold.
In a kind of possible implementation, the stickup condition also includes:The source-information of the reproducting content and institute The attribute information for stating input frame matches.
In a kind of possible implementation, the stickup condition also includes:The type of the reproducting content with it is described defeated Entering frame allows the type matching of input, and the reproducting content includes word, picture.
In a kind of possible implementation, described device also includes:
Display module, in the case where detecting the duplication operation, according to the position display of input frame institute The corresponding stickup cue button of input frame is stated, wherein, show corresponding maximum duration for pasting cue button of the input frame etc. In the time threshold.
In a kind of possible implementation, for the first operation of input frame, including following any one:
The first operation carried out in the input frame;
For corresponding the first operation for pasting cue button of the input frame.
According to the third aspect of the embodiment of the present disclosure there is provided a kind of sticker, including:Processor;For storage processing The memory of device executable instruction;Wherein, the processor is configured as performing the above method.
According to the fourth aspect of the embodiment of the present disclosure there is provided a kind of computer-readable recording medium, calculating is stored thereon with Machine program, the computer program realizes the above method when being executed by processor.
The technical scheme provided by this disclosed embodiment can include the following benefits:By detecting duplication operation In the case of, by the timestamp field for performing time write-in pasting boards for replicating operation, detecting for input frame In the case of one operation, the execution time for replicating operation is obtained from the timestamp field of pasting boards, holding for the first operation is determined Time interval between row time and the execution time for replicating operation, and determining that the first operation is met according to the time interval In the case of stickup condition, the duplication is pasted in input frame and operates corresponding reproducting content, thus, it is possible to simplify taping process, The simple operation of paste operation is greatly improved, Rapid pasting is realized.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of method of attaching according to an exemplary embodiment.
Fig. 2 is inputted according to the position display of input frame 21 in a kind of method of attaching according to an exemplary embodiment The corresponding schematic diagram for pasting cue button 22 of frame 21.
Fig. 3 is to paste in a kind of method of attaching according to an exemplary embodiment to replicate operation pair in input frame 21 The schematic diagram for the reproducting content answered.
Fig. 4 is a kind of block diagram of sticker according to an exemplary embodiment.
Fig. 5 shows a kind of block diagram of sticker according to an example of an exemplary embodiment.
Fig. 6 is a kind of block diagram of device 800 for being used to paste according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of method of attaching according to an exemplary embodiment.This method can apply to hand In the terminal devices such as machine, tablet personal computer, notebook computer or PC, it is not limited thereto.As shown in figure 1, this method includes step Rapid S11 to S14.
In step s 11, in the case where detecting duplication operation, the execution time for replicating operation is write into stickup In the timestamp field of plate.
As an example of the present embodiment, terminal device can add timestamp field in the pasting boards of system, should Timestamp field can be used for the execution time of the last duplication operation of record.For example, in the operating system of terminal device In the case of Android (Android) operating system, terminal device can be carried out in the bottom frame of Android operation system Modification, timestamp field is added in the pasting boards of bottom frame.By adding field in bottom code, in pasting boards record Time response velocity fails are fast.
As an example of the present embodiment, terminal device will can be answered after the execution time for replicating operation is obtained The execution time of system operation is sent to pasting boards, by the timestamp field for performing time write-in pasting boards for replicating operation.
As an example of the present embodiment, terminal device can obtain duplication in the case where detecting duplication operation Corresponding reproducting content is operated, it is possible to operate corresponding reproducting content to send to pasting boards by replicating, so that pasting boards are recorded Replicate the corresponding reproducting content of operation.
In step s 12, in the case where detecting the first operation for input frame, from the timestamp field of pasting boards It is middle to obtain the execution time for replicating operation.
Wherein, the first operation can be any one in single-click operation, double click operation, long-press operation and drag operation.
Although it should be noted that being described using single-click operation, double click operation, long-press operation and drag operation as example First operates as above, it is understood by one of ordinary skill in the art that disclosure not limited to this.Those skilled in the art can be according to reality Flexibly setting first is operated border application scenarios.
In a kind of possible implementation, for the first operation of input frame, it can include:Carried out in input frame First operation.For example, in the case where the first operation is single-click operation, if terminal device detects the list carried out in input frame Operation is hit, that is, detects user click input frame, then can further be obtained from the timestamp field of pasting boards and replicate operation The execution time.And for example, in the case where the first operation is long-press operation, if terminal device detects what is carried out in input frame Long-press is operated, that is, detects user's long-press input frame, then can further be obtained from the timestamp field of pasting boards and replicate behaviour The execution time of work.
In step s 13, determine the execution time of the first operation and replicate the time interval between the execution time operated.
In step S14, in the case where determining that the first operation meets stickup condition according to the time interval, in input frame Middle paste replicates the corresponding reproducting content of operation, wherein, stickup condition includes:Time interval is less than time threshold.
In a kind of possible implementation, in the case where the condition of stickup is less than time threshold for time interval, if the The time interval performed between time and the execution time for replicating operation of one operation is less than time threshold, then terminal device can be with Judge that the first operation meets stickup condition, so that terminal device, which can be determined that user needs to paste in the input frame, replicates operation Corresponding reproducting content.For example, time threshold can be 10 seconds, it is not limited thereto.
As an example of the present embodiment, terminal device is determining that the first operation meets bonding strip according to the time interval In the case of part, the corresponding reproducting content of duplication operation can be obtained from pasting boards, and stickup replicates operation in input frame Corresponding reproducting content.
In the present embodiment, after user carries out duplication operation, it is only necessary to carry out single stepping (i.e. for the of input frame Once operation) it can complete to paste, thus, it is possible to simplify taping process, the simple operation of paste operation is greatly improved, is realized fast Speed is pasted.
In a kind of possible implementation, stickup condition can also include:The source-information and input frame of reproducting content Attribute information match.
, can be according to the short message in the case where reproducting content derives from short message as an example of the implementation Outbox number or the short message content determine send the short message service provider, it is possible to by send the short message service provider it is true It is set to the source-information of the reproducting content.
As an example of the implementation, App that can be according to belonging to input frame (Application, using) or Person website, determines the corresponding service provider of input frame, it is possible to believe the attribute that the corresponding service provider of input frame is defined as input frame Breath.
For example, deriving from short message in reproducting content, send the service provider of the short message to take out platform A, and the input frame institute The corresponding service providers of App of category also to take out platform A in the case of, it may be determined that the source-information of reproducting content and input frame Attribute information matches.
It is that time interval is less than time threshold, and reproducting content in the condition of stickup in a kind of possible implementation In the case that the attribute information of source-information and input frame matches, if the execution for performing time and duplication operation of the first operation Time interval between time is less than time threshold, and the source-information of reproducting content and the attribute information of input frame match, Then terminal device can be determined that the first operation meets stickup condition, so that terminal device can be determined that user is needed in the input frame Middle paste replicates the corresponding reproducting content of operation.
In a kind of possible implementation, stickup condition can also include:The character types and input frame of reproducting content The character types of input are allowed to match.For example, if the character types of reproducting content are numeral, input frame allows the character of input Type is also for numeral, then the character types and input frame that can be determined that reproducting content allow the character types of input to match.
It is that time interval is less than time threshold, and reproducting content in the condition of stickup in a kind of possible implementation Character types and input frame allow in the case that the character types of input match, if the execution time of the first operation grasps with replicating Time interval between the execution time of work is less than time threshold, and the character types of reproducting content allow input with input frame Character types match, then terminal device can be determined that the first operation meets stickup condition, so that terminal device can be determined that use Family, which needs to paste in the input frame, replicates the corresponding reproducting content of operation.
It is that time interval is less than time threshold in the condition of stickup in alternatively possible implementation, reproducting content The attribute information of source-information and input frame matches, and the character types of reproducting content allow the character type of input with input frame In the case that type matches, if the time interval between the execution time of the first operation and the execution time for replicating operation is less than Between threshold value, the source-information of reproducting content and the attribute information of input frame match, and character types and the input of reproducting content Frame allows the character types of input to match, then terminal device can be determined that the first operation meets stickup condition, so that terminal is set It is standby to can be determined that user needs to paste to replicate in the input frame to operate corresponding reproducting content.
In a kind of possible implementation, this method can also include:In the case where detecting duplication operation, according to The corresponding stickup cue button of position display input frame of input frame.Fig. 2 is that one kind according to an exemplary embodiment is glued According to the corresponding schematic diagram for pasting cue button 22 of position display input frame 21 of input frame 21 in patch method.
As an example of the implementation, it can show that the corresponding stickup prompting of input frame is pressed in the inside of input frame Button.
As another example of the implementation, input frame it is corresponding paste cue button can a part be shown in it is defeated Enter the inside of frame, another part is shown in the outside of input frame.
As another example of the implementation, the corresponding cue button of pasting of input frame may be displayed on input frame It is outside.For example, may be displayed on the top of input frame, lower section, left, right, upper left side, lower left, upper right side or bottom right Side etc., is not limited thereto.In this example, the corresponding distance for pasting cue button and input frame of input frame can be less than away from From threshold value.For example, distance threshold can be 5 pixels, it is not limited thereto.
Although it should be noted that being described with three above example corresponding according to the position display input frame of input frame The mode of cue button is pasted, it is understood by one of ordinary skill in the art that the disclosure answers not limited to this.Those skilled in the art can Flexibly to be set according to practical application scene, input frame is corresponding to paste the display location of cue button, as long as input can be represented The corresponding corresponding relation pasted between cue button and input frame of frame.
As an example of the implementation, the corresponding cue button of pasting of input frame can show stickup prompting letter Breath, for example, pasting prompt message can include whether text information " needs to paste" or " stickup ".
As an example of the implementation, the corresponding button icon for pasting cue button of input frame can be bubble Pattern.Wherein, the stickup cue button of bubble pattern can show stickup prompt message.
As an example of the implementation, in the case where detecting duplication operation, if being only existed in current interface One input frame, then can be according to the corresponding stickup cue button of the position display of the input frame input frame.
As another example of the implementation, in the case where detecting duplication operation, if existing in current interface Multiple input frames, then can be according to the corresponding stickup cue button of the position display of each input frame each input frame.
As another example of the implementation, in the case where detecting duplication operation, if existing in current interface Multiple input frames, can determine the input of the characteristic information matching with replicating the corresponding reproducting content of operation from each input frame Frame, it is possible to according to the corresponding stickup cue button of the input frame of position display first of the input frame of the matching.
Wherein, the characteristic information of reproducting content can include at least one of following:The type of reproducting content, reproducting content The character length of character types and reproducting content.
As an example of the implementation, the characteristic information of reproducting content can include the type of reproducting content.Example At least one of such as, can be in reproducting content includes " http " " www " " wap " " .com " " .cn " " .net " and " .org " In the case of, the type for determining the reproducting content is network address.In the case where current interface is browser interface, it may be determined that with answering The input frame of the characteristic information matching of content processed is the address input field of browser.
As another example of the implementation, the character that the characteristic information of reproducting content can include reproducting content is long Degree.For example, if the character length of reproducting content is 6, there is an identifying code input frame in current interface, and the identifying code is defeated Entering frame allows the character length of input to be 6, then can determine to test for this with the input frame that the characteristic information of reproducting content is matched Demonstrate,prove code input frame.
As another example of the implementation, the characteristic information of reproducting content can include the character type of reproducting content Type and character length.For example, if each character of reproducting content is numeral, the character length of reproducting content is 11, and is worked as Front interface be address list in contact details interface, then can determine be with the input frame that the characteristic information of reproducting content is matched Cell-phone number input field in the contact details interface.
In a kind of possible implementation, the corresponding maximum duration for pasting cue button of display input frame can be equal to Time threshold.In the implementation, display input frame it is corresponding paste cue button duration can be equal to current time with Replicate the time difference between the execution time of operation.If the corresponding duration for pasting cue button of display input frame reaches time threshold During value, the first operation for input frame is still not detected by, then can largely show that user need not be in the input Paste operation is carried out in frame.Therefore, the situation of time threshold is reached in the corresponding duration for pasting cue button of display input frame Under, terminal device can be disappeared with the corresponding cue button of pasting of control input frame, thus need not be in the input frame in user In the case of carrying out paste operation, the corresponding cue button of pasting of input frame can be avoided to block current interface.
In a kind of possible implementation, for the first operation of input frame, it can include:It is corresponding for input frame Paste the first operation of cue button.
As an example of the implementation, in the case where the first operation is single-click operation, if terminal device is detected To for the corresponding single-click operation for pasting cue button of input frame, that is, detecting, user click input frame is corresponding to paste prompting Button, then the execution time for replicating operation can be further obtained from the timestamp field of pasting boards.
It is drag operation in the first operation as another example of the implementation, and the corresponding stickup of input frame is carried In the case of showing the outside that button is shown in input frame, if detecting the dragging behaviour for pasting cue button corresponding for input frame Make, and the first distance is less than second distance, then can further be obtained from the timestamp field of pasting boards and replicate holding for operation The row time.Wherein, the first distance can be the distance between stickup cue button and input frame after dragging, and second distance can be with For the distance between the stickup cue button before dragging and input frame.
It is bubble sample in the corresponding button icon for pasting cue button of input frame as an example of the implementation Formula, and terminal device detect for input frame it is corresponding paste cue button first operation in the case of, this can be controlled The stickup cue button of bubble pattern disappears, thus, it is possible to avoid after paste operation is performed input frame it is corresponding paste prompting by Button blocks current interface.
In a kind of possible implementation, can detect input frame it is corresponding paste cue button it is dragged, and In the case that first distance is more than second distance, the corresponding cue button of pasting of control input frame disappears.Wherein, the first distance can Think the distance between stickup cue button and input frame after dragging, second distance can be the stickup cue button before dragging The distance between with input frame.The implementation can detect input frame it is corresponding paste cue button be dragged to it is remote In the case of the direction of input frame, the corresponding stickup cue button of input frame is no longer shown, with need not be in the input in user In the case of carrying out paste operation in frame, the corresponding stickup cue button of input frame is no longer shown, so as to avoid in user Stickup cue button blocks current interface in the case of paste operation need not be carried out in the input frame.
Fig. 3 is to paste in a kind of method of attaching according to an exemplary embodiment to replicate operation pair in input frame 21 The schematic diagram for the reproducting content answered.As shown in figure 3, it is " 875852 " to replicate the corresponding reproducting content of operation.It is directed to detecting First operation of input frame, and it is true according to the time interval performed between time and the execution time for replicating operation of the first operation In the case that fixed first operation meets stickup condition, pasted in input frame 21 and replicate the corresponding reproducting content of operation “875852”。
Fig. 4 is a kind of block diagram of sticker according to an exemplary embodiment.Reference picture 4, the device includes writing Enter module 41, acquisition module 42, determining module 43 and stickup module 44.The writing module 41 is configured as detecting duplication behaviour In the case of work, by the timestamp field for performing time write-in pasting boards for replicating operation.The acquisition module 42 is configured as In the case where detecting the first operation for input frame, the execution for replicating operation is obtained from the timestamp field of pasting boards Time.The determining module 43 is configured to determine that the time between the execution time of the first operation and the execution time for replicating operation Interval.The stickup module 44 is configured as in the case where determining that the first operation meets stickup condition according to the time interval, Pasted in input frame and replicate the corresponding reproducting content of operation, wherein, stickup condition includes:The time interval is less than time threshold.
In a kind of possible implementation, stickup condition also includes:The source-information of reproducting content and the category of input frame Property information match.
In a kind of possible implementation, stickup condition also includes:The character types of reproducting content allow with input frame The character types of input match.
Fig. 5 shows a kind of block diagram of sticker according to an example of an exemplary embodiment.Such as Fig. 5 institutes Show:
In a kind of possible implementation, the device also includes display module 45.The display module 45 is configured as In the case of detecting duplication operation, according to the corresponding stickup cue button of the position display input frame of input frame, wherein, display The corresponding maximum duration for pasting cue button of input frame is equal to time threshold.
In a kind of possible implementation, for the first operation of input frame, including following any one:In input frame First operation of middle progress;For corresponding the first operation for pasting cue button of input frame.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
The present embodiment can simplify taping process, greatly improve the simple operation of paste operation, realize Rapid pasting.
Fig. 6 is a kind of block diagram of device 800 for being used to paste according to an exemplary embodiment.For example, device 800 Can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, Body-building equipment, personal digital assistant etc..
Reference picture 6, device 800 can include following one or more assemblies:Processing assembly 802, memory 804, power supply Component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing assembly 802, such as with display, call, data communication, phase Machine operates the operation associated with record operation.Processing assembly 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing assembly 802 can include one or more modules, just Interaction between processing assembly 802 and other assemblies.For example, processing assembly 802 can include multi-media module, it is many to facilitate Interaction between media component 808 and processing assembly 802.
Memory 804 is configured as storing various types of data supporting the operation in device 800.These data are shown Example includes the instruction of any application program or method for being operated on device 800, and contact data, telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detection touches or slide related duration and pressure with described.In certain embodiments, many matchmakers Body component 808 includes a front camera and/or rear camera.When device 800 be in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive the multi-medium data of outside.Each front camera and Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 800 be in operator scheme, when such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 804 or via communication set Part 816 is sent.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
I/O interfaces 812 is provide interface between processing assembly 802 and peripheral interface module, above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor cluster 814 can detect opening/closed mode of device 800, the relative positioning of component is for example described Component is the display and keypad of device 800, and sensor cluster 814 can be with 800 1 components of detection means 800 or device Position change, the existence or non-existence that user contacts with device 800, the orientation of device 800 or acceleration/deceleration and device 800 Temperature change.Sensor cluster 814 can include proximity transducer, be configured to detect in not any physical contact The presence of neighbouring object.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of device 800.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (12)

1. a kind of method of attaching, it is characterised in that including:
In the case where detecting duplication operation, by the timestamp field for performing time write-in pasting boards for replicating operation In;
In the case where detecting the first operation for input frame, obtain described multiple from the timestamp field of the pasting boards Make the execution time of operation;
Determine the time interval between the execution time of first operation and the execution time of duplication operation;
In the case where determining that first operation meets stickup condition according to the time interval, pasted in the input frame It is described to replicate the corresponding reproducting content of operation,
Wherein, the stickup condition includes:The time interval is less than time threshold.
2. according to the method described in claim 1, it is characterised in that the stickup condition also includes:The reproducting content Source information and the attribute information of the input frame match.
3. method according to claim 1 or 2, it is characterised in that the stickup condition also includes:The reproducting content Type allows the type matching of input with the input frame, and the reproducting content includes word, picture.
4. according to the method described in claim 1, it is characterised in that methods described also includes:
In the case where detecting the duplication operation, the input frame according to the position display of the input frame is corresponding to be pasted Cue button, wherein, show that the corresponding maximum duration for pasting cue button of the input frame is equal to the time threshold.
5. it is according to the method described in claim 1, it is characterised in that operated for the first of input frame, including following any one :
The first operation carried out in the input frame;
For corresponding the first operation for pasting cue button of the input frame.
6. a kind of sticker, it is characterised in that including:
Writing module, in the case where detecting duplication operation, being write into pasting boards the execution time for replicating operation Timestamp field in;
Acquisition module, in the case where detecting the first operation for input frame, from the timestamp word of the pasting boards The execution time for replicating operation is obtained in section;
Determining module, for determining the time between the execution time of first operation and the execution time of duplication operation Interval;
Stickup module, in the case where determining that first operation meets stickup condition according to the time interval, in institute State and the corresponding reproducting content of the duplication operation pasted in input frame,
Wherein, the stickup condition includes:The time interval is less than time threshold.
7. device according to claim 6, it is characterised in that the stickup condition also includes:The reproducting content Source information and the attribute information of the input frame match.
8. the device according to claim 6 or 7, it is characterised in that the stickup condition also includes:The reproducting content Type allows the type matching of input with the input frame, and the reproducting content includes word, picture.
9. device according to claim 6, it is characterised in that described device also includes:
Display module, it is defeated according to the position display of the input frame in the case where detecting the duplication operation Enter the corresponding stickup cue button of frame, wherein, show that the corresponding maximum duration for pasting cue button of the input frame is equal to institute State time threshold.
10. device according to claim 6, it is characterised in that operated for the first of input frame, including it is following any one :
The first operation carried out in the input frame;
For corresponding the first operation for pasting cue button of the input frame.
11. a kind of sticker, it is characterised in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as the method described in any one in perform claim requirement 1 to 5.
12. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The method described in any one in claim 1 to 5 is realized when being executed by processor.
CN201710376454.2A 2017-05-25 2017-05-25 Pasting method and device Active CN107239351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710376454.2A CN107239351B (en) 2017-05-25 2017-05-25 Pasting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710376454.2A CN107239351B (en) 2017-05-25 2017-05-25 Pasting method and device

Publications (2)

Publication Number Publication Date
CN107239351A true CN107239351A (en) 2017-10-10
CN107239351B CN107239351B (en) 2020-11-10

Family

ID=59985637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710376454.2A Active CN107239351B (en) 2017-05-25 2017-05-25 Pasting method and device

Country Status (1)

Country Link
CN (1) CN107239351B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107765958A (en) * 2017-10-30 2018-03-06 中国联合网络通信集团有限公司 One kind replicates method of attaching and system and user terminal
CN108170539A (en) * 2017-12-08 2018-06-15 北京小米移动软件有限公司 Information processing method and equipment
CN110008043A (en) * 2019-04-09 2019-07-12 中国联合网络通信集团有限公司 Method of attaching and affixing system
CN110381209A (en) * 2019-07-22 2019-10-25 网易(杭州)网络有限公司 Processing method, device and the storage medium of pasting boards message
CN110502173A (en) * 2019-08-19 2019-11-26 Oppo(重庆)智能科技有限公司 A kind of interface content processing method, device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808058A (en) * 2016-03-04 2016-07-27 陈包容 Intelligent display method and apparatus for pasting prompt
CN105871690A (en) * 2016-03-31 2016-08-17 阿里巴巴集团控股有限公司 Instant messaging realization method and device
CN106126025A (en) * 2016-06-23 2016-11-16 北京小米移动软件有限公司 Replicate the exchange method and device pasted
CN106484259A (en) * 2016-09-30 2017-03-08 北京小米移动软件有限公司 Input method, device and equipment
CN106527851A (en) * 2016-10-31 2017-03-22 维沃移动通信有限公司 Information previewing method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808058A (en) * 2016-03-04 2016-07-27 陈包容 Intelligent display method and apparatus for pasting prompt
CN105871690A (en) * 2016-03-31 2016-08-17 阿里巴巴集团控股有限公司 Instant messaging realization method and device
CN106126025A (en) * 2016-06-23 2016-11-16 北京小米移动软件有限公司 Replicate the exchange method and device pasted
CN106484259A (en) * 2016-09-30 2017-03-08 北京小米移动软件有限公司 Input method, device and equipment
CN106527851A (en) * 2016-10-31 2017-03-22 维沃移动通信有限公司 Information previewing method and mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107765958A (en) * 2017-10-30 2018-03-06 中国联合网络通信集团有限公司 One kind replicates method of attaching and system and user terminal
CN108170539A (en) * 2017-12-08 2018-06-15 北京小米移动软件有限公司 Information processing method and equipment
CN110008043A (en) * 2019-04-09 2019-07-12 中国联合网络通信集团有限公司 Method of attaching and affixing system
CN110381209A (en) * 2019-07-22 2019-10-25 网易(杭州)网络有限公司 Processing method, device and the storage medium of pasting boards message
CN110502173A (en) * 2019-08-19 2019-11-26 Oppo(重庆)智能科技有限公司 A kind of interface content processing method, device and computer readable storage medium

Also Published As

Publication number Publication date
CN107239351B (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN104731688B (en) Point out the method and device of reading progress
CN107239351A (en) Method of attaching and device
CN104238875A (en) Application corner mark addition method and device
CN104184870A (en) Call log marking method and device and electronic equipment
CN103927081A (en) Method and device for processing notification events
CN104267881B (en) The operating method and device of toolbar
CN106503131A (en) Obtain the method and device of interest information
CN104020924A (en) Label establishing method and device and terminal
CN106775202A (en) A kind of method and device of information transfer
CN104461348A (en) Method and device for selecting information
CN106126025A (en) Replicate the exchange method and device pasted
CN105892805A (en) Instant message processing method and device
CN104461283A (en) Network view screen shooting method and device and electronic device
CN107544802A (en) device identification method and device
CN104407788B (en) Image-erasing method and device
CN107819740A (en) Verification method, terminal device, audio amplifier and the server of terminal device
CN107423059A (en) Display methods, device and the terminal of the page
CN107402756A (en) For drawing the method, apparatus and terminal of the page
CN106775708A (en) The page layout switch control method and device of mobile terminal
CN107885571A (en) Show page control method and device
CN106936986A (en) Application processing method and device
CN106919302A (en) The method of controlling operation thereof and device of mobile terminal
CN104765686B (en) The method and device of test application program
CN107295099A (en) PUSH message processing method, device and storage medium
CN106774977A (en) Punctuation mark automatic matching method, device and terminal device

Legal Events

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