CN109388506B - Data processing method and electronic equipment - Google Patents

Data processing method and electronic equipment Download PDF

Info

Publication number
CN109388506B
CN109388506B CN201811163067.1A CN201811163067A CN109388506B CN 109388506 B CN109388506 B CN 109388506B CN 201811163067 A CN201811163067 A CN 201811163067A CN 109388506 B CN109388506 B CN 109388506B
Authority
CN
China
Prior art keywords
content
pasted
piece
input
input operation
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.)
Active
Application number
CN201811163067.1A
Other languages
Chinese (zh)
Other versions
CN109388506A (en
Inventor
薛朋岳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201811163067.1A priority Critical patent/CN109388506B/en
Publication of CN109388506A publication Critical patent/CN109388506A/en
Priority to GB1912803.2A priority patent/GB2577989B/en
Priority to US16/584,365 priority patent/US11491396B2/en
Priority to DE102019125937.1A priority patent/DE102019125937A1/en
Application granted granted Critical
Publication of CN109388506B publication Critical patent/CN109388506B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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]

Abstract

The application discloses a data processing method and electronic equipment, wherein the method comprises the following steps: obtaining an input operation for an input area; displaying at least one piece of content to be pasted; the at least one piece of content to be pasted is used for selecting target content by a user; the at least one piece of content to be pasted is the copy content determined by responding to the copy action before the input operation aiming at the input area is obtained, or/and the cut content determined by responding to the cut action before the input operation aiming at the input area is obtained. It can be seen that, in the application, when responding to an input operation, the corresponding content determined by responding to the copying and/or cutting action is displayed instead of the content copied or cut last time before the input operation, so that the selection is provided for a user, and the copying and pasting are not required to be performed repeatedly after the pasting once, so that the operation flow can be reduced for the pasting input of multiple contents, the operation complexity is reduced, and the operation efficiency is improved.

Description

Data processing method and electronic equipment
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data processing method and an electronic device.
Background
At present, when pasting content, only the content which is copied or cut at the last time can be pasted generally, and when pasting the content at a plurality of positions, copying and pasting are required to be carried out repeatedly, so that the operation complexity is increased, and the operation efficiency is low.
Disclosure of Invention
In view of the above, the present invention provides a data processing method and an electronic device, so as to solve the technical problem in the prior art that the operation efficiency of the copy and paste operation is low.
The application provides a data processing method, which comprises the following steps:
obtaining an input operation for an input area;
displaying at least one piece of content to be pasted; the at least one piece of content to be pasted is used for selecting target content by a user;
the at least one piece of content to be pasted is the copy content determined by responding to the copy action before the input operation aiming at the input area is obtained, or/and the cut content determined by responding to the cut action before the input operation aiming at the input area is obtained.
The above method, preferably, further comprises:
and displaying an operation control, wherein the operation control is used for indicating to execute the pasting instruction.
The above method, preferably, further comprises:
inputting the at least one piece of content to be pasted in the input area in response to the pasting instruction;
or;
and responding to the pasting instruction, and inputting the target content selected by the user in the at least one piece of content to be pasted in the input area.
The method preferably further includes displaying at least one piece of content to be pasted, including:
displaying the at least one piece of content to be pasted in a list form;
and the display sequence of the contents to be pasted in the list corresponds to the determined time sequence of the contents to be pasted.
In the method, preferably, the at least one piece of content to be pasted is content associated with an input scene corresponding to the input area.
In the method, preferably, the at least one piece of content to be pasted includes content to be pasted of different types.
The present application also provides a data processing apparatus, including:
an operation obtaining unit configured to obtain an input operation for an input area;
the content display unit is used for displaying at least one piece of content to be pasted; the at least one piece of content to be pasted is used for selecting target content by a user;
the at least one piece of content to be pasted is the copy content determined by responding to the copy action before the input operation aiming at the input area is obtained, or/and the cut content determined by responding to the cut action before the input operation aiming at the input area is obtained.
In the above apparatus, the content presentation unit is further configured to:
and displaying an operation control, wherein the operation control is used for indicating to execute the pasting instruction.
The present application further provides an electronic device, including:
the memory is used for storing the application program and data generated by the running of the application program;
a processor for executing the application program to implement the following functions: obtaining an input operation for an input area; displaying at least one piece of content to be pasted; the at least one piece of content to be pasted is used for selecting target content by a user; the at least one piece of content to be pasted is the copy content determined by responding to the copy action before the input operation aiming at the input area is obtained, or/and the cut content determined by responding to the cut action before the input operation aiming at the input area is obtained.
The present application further provides an electronic device, including:
a display screen;
a processor to obtain an input operation for an input area; controlling at least one piece of content to be pasted to be displayed on the display screen; the at least one piece of content to be pasted is used for selecting target content by a user;
the at least one piece of content to be pasted is copy content determined by responding to a copy action before the input operation, and/or cut content determined by responding to a cut action before the input operation.
As can be seen from the foregoing technical solutions, in the data processing method and the electronic device disclosed in the present application, after an input operation is obtained, the input operation is responded, so that at least one piece of content to be pasted determined by responding to a copy action and/or a cut action before the input operation is displayed, and a user is provided with a selection target content to paste. Therefore, when the input operation is responded, the corresponding content determined by responding to the copying and/or cutting action is displayed instead of the content copied or cut last time before the input operation, so that the selection is provided for the user, the copying and pasting are not required to be performed repeatedly after the pasting is performed once, the operation flow can be reduced for the pasting input of the multiple contents, the operation complexity is reduced, and the operation efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a data processing method according to an embodiment of the present application;
FIGS. 2-8, 9a, 9b, 10-18, 19a and 19b are exemplary diagrams of embodiments of the present application, respectively;
fig. 20 is a schematic structural diagram of a data processing apparatus according to a second embodiment of the present application;
fig. 21 is a schematic structural diagram of an electronic device according to a third embodiment of the present application;
fig. 22 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present application.
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 only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
Referring to fig. 1, a flowchart of an implementation of a data processing method provided in an embodiment of the present application is shown, where the method is applied to a device capable of performing data processing and interacting with a user, such as a mobile phone, a pad, or a computer.
In this embodiment, the method may include the steps of:
step 101: an input operation for an input area is obtained.
As shown in fig. 2, in the execution apparatus in which the present embodiment is provided, there is an input area to provide the user with operations for various inputs. The input operation in this embodiment may be an operation performed by the user according to a functional intention to be implemented, such as a long-press operation, a double-click operation, or a right-click operation of a mouse, for example, the input operation indicates that the user needs to perform a content pasting operation.
Specifically, the input area in this embodiment may be an interface capable of performing input operations, such as a system operation interface or an application interaction interface, for example, a search box of the system, a system setting area, a note recording area, or an input box in a chat application, and the user may perform corresponding input operations in the input boxes to represent that the user needs to perform content pasting.
Step 102: and displaying at least one piece of content to be pasted.
In this embodiment, the at least one piece of content to be pasted may be displayed in a preset area corresponding to the input area. For example, in the present embodiment, at least one piece of content to be pasted is displayed in a position area below or on the right side of the mouse in the input area, as shown in fig. 3; alternatively, in the present embodiment, at least one piece of content to be pasted is displayed in the upper, lower, or right side area of the input area, as shown in fig. 4; alternatively, in this embodiment, at least one piece of content to be pasted is displayed in a corresponding position on the keyboard region corresponding to the input region, as shown in fig. 5, and so on.
It should be noted that there may be one or more pieces of content to be pasted shown in this embodiment, when there is one piece of content to be pasted, in this embodiment, all the content to be pasted or part of the content to be pasted may be directly shown, for example, the content to be pasted is multiple characters, in this embodiment, all the characters may be shown or only the first N characters of the characters may be shown, as shown in fig. 6; when the content to be pasted is multiple, in this embodiment, all or part of each piece of content to be pasted may be displayed on the multiple pieces of content to be pasted, or a content identifier, such as a digital identifier, a text identifier, or a letter identifier, may be set on the multiple pieces of content to be pasted, where the content tags may represent relevant attributes of the content to be pasted, such as content, type, or date, and the content identifiers and corresponding part of the content to be pasted are displayed in this embodiment, as shown in fig. 7, or content tags, such as a content summary, that display the content to be pasted are shown in fig. 8.
In addition, the at least one piece of content to be pasted shown in this embodiment may be copy content determined in response to the copy action before obtaining the input operation, and/or cut content determined in response to the cut action before obtaining the input operation.
For example, the at least one piece of content to be pasted shown in this embodiment may include one or more pieces of copied content that are copied before the input operation is obtained;
or, the at least one piece of content to be pasted shown in this embodiment may include one or more pieces of cut content that are cut before the input operation is obtained;
or, the at least one piece of content to be pasted shown in this embodiment includes one or more pieces of copied content that are copied before the input operation is obtained, and also includes one or more pieces of cut content that are cut before the input operation is obtained.
Correspondingly, after at least one piece of content to be pasted is displayed in the embodiment, the user may select corresponding target content for the content to be pasted according to the requirement, or may not select the target content.
As can be seen from the foregoing solution, in the data processing method provided in the first embodiment of the present application, after obtaining the input operation, responding to the input operation is performed, so as to display at least one piece of content to be pasted, which is determined in response to the copy action and/or the cut action before the input operation, and provide the user with the selection target content for pasting. It can be seen that, in the embodiment, when responding to the input operation, the corresponding content determined in response to the copy and/or cut action is presented instead of the content copied or cut last time before the input operation, so that the selection is provided for the user, and the copy and paste operation does not need to be performed repeatedly after the paste operation is performed once, so that the operation flow can be reduced for the paste input of multiple contents, the operation complexity can be reduced, and the operation efficiency can be improved.
In an implementation manner, in addition to showing at least one piece of content to be pasted, an operation control may be shown while showing the content to be pasted, where the operation control is used to execute the pasting instruction, as shown in fig. 9 a.
Specifically, in this embodiment, the operation control is displayed while the content to be pasted is displayed, so that the operation control indicates that the user can execute the pasting instruction by triggering the operation control, thereby implementing the pasting action.
Correspondingly, in this embodiment, after the paste instruction is executed, corresponding content is input in the input area in response to the paste instruction, specifically: and inputting the displayed at least one piece of content to be pasted in the input area, or inputting the target content selected by the user in the displayed at least one piece of content to be pasted in the input area.
For example, in an implementation manner, after at least one piece of content to be pasted is displayed in this embodiment, a user may directly click an operation control without performing a selection operation on the displayed content to be pasted, and then execute a pasting instruction in this embodiment to input all displayed contents to be pasted into an input area; or, the user does not select the displayed content to be pasted, and does not need to click the operation control, but the embodiment directly executes the pasting instruction after the display duration of at least one piece of content to be pasted exceeds the preset duration, for example, 3 seconds, and all the displayed content to be pasted is input into the input area;
in another implementation manner, in this embodiment, after at least one piece of content to be pasted is displayed, a user may perform a selection operation on the displayed content to be pasted, specifically, a selection control displayed on one side of the content to be pasted may be clicked to perform the selection operation on the corresponding content to be pasted, so as to select one or more pieces of content to be pasted as target content, and then click operation is performed on an operation control, as shown in fig. 9b, so that in this embodiment, a pasting instruction is executed, and template content selected by the user is input into an input area; or, after the user selects the displayed content to be pasted to select one or more pieces of content to be pasted as the target content, the user may not click the operation control, but in this embodiment, after the waiting time for the user to select the target content exceeds a certain time, for example, 5 seconds, the pasting instruction is executed, and the target content selected by the user is input into the input area; and so on.
In an implementation manner, when at least one piece of content to be pasted is presented in step 102 of this embodiment, the following manner may be implemented:
and displaying at least one piece of content to be pasted in a list form.
As shown in fig. 10, in the present embodiment, at least one piece of content to be pasted, which is copied and/or cut before the input operation, is displayed in a list form, such as a display content identifier and a part of the content to be pasted, and is provided for the user to select.
Based on this, the display order of the to-be-pasted contents in the list may be arranged according to a preset display rule, for example, after the determination time of the to-be-pasted contents is obtained in this embodiment, the to-be-pasted contents are sorted according to the determination time order thereof, such as sorting according to a front-back order or a back-front order of the time, and then the sorted to-be-pasted contents are displayed in the form of a list, for example, with an operation position from an input operation in the input area as an origin, the larger the determination time, the earlier the to-be-pasted contents are sorted in the list, the closer the to-be-pasted contents are to the operation position, as shown in fig. 11; alternatively, the content to be pasted that is determined to be smaller in time is ranked earlier in the list, closer to the operation position, as shown in fig. 12, and so on.
Or, after the determination time of the content to be pasted is obtained in this embodiment, the content to be pasted is sorted according to the size or the number of the content, for example, the content to be pasted is sorted according to the number of characters included in the content to be pasted, and then the sorted content to be pasted is displayed in a list form, for example, with an operation position that is farther from an input operation in the input area as an origin, the content to be pasted with the larger number of characters is sorted in the list, and the earlier the content to be pasted is, the closer the content to be pasted is to the operation position, as shown in fig. 13; alternatively, the content to be pasted having the smaller number of characters is ranked earlier in the list, closer to the operation position, as shown in fig. 14, and so on.
In one implementation manner, in the present embodiment, after each copy action and/or cut action, the corresponding copy and/or cut content may be recorded in the clipboard, so as to provide for obtaining the content to be pasted from the clipboard for presentation after the obtaining input operation. Specifically, the present embodiment may continuously record a certain amount of copied and/or cut contents within a certain time period or in a certain number on the clipboard according to the requirement, and after obtaining the input operation, determine a suitable number of contents to be pasted in the recorded contents for display. Further, in this embodiment, the content recorded on the clipboard may be intelligently cleared according to an actual scene or a requirement, for example, the content reaching the upper limit of the clipboard record is deleted on a first-in first-out principle, or the clipboard is cleared every morning, or the clipboard is cleared when an application whose processor operation resource occupancy rate exceeds a certain value is monitored to start operating, for example, the clipboard is cleared when a large game is started, or the content whose occupied space amount of the content per se is greater than a certain value is deleted in the clipboard at a certain time interval, and a part of the content is left to be continuously recorded in the clipboard, and so on.
In an implementation manner, the number of the at least one to-be-pasted content displayed in this embodiment may be set according to actual requirements, or may be preset, for example, the number of the displayable to-be-pasted content is determined according to an available space of the current display page, or the number is set to 10 or 5.
In another implementation manner, the at least one piece of content to be pasted displayed in this embodiment may be all the content to be pasted that is copied and/or cut within a certain time period before the input operation, for example, in this embodiment, the content that is cut and/or copied within 24 hours before the input operation is recorded as the content to be pasted, and the display is performed after the input operation is obtained, as shown in fig. 15, the content to be pasted may not be completely displayed because there are many content to be pasted, and at this time, the content to be pasted may be adjusted and displayed through a scroll bar; the at least one piece of content to be pasted shown in this embodiment may also be configured to enable a preset number of copied and/or cut contents within a certain time period before the input operation, for example, a number threshold of the displayable content to be pasted, such as 10 pieces or 5 pieces, is preset in this embodiment, and further in this embodiment, after the input operation is obtained, a number threshold of the cut and/or copied contents within 24 hours before the input operation, such as 3 pieces of content, is recorded as the content to be pasted, and is displayed after the input operation is obtained, as shown in fig. 16.
In an implementation manner, the at least one piece of substitute pasting content displayed in the embodiment may be a content associated with an input scene corresponding to the input area, that is, in the embodiment, a content to be pasted associated with an input scene corresponding to the current input area is screened from all contents to be pasted that are copied and/or cut before the recorded input operation, and then the screened content to be pasted is displayed. For example, the input scene corresponding to the input area is a game scene, in this embodiment, after the input operation is obtained, contents to be pasted related to the game scene, such as firearm equipment, game name, game ranking screenshot and the like, are screened out from the recorded contents to be pasted copied and/or cut before the input operation, and these screened contents are displayed, as shown in fig. 17; or, the input scene corresponding to the input area is a system parameter setting scene, in this embodiment, after the input operation is obtained, the contents to be pasted related to the system parameter setting scene, such as the device name, the model parameter, the owner name, and the like, are screened out from the recorded contents to be pasted copied and/or cut before the input operation, and these screened-out contents are displayed, as shown in fig. 18, and the like.
In one implementation manner, the at least one piece of content to be pasted shown in this embodiment may include one or more types of content to be pasted, that is, the content to be pasted shown to the user for selection after the input operation is obtained in this embodiment may be different types of content, such as picture content, audio content, or character content, and in this embodiment, the different types of content to be pasted may be shown to the user in a certain manner, as shown in fig. 19 a.
For example, the different types of contents to be pasted are firstly classified, and the same type of contents to be pasted are displayed together, or the contents to be pasted are displayed according to the list display sequence described above in the present embodiment.
For another example, in this embodiment, before an input operation is obtained, after a certain picture is subjected to image splitting, the image after image splitting is analyzed and identified by using a deep learning model, so as to obtain a plurality of contents in the picture, such as a background image, background text contents, a hero character image, a character name, and the like, in this embodiment, the contents are all recorded on a clipboard, after the input operation is obtained, the contents on the clipboard are obtained and displayed, and the hero character name, the hero character image, the background text contents, and the background image are displayed in a group drawing manner, as shown in fig. 19b, where the group drawing manner may be determined based on a corresponding position of each content to be pasted on an original picture.
Referring to fig. 20, a schematic structural diagram of a data processing apparatus according to a second embodiment of the present application is provided, where the apparatus may include the following structures:
an operation obtaining unit 2001 for obtaining an input operation for the input region.
The operation obtaining unit 2001 may be realized by an input device, among others, to obtain an input operation.
As shown in fig. 2, in the execution apparatus in which the present embodiment is provided, there is an input area to provide the user with operations for various inputs. The input operation in this embodiment may be an operation performed by the user according to a functional intention to be implemented, such as a long-press operation, a double-click operation, or a right-click operation of a mouse, for example, the input operation indicates that the user needs to perform a content pasting operation.
Specifically, the input area in this embodiment may be an interface capable of performing input operation, such as a system operation interface or an application interaction interface, for example, a search box of the system, a system setting area, a note recording area, or an input box in a chat application, and a user may perform corresponding input operation in the input boxes to represent that the user needs to perform content pasting.
The content display unit 2002 is configured to display at least one piece of content to be pasted. The at least one piece of content to be pasted is used for the user to select the target content.
The at least one piece of content to be pasted is the copy content determined by responding to the copy action before the input operation aiming at the input area is obtained, or/and the cut content determined by responding to the cut action before the input operation aiming at the input area is obtained.
It should be noted that the content displaying unit 2002 displays at least one piece of content to be pasted, and specifically, the at least one piece of content to be pasted may be displayed in a list form; and the display sequence of the contents to be pasted in the list corresponds to the determined time sequence of the contents to be pasted.
And the at least one piece of content to be pasted is content associated with the input scene corresponding to the input area. The at least one piece of content to be pasted comprises content to be pasted of different types.
In addition, the content presentation unit 2002 is further configured to: and displaying an operation control, wherein the operation control is used for indicating to execute the pasting instruction.
Correspondingly, the device also comprises:
a content input unit 2003 for inputting the at least one piece of content to be pasted in the input area in response to the paste instruction; or; and responding to the pasting instruction, and inputting the target content selected by the user in the at least one piece of content to be pasted in the input area.
As can be seen from the foregoing solution, in the data processing apparatus provided in the embodiment of the present application, after obtaining the input operation, responding to the input operation is performed, so as to display at least one piece of content to be pasted determined in response to the copy action and/or the cut action before the input operation, and thus provide the user with a selection target content for pasting. It can be seen that, in the embodiment, when responding to the input operation, the corresponding content determined in response to the copy and/or cut action is presented instead of the content copied or cut last time before the input operation, so that the selection is provided for the user, and the copy and paste operation does not need to be performed repeatedly after the paste operation is performed once, so that the operation flow can be reduced for the paste input of multiple contents, the operation complexity can be reduced, and the operation efficiency can be improved.
It should be noted that, for the specific implementation and example of each structure in this embodiment, reference may be made to the foregoing method embodiment, and details are not described here.
Referring to fig. 21, a schematic structural diagram of an electronic device provided in the third embodiment of the present application, where the electronic device may include the following structures:
a memory 2101 is used for storing applications and data generated by the operation of the applications.
The memory 2101 may include volatile memory in a computer-readable medium, Random Access Memory (RAM), and/or non-volatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), among others. The memory is an example of a computer-readable medium.
A processor 2102 for executing the application program to perform the following functions: obtaining an input operation for an input area; displaying at least one piece of content to be pasted; the at least one piece of content to be pasted is used for selecting target content by a user; the at least one piece of content to be pasted is the copy content determined by responding to the copy action before the input operation aiming at the input area is obtained, or/and the cut content determined by responding to the cut action before the input operation aiming at the input area is obtained.
The processor 2102 includes a kernel, and the kernel calls a corresponding program unit from a memory. And the kernel can be set to be one or more, and the functions are realized by adjusting kernel parameters.
It should be noted that, the processor 2102 displays at least one piece of content to be pasted specifically may display the at least one piece of content to be pasted in a list form; and the display sequence of the contents to be pasted in the list corresponds to the determined time sequence of the contents to be pasted.
And the at least one piece of content to be pasted is content associated with the input scene corresponding to the input area. The at least one piece of content to be pasted comprises content to be pasted of different types.
Additionally, the processor 2102 is further configured to: and displaying an operation control, wherein the operation control is used for indicating to execute the pasting instruction.
Correspondingly, the processor 2102 is further configured to input the at least one piece of content to be pasted in the input area in response to the pasting instruction; or; and responding to the pasting instruction, and inputting the target content selected by the user in the at least one piece of content to be pasted in the input area.
As can be seen from the above solution, in the electronic device provided in the third embodiment of the present application, after the input operation is obtained, the input operation is responded, so that at least one piece of content to be pasted determined by responding to the copy action and/or the cut action before the input operation is displayed, and the user is provided with a selection target content for pasting. It can be seen that, in the embodiment, when responding to the input operation, the corresponding content determined in response to the copy and/or cut action is presented instead of the content copied or cut last time before the input operation, so that the selection is provided for the user, and the copy and paste operation does not need to be performed repeatedly after the paste operation is performed once, so that the operation flow can be reduced for the paste input of multiple contents, the operation complexity can be reduced, and the operation efficiency can be improved.
It should be noted that, for the specific implementation and examples of the structures in the present embodiment, reference may be made to the foregoing method embodiments, and details are not described here.
Referring to fig. 22, a schematic structural diagram of an electronic device according to a fourth embodiment of the present disclosure, the electronic device may include the following structure:
a display screen 2201;
a processor 2202 configured to obtain an input operation for an input area and control presentation of at least one piece of content to be pasted on a display 2201; the at least one piece of content to be pasted is used for the user to select the target content.
The at least one piece of content to be pasted is copy content determined by responding to a copy action before the input operation, and/or cut content determined by responding to a cut action before the input operation.
It should be noted that, when the display 2201 displays at least one piece of content to be pasted, specifically, the at least one piece of content to be pasted may be displayed in a list form; and the display sequence of the contents to be pasted in the list corresponds to the determined time sequence of the contents to be pasted.
And the at least one piece of content to be pasted is content associated with the input scene corresponding to the input area. The at least one piece of content to be pasted comprises content to be pasted of different types.
In addition, the display screen 2201 is further configured to: and displaying an operation control, wherein the operation control is used for indicating to execute the pasting instruction.
Correspondingly, the processor 2202 in the electronic device is further configured to input the at least one piece of content to be pasted in the input area in response to the paste instruction; or; and responding to the pasting instruction, and inputting the target content selected by the user in the at least one piece of content to be pasted in the input area.
In addition, the display 2201 can display the content to be pasted under the control of the processor 2202.
As can be seen from the foregoing solution, in the electronic device provided in the fourth embodiment of the present application, after the input operation is obtained, the input operation is responded, so that at least one piece of content to be pasted determined by responding to the copy action and/or the cut action before the input operation is displayed, and the user is provided with a selection target content for pasting. It can be seen that, in the embodiment, when responding to the input operation, the corresponding content determined by responding to the copy and/or cut action is presented instead of the content copied or cut last time before the input operation, so that the selection is provided for the user, and the copy and paste do not need to be performed repeatedly after the paste operation once, so that the operation flow can be reduced for the paste input of multiple contents, the operation complexity is reduced, and the operation efficiency is improved.
According to the method or the electronic equipment provided by the embodiment of the application, a plurality of contents which are copied/cut before can be displayed for a user to select at one time when the input box triggers the pasting operation. Wherein the plurality of contents displayed at one time have different types of contents, such as pictures or texts. And the interface of the plurality of contents displayed at one time is provided with a pasting control, and the user can paste all the contents selected by the user aiming at the plurality of displayed contents into the input box at one time by operating the pasting control. In another embodiment, the user may also directly operate the paste control, and only input the content that is copied/pasted last time close to the paste operation into the input box by default. So that the user experience of the user with respect to the paste operation is not changed. Therefore, in this embodiment, it is necessary to further determine whether or not a selection operation for presenting a plurality of contents at once is responded in response to the paste instruction.
It should be noted that, for the specific implementation and examples of the structures in the present embodiment, reference may be made to the foregoing method embodiments, and details are not described here.
In the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed in the embodiment corresponds to the method disclosed in the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (7)

1. A method of data processing, comprising:
obtaining an input operation for an input area;
displaying at least one piece of content to be pasted; the at least one piece of content to be pasted is used for selecting target content by a user;
the at least one piece of content to be pasted is the copy content determined by responding to the copy action before the input operation aiming at the input area is obtained, or/and the cut content determined by responding to the cut action before the input operation aiming at the input area is obtained;
before obtaining the input operation for the input area, the method further comprises the following steps:
dividing the picture, analyzing and identifying the picture after dividing the picture to obtain a plurality of contents in the picture, and determining the plurality of contents as a plurality of contents to be pasted.
2. The method of claim 1, further comprising:
and displaying an operation control, wherein the operation control is used for indicating to execute the pasting instruction.
3. The method of claim 2, further comprising:
inputting the at least one piece of content to be pasted in the input area in response to the pasting instruction;
or;
and responding to the pasting instruction, and inputting the target content selected by the user in the at least one piece of content to be pasted in the input area.
4. The method according to claim 1, wherein the presenting at least one piece of content to be pasted comprises:
displaying the at least one piece of content to be pasted in a list form;
and the display sequence of the contents to be pasted in the list corresponds to the determined time sequence of the contents to be pasted.
5. The method according to claim 1, wherein the at least one piece of content to be pasted is content associated with an input scene corresponding to the input area.
6. The method according to claim 1, wherein the at least one piece of content to be pasted includes different types of content to be pasted.
7. An electronic device, comprising:
a display screen;
a processor for obtaining an input operation for an input area; controlling at least one piece of content to be pasted to be displayed on the display screen; the at least one piece of content to be pasted is used for selecting target content by a user;
the at least one piece of content to be pasted is copy content determined by responding to a copy action before the input operation and/or cut content determined by responding to a cut action before the input operation;
before obtaining the input operation for the input area, the method further comprises the following steps:
dividing the picture, analyzing and identifying the picture after dividing the picture to obtain a plurality of contents in the picture, and determining the plurality of contents as a plurality of contents to be pasted.
CN201811163067.1A 2018-09-30 2018-09-30 Data processing method and electronic equipment Active CN109388506B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201811163067.1A CN109388506B (en) 2018-09-30 2018-09-30 Data processing method and electronic equipment
GB1912803.2A GB2577989B (en) 2018-09-30 2019-09-05 Information processing method and electronic device
US16/584,365 US11491396B2 (en) 2018-09-30 2019-09-26 Information processing method and electronic device
DE102019125937.1A DE102019125937A1 (en) 2018-09-30 2019-09-26 Information processing method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811163067.1A CN109388506B (en) 2018-09-30 2018-09-30 Data processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN109388506A CN109388506A (en) 2019-02-26
CN109388506B true CN109388506B (en) 2022-07-26

Family

ID=65419283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811163067.1A Active CN109388506B (en) 2018-09-30 2018-09-30 Data processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN109388506B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110225180B (en) * 2019-04-23 2021-01-08 维沃软件技术有限公司 Content input method and terminal equipment
CN110109586B (en) * 2019-05-16 2021-02-12 北京达佳互联信息技术有限公司 Data processing method and device, computer equipment and storage medium
CN111324256A (en) * 2020-03-19 2020-06-23 Oppo广东移动通信有限公司 Content rapid and mutual sharing method, device and terminal
CN111913592A (en) * 2020-07-30 2020-11-10 维沃移动通信有限公司 Information input method and device, electronic equipment and readable storage medium
CN112783409A (en) * 2021-03-15 2021-05-11 联想(北京)有限公司 Control method and device and electronic equipment
CN113946396A (en) * 2021-11-26 2022-01-18 北京闪送科技有限公司 Method for realizing function similar to pasting board in Web page

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117380A (en) * 2015-09-24 2015-12-02 百度在线网络技术(北京)有限公司 Paste processing method and device
CN107766163A (en) * 2017-10-27 2018-03-06 深圳市口袋网络科技有限公司 A kind of stand-by information stickup method, apparatus, equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050210401A1 (en) * 2004-03-18 2005-09-22 Nokia Corporation Method and system for centralized copy/paste functionality
CN105956593A (en) * 2016-05-09 2016-09-21 珠海市魅族科技有限公司 Image processing method and device
CN107273013A (en) * 2017-07-03 2017-10-20 北京小米移动软件有限公司 Text handling method, device and electronic equipment
CN107391286A (en) * 2017-08-28 2017-11-24 济南浚达信息技术有限公司 What a kind of more content quick copies of Android system were pasted realizes system and method
CN107908489A (en) * 2017-11-27 2018-04-13 维沃移动通信有限公司 Replicate the method pasted and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117380A (en) * 2015-09-24 2015-12-02 百度在线网络技术(北京)有限公司 Paste processing method and device
CN107766163A (en) * 2017-10-27 2018-03-06 深圳市口袋网络科技有限公司 A kind of stand-by information stickup method, apparatus, equipment and storage medium

Also Published As

Publication number Publication date
CN109388506A (en) 2019-02-26

Similar Documents

Publication Publication Date Title
CN109388506B (en) Data processing method and electronic equipment
US10554805B2 (en) Information processing method, terminal, and computer-readable storage medium
KR102455232B1 (en) Method and electronic device for tab management based on context
CN107301007B (en) Function menu display method and system
US20160188363A1 (en) Method, apparatus, and device for managing tasks in multi-task interface
CN106708484B (en) Method and device for establishing page
KR20190039564A (en) Customizing dynamic feature columns
KR20180087969A (en) Device for authoring video scene and metadata
EP2608006A2 (en) Category search method and mobile device adapted thereto
CN111309213A (en) Comment display method and device, electronic equipment and storage medium
CN105279431B (en) Method, device and system for recording operation information in mobile equipment
CN104516674A (en) Word processing method and device
CN113361525A (en) Page generation method and device based on OCR, computer equipment and storage medium
CN104571811B (en) Information processing method and electronic equipment
US20170300355A1 (en) Task switching assisting method and information processing apparatus
CN109683760B (en) Recent content display method, device, terminal and storage medium
US20210326307A1 (en) Synchronizing changes within a collaborative content management system
CN112817676B (en) Information processing method and electronic device
CN114296844A (en) Information synchronous interaction method, device, equipment and storage medium
CN113407168A (en) Editing method and device of page elements, storage medium and terminal
US11491396B2 (en) Information processing method and electronic device
CN105487769B (en) Media file display method and device and electronic equipment
CN112578959B (en) Content publishing method and device
CN112988005B (en) Method for automatically loading captions
CN115017429A (en) Method, device and system for cutting and storing link object and storage medium

Legal Events

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