CN112639708A - Method, terminal and storage medium for selecting copied content - Google Patents

Method, terminal and storage medium for selecting copied content Download PDF

Info

Publication number
CN112639708A
CN112639708A CN201880094161.8A CN201880094161A CN112639708A CN 112639708 A CN112639708 A CN 112639708A CN 201880094161 A CN201880094161 A CN 201880094161A CN 112639708 A CN112639708 A CN 112639708A
Authority
CN
China
Prior art keywords
content
copy
type
option
terminal
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
CN201880094161.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.)
Shenzhen Royole Technologies Co Ltd
Original Assignee
Shenzhen Royole Technologies 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 Shenzhen Royole Technologies Co Ltd filed Critical Shenzhen Royole Technologies Co Ltd
Publication of CN112639708A publication Critical patent/CN112639708A/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

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

A method for selecting copied contents, a terminal and a storage medium are provided, wherein the method comprises the following steps: when a copy operation is detected, the terminal identifies an operation type of the copy operation (S101); generating and outputting a corresponding copy option menu according to the operation type (S102); the terminal determines a second content matched with the target copy option from the pre-selected first content according to the target copy option in the at least one copy option (S103); the terminal buffers the second content in a copy panel (S104). Intelligent selection of duplicate content may be achieved.

Description

Method, terminal and storage medium for selecting copied content Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method, a terminal, and a storage medium for selecting a copy content.
Background
With the development of electronic technology, terminals such as smart phones and tablet computers have been widely used in daily life of people. When a person performs an operation such as office work, chat work, recording work, etc. through the terminal, copying and pasting of contents are generally performed. Currently, when a copy operation is performed, only all contents selected in advance by a user can be used as copy contents for contents selected in advance by the user from contents currently displayed by a terminal. For the situation that the copied content is mixed with the content which is not needed to be copied by the user, the copied content needs to be pasted to a corresponding position and then is manually deleted; alternatively, the contents that the user needs to copy in the copied contents need to be copied separately. The steps of the method are complicated, and the time of the user is wasted. Therefore, how to realize intelligent selection of copied content is a problem to be solved.
Disclosure of Invention
The embodiment of the invention provides a method, a terminal and a storage medium for selecting copied contents, which can realize intelligent selection of the copied contents.
A first aspect of an embodiment of the present invention provides a method for selecting a copy content, where the method includes:
when a copy operation is detected, identifying the operation type of the copy operation, wherein the operation type is that the same type of content is copied once or different types of content are copied once;
generating and outputting a corresponding copy option menu according to the operation type, wherein the copy option menu comprises at least one copy option, and each copy option is used for matching corresponding content;
and according to a target copy option in the at least one copy option, determining second content matched with the target copy option from the pre-selected first content, and caching the second content in a copy panel.
A second aspect of an embodiment of the present invention provides a terminal, where the terminal includes a processor, and the processor is configured to:
when a copy operation is detected, identifying the operation type of the copy operation, wherein the operation type is that the same type of content is copied once or different types of content are copied once;
generating and outputting a corresponding copy option menu according to the operation type, wherein the copy option menu comprises at least one copy option, and each copy option is used for matching corresponding content;
and according to a target copy option in the at least one copy option, determining second content matched with the target copy option from the pre-selected first content, and caching the second content in a copy panel.
A third aspect of embodiments of the present invention provides a storage medium, where a duplicated content selection instruction is stored in the storage medium, and when the duplicated content selection instruction runs on a computer, the duplicated content selection method according to the first aspect is executed by the computer.
In the embodiment of the invention, when the copying operation is detected, the operation type of the copying operation is identified, the corresponding copying option menu is generated and output according to the operation type, then the second content matched with the target copying option is determined from the pre-selected first content according to the target copying option selected by the user from at least one copying option in the copying option menu, and the second content is cached in the copying panel, so that the intelligent selection of the copying content is realized.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a schematic flowchart of a duplicate content selection method according to an embodiment of the present invention;
FIG. 2 is a diagram of a display interface of a terminal screen according to a first embodiment of the present invention;
FIG. 3 is a diagram of a display interface of a terminal screen according to a second embodiment of the present invention;
FIG. 4 is a schematic diagram of an interface for replicating panels according to an embodiment of the invention;
fig. 5 is a block 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.
The embodiment of the invention discloses a method for selecting copied contents, a terminal and a storage medium, which are used for copying all or part of selected contents so as to realize intelligent selection of the copied contents, and detailed description is respectively given below. The copy content selection method provided by the embodiment of the present invention may be implemented by a terminal such as a smart phone, a tablet computer, a Mobile Internet Device (MID), and the like.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a method for selecting a copy content according to an embodiment of the present invention. The copy content selection method includes the steps of:
s101, when the copying operation is detected, the terminal identifies the operation type of the copying operation.
In the embodiment of the present invention, the operation type of the copy operation is to copy the same type of content once or copy different types of content once. The copy operation of copying the same type of content once means that only one or more contents of the same type are selected when one copy is made. The type of the content may be any one of a text type, a picture type, a video type, an audio type, a table type, and the like. The copy operation of copying different types of contents once refers to selecting a plurality of contents including different types, for example, at least two types of the types including a text type, a picture type, a video type, an audio type, a table type, and the like, when one copy is performed.
In the embodiment of the invention, when the copying operation is detected, the terminal firstly acquires a first content which is selected in advance by a user from the content currently displayed on a terminal screen, and identifies the type of the first content; and then determining the operation type of the copying operation according to the type of the first content. If the first content only contains one type of content, the terminal determines that the operation type of the copying operation is to copy the same type of content once. If the first content contains two or more types of content, the terminal determines that the operation type of the copying operation is different types of content copied at one time.
For example, referring to fig. 2, fig. 2 is a schematic diagram of a display interface of a terminal screen according to a first embodiment of the present invention. As shown in fig. 2, when the user performs the copy operation, the first content selected from the contents displayed on the display interface is: "ABCDEFG, HIJKLMN, OPQRST, UVWXYZ, 12345678910. ZYXWVU. ". The terminal can determine that the type of the first content is only the character type by identifying the first content. Therefore, the terminal can determine that the operation type of the copying operation is the same type of content copied in a single time.
Referring to fig. 3, fig. 3 is a schematic view of a display interface of a terminal screen according to a second embodiment of the present invention. As shown in fig. 3, when the user performs the copy operation, the first content selected from the contents displayed on the display interface is: the text "ABCDEFG, HIJKLMN, OPQRST, UVWXYZ, 12345678910. ZYXWVU. ", picture content, text content" XXXABCDEFGHIJKLMN, OPQRSTUVWSYZ. XXX 12345678910. "and audio content. The terminal can determine that the type of the first content comprises a character type, a picture type and an audio type by identifying the first content. Therefore, the terminal can determine that the operation type of the copying operation is different types of content copied once.
And S102, the terminal generates and outputs a corresponding copy option menu according to the operation type.
In the embodiment of the invention, the terminal determines the corresponding copy option menu according to the operation type of the copy operation and the type of the first content, and generates and outputs the determined copy option menu. The copy option menu output by the terminal comprises at least one copy option, and each copy option in the at least one copy option is used for matching the corresponding content.
In an embodiment, when the operation type of the copy operation is to copy the same type of content once, the terminal obtains the content feature of the first content, and determines a corresponding copy option menu according to the type and the content feature of the first content. For example, as shown in fig. 2, the first content selected by the user when performing the copy operation is two pieces of text in an article. And after judging that the operation type of the copying operation is the content of the same type copied for one time, the terminal further acquires the content characteristics of the first content. Since the type of the first content is only a text type, the terminal can obtain the number of paragraphs and the number of sentences of the first content as the content characteristics of the first content. The terminal may obtain the number of sentences of the first content by performing period detection on the first content. As can be seen from the foregoing, the number of paragraphs of the first content is 2. Further, the terminal outputs a corresponding copy option menu according to the character type and the number of paragraphs of the first content. As shown in fig. 2, the copy option menu includes copy options that may be segment copy, first sentence copy, last sentence copy, first segment only copy, and second segment only copy 5 copy options.
For another example, when a copy operation is performed, the first content selected by the user is a segment of text in an article, and the terminal can determine that the type of the first content is a text type according to the selected segment of text, and can determine that the operation type of the copy operation is a single copy of the same type of content. Further, the terminal may acquire the number of paragraphs and the number of sentences of the first content as the content characteristics of the first content. As can be seen from the foregoing, the number of paragraphs of the first content is 1. And the terminal outputs a corresponding copy option menu according to the character type, the number of paragraphs of the first content and the number of sentences. Assuming that the number of the sentences of the first content is at least two, the copy option included in the copy option menu may be one or more of first sentence copy, last sentence copy, total copy, and the like. Assuming that the number of sentences of the first content is one, the copy option menu may include one or more copy options of a front X-word copy, a rear Y-word copy, a full copy, and the like. Wherein X, Y are all positive integers. Compared with the example described above, the number of paragraphs of the first content in this example is 1, and then when the terminal outputs the corresponding copy option menu, no copy options such as segment copy, first-segment copy only, second-segment copy only, and the like occur.
In an embodiment, when the operation type of the copy operation is to copy the same type of content once, if the type of the first content is a picture type, the copy option included in the corresponding copy option menu may be one or more of size classification copy, color classification copy, portrait-only picture copy, and other copy options; if the type of the first content is a video type, the copy option included in the corresponding copy option menu may be one or more of copy options such as pixel classification copy; if the type of the first content is an audio type, the copy option included in the corresponding copy option menu may be one or more of genre classification copy, singer classification copy, and the like. If the type of the first content is a table type, the copy option included in the corresponding copy option menu may be one or more of copy options such as author classification copy.
In one embodiment, when the operation type of the copy operation is to copy different types of content once, the terminal determines a corresponding copy option menu according to the type of the first content. For example, as shown in fig. 3, the first content selected by the user when performing the copy operation is three paragraphs of text, a picture and an audio in an article. And after judging that the operation type of the copying operation is different types of contents copied once, the terminal outputs a corresponding copying option menu according to the character type, the picture type and the audio type. As shown in fig. 3, the copy option menu may include copy options of copy only all text, copy only all pictures, copy only all audio, copy all text and pictures, copy all text and audio, copy all pictures and audio, and copy all 7 copy options. For another example, when the type of the first content includes five types, i.e., a text type, a picture type, a video type, an audio type, and a table type, the copy option included in the corresponding copy option menu may be one or more copy options, i.e., copy only all texts, copy only all pictures, copy only all videos, copy only all audios, copy only all tables, copy all texts and pictures, copy all texts, audios, and videos, copy all texts, pictures, videos, and tables, and copy all tables.
In an embodiment, when the operation type of the copy operation is to copy different types of content once, the terminal obtains the type number of the first content, and determines a corresponding copy option menu according to the type of the first content and the type number of the first content. In an embodiment, the method for the terminal to determine the corresponding copy option menu according to the type of the first content and the number of types of the first content is as follows: and the terminal determines the number of the copying options included in the corresponding copying option menu according to the type number of the first content, and determines the corresponding copying option menu according to the number of the copying options and the type included in the first content. Assuming that the number of types of the first content is N, wherein N is a positive integer greater than 1; the number of the copy options included in the corresponding copy option menu may be N, or may be N
Figure PCTCN2018099728-APPB-000001
It should be noted that the number of the copy options included in the corresponding copy option menu may also be other values, which is not limited herein.
For example, when a copy operation is performed, the first content selected by the user is a segment of text, a picture, an audio and a video in an article, and the number of types of the first content, which can be acquired by the terminal according to the selected segment of text, the selected picture, the selected audio and the selected video, is 4; and the operation type of the copy operation can be judged to be different types of content copied once. Further, the terminal determines that the number of the copy options included in the corresponding copy option menu is 4 according to the number 4 of the types of the first content, and outputs the corresponding 4 copy options according to the text type, the picture type, the audio type and the video type, where the 4 copy options may be to copy only all texts, copy only all pictures, copy only all audio and copy only all videos. Or, further, the terminal determines that the number of copy options included in the corresponding copy option menu is 14 according to the number 4 of the types of the first content, and outputs 14 corresponding copy options according to the text type, the picture type, the audio type, and the video type, where the 14 copy options may be to copy only all texts, copy only all pictures, copy only all audio, copy only all video, copy all texts and pictures, copy all texts and video, copy all pictures and audio, copy all texts and audio, copy all pictures and video, copy all audio and video, copy all texts, pictures and audio, copy all pictures, pictures and video, copy all pictures, audio and video, and copy all.
S103, the terminal determines second content matched with the target copying option from the pre-selected first content according to the target copying option in the at least one copying option.
In the embodiment of the invention, the terminal acquires the target copying option and determines the second content matched with the target copying option from the first content selected by the user in advance according to the target copying option. The target copy option is a copy option selected by a user from at least one copy option included in the copy option menu. For example, referring to fig. 2, when a copy operation for copying the same type of content once is performed, the first content selected by the user is two segments of text in an article; the copy option menu output by the terminal comprises five copy options of segment copy, first sentence copy, tail sentence copy, first paragraph copy only and second paragraph copy only. Assuming that a target copy option selected by the user from the five copy options is a first copy, the terminal determines that the first sentence of characters in the first content matches with the target copy option. Further, the terminal performs period detection on the first content, acquires a first sentence character in the first content, and determines the first sentence character in the first content as a second content. For another example, assuming that the target copy option selected by the user for the seven copy options shown in fig. 3 is to copy all pictures and audio, the terminal determines that the picture content and the audio content in the first content match the target copy option, and determines the picture content and the audio content in the first content as the second content.
By adopting the method, the content pre-selected by the user can be intelligently identified when the copying operation is executed, the corresponding copying options are output according to the operation type of the copying operation and the type of the pre-selected content, and the pre-selected content is completely or partially copied according to the target copying options determined from the copying options, so that the intelligent selection of the copied content can be realized, and the diversity of the selection modes of the copied content is increased.
And S104, the terminal caches the second content in a copy panel.
In the embodiment of the present invention, after determining, by the terminal, a second content that matches the target copy option from the pre-selected first content, the second content is cached in a copy panel (copying panel). The copy content cached by the copy panel comprises the second content cached at this time and the third content cached in history. The second content cached this time and the third content cached in the history are kept in an independent state, that is, the third content cached in the history is not overwritten when the second content is cached to the copy panel. In one embodiment, the terminal caches the second content in the copy panel by: the terminal buffers the second content in a copy panel according to a copy time of the second content and/or a different type of buffering order.
In one embodiment, the terminal caches the second content in the copy panel according to the copy mode indicated by the target copy option. For example, assume that the target copy option selected by the user for the 5 copy options shown in fig. 2 is segment copy. And the terminal detects paragraphs of the first content and respectively acquires each paragraph of characters in the first content, wherein each paragraph of characters in the first content is a second content matched with the target copy option. The terminal then buffers each segment of text in the first content into a copy panel. Each segment of text in the first content remains in a separate state in the copy panel.
In one embodiment, when a paste operation is detected, the terminal calls the copy panel and displays the copied content through the copy panel. The terminal may control the copy panel to display the copied content according to the copy time and/or type of the copied content. The display mode of the terminal for controlling the copy panel to display the copy content can be list display, menu display or grid display. The copied document contents displayed in the copy pane are operable in one or more of viewing, editing, partial deletion and full deletion.
For example, referring to fig. 4 together, fig. 4 is a schematic interface diagram of a copy panel according to an embodiment of the present invention. As shown in fig. 4, the display mode of the copy panel is list display, and the copy contents displayed by the copy panel include a first text content, a second text content, a picture content, a third text content, an audio content, a fourth text content, and a video content from top to bottom. Assuming that the second content cached at this time is video content, the third content cached in history comprises first text content, second text content, picture content, third text content, audio content and fourth text content; the terminal controls the copy panel to display the video content behind the third content, and the video content is arranged from top to bottom according to the sequence of the copy time from far to near. Or, assuming that the second content cached this time is the first text content, the third content cached in history includes the second text content, the picture content, the third text content, the audio content, the fourth text content and the video content; the terminal controls the copying panel to display the first character content in front of the third content, and the first character content and the third character content are arranged from top to bottom according to the sequence of the copying time from near to far.
Assuming that the second content cached at this time includes the fourth text content and the video content, the third content cached in history includes the first text content, the second text content, the picture content, the third text content and the audio content; the terminal controls the copy panel to display the fourth text content and the video content behind the third content; further, the terminal displays the fourth text content in front of the video content according to different types of caching orders. The different types of caching orders refer to priorities when different types of content are cached, and the priorities when various types of content are cached may be, from high to low: text-type content, picture-type content, video-type content, audio-type content, and table-type content.
Further, after the terminal calls the copy panel to display the copy content, according to the selection operation of the user for the second content and the third content in the copy panel, the content to be pasted is determined from the second content and the third content, and the content to be pasted is pasted to the specified area. Wherein, the content to be pasted comprises one or more contents. When the content to be pasted comprises a plurality of contents, before the terminal pastes the content to be pasted to the specified area, a pasting option menu is output according to the type of the content to be pasted, the pasting option menu comprises at least one pasting option, and the pasting option can be one or more of pasting only characters, pasting only pictures, pasting only videos, pasting only audios, pasting only tables, pasting only characters and pictures, pasting only pictures, videos and audios, pasting only pictures, videos, audios and tables, and pasting all the contents.
By adopting the mode, the copied contents cached in the copied panel are mutually independent, when the third content cached in the history of the copied panel needs to be pasted, the copied panel can be directly called out and the third content is selected as the content to be pasted, and the third content does not need to be returned to the related application interface of the terminal to be copied again, so that the efficiency and the convenience of content copying and pasting operation can be improved.
In one embodiment, a terminal firstly acquires a voice operation instruction input by a user aiming at the content currently displayed on a terminal screen, wherein the voice operation instruction comprises a target type of the copied content; and then responding to the voice operation instruction, determining fourth content matched with the target type from the content currently displayed on the terminal screen, and caching the fourth content into a copy panel. The voice instruction is an interactive instruction input by aiming at the content currently displayed on a terminal screen, and the voice operation instruction can be 'copy current picture', 'copy current all text,', 'copy current video', 'copy current audio', or 'copy current table', etc. By adopting the method, the copied content can be selected from the currently displayed content of the terminal screen directly according to the voice operation instruction input by the user, so that a more intelligent copied content selection mode can be realized, and the diversity of the copied content selection modes is further increased.
For example, referring to fig. 2, fig. 2 includes text-type content, picture-type content, audio-type content, and video-type content. Assuming that fig. 2 is the content currently displayed on the screen of the terminal, and the voice command input by the user for the content displayed in fig. 2 is "copy current picture", the terminal determines the picture in fig. 2 as the fourth content. Or, the voice command input by the user for the content shown in fig. 2 is "copy the first segment of text", and the terminal determines the first segment of text in fig. 2 as the fourth content.
In the embodiment of the invention, when the copying operation is detected, the operation type of the copying operation is identified, the corresponding copying option menu is generated and output according to the operation type, then the second content matched with the target copying option is determined from the pre-selected first content according to the target copying option selected by the user from at least one copying option in the copying option menu, and the second content is cached in the copying panel, so that the intelligent selection of the copying content is realized.
Referring to fig. 5, fig. 5 is a schematic diagram of a module of a terminal according to an embodiment of the present invention, where the terminal described in the embodiment of the present invention includes: a processor 501, a communication interface 502, a user interface 503, a display 504, and a memory 505. The processor 501, the communication interface 502, the user interface 503, the display 504, and the memory 505 may be connected by a bus or in other manners, and the embodiment of the present invention is exemplified by being connected by a bus.
The processor 501 may be a Central Processing Unit (CPU), a Network Processor (NP), a Graphics Processing Unit (GPU), or a combination of a CPU, a GPU, and an NP. The processor 501 may also be a core of a multi-core CPU, a multi-core GPU, or a multi-core NP for implementing communication identity binding.
The processor 501 may be a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
The communication interface 502 may be used for transceiving information or signaling interaction, as well as transceiving and transferring signals. The user interface 503 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 interface 503 may include a touch panel and other input devices. The touch panel, also called a touch screen, may collect touch operations of a user (for example, operations of the user on or near the touch panel using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program.
Alternatively, the touch panel may include two parts, 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 detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor, and can receive and execute commands sent by the processor. In addition, the touch panel 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 touch panels, the user interface 503 may also include other input devices. In particular, the other input devices may include, but are not limited to, one or more of function keys (such as volume control keys, switch keys, etc.), voice input devices (e.g., microphone, etc.), etc., a physical keyboard.
The display 504 may be used to display information input by the user or information provided to the user and various menus of the terminal. The Display 504 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, a touch panel in the user interface 503 may overlay the display 504, and when the touch panel detects a touch operation thereon or nearby, the touch panel transmits the touch operation to the processor to determine the type of the touch event, and then the processor provides a corresponding visual output on the display 504 according to the type of the touch event. Although in fig. 4 the touch panel and the display 504 are shown as two separate components to implement the input and output functions of the terminal, in some embodiments the touch panel may be integrated with the display 504 to implement the input and output functions of the terminal.
The memory 505 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, and a storage program required by at least one function (such as a text storage function, a location storage function, etc.); the storage data area may store data (such as image data, text data) created according to the use of the stylus pen, etc., and may include a user interface module and an application storage program, etc. The user interface module may be configured to store a human-computer interaction program for implementing touch, pressing, and the like of a user on a terminal, and the user interface 503 may implement an input function of a user signal by calling the human-computer interaction program of the user interface module. Further, the memory 505 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 memory 505 is also used to store program instructions. The processor 501 may call the program instructions stored in the memory 505 to implement the copy content selection method according to the embodiment of the present invention.
Specifically, the processor 501 calls the program instructions stored in the memory 505 to perform the following steps:
when a copy operation is detected, identifying the operation type of the copy operation, wherein the operation type is that the same type of content is copied once or different types of content are copied once;
generating a corresponding copy option menu according to the operation type and outputting the corresponding copy option menu through the display screen 504, wherein the copy option menu comprises at least one copy option, and each copy option is used for matching corresponding content;
and according to a target copy option in the at least one copy option, determining second content matched with the target copy option from the pre-selected first content, and caching the second content in a copy panel.
In one embodiment, when a copy operation is detected, the processor 501 identifies the operation type of the copy operation by:
when a copy operation is detected, identifying the type of a first content selected from the content currently displayed on the display screen 504;
and determining the operation type of the copying operation according to the type of the first content.
In an embodiment, the type of the first content is one or more of a text type, a picture type, a video type, an audio type, and a table type.
In an embodiment, a specific way for the processor 501 to generate and output a corresponding copy option menu through the display 504 according to the operation type is as follows:
determining a corresponding copy option menu according to the operation type and the type of the first content;
the copy option menu is generated and output via the display 504.
In an embodiment, the specific way for the processor 501 to determine the corresponding copy option menu according to the operation type and the type of the first content is as follows:
when the operation type is that the same type of content is copied once, acquiring the content characteristics of the first content;
and determining a corresponding copying option menu according to the type and the content characteristics of the first content.
In an embodiment, the specific way for the processor 501 to determine the corresponding copy option menu according to the operation type and the type of the first content is as follows:
and when the operation type is the content of different types of single copy, determining a corresponding copy option menu according to the type of the first content.
In one embodiment, the processor 501 is further configured to:
when the pasting operation is detected, calling out the copy panel to display the cached copy content through the display screen 504, wherein the copy content comprises the second content cached at this time and the third content cached in history;
and determining the content to be pasted from the second content and the third content according to the selection operation aiming at the second content and the third content, and pasting the content to be pasted to a specified area.
In one embodiment, the processor 501 is further configured to:
when the content to be pasted comprises a plurality of contents, determining a corresponding pasting option menu according to the type of the content to be pasted, wherein the pasting option menu comprises at least one pasting option, and each pasting option is used for matching the corresponding content to be pasted;
and pasting the corresponding content to be pasted to the designated area according to the pasting option.
In one embodiment, the processor 501 is further configured to:
acquiring a voice operation instruction input aiming at the currently displayed content through the user interface 503, wherein the voice operation instruction comprises a target type of the copied content;
and responding to the voice operation instruction, determining fourth content matched with the target type from the currently displayed content, and caching the fourth content into the copy panel.
In a specific implementation, the processor 501, the communication interface 502, the user interface 503, the display 504, and the memory 505 described in the embodiment of the present invention may execute an implementation manner of the terminal described in the method for selecting a copy content provided in the embodiment of the present invention, and details are not described here again.
In the embodiment of the invention, when the copying operation is detected, the operation type of the copying operation is identified, the corresponding copying option menu is generated and output according to the operation type, then the second content matched with the target copying option is determined from the pre-selected first content according to the target copying option selected by the user from at least one copying option in the copying option menu, and the second content is cached in the copying panel, so that the intelligent selection of the copying content is realized.
The present invention also provides a computer-readable storage medium, in which a copied content selecting instruction is stored, and when the copied content selecting instruction runs on a computer, the copied content selecting instruction causes the computer to execute the copied content selecting method according to the above method embodiment.
It should be noted that, for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts or combinations, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The functional modules in the terminal of the embodiment of the invention can be combined, divided and deleted according to actual needs.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (19)

  1. A duplicate content selection method, the method comprising:
    when a copy operation is detected, identifying the operation type of the copy operation, wherein the operation type is that the same type of content is copied once or different types of content are copied once;
    generating and outputting a corresponding copy option menu according to the operation type, wherein the copy option menu comprises at least one copy option, and each copy option is used for matching corresponding content;
    and according to a target copy option in the at least one copy option, determining second content matched with the target copy option from the pre-selected first content, and caching the second content in a copy panel.
  2. The method of claim 1, wherein the identifying the operation type of the copy operation when the copy operation is detected comprises:
    when a copy operation is detected, identifying the type of a first content selected from the currently displayed contents;
    and determining the operation type of the copying operation according to the type of the first content.
  3. The method of claim 2, wherein the type of the first content is one or more of a text type, a picture type, a video type, an audio type, and a table type.
  4. The method according to claim 2 or 3, wherein the "generating and outputting a corresponding copy option menu according to the operation type" includes:
    determining a corresponding copy option menu according to the operation type and the type of the first content;
    and generating and outputting the copy option menu.
  5. The method of claim 4, wherein the determining the corresponding copy option menu according to the operation type and the type of the first content comprises:
    when the operation type is that the same type of content is copied once, acquiring the content characteristics of the first content;
    and determining a corresponding copying option menu according to the type and the content characteristics of the first content.
  6. The method of claim 4, wherein the determining the corresponding copy option menu according to the operation type and the type of the first content comprises:
    and when the operation type is the content of different types of single copy, determining a corresponding copy option menu according to the type of the first content.
  7. The method of claim 1, further comprising:
    when the pasting operation is detected, calling out the copied contents cached by the copied panel display, wherein the copied contents comprise the second contents cached at this time and the third contents cached in history;
    and determining the content to be pasted from the second content and the third content according to the selection operation aiming at the second content and the third content, and pasting the content to be pasted to a specified area.
  8. The method according to claim 7, wherein the "determining a content to be pasted from the second content and the third content and pasting the content to be pasted to a specified area according to the selection operation for the second content and the third content" comprises:
    when the content to be pasted comprises a plurality of contents, determining a corresponding pasting option menu according to the type of the content to be pasted, wherein the pasting option menu comprises at least one pasting option, and each pasting option is used for matching the corresponding content to be pasted;
    and pasting the corresponding content to be pasted to the designated area according to the pasting option.
  9. The method of claim 1, further comprising:
    acquiring a voice operation instruction input aiming at the currently displayed content, wherein the voice operation instruction comprises a target type of the copied content;
    and responding to the voice operation instruction, determining fourth content matched with the target type from the currently displayed content, and caching the fourth content into the copy panel.
  10. A terminal, characterized in that the terminal comprises a processor configured to:
    when a copy operation is detected, identifying the operation type of the copy operation, wherein the operation type is that the same type of content is copied once or different types of content are copied once;
    generating and outputting a corresponding copy option menu according to the operation type, wherein the copy option menu comprises at least one copy option, and each copy option is used for matching corresponding content;
    and according to a target copy option in the at least one copy option, determining second content matched with the target copy option from the pre-selected first content, and caching the second content in a copy panel.
  11. The terminal of claim 10, wherein the processor is specifically configured to:
    when a copy operation is detected, identifying the type of a first content selected from the currently displayed contents;
    and determining the operation type of the copying operation according to the type of the first content.
  12. The terminal of claim 11, wherein the type of the first content is one or more of a text type, a picture type, a video type, an audio type, and a table type.
  13. The terminal according to claim 11 or 12, wherein the processor is specifically configured to:
    determining a corresponding copy option menu according to the operation type and the type of the first content;
    and generating and outputting the copy option menu.
  14. The terminal of claim 13, wherein the processor is specifically configured to:
    when the operation type is that the same type of content is copied once, acquiring the content characteristics of the first content;
    and determining a corresponding copying option menu according to the type and the content characteristics of the first content.
  15. The terminal of claim 13, wherein the processor is specifically configured to:
    and when the operation type is the content of different types of single copy, determining a corresponding copy option menu according to the type of the first content.
  16. The terminal of claim 10, wherein the processor is further configured to:
    when the pasting operation is detected, calling out the copied contents cached by the copied panel display, wherein the copied contents comprise the second contents cached at this time and the third contents cached in history;
    and determining the content to be pasted from the second content and the third content according to the selection operation aiming at the second content and the third content, and pasting the content to be pasted to a specified area.
  17. The terminal of claim 16, wherein the processor is further configured to:
    when the content to be pasted comprises a plurality of contents, determining a corresponding pasting option menu according to the type of the content to be pasted, wherein the pasting option menu comprises at least one pasting option, and each pasting option is used for matching the corresponding content to be pasted;
    and pasting the corresponding content to be pasted to the designated area according to the pasting option.
  18. The terminal of claim 10, wherein the terminal further comprises a user interface, and wherein the processor is further configured to:
    acquiring a voice operation instruction input aiming at the currently displayed content through the user interface, wherein the voice operation instruction comprises a target type of the copied content;
    and responding to the voice operation instruction, determining fourth content matched with the target type from the currently displayed content, and caching the fourth content into the copy panel.
  19. A storage medium having stored therein duplicate content selection instructions that, when run on a computer, cause the computer to perform a duplicate content selection method as claimed in any one of claims 1 to 9.
CN201880094161.8A 2018-08-09 2018-08-09 Method, terminal and storage medium for selecting copied content Pending CN112639708A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/099728 WO2020029210A1 (en) 2018-08-09 2018-08-09 Copy content selection method, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112639708A true CN112639708A (en) 2021-04-09

Family

ID=69414412

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880094161.8A Pending CN112639708A (en) 2018-08-09 2018-08-09 Method, terminal and storage medium for selecting copied content

Country Status (2)

Country Link
CN (1) CN112639708A (en)
WO (1) WO2020029210A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808058A (en) * 2016-03-04 2016-07-27 陈包容 Intelligent display method and apparatus for pasting prompt

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060250360A1 (en) * 2005-05-05 2006-11-09 International Business Machines Corporation Smart pointer
CN106293961B (en) * 2016-07-28 2020-03-03 北京小米移动软件有限公司 Text information processing method and device
CN108268438B (en) * 2016-12-30 2021-10-22 腾讯科技(深圳)有限公司 Page content extraction method and device and client
CN107918563A (en) * 2017-09-30 2018-04-17 华为技术有限公司 A kind of method, data processing equipment and user equipment replicated and paste

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808058A (en) * 2016-03-04 2016-07-27 陈包容 Intelligent display method and apparatus for pasting prompt

Also Published As

Publication number Publication date
WO2020029210A1 (en) 2020-02-13

Similar Documents

Publication Publication Date Title
US11893233B2 (en) Device, method, and graphical user interface for moving user interface objects
US10599316B2 (en) Systems and methods for adjusting appearance of a control based on detected changes in underlying content
JP6728275B2 (en) Virtual computer keyboard
JP6126255B2 (en) Device, method and graphical user interface for operating a soft keyboard
US8698845B2 (en) Device, method, and graphical user interface with interactive popup views
JP5987054B2 (en) Device, method and graphical user interface for document manipulation
US9448715B2 (en) Grouping of related graphical interface panels for interaction with a computing device
US20240184442A1 (en) Devices, Methods, and Systems for Manipulating User Interfaces
US20130155116A1 (en) Method, apparatus and computer program product for providing multiple levels of interaction with a program
WO2021136136A1 (en) Screenshot method and electronic device
CN107479818B (en) Information interaction method and mobile terminal
CN110377220B (en) Instruction response method and device, storage medium and electronic equipment
CN116324696A (en) Software clipboard
US20150346973A1 (en) Seamlessly enabling larger ui
WO2024037418A1 (en) Display method and apparatus, electronic device, and readable storage medium
US9619847B2 (en) Method, device and terminal for acting on graphical objects displayed in a mobile application
US20230244363A1 (en) Screen capture method and apparatus, and electronic device
WO2024046204A1 (en) Message processing method and apparatus, electronic device, and storage medium
US11243679B2 (en) Remote data input framework
CN112639708A (en) Method, terminal and storage medium for selecting copied content
US20200357169A1 (en) Device, method, and graphical user interface for generating cgr objects
US11659077B2 (en) Mobile terminal and method for controlling the same
CN117931021A (en) File processing method and device, electronic equipment and storage medium
CN117319549A (en) Multimedia data selection method and device
CN115904095A (en) Information input method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210409