CN112328141A - Copying method and device - Google Patents

Copying method and device Download PDF

Info

Publication number
CN112328141A
CN112328141A CN202011218334.8A CN202011218334A CN112328141A CN 112328141 A CN112328141 A CN 112328141A CN 202011218334 A CN202011218334 A CN 202011218334A CN 112328141 A CN112328141 A CN 112328141A
Authority
CN
China
Prior art keywords
copy
input
clipboard
user
copying
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
CN202011218334.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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011218334.8A priority Critical patent/CN112328141A/en
Publication of CN112328141A publication Critical patent/CN112328141A/en
Pending legal-status Critical Current

Links

Images

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/0482Interaction with lists of selectable items, e.g. menus
    • 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
    • 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

Landscapes

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

Abstract

The application discloses a copying method and a copying device, and belongs to the technical field of computers. The copying method comprises the following steps: receiving a first input used by a user for selecting a target object; displaying an operation option control in response to the first input; receiving a second input of the operation option control by the user; and responding to the second input, copying the target object, splicing the copy object to the object with the latest time in the clipboard to obtain an updated object with the latest time, wherein the copy object is a copy of the target object. According to the method and the device, the operation option control for operating the target object is improved, so that additional copying of a plurality of copied objects can be realized according to input of a user, and the copying efficiency can be effectively improved.

Description

Copying method and device
Technical Field
The application belongs to the technical field of computers, and particularly relates to a copying method and device.
Background
With the increasing development of society, electronic devices such as computers, mobile phones and tablet computers are more and more popular, and people frequently operate chatting, processing files or texts and the like through the electronic devices. Especially, in text operation, a user inputs a text through various terminals, transfers various documents, edits various files, and the like, basically every day. Among them, an operation of copying a certain discontinuous piece of text is also a common operation.
However, in carrying out the present application, the inventors have discovered that when multiple discrete sections of text need to be copied, the copying process is lengthy, tedious and inefficient to perform. Therefore, how to effectively improve the efficiency of copying multiple text segments is an urgent technical problem to be solved.
Disclosure of Invention
The embodiment of the application provides a copying method and a copying device, and can solve the problems of complexity and verbosity and low efficiency of the conventional copying process.
In a first aspect, a replication method is provided, including:
receiving a first input used by a user for selecting a target object;
displaying an operation option control in response to the first input;
receiving a second input of the operation option control by the user;
and responding to the second input, copying the target object, splicing the copy object to the object with the latest time in the clipboard to obtain an updated object with the latest time, wherein the copy object is a copy of the target object.
In a second aspect, there is provided a copying apparatus comprising:
the first receiving module is used for receiving a first input used by a user for selecting a target object;
a first processing module for displaying an operation option control in response to the first input;
the second receiving module is used for receiving a second input of the user to the operation option control;
and the second processing module is used for responding to the second input, copying the target object, splicing the copied object to the object with the latest time in the clipboard, and obtaining the updated object with the latest time, wherein the copied object is a copy of the target object.
In a third aspect, an electronic device is provided, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when the program or instructions are executed by the processor, the steps of the replication method according to the first aspect are implemented.
In a fourth aspect, there is provided a readable storage medium on which a program or instructions are stored, which program or instructions, when executed by a processor, implement the steps of the replication method as described in the first aspect above.
In a fifth aspect, a chip is provided, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to run a program or instructions of an electronic device to implement the steps of the replication method according to the first aspect.
In the embodiment of the application, by improving the operation option control for operating the target object, the additional copying of a plurality of copied objects can be realized according to the input of a user, so that the copying efficiency can be effectively improved.
Drawings
Fig. 1 is a schematic flow chart of a replication method according to an embodiment of the present disclosure;
fig. 2 is a second schematic flowchart of a replication method according to an embodiment of the present application;
fig. 3 is one of schematic diagrams of an operation option control in a copy method according to an embodiment of the present application;
fig. 4 is a second schematic diagram illustrating an operation option control in the copy method according to the embodiment of the present application;
FIG. 5 is a schematic structural diagram of a replication apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic physical structure diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used are interchangeable under appropriate circumstances such that embodiments of the application can be practiced in sequences other than those illustrated or described herein, and the terms "first" and "second" used herein generally do not denote any order, nor do they denote any order, for example, the first object may be one or more.
The following describes in detail a copying method, a copying apparatus, and an electronic device provided in the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a replication method provided in an embodiment of the present application, where the method may be executed by an apparatus having replication and display functions, as shown in fig. 1, and the method includes:
step 101, receiving a first input used by a user to select a target object.
Specifically, when a user needs to copy a displayed object during page editing through a terminal, the user may select the object, which may be referred to as a target object. When the user selects the target object, the system may read a user's selection operation on the target object, where the selection operation is an operation used by the user to select the target control, and may be referred to as a first input.
The terminal refers to a terminal device having a page editing and displaying function, and may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, a camera, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The target object refers to an object to be copied, which is a target that a user wants to copy and is generally content in a page display.
Optionally, the target object includes at least one of the following objects: text objects, picture objects, table objects, and formula objects.
Specifically, the objects that can be copied in this embodiment of the present application may include all editable objects in the page display, such as one of all object types listed above or a combination of any multiple of the object types. For example, the target object may be a text object alone or a combination of a text object and a formula object, and the embodiment of the present application is not particularly limited.
And 102, responding to the first input, and displaying an operation option control.
Specifically, after receiving a first input of a user for selecting a target object according to the steps, the system displays the type of editing operation which can be performed on the target object based on the first input. The editing operation types are displayed in the form of operation option controls, so that a user can select and operate the operation option controls to realize corresponding editing operation.
Optionally, the operation option controls include at least a copy append control.
It can be understood that the embodiment of the present application performs an improvement process on the operation option control, and specifically, the operation option control at least includes a copy addition control for additionally copying. By operating the copy addition control in the operation option control, the additional copy of the new copy content, namely the target object, can be realized.
It should be understood that, in addition to copying the append control, the operation option control may also include other editing operation types, such as copying, searching, sharing, and the like.
The operation option control is a control group comprising at least one sub-operation control, and because the editing operation corresponding to each sub-operation control is selectable, all the sub-operation controls form different selectable operation options, namely, operation option controls.
And 103, receiving a second input of the user to the operation option control.
Specifically, after the system displays the operation option controls capable of editing the target object, the user may select corresponding sub-operation controls from the operation option controls. And then, the system can read the selection operation of the user and can obtain the result of the selection operation, namely obtain the selected sub-operation control. Wherein the selecting operation may be referred to as a second input.
The selected sub-operation control corresponds to a corresponding editing operation that needs to be performed on the target object, and the sub-operation control may be optionally referred to as a target sub-control. For example, if the user needs to additionally copy the selected target object, the corresponding optional "copy and add" option control may be called a target child control.
And step 104, responding to the second input, copying the target object, and splicing the copied object to the object with the latest time in the clipboard to obtain the updated object with the latest time, wherein the copied object is a copy of the target object.
Specifically, after a second input used by the user to select the target sub-control is acquired, the target object is copied based on the second input, and a copy object is obtained. The replica object is a replica obtained by replicating the target object, that is, a replica of the target object. Meanwhile, the system needs to read the clipboard content, find the object with the closest time, and splice the copy object to the object with the closest time. After the splicing is completed, a new object can be obtained, and the object can be called as an updated object with the latest time, that is, the updating of the object with the latest time is realized through the splicing.
Optionally, the target object and the object closest in time originate from the same page or application or originate from different pages or applications.
The object with the closest time is an object with the latest timestamp in the plurality of objects in the clipboard, that is, the object with the closest distance between the time corresponding to the timestamp and the current time.
According to the copying method provided by the embodiment of the application, the operation option control for operating the target object is improved, so that the additional copying of a plurality of copied objects can be realized according to the input of a user, and the copying efficiency can be effectively improved.
Further, before the splicing the copy object to the object closest in time in the clipboard, the copying method further includes: determining the most recent object in time if the clipboard is not empty.
It can be understood that the embodiment of the present application needs to splice the copy result of the target object, i.e. the copy object, to the object on the clipboard that is closest in time. Therefore, before the splicing operation is performed, the object on the clipboard that is closest in time needs to be acquired.
Specifically, it is considered that the contents of the clipboard may be empty after the system is restarted or when the user has never performed an operation such as cutting or copying, and the most recent object on the clipboard does not exist. Optionally, in the embodiment of the present application, the content of the clipboard may be detected in advance to obtain a result of the detection action, where the result is used to indicate whether the clipboard is empty.
In the process of executing the embodiment of the application, under the condition that the content of the clipboard is not empty, the object with the closest time is determined according to the time stamp of each object on the clipboard.
According to the embodiment of the application, whether the clipboard is empty can be detected in advance before the splicing of the copied objects is carried out, and further additional copying processing is carried out under the condition that the clipboard is not empty, so that system errors can be effectively avoided, and the reliability of the system is improved.
Optionally, when the clipboard is empty, the copy addition control is not displayed, or the copy addition control is displayed in an inoperable state.
Specifically, when the content of the clipboard is detected in advance according to the above-described embodiment, a case may occur in which the result of the detection is yes, that is, a case in which the content of the clipboard is detected to be empty. For example, in the event of a system restart, the clipboard may be emptied; if the user never performs a copy or cut operation, the contents of the clipboard are empty.
In the process of executing the embodiment of the present application, when the content of the clipboard is empty, since the content of the clipboard is empty, the object closest in time cannot be determined, and thus normal additional copy and concatenation cannot be achieved. At this time, the copy addition control may be hidden or displayed in an inoperable state, such as a font displayed in gray or red, while the link call of the copy addition control is prohibited.
Optionally, a "copy" operation control may be displayed normally at this time, and when the control is selected, a normal copy process is performed and a copy object is added to the clipboard.
According to the embodiment of the application, when the content of the clipboard is empty, the copying additional control is not displayed or the copying additional control is displayed in an inoperable state, so that system errors caused by misoperation of a user can be effectively avoided, and the reliability is higher.
Optionally, the splicing the copy object to the object closest in time in the clipboard includes: and splicing the copy object to the back end of the object with the closest time.
Specifically, when the copy result of the target object, that is, the copy object, is spliced to the object closest to the time in the clipboard according to the above embodiments, the copy object may be selected to be spliced to the rear end of the object closest to the time, that is, sequentially spliced according to the time of the copy. Therefore, the copied multiple sections of contents can be sorted in time according to the sequence of the copying time.
According to the method and the device, the copy object is spliced at the rear end of the object closest in time, when pasting display is carried out, the content copied firstly is displayed in front of the user, the text copied and added later is displayed later, the text copied and added firstly is displayed before the text copied and added later, the expectation of the user is better met, and the user experience is better.
Further, the replication method further includes: receiving a third input of the user for pasting the object; pasting the updated most recent object in the clipboard into an input box in response to the third input.
Specifically, after the target object is additionally copied according to the above embodiments, the latest object in the clipboard includes the copy result of the target object, that is, the copy object, and the latest object is the latest object after update.
Therefore, when the user needs to paste the copied content after copying is completed, the user only needs to move the cursor to the input box and send out the object pasting request through the corresponding operation, and the system can acquire the operation used by the user to paste the object, which can be referred to as a third input.
Thereafter, the system retrieves the most recent object in time, i.e., the updated most recent object, from the clipboard based on the third input and pastes it into the input box.
It should be understood that, since the updated latest object includes both the copy object of the target object and the history copy content, when pasting, only one pasting operation is needed to paste all the additionally copied contents into the input box, which is simpler and more efficient.
To further illustrate the embodiments of the present application, the following description is made in more detail with reference to fig. 2, but without limiting the scope of the present application.
As shown in fig. 2, a second flowchart of the replication method provided in the embodiment of the present application includes the following processing steps:
in step 201, the user finds the first text segment that the user wants to copy, and selects the first text segment.
Specifically, a user selects a text box in a certain page of a certain application program on a certain intelligent terminal, then finds a first section of text to be copied, adjusts a selection box, and selects the text to be copied.
For example, in a smart phone (including an android phone, an iPhone phone or a win phone), the main flow of text selection is as follows: the existing intelligent equipment generally adopts long press selection, and then the text range needing to be selected is adjusted by dragging a cursor left and right; the process can currently select only a continuous piece of text.
For another example, on a PC computer (including a window system, a macos system, and an Ubuntu system), the main process for selecting a text is as follows: generally, a left mouse button is pressed for a long time, and a mouse is moved to select a required text; text may of course also be selected by a shortcut of the keyboard.
Step 202, a text menu window pops up for the user, that is, an operation option control is displayed.
If the latest copy of the current clipboard exists and is text. Then in the pop-up text menu bar, add the "copy add" button:
fig. 3 is a schematic diagram of an operation option control in the copy method according to the embodiment of the present application, which is a schematic diagram of a computer-side operation option control. As shown in fig. 4, a second schematic diagram of operating an option control in the copying method provided in the embodiment of the present application is a schematic diagram of operating an option control at a smartphone end.
If the user has not copied any text content so far after restarting the system, the "copy add" menu button is not displayed in the pop-up menu or is displayed in an inoperable state.
Step 203, the user selects the "copy" button in the text menu.
If the user selects the copy menu. Regardless of whether copied contents exist in the current clipboard, the currently selected text is set as a new piece of copied contents and becomes a "latest piece of copied contents" or is called as a "most recent object".
Of particular note are: if the latest copy content of the current clipboard exists and is the text content, when the user selects to copy the currently selected text content at the moment, the system needs to store the current text into the clipboard and set the current text as the text content of the latest clipboard. The current text content has no association with the last recently copied content. If the input box is pasted at the moment, only the currently selected text is pasted, and the previous text is not pasted into the input box.
In step 204, the user selects the "copy addition" menu.
If the user selects the copy append menu, the system will find the most recent copied content in the clipboard, i.e., the most recent object in time, and directly modify it, i.e., append the currently selected text to the back end of the content.
In step 205, the user repeatedly executes steps 201 and 204 to complete the multiple copy addition operation.
The user can copy n discontinuous texts, even the texts across pages or the texts across applications, only by repeatedly executing the steps 201 and 204 n times in sequence.
At step 206, the user pastes text in the input box.
The user finds the input box and selects the paste menu, and the system enters the latest text on the clipboard into the input box to complete the paste function. Based on this operation, a single copy of text that is "copied" alone or an additional copy of text that is "copied" multiple times without interruption from "copied" until the additional copy of text before pasting is successfully entered into the input box, and the text is entered into the input box in chronological order.
In the embodiment, because the currently copied text is added to the rear end of the object with the closest time, the order of the text is ensured, and for the user, the text copied firstly is displayed in front, the text copied and added later is displayed in back, and the text copied and added firstly is displayed in front of the text copied and added later.
The method and the device for copying the text can enable a user to copy multiple discontinuous texts more efficiently, especially in the cross-page and cross-application texts, can obviously improve the copying efficiency, and avoid repeated operation.
It should be noted that, in the replication method provided in the embodiment of the present application, the execution main body may be a replication device, or a control module in the replication device for executing a load replication method. In the embodiment of the present application, a copy device executes a load copy method as an example, and the copy method provided in the embodiment of the present application is described.
Fig. 5 shows a schematic structural diagram of a replication apparatus according to an embodiment of the present application, which may be used to implement additional replication in each of the foregoing replication method embodiments, and the apparatus includes: a first receiving module 501, a first processing module 502, a second receiving module 503 and a second processing module 504.
The first receiving module 501 is configured to receive a first input used by a user to select a target object; the first processing module 502 is configured to display an operation option control in response to the first input; the second receiving module 503 is configured to receive a second input of the operation option control from the user; the second processing module 504 is configured to copy the target object in response to the second input, and splice the copy object to the latest object in the clipboard, so as to obtain an updated latest object, where the copy object is a copy of the target object.
Optionally, the second processing module is further configured to:
determining the most recent object in time if the clipboard is not empty.
Optionally, the operation option controls include at least a copy append control.
Optionally, the first processing module is further configured to:
and under the condition that the clipboard is empty, not displaying the copy addition control, or displaying the copy addition control in an inoperable state.
Optionally, when the second processing module is configured to splice the copy object to the object closest to the time in the clipboard, the second processing module is specifically configured to:
and splicing the copy object to the back end of the object with the closest time.
Further, the replication apparatus further includes:
the third receiving module is used for receiving a third input used by the user for pasting the object;
and the third processing module is used for responding to the third input and pasting the object which is latest in time after updating in the clipboard into the input box.
Optionally, the target object includes at least one of the following objects: text objects, picture objects, table objects, and formula objects.
Optionally, the target object and the object closest in time originate from the same page or application or originate from different pages or applications.
The copy apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, an in-vehicle electronic device, a wearable device, a smart camera, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a television (television), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The copy apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The replication device provided in the embodiment of the present application can implement each process implemented in fig. 1 to fig. 4 and each replication method embodiment described above, and achieve the same technical effect, and is not described here again to avoid repetition.
Optionally, as shown in fig. 6, an electronic device 600 is further provided in the embodiment of the present application, and includes a processor 601, a memory 602, and a program or an instruction stored on the memory 602 and capable of being executed on the processor 601, where when the program or the instruction is executed by the processor 601, each process of any one of the foregoing embodiments of the copy method is implemented, and the same technical effect can be achieved, and is not described herein again to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Specifically, fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing the embodiment of the present application. The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, and the power supply may be logically coupled to the processor 710 via a power management system, such that the functions of managing charging, discharging, and power consumption may be performed via the power management system. The structure of the electronic device shown in fig. 7 does not constitute a limitation on the electronic device of the embodiment of the present application, and the electronic device of the embodiment of the present application may include more or less components than those shown in the drawings, or may combine some components, or may arrange different components, and thus, the description thereof is omitted.
It should be understood that in the embodiment of the present application, the input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics Processing Unit 7041 processes image data of still pictures or videos obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts of a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 709 may be used to store software programs or instructions as well as various data. The memory 709 may mainly include a storage program or instruction area and a storage data area, wherein the storage program or instruction area may store an operating system, an application program or instruction (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. In addition, the Memory 709 may include a high-speed random access Memory and a nonvolatile Memory, where the nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
Processor 710 may include one or more processing units. Alternatively, processor 710 may integrate an application processor that handles primarily the operating system, user interface, and application programs or instructions, etc. and a modem processor that handles primarily wireless communications, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 710.
Wherein the user input unit 707 is configured to: receiving a first input used by a user for selecting a target object and receiving a second input of the user for the operation option control;
the processor 710 is configured to: and responding to the first input, displaying an operation option control, responding to the second input, copying the target object, and splicing the copied object to the object with the latest time in the clipboard to obtain the updated object with the latest time.
According to the method and the device, the operation option control for operating the target object is improved, so that additional copying of a plurality of copied objects can be realized according to input of a user, and the copying efficiency can be effectively improved.
Optionally, the processor 710 is further configured to: determining the most recent object in time if the clipboard is not empty.
According to the embodiment of the application, whether the clipboard is empty can be detected in advance before the splicing of the copied objects is carried out, and further additional copying processing is carried out under the condition that the clipboard is not empty, so that system errors can be effectively avoided, and the reliability of the system is improved.
Optionally, the processor 710 is further configured to: and under the condition that the clipboard is empty, not displaying the copy addition control, or displaying the copy addition control in an inoperable state.
According to the embodiment of the application, when the content of the clipboard is empty, the copying additional control is not displayed or the copying additional control is displayed in an inoperable state, so that system errors caused by misoperation of a user can be effectively avoided, and the reliability is higher.
Optionally, the processor 710 is specifically configured to: and splicing the copy object to the back end of the object with the closest time.
According to the method and the device, the copy object is spliced at the rear end of the object closest in time, when pasting display is carried out, the content copied firstly is displayed in front of the user, the text copied and added later is displayed later, the text copied and added firstly is displayed before the text copied and added later, the expectation of the user is better met, and the user experience is better.
Optionally, the user input unit 707 is further configured to: receiving a third input of the user for pasting the object;
processor 710, further configured to: pasting the updated most recent object in the clipboard into an input box in response to the third input.
In the embodiment of the application, because the updated object which is the latest in time contains not only the copy object of the target object but also the history copy content, when pasting, all the additionally copied contents can be pasted into the input box together only by one pasting operation, so that the operation is simpler and more efficient.
An embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the process of any of the foregoing embodiments of the copy method is implemented, and the same technical effect can be achieved.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of any of the foregoing embodiments of the copy method, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A method of replication, comprising:
receiving a first input used by a user for selecting a target object;
displaying an operation option control in response to the first input;
receiving a second input of the operation option control by the user;
and responding to the second input, copying the target object, splicing the copy object to the object with the latest time in the clipboard to obtain an updated object with the latest time, wherein the copy object is a copy of the target object.
2. The method of copying of claim 1, further comprising, prior to said splicing of the copy object to the most recent object in the clipboard:
determining the most recent object in time if the clipboard is not empty.
3. The replication method of claim 2, wherein the operation option controls include at least a copy append control.
4. The replication method of claim 3, further comprising:
and under the condition that the clipboard is empty, not displaying the copy addition control, or displaying the copy addition control in an inoperable state.
5. The method of copying of claim 1, wherein the stitching of the copy object to the closest object in time in the clipboard comprises:
and splicing the copy object to the back end of the object with the closest time.
6. The replication method of any one of claims 1 to 5, further comprising:
receiving a third input of the user for pasting the object;
pasting the updated most recent object in the clipboard into an input box in response to the third input.
7. A copying apparatus, comprising:
the first receiving module is used for receiving a first input used by a user for selecting a target object;
a first processing module for displaying an operation option control in response to the first input;
the second receiving module is used for receiving a second input of the user to the operation option control;
and the second processing module is used for responding to the second input, copying the target object, splicing the copied object to the object with the latest time in the clipboard, and obtaining the updated object with the latest time, wherein the copied object is a copy of the target object.
8. The replication device of claim 7, wherein the second processing module is further configured to:
determining the most recent object in time if the clipboard is not empty.
9. The copying device of claim 8 wherein the operation option controls include at least a copy append control.
10. The replication device of claim 9, wherein the first processing module is further configured to:
and under the condition that the clipboard is empty, not displaying the copy addition control, or displaying the copy addition control in an inoperable state.
11. The copying device according to claim 7, wherein the second processing module, when configured to splice the copy object to the object closest in time in the clipboard, is specifically configured to:
and splicing the copy object to the back end of the object with the closest time.
12. The replication device of any one of claims 7 to 11, further comprising:
the third receiving module is used for receiving a third input used by the user for pasting the object;
and the third processing module is used for responding to the third input and pasting the object which is latest in time after updating in the clipboard into the input box.
CN202011218334.8A 2020-11-04 2020-11-04 Copying method and device Pending CN112328141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011218334.8A CN112328141A (en) 2020-11-04 2020-11-04 Copying method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011218334.8A CN112328141A (en) 2020-11-04 2020-11-04 Copying method and device

Publications (1)

Publication Number Publication Date
CN112328141A true CN112328141A (en) 2021-02-05

Family

ID=74315301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011218334.8A Pending CN112328141A (en) 2020-11-04 2020-11-04 Copying method and device

Country Status (1)

Country Link
CN (1) CN112328141A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114063841A (en) * 2021-11-10 2022-02-18 维沃移动通信有限公司 Text selection method, text selection device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040216031A1 (en) * 2003-04-28 2004-10-28 Taylor Clark N. Verifying the veracity and creator of a printed document
CN102819456A (en) * 2012-08-14 2012-12-12 珠海市魅族科技有限公司 Method and device for generating contents in clipboard
CN103605564A (en) * 2013-11-15 2014-02-26 青岛尚慧信息技术有限公司 Mobile terminal and data copying and pasting method thereof
CN105302784A (en) * 2014-07-16 2016-02-03 腾讯科技(深圳)有限公司 Method and system for copying/ cutting and pasting data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040216031A1 (en) * 2003-04-28 2004-10-28 Taylor Clark N. Verifying the veracity and creator of a printed document
CN102819456A (en) * 2012-08-14 2012-12-12 珠海市魅族科技有限公司 Method and device for generating contents in clipboard
CN103605564A (en) * 2013-11-15 2014-02-26 青岛尚慧信息技术有限公司 Mobile terminal and data copying and pasting method thereof
CN105302784A (en) * 2014-07-16 2016-02-03 腾讯科技(深圳)有限公司 Method and system for copying/ cutting and pasting data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114063841A (en) * 2021-11-10 2022-02-18 维沃移动通信有限公司 Text selection method, text selection device and electronic equipment
WO2023083158A1 (en) * 2021-11-10 2023-05-19 维沃移动通信有限公司 Text selection method, text selection apparatus, and electronic device

Similar Documents

Publication Publication Date Title
CN103019520B (en) Display method for optional item information of terminal application and terminal
CN111913616A (en) Application program management method and device and electronic equipment
CN113282424B (en) Information reference method and device and electronic equipment
CN113268182B (en) Application icon management method and electronic device
CN113467660A (en) Information sharing method and electronic equipment
CN113849092A (en) Content sharing method and device and electronic equipment
CN111813305A (en) Application program starting method and device
CN112486366A (en) Control display method and device and electronic equipment
CN113114845A (en) Notification message display method and device
CN112162812A (en) Object adding method and device
CN112698762B (en) Icon display method and device and electronic equipment
CN114116098A (en) Application icon management method and device, electronic equipment and storage medium
CN112399010B (en) Page display method and device and electronic equipment
CN113485853A (en) Information interaction method and device and electronic equipment
CN111857465B (en) Application icon sorting method and device and electronic equipment
CN112328141A (en) Copying method and device
CN112286615A (en) Information display method and device of application program
CN111857466A (en) Message display method and device
CN105677183A (en) Method for achieving information viewing and terminal
CN113360060B (en) Task realization method and device and electronic equipment
CN112905072B (en) Application processing method and device and electronic equipment
CN112882624B (en) Process management method and device, electronic equipment and storage medium
CN113190365B (en) Information processing method and device and electronic equipment
CN112486369B (en) Information display method and device, electronic equipment and readable storage medium
CN115328355A (en) Application function starting method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210205