CN110750368A - Copying and pasting method and terminal - Google Patents

Copying and pasting method and terminal Download PDF

Info

Publication number
CN110750368A
CN110750368A CN201910950711.8A CN201910950711A CN110750368A CN 110750368 A CN110750368 A CN 110750368A CN 201910950711 A CN201910950711 A CN 201910950711A CN 110750368 A CN110750368 A CN 110750368A
Authority
CN
China
Prior art keywords
input
information
sub
target
text information
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
CN201910950711.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 CN201910950711.8A priority Critical patent/CN110750368A/en
Publication of CN110750368A publication Critical patent/CN110750368A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

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

Abstract

The embodiment of the invention provides a copying and pasting method and a terminal, wherein the copying and pasting method comprises the following steps: receiving a first input for first information; responding to the first input, and displaying target text information in the first information in a target editing area; if a second input aiming at the target character information is received in the target editing area, responding to the second input, and dividing the target character information into a plurality of sub-character information; copying the plurality of sub-text information; and in the case that a third input aiming at the plurality of sub-text information is received in the interface to be pasted, in response to the third input, pasting the plurality of sub-text information to a plurality of pasting positions of the interface to be pasted in sequence. According to the embodiment of the invention, the target character information is separated and processed, and the plurality of sub-character information are obtained and then pasted, so that the complicated process of switching the display interface back and forth is omitted, and the user experience is improved.

Description

Copying and pasting method and terminal
Technical Field
The embodiment of the invention relates to the technical field of information processing, in particular to a copying and pasting method and a terminal.
Background
With the rapid development of mobile communication technology, mobile communication terminals have become the most common and irreplaceable communication tools for people. In the process of using the terminal, a copy and paste function is used in many scenes, and the copy and paste content can be long-segment characters or a photo containing character information.
However, the current copy and paste technology has disadvantages in many usage scenarios, for example, when there are multiple positions to be pasted during copying and pasting content, the copied content cannot be pasted to the position to be pasted at one time, multiple pieces of content need to be copied and pasted one by one, and switching back and forth between different display interfaces or different applications is performed to perform copy and paste operations, which is troublesome in copy and paste process, time consuming, and poor in user experience.
Disclosure of Invention
The embodiment of the invention provides a copy and paste method and a terminal, aiming at solving the problem that the copy and paste can not be pasted to a position to be pasted at one time in the copy and paste process.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a copy and paste method, including:
receiving a first input for first information;
responding to the first input, and displaying target text information in the first information in a target editing area;
if a second input aiming at the target character information is received in the target editing area, responding to the second input, and dividing the target character information into a plurality of sub-character information;
copying the plurality of sub-text information;
and in the case that a third input aiming at the plurality of sub-text information is received in the interface to be pasted, in response to the third input, pasting the plurality of sub-text information to a plurality of pasting positions of the interface to be pasted in sequence.
In a second aspect, an embodiment of the present invention provides a terminal, including:
a receiving module for receiving a first input for first information;
the display module is used for responding to the first input and displaying the target character information in the first information in a target editing area;
the separation module is used for responding to a second input if the second input aiming at the target character information is received in the target editing area, and dividing the target character information into a plurality of sub-character information;
the copying module is used for copying the plurality of sub-character information;
and the pasting module is used for responding to a third input and pasting the plurality of sub-text information to a plurality of pasting positions of the interface to be pasted in sequence under the condition that the third input aiming at the plurality of sub-text information is received in the interface to be pasted.
In a third aspect, an embodiment of the present invention provides a terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the copy and paste method described above.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the copy and paste method as described above.
In the embodiment of the invention, the target character information is separated to obtain a plurality of sub-character information and then pasted, so that the complicated process of switching the display interface back and forth is omitted, and the user experience is improved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flow chart of a copy and paste method according to an embodiment of the present invention;
fig. 2 is a second schematic flow chart of a copy and paste method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a pasting position on an interface to be pasted according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating selection of a special copy mode according to an embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating a display of a target edit area in an embodiment of the invention;
FIG. 6 is a schematic diagram illustrating the separation of target text messages according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating sorting and editing sub-text messages according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating the completion of the pasting of sub-text information according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 10 is a second schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 11 is a third schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
The terms "comprises," "comprising," or any other variation thereof, in the description and claims of this application, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Furthermore, the use of "and/or" in the specification and claims means that at least one of the connected objects, such as a and/or B, means that three cases, a alone, B alone, and both a and B, exist.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
Embodiments of the present invention are described below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic flow chart of a copy and paste method according to an embodiment of the present invention. As shown in fig. 1, the copy and paste method in the embodiment of the present invention may include the following steps:
step S101, receiving a first input aiming at target character information, responding to the first input, and displaying the target character information in the first information in a target editing area;
step S102, if a second input aiming at the target character information is received in the target editing area, responding to the second input, and dividing the target character information into a plurality of sub-character information;
step S103, copying the plurality of sub-character information;
and step S104, receiving a third input aiming at the plurality of sub-character information in the interface to be pasted, responding to the third input, and pasting the plurality of sub-character information to a plurality of pasting positions of the interface to be pasted in sequence.
In the embodiment of the invention, the target character information is divided to obtain a plurality of sub-character information, and the divided sub-character information is copied and sequentially pasted on a plurality of pasting positions of the interface to be pasted, so that the complicated step of switching the copying interface and the interface to be pasted back and forth is omitted, the copying and pasting time is saved, and the user experience is improved.
Referring to fig. 2, fig. 2 is a second schematic flow chart of a copy and paste method according to an embodiment of the present invention. As shown in fig. 2, the copy and paste method in the embodiment of the present invention may include the following steps:
step 202, if a first input aiming at first information is received, responding to the first input, and displaying target character information of the first information in a target editing area;
step 204, if a second input aiming at the target text information is received in the target editing area, responding to the second input, and dividing the target text information into a plurality of sub-text information;
step 207, copying the plurality of sub-character information;
and step 208, in the case that a third input aiming at the plurality of sub-text information is received in the interface to be pasted, in response to the third input, pasting the plurality of sub-text information to a plurality of pasting positions of the interface to be pasted in sequence.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating a special copy mode selected in an embodiment of the present invention, in some embodiments of the present invention, since the information received by the terminal may be pure text information, as shown in the lower content in fig. 4, or may be a picture (e.g., a screenshot) including text information, as shown in the upper content in fig. 4, before step 202, the method may further include:
step 201, receiving a fourth input for selecting target information, responding to the fourth input, and if the target information is a picture, extracting text content from the picture to obtain target text information.
In step 201, the fourth input may be the input of a long-press picture, that is, the target information is selected as a picture, and the terminal processes the long-press picture in response to the fourth input, extracts the text content therein to obtain the target text information.
In step 202, the first input may be an input of pressing the target text message for a long time and selecting an operation option, that is, taking the pure text message on the copy interface as the target text message, or the character information extracted from the picture is taken as the target character information, after the terminal receives the input of the long-press target character information, the terminal responds to the input, and displaying selectable operation options at the selected target text information, wherein the selectable operation options displayed here comprise 'copy', 'paste', 'delete', 'forward' and 'special copy', then, after the terminal receives the input of selecting the special copy, the interface enters a special copy mode in response to the input, namely, the selected target character information is displayed in a target editing area, and the target editing area can be a popped-up set-top editing frame. Of course, in other embodiments of the present invention, the first input may be other input manners, for example, after the target text information is selected, an input of a certain key is pressed, and the terminal receives and responds to the input, directly enters the special copy mode, and displays the selected target text information in the target editing area.
Referring to fig. 5, fig. 5 is a schematic diagram illustrating a display of a target editing area according to an embodiment of the present invention, that is, target text information is displayed in the target editing area, which is, for example, a top-mounted edit box.
Referring to fig. 6, fig. 6 is a schematic diagram illustrating the separation of the target text message according to the embodiment of the present invention. In step 204, a second input may be performed on the target text information in the target editing region, where the second input may be an input clicked at a position to be separated of the target text information, and the terminal divides the target text information into a plurality of sub-text information in response to the input; the second input may also be an input of inserting a separator at a position to be separated of the target text information, in response to which the terminal processes the target text information into a plurality of sub-text information separated from each other; the separator in the embodiment of the invention can be a space, carriage return or other special symbol marks. Preferably, in order to clearly and clearly display the plurality of separated sub-text information, the terminal processes the target text information into the plurality of sub-text information separated from each other in response to the second input, and each of the sub-text information is arranged in sequence by lines, that is, one sub-text information is displayed per line.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating a pasting position on an interface to be pasted according to an embodiment of the present invention. As shown in fig. 3, the number of pasting positions on the interface to be pasted is four, and each pasting position corresponds to different information. However, if there are more pasting positions on the interface to be pasted, the user cannot quickly and accurately acquire the pasting positions, and thus, in some embodiments of the present invention, the copying and pasting method further includes:
step 203, acquiring quantity information of the pasting positions of the interface to be pasted, and displaying the quantity information in the target editing area.
In step 203, the terminal can automatically acquire the quantity information of the pasting positions of the interface to be pasted, the quantity accuracy is ensured, the user does not need to read the quantity information, and the user experience is improved. The terminal can display the quantity information in the target editing area in various ways, for example, the terminal displays the quantity information in other positions of the target editing area in a total number form and displays the quantity information in fonts such as red and the like, so that the quantity of pasting positions of a user is reminded, and the user is assisted to reasonably separate the target text information; of course, the terminal may also display the quantity information in other positions of the target editing area in the form of serial numbers, for example, if there are four pasting positions, then the four serial numbers are sequentially arranged in rows in the blank space below the target text information in the target editing area, that is, one number is displayed at the head of each row as a serial number.
Referring to fig. 7, fig. 7 is a schematic diagram illustrating sorting and editing sub-text information according to an embodiment of the present invention. In some embodiments of the present invention, after the target text information is divided, the sequence of the pasting position of each sub-text information does not correspond to the sequence of the pasting position of the interface to be pasted, and in order to ensure that the sub-text information can be correspondingly pasted to the correct pasting position when being pasted, the copy pasting method provided in the embodiments of the present invention further includes:
step 205, if a fifth input for the sub-text information is received in the target editing area, in response to the fifth input, sorting the sub-text information.
In step 205, if the separated sub-text information does not correspond to the sequence of the paste positions, the sub-text information is sorted, where the fifth input may be an input of inserting a corresponding sequence number before each sub-text information, and the terminal, in response to the input, sorts the sub-text information or adjusts the positions of the sub-text information in the target editing area; preferably, the terminal can arrange the sequencing results in a form of sequence number + subfile information in sequence according to lines, that is, each line displays one sequence number + one subfile information so as to clearly and clearly show the sequencing results to the user; of course, if the serial numbers are arranged in the blank space below the target text information in the target editing area in sequence in step 203, the fifth input may be an input after the sub-text information is selected and moved to the corresponding serial number, and the terminal finally displays the sub-text information after the corresponding serial number in response to the input.
Since there may be errors or useless text information in the content of the separated sub-text information, in some embodiments of the present invention, the copy-paste method further includes:
in step 206, if a sixth input for the sub-text information is received in the target editing area, the contents of the sub-text information are edited in response to the sixth input, where the editing includes at least one of adding contents and deleting contents.
In step 206, the contents of the sub-text information can be edited, that is, the contents can be added to a certain sub-text information, or useless text information in a certain sub-text information can be deleted, so that the user can flexibly change the contents of the sub-text information.
In step 207, since the operations of separating, sorting, editing, etc. have been performed on the plurality of sub-text information, the plurality of sub-text information can be directly copied.
Referring to fig. 8, fig. 8 is a schematic diagram illustrating completion of pasting sub-text information according to an embodiment of the present invention. As shown in fig. 8, in step 208, if a third input for the plurality of sub-text information is received at the interface to be pasted, the terminal pastes the plurality of sub-text information to the plurality of pasting positions of the interface to be pasted in sequence in response to the third input. The third input can be the input of selecting special paste after long pressing at a certain paste position of the interface to be pasted, the input corresponds to a special copy mode, the paste at the position is the special paste mode, after the special paste option is selected, the terminal matches the paste position according to the serial number of each sub-character information, and automatically and correctly pastes the corresponding sub-character information to the paste position.
Illustratively, when the number of the paste positions is more than that of the sub-character information, by sorting the sub-character information, for example, four sub-character information, and six paste positions, the sub-character information can be sequentially sorted into 1, 2, 3 and 4, and can be sequentially and correspondingly pasted to the first four paste positions when pasting; if there are four pieces of sub-character information and six pasting positions, the sub-character information can be sequentially ordered into 2, 3, 4 and 1, at this time, the sub-character information with the sequence number of 2 can be pasted to the second pasting position, the sub-character information with the sequence number of 3 can be pasted to the third pasting position, and so on; for another example, there are four sub-document information and six paste positions, and the sub-document information may be sorted into 6, 4, 2, and 3 in sequence, at this time, the sub-document information with sequence number 6 may be pasted to the sixth paste position, the sub-document information with sequence number 4 may be pasted to the fourth paste position, and so on.
Illustratively, when the number of the paste positions is less than that of the sub-character information, by sorting the sub-character information, for example, four sub-character information and three paste positions, the sub-character information can be sequentially sorted into 1, 2, 3 and 4, and the sub-character information with the sequence numbers of 1, 2 and 3 can be sequentially and correspondingly pasted to the first three paste positions during pasting; if four pieces of sub-character information and three pasting positions exist, the sub-character information can be sequentially sequenced into 2, 3, 4 and 1, at this time, the sub-character information with the sequence number of 2 can be pasted to the second pasting position, the sub-character information with the sequence number of 3 can be pasted to the third pasting position, the sub-character information with the sequence number of 1 is correspondingly pasted to the first pasting position, and the sub-character information with the sequence number of 4 is not pasted; for another example, the sub-text information may be sorted into 3, 2, and 1 in sequence, and the remaining sub-text information may not be sorted, and at this time, the sub-text information with the sequence number of 3 may be pasted to the third pasting position, the sub-text information with the sequence number of 2 may be pasted to the second pasting position, the sub-text information with the sequence number of 1 may be pasted to the first pasting position, and the sub-text information without sorting may not be pasted.
In the embodiment of the invention, the target character information is divided to obtain a plurality of sub-character information, then the plurality of sub-character information are sequenced, edited and the like, then the sub-character information processed in the steps is copied, and then the plurality of sub-character information are correspondingly pasted to the correct pasting position on the interface to be pasted, so that the complex operation that a user switches the display interface back and forth and performs repeated copying and pasting is avoided, the copying and pasting efficiency is greatly improved, meanwhile, the plurality of sub-character information separated during copying and pasting can be correctly pasted to the corresponding pasting position, and the step of readjusting the pasting position of the sub-character information is omitted.
Referring to fig. 9, fig. 9 is a second schematic structural diagram of a terminal according to an embodiment of the present invention. As shown in fig. 9, further, another embodiment of the present invention further provides a terminal, where the terminal 900 includes:
a receiving module 901, configured to receive a first input for first information;
a display module 902, configured to, in response to the first input, display target text information in the first information in a target editing area;
a partitioning module 903, configured to, if a second input for the target text information is received in the target editing region, respond to the second input, partition the target text information into a plurality of sub-text information;
a copy module 904, configured to copy the plurality of sub-text information;
a pasting module 905, configured to, in a case that the interface to be pasted receives a third input for the plurality of sub-text messages again, respond to the third input, paste the plurality of sub-text messages to a plurality of pasting positions of the interface to be pasted in sequence.
Further, the first information includes a picture with text information, and the display module 902 includes:
and the character extraction submodule is used for extracting the character information from the picture to obtain the target character information.
Further, the second input is input of clicking at the position to be separated of the target text information; or, the second input is the input of inserting a partition character at the position to be separated of the target character information.
Further, the terminal in the embodiment of the present invention further includes:
a sorting module to receive a fourth input for the plurality of sub-text information at the target edit region, and to sort the plurality of sub-text information in response to the fourth input.
Further, the fourth input is an input of inserting a sequence number before each sub-character information, or the fourth input is an input of adjusting the position of the sub-character information in the target editing area.
Further, the terminal in the embodiment of the present invention further includes:
and the editing module is used for responding to a fifth input if the fifth input aiming at the plurality of sub-character information is received in the target editing area, editing the contents of the plurality of sub-character information, wherein the editing comprises at least one of adding contents and deleting contents.
Further, the terminal in the embodiment of the present invention further includes:
and the paste information acquisition module is used for acquiring the quantity information of the paste positions of the interface to be pasted and displaying the quantity information in the target editing area.
In the embodiment of the invention, the target character information is separated by the separation module to obtain a plurality of sub-character information, then the plurality of sub-character information are sequenced, edited and the like by the sequencing module and the editing module, then copied by the copying module, and then the plurality of sub-character information are correspondingly pasted to the correct pasting position on the interface to be pasted by the pasting module, so that the complex operation of repeatedly copying and pasting by switching the display interface back and forth by a user is avoided, and the copying and pasting efficiency is greatly improved.
Referring to fig. 10, fig. 10 is a schematic structural diagram of a terminal according to another embodiment of the present invention, where the terminal 100 includes but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 1010, and power source 1011. Those skilled in the art will appreciate that the terminal configuration shown in fig. 10 is not intended to be limiting, and that the terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
A processor 1010 configured to:
receiving a first input for first information;
responding to the first input, and displaying target text information in the first information in a target editing area;
if a second input aiming at the target character information is received in the target editing area, responding to the second input, and dividing the target character information into a plurality of sub-character information;
copying the plurality of sub-text information;
and in the case that a third input aiming at the plurality of sub-text information is received in the interface to be pasted, in response to the third input, pasting the plurality of sub-text information to a plurality of pasting positions of the interface to be pasted in sequence.
In the embodiment of the invention, the target character information is divided to obtain a plurality of sub-character information, and the divided sub-character information is copied and sequentially pasted on a plurality of pasting positions of the interface to be pasted, so that the complicated step of switching the copying interface and the interface to be pasted back and forth is omitted, the copying and pasting time is saved, and the user experience is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 1010; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse web pages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The terminal 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1010, and receives and executes commands sent by the processor 1010. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 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.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 1010 to determine the type of the touch event, and then the processor 1010 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 10, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 100 or may be used to transmit data between the terminal 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 1010 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal. Processor 1010 may include one or more processing units; preferably, the processor 1010 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The terminal 100 may also include a power source 1011 (e.g., a battery) for powering the various components, and preferably, the power source 1011 may be logically coupled to the processor 1010 via a power management system that may be configured to manage charging, discharging, and power consumption.
In addition, the terminal 100 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
Referring to fig. 11, fig. 11 is a schematic structural diagram of a terminal according to another embodiment of the present invention, where the terminal 110 includes: a processor 111 and a memory 112. In this embodiment of the present invention, the terminal 110 further includes: a computer program stored on the memory 112 and executable on the processor 111, the computer program when executed by the processor 111 performing the steps of:
receiving a first input for first information;
responding to the first input, and displaying target text information in the first information in a target editing area;
if a second input aiming at the target character information is received in the target editing area, responding to the second input, and dividing the target character information into a plurality of sub-character information;
copying the plurality of sub-text information;
and in the case that a third input aiming at the plurality of sub-text information is received in the interface to be pasted, in response to the third input, pasting the plurality of sub-text information to a plurality of pasting positions of the interface to be pasted in sequence.
The processor 111 is responsible for managing the bus architecture and general processing, and the memory 112 may store data used by the processor 111 in performing operations.
Optionally, the computer program when executed by the processor 111 may further implement the steps of:
the first information comprises a picture with text information;
the responding to the first input, displaying the target text information in the first information in a target editing area, and including:
and extracting the text information from the picture to obtain the target text information.
Optionally, the computer program when executed by the processor 111 may further implement the steps of:
the second input is input by clicking at the position to be separated of the target text information; or, the second input is the input of inserting a partition character at the position to be separated of the target character information.
Optionally, the computer program when executed by the processor 111 may further implement the steps of:
before the copying the plurality of sub-text information, the method further comprises:
receiving a fourth input for the plurality of sub-text information at the target edit region, the plurality of sub-text information being ordered in response to the fourth input.
Optionally, the computer program when executed by the processor 111 may further implement the steps of:
the fourth input is an input of inserting a sequence number before each sub-character information, or the fourth input is an input of adjusting the position of the sub-character information in the target editing area.
Optionally, the computer program when executed by the processor 111 may further implement the steps of:
before the copying the plurality of sub-text information, the method further comprises:
if a fifth input for the plurality of sub-text information is received at the target editing area, editing the content of the plurality of sub-text information in response to the fifth input, wherein the editing comprises at least one of adding content and deleting content.
Optionally, the computer program when executed by the processor 111 may further implement the steps of:
before the step of processing the target text message into a plurality of sub-text messages separated from each other in response to a second input received at the target editing area, the method further includes:
and acquiring quantity information of the pasting positions of the interface to be pasted, and displaying the quantity information in the target editing area.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the … … method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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.
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 invention 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 invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. A copy and paste method, comprising:
receiving a first input for first information;
responding to the first input, and displaying target text information in the first information in a target editing area;
if a second input aiming at the target character information is received in the target editing area, responding to the second input, and dividing the target character information into a plurality of sub-character information;
copying the plurality of sub-text information;
and in the case that a third input aiming at the plurality of sub-text information is received in the interface to be pasted, in response to the third input, pasting the plurality of sub-text information to a plurality of pasting positions of the interface to be pasted in sequence.
2. The copy and paste method as claimed in claim 1, wherein the first information comprises a picture with text information;
the responding to the first input, and the displaying the target text information in the first information in the target editing area comprises:
and responding to the first input, extracting the text information from the picture to obtain the target text information, and displaying the target text information in the target editing area.
3. The copy and paste method according to claim 1, wherein the second input is an input of clicking at a position to be separated of the target text information; or, the second input is the input of inserting a partition character at the position to be separated of the target character information.
4. The copy-paste method as claimed in claim 1, wherein before copying the plurality of sub-text information, further comprising:
receiving a fourth input for the plurality of sub-text information at the target editing region;
in response to the fourth input, sorting the plurality of sub-text information.
5. The copy-and-paste method as claimed in claim 4, wherein the fourth input is an input for inserting a sequence number before each of the sub-character information, or the fourth input is an input for adjusting a position of the sub-character information in the target editing area.
6. The copy-paste method as claimed in claim 1, wherein before copying the plurality of sub-text information, further comprising:
if a fifth input for the plurality of sub-text information is received at the target editing area, editing the content of the plurality of sub-text information in response to the fifth input, wherein the editing comprises at least one of adding content and deleting content.
7. The copy-and-paste method as claimed in claim 1, wherein, if a second input for the target text information is received in the target editing area, the step of processing the target text information into a plurality of sub-text information separated from each other in response to the second input further comprises:
and acquiring quantity information of the pasting positions of the interface to be pasted, and displaying the quantity information in the target editing area.
8. A terminal, comprising:
a receiving module for receiving a first input for first information;
the display module is used for responding to the first input and displaying the target character information in the first information in a target editing area;
the separation module is used for responding to a second input if the second input aiming at the target character information is received in the target editing area, and dividing the target character information into a plurality of sub-character information;
the copying module is used for copying the plurality of sub-character information;
and the pasting module is used for responding to a third input and pasting the plurality of sub-text information to a plurality of pasting positions of the interface to be pasted in sequence under the condition that the third input aiming at the plurality of sub-text information is received in the interface to be pasted.
9. The terminal of claim 8, wherein the first message comprises a picture with text messages, and the display module comprises:
and the character extraction submodule is used for extracting the character information from the picture to obtain the target character information.
10. The terminal of claim 8, wherein the second input is an input of clicking at a position to be separated of the target text message; or, the second input is the input of inserting a partition character at the position to be separated of the target character information.
11. The terminal of claim 8, further comprising:
a sorting module to receive a fourth input for the plurality of sub-text information at the target edit region, and to sort the plurality of sub-text information in response to the fourth input.
12. The terminal of claim 11, wherein the fourth input is an input for inserting a sequence number before each of the sub-text information, or wherein the fourth input is an input for adjusting a position of the sub-text information in the target editing region.
13. The terminal of claim 8, further comprising:
and the editing module is used for responding to a fifth input if the fifth input aiming at the plurality of sub-character information is received in the target editing area, and editing the contents of the plurality of sub-character information, wherein the editing comprises at least one of adding contents and deleting contents.
14. The terminal of claim 8, further comprising:
and the paste information acquisition module is used for acquiring the quantity information of the paste positions of the interface to be pasted and displaying the quantity information in the target editing area.
CN201910950711.8A 2019-10-08 2019-10-08 Copying and pasting method and terminal Pending CN110750368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910950711.8A CN110750368A (en) 2019-10-08 2019-10-08 Copying and pasting method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910950711.8A CN110750368A (en) 2019-10-08 2019-10-08 Copying and pasting method and terminal

Publications (1)

Publication Number Publication Date
CN110750368A true CN110750368A (en) 2020-02-04

Family

ID=69277749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910950711.8A Pending CN110750368A (en) 2019-10-08 2019-10-08 Copying and pasting method and terminal

Country Status (1)

Country Link
CN (1) CN110750368A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111638838A (en) * 2020-05-19 2020-09-08 维沃移动通信有限公司 Text editing method and device and electronic equipment
CN111913592A (en) * 2020-07-30 2020-11-10 维沃移动通信有限公司 Information input method and device, electronic equipment and readable storage medium
CN112256459A (en) * 2020-11-18 2021-01-22 四川长虹电器股份有限公司 Method for copying and pasting characters in document by user-defined mode
CN113778240A (en) * 2021-09-16 2021-12-10 维沃移动通信有限公司 Text input method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106557237A (en) * 2016-10-12 2017-04-05 深圳市金立通信设备有限公司 A kind of method and terminal for selecting to replicate text message
CN106919307A (en) * 2017-03-09 2017-07-04 维沃移动通信有限公司 A kind of text clone method and mobile terminal
CN107015727A (en) * 2017-04-07 2017-08-04 深圳市金立通信设备有限公司 A kind of method and terminal of control character separator
CN107908489A (en) * 2017-11-27 2018-04-13 维沃移动通信有限公司 Replicate the method pasted and mobile terminal
CN108415652A (en) * 2018-03-12 2018-08-17 维沃移动通信有限公司 A kind of text handling method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106557237A (en) * 2016-10-12 2017-04-05 深圳市金立通信设备有限公司 A kind of method and terminal for selecting to replicate text message
CN106919307A (en) * 2017-03-09 2017-07-04 维沃移动通信有限公司 A kind of text clone method and mobile terminal
CN107015727A (en) * 2017-04-07 2017-08-04 深圳市金立通信设备有限公司 A kind of method and terminal of control character separator
CN107908489A (en) * 2017-11-27 2018-04-13 维沃移动通信有限公司 Replicate the method pasted and mobile terminal
CN108415652A (en) * 2018-03-12 2018-08-17 维沃移动通信有限公司 A kind of text handling method and mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111638838A (en) * 2020-05-19 2020-09-08 维沃移动通信有限公司 Text editing method and device and electronic equipment
CN111913592A (en) * 2020-07-30 2020-11-10 维沃移动通信有限公司 Information input method and device, electronic equipment and readable storage medium
CN112256459A (en) * 2020-11-18 2021-01-22 四川长虹电器股份有限公司 Method for copying and pasting characters in document by user-defined mode
CN113778240A (en) * 2021-09-16 2021-12-10 维沃移动通信有限公司 Text input method and device
CN113778240B (en) * 2021-09-16 2024-03-19 维沃移动通信有限公司 Text input method and device

Similar Documents

Publication Publication Date Title
CN108762954B (en) Object sharing method and mobile terminal
CN109145142B (en) Management method and terminal for shared information of pictures
CN111586237B (en) Image display method and electronic equipment
CN110750368A (en) Copying and pasting method and terminal
CN109388456B (en) Head portrait selection method and mobile terminal
CN110196668B (en) Information processing method and terminal equipment
CN110673770B (en) Message display method and terminal equipment
CN108763540B (en) File browsing method and terminal
CN108646960B (en) File processing method and flexible screen terminal
CN109189303B (en) Text editing method and mobile terminal
US20200327158A1 (en) Image Viewing Method and Mobile Terminal
CN109670507B (en) Picture processing method and device and mobile terminal
CN110096203B (en) Screenshot method and mobile terminal
EP3979674A1 (en) Message sending method and terminal
CN109271262B (en) Display method and terminal
CN109495638B (en) Information display method and terminal
CN105653112B (en) Method and device for displaying floating layer
CN108628534B (en) Character display method and mobile terminal
CN110750198A (en) Expression sending method and mobile terminal
CN105335434B (en) Log management method and device and electronic equipment
CN109857578B (en) Text copying method and electronic equipment
CN108595104B (en) File processing method and terminal
CN110888572A (en) Message display method and terminal equipment
CN108509126B (en) Picture processing method and mobile terminal
CN108040003B (en) Reminding 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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200204